:root {
    /* Colors - Light Theme */
    --primary: #0f172a;
    /* Deep Navy - Slate 900 */
    --primary-light: #1e293b;
    /* Slate 800 */
    --accent: #3b82f6;
    /* Electric Blue - Blue 500 */
    --accent-hover: #2563eb;
    /* Blue 600 */
    --bg-light: #f8fafc;
    /* Slate 50 */
    --bg-card: #ffffff;
    /* White for cards */
    --text-main: #334155;
    /* Slate 700 */
    --text-muted: #64748b;
    /* Slate 500 */
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    /* Blue to Purple */

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 5rem 0;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #a5f3fc 10%, #22d3ee 50%, #d8b4fe 100%);
    /* Lighter Cyan to Lavender */
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
    text-shadow: 0px 0px 20px rgba(34, 211, 238, 0.5);
    /* Glow */
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
}

.nav-link:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    transition: 0.3s ease-in-out;
    padding: 1.5rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    border-left: none;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 60 0;
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    /* header space */
    padding-bottom: 5rem;
    overflow: hidden;
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 20%);
}

/* Background blob effect */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-slow 10s ease-in-out infinite alternate;
}

@keyframes pulse-slow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: none;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cta-reassurance {
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.visual-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(50px);
}

.visual-card {
    position: absolute;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: none;
}

.floating-card-1 {
    top: 20%;
    left: 10%;
}

.floating-card-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.card-title {
    display: block;
    font-weight: 700;
    color: var(--primary);
}

.card-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sections General */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Services */
.services {
    background: var(--white);
    position: relative;
}

/* Add a diagonal divider */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
    z-index: -1;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    /* Stronger shadow */
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: transparent;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.blue-bg {
    background: var(--accent);
}

.purple-bg {
    background: #8b5cf6;
}

.green-bg {
    background: #10b981;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Method */
.method {
    background: var(--bg-light);
    /* Alternating background */
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(59, 130, 246, 0.1);
    /* faded accent */
    line-height: 1;
    margin-bottom: -1.5rem;
    position: relative;
    z-index: 0;
}

.step-item h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;
}

.step-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Portfolio */
.portfolio-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 3rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    border: none;
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: #e2e8f0;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
    border: none;
}

.portfolio-content .category {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 1.5rem;
}

.portfolio-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.case-study {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.case-item h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.case-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.stat-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About */
.about {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    /* Keep dark for contrast/break */
    color: var(--white);
    position: relative;
    padding: 6rem 0;
    /* More padding for importance */
}

.about h2 {
    color: var(--white) !important;
}

.about p {
    color: #cbd5e1 !important;
}

.about .value-item i {
    color: var(--accent);
    /* Ensure icon visibility */
}

.about .value-item span {
    color: var(--white);
}

/* Add a subtle decorative element for separation instead of bg color */
.about::before {
    display: none;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.about .subtitle {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.about p {
    color: #cbd5e1;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.values-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.value-item i {
    width: 48px;
    height: 48px;
    color: var(--accent);
}

.value-item span {
    font-weight: 600;
}

/* Contact */
.contact {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.linkedin-link {
    margin-top: 2rem;
}

.linkedin-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
}

.linkedin-link a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

/* Footer */
.footer {
    background: var(--white);
    border-top: 1px solid #f1f5f9;
    padding: 3rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand .logo {
    font-size: 1.25rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-legal p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {

    .hero-container,
    .portfolio-showcase,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .visual-circle {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-full-mobile {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Pricing */
.pricing {
    background: var(--white);
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    /* Dot pattern */
    background-size: 20px 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    background: var(--white);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.1);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.price-features {
    text-align: left;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.price-features i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* Testimonials */
.testimonials {
    background: var(--bg-light);
    /* Alternating */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    /* More padding */
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    position: relative;
}

.testimonial-card::before {
    /* Decorative quote mark background */
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 8rem;
    line-height: 1;
    color: rgba(59, 130, 246, 0.05);
    font-family: serif;
    pointer-events: none;
}

.quote-icon {
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--primary);
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f8fafc;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-muted);
    border-top: 1px solid #e2e8f0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate max height */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s;
}

/* CSS Dashboard Mockup */
.dashboard-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 500px;
    height: 350px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 10;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    height: 40px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
}

.mockup-header .dots {
    display: flex;
    gap: 6px;
}

.mockup-header .dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.mockup-header .dots span:nth-child(1) {
    background: #ef4444;
}

.mockup-header .dots span:nth-child(2) {
    background: #f59e0b;
}

.mockup-header .dots span:nth-child(3) {
    background: #22c55e;
}

.address-bar {
    flex: 1;
    height: 24px;
    background: var(--white);
    border-radius: 4px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: #94a3b8;
}

.mockup-body {
    display: flex;
    height: calc(100% - 40px);
}

.mockup-sidebar {
    width: 60px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-item {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
}

.sidebar-item.active {
    background: var(--accent);
    width: 60%;
}

.mockup-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-hero {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-sm);
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.mockup-card {
    height: 60px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
}

/* Tablet Mockup */
.tablet-mockup {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background: #1e293b;
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    position: relative;
    border: 1px solid #334155;
}

.tablet-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tablet-button {
    position: absolute;
    right: -2px;
    top: 60px;
    width: 2px;
    height: 40px;
    background: #334155;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.app-header {
    height: 50px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.app-logo {
    width: 80px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 5px;
}

.app-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background: #cbd5e1;
    margin-bottom: 4px;
}

.app-hero {
    height: 180px;
    background: url('image.png');
    background-size: cover;
    background-position: top center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: white;
    position: relative;
}

/* Optional: Add an overlay if the text needs to pop, or remove text if image has it */
.app-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.app-title,
.app-btn {
    z-index: 2;
}

.app-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    width: auto;
    height: auto;
    background: transparent;
}

.app-btn {
    padding: 0.5rem 1.5rem;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
}

.app-grid {
    flex: 1;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: #f8fafc;
}

.app-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 10;
}

.social-link-extended {
    color: var(--text-muted);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
}

.social-link-extended:hover {
    color: var(--white);
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 6rem 0 3rem;
        background: var(--white);
        /* Simplify background on mobile */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title br {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .visual-circle {
        width: 300px;
        height: 300px;
    }

    .dashboard-mockup {
        height: 250px;
        transform: none;
        /* Flatten 3D effect on mobile for performance/readability */
    }

    .dashboard-mockup:hover {
        transform: none;
    }

    .services-grid,
    .pricing-grid,
    .testimonials-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-showcase {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }

    .portfolio-image {
        order: -1;
        /* Image on top */
    }

    /* Adjust floating cards position for smaller screens */
    .floating-card-1 {
        top: 10%;
        left: 0;
    }

    .floating-card-2 {
        bottom: 10%;
        right: 0;
    }

    .contact-info,
    .contact-form-container {
        padding: 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Footer Social Mobile */
    .footer-social {
        justify-content: center;
    }

    .footer-container {
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}