/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    /* Adaptive Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-subtle);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.menu-toggle {
    display: none;
    /* Hidden on desktop */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.nav-links a:hover {
    color: var(--color-white);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    /* Slightly shorter than full */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    /* Dynamic Gradient */
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    /* Ensure text sits above if needed */
}

/* Hero Split Layout */
/* Hero Centered Layout (Modified) */
@media (min-width: 900px) {
    .hero {
        flex-direction: column;
        /* Stack vertically */
        text-align: center;
        justify-content: center;
        padding-top: 120px;
        /* More top space */
    }

    .hero-content {
        max-width: 800px;
        /* Return to wide */
        margin: 0 auto 3rem auto;
        /* Center text and add bottom gap */
    }
}

/* Hero Visual Container - Expanded */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* Much wider for 3 items */
    height: 500px;
    /* Taller */
    margin: 0 auto;
    perspective: 1000px;
    z-index: 1;
}

@media (min-width: 900px) {
    .hero-visual {
        display: block;
    }
}

/* Page Hero (For Subpages) */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.page-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Base Checklist Styling */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checklist-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.checklist-item:hover {
    border-color: var(--color-accent-green);
    transform: translateX(5px);
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-accent-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}


/* 1. Desktop Mockup (Left Back) */
.hero-desktop {
    position: absolute;
    top: 40px;
    left: 0;
    width: 520px;
    /* Increased to show full sidebar */
    height: 360px;
    /* Increased to show complete layout */
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border-subtle);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotateY(5deg) scale(0.95);
    /* Tilted Inwards */
    transition: transform 0.5s ease;
    z-index: 1;
}

.hero-desktop:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

/* 3. Mobile Mockup (Center Front) */
.hero-mobile {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -80px;
    /* Half of width approx to center */
    /* Mobile frame base styles will apply, we just position */
    transform: translateZ(50px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    /* Deep shadow */
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

/* Tech Marquee Component */
.tech-marquee {
    width: 100%;
    padding: 2rem 0;
    background: var(--color-bg-subtle);
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.tech-marquee::before,
.tech-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-subtle), transparent);
}

.tech-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-subtle), transparent);
}

.tech-track {
    display: flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    width: max-content;
    /* Ensure it fits all content */
    padding-left: 4rem;
    /* Initial gap */
}

/* Pause on hover for detail interaction */
.tech-marquee:hover .tech-track {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 1.5rem;
    /* Icon size */
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.6;
    transition: var(--transition-fast);
    cursor: default;
}

.tech-item span {
    font-size: 1rem;
    /* Text size */
    font-family: var(--font-heading);
}

.tech-item:hover {
    opacity: 1;
    color: var(--color-text-main);
    transform: scale(1.05);
}

/* Infinite Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half way (assuming 2 sets of items) */
    }
}

/* Impact Metrics Component */
.impact-metrics {
    padding: 2rem 0;
    background: var(--color-bg-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.metric-item {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Process Visual Component - JS Controlled */
.process-visual {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.process-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Connecting Line */
.process-line {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--color-border-subtle);
    transform: translateY(-50%);
    z-index: 0;
}

.process-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-green));
    /* Animation handled by JS for sync */
    transition: width 1.5s linear;
}

.process-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.3;
    /* Dimmed state */
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.process-node.active {
    opacity: 1;
    transform: scale(1);
}

.p-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    transition: var(--transition-normal);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Active State Animation */
.process-node.active .p-icon {
    border-color: var(--color-accent-blue);
    color: var(--color-accent-blue);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.4);
    /* Stronger glow */
}

.p-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
}

/* Hero Scroll Explode Effect */
.hero-visual {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual.explode-away .hero-desktop {
    transform: translateX(-200px) rotateY(-15deg) scale(0) opacity(0);
}

.hero-visual.explode-away .hero-tablet {
    transform: translateX(200px) rotateY(15deg) scale(0) opacity(0);
}

.hero-visual.explode-away .hero-mobile {
    transform: translateY(100px) scale(0.8) opacity(0);
}

/* Industry Ticker (Text Marquee) */
.industry-ticker {
    width: 100%;
    padding: 1.5rem 0;
    background: var(--color-bg-dark);
    /* Contrast background */
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.industry-track {
    display: flex;
    gap: 3rem;
    animation: scroll 18s linear infinite;
    min-width: 100%;
}

.industry-item {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 3rem;
    /* Spacing between items and separator */
}

.industry-item::after {
    content: "•";
    color: var(--color-accent-blue);
    font-size: 1.5rem;
    line-height: 0;
}

/* Tablet Override */
.hero-tablet .dashboard-body {
    display: block;
    /* Reset flex center */
}

/* 2. Tablet Mockup (Right Back) */
.hero-tablet {
    position: absolute;
    top: 80px;
    right: 0;
    width: 380px;
    height: 300px;
    /* Increased to show complete dashboard */
    background: white;
    border: 1px solid var(--color-border-subtle);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotateY(-5deg) scale(0.95);
    /* Tilted Inwards */
    z-index: 1;
}

.hero-tablet .mockup-header {
    background: #f8fafc;
    padding: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.hero-stat-card {
    background: #f8fafc;
    /* Changed from white to subtle gray */
    height: 60px;
    border-radius: 8px;
    flex: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #e2e8f0;
    /* Added border */
}

.hero-stat-card .label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

/* Darker text */
.hero-stat-card .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

/* Darker text */

.header-search {
    background: #e2e8f0;
    /* Darker bg */
    padding: 4px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #64748b;
    /* Darker text */
    margin-left: 20px;
    width: 120px;
}

.sidebar-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    /* Base color */
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: default;
}

.sidebar-icon.active {
    background: #bfdbfe;
    /* Stronger active bg */
    color: #1d4ed8;
    /* Stronger active icon */
}

/* Detailed Table Styles */
.hero-table-mock {
    flex: 1;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #e2e8f0;
    /* Added border */
}

.t-col-avatar {
    width: 24px;
    height: 24px;
    background: #94a3b8;
    border-radius: 50%;
}

/* Darker gray */
.t-col-text {
    flex: 1;
    height: 8px;
    background: #cbd5e1;
    border-radius: 4px;
    margin: 0 10px;
}

/* Darker gray */
.t-col-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 700;
}

.t-col-badge.success {
    background: #dcfce7;
    color: #166534;
}

.t-col-badge.pending {
    background: #fef9c3;
    color: #854d0e;
}

/* Mobile List & Nav */
.hero-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: transparent;
    border-bottom: 1px solid #f1f5f9;
}

.hero-list-item .text-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-list-item .t-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
}

.hero-list-item .t-date {
    font-size: 0.7rem;
    color: #94a3b8;
}

.hero-list-item .t-price {
    font-size: 0.8rem;
    font-weight: bold;
    color: #1e293b;
    margin-left: auto;
}

.hero-list-item .t-price.success {
    color: #166534;
}

.bottom-nav-bar {
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    color: #94a3b8;
    font-size: 1.5rem;
}

.bottom-nav-bar .active {
    color: #3b82f6;
}

/* Adjust reuse of classes */
.hero-desktop .mockup-header {
    background: rgba(0, 0, 0, 0.05);
    /* Subtle header */
    padding: 8px;
}

.hero h1 {
    font-size: 4.5rem;
    /* Larger */
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Background Accents - Subtle Glows */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    /* More blur for subtlety */
    z-index: 1;
    opacity: 0.15;
    /* Very subtle */
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .orb-1 {
        width: 300px;
        height: 300px;
        filter: blur(80px);
        /* Reduce blur load */
    }
}

/* Services / Features */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 3rem;
}

/* Services Grid - 2x2 Layout */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile First: 1 column */
    gap: 2rem;
    max-width: 900px;
    /* Constrain width to keep 2x2 looking good */
    margin: 0 auto;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        /* Desktop: 2 columns (2x2) */
    }
}


.card {
    padding: 3rem;
    transition: var(--transition-normal);
    background: var(--color-bg-subtle);
    /* Semantic Background */
    border: 1px solid var(--color-border-subtle);
    /* Semantic Background */
    border: 1px solid var(--color-border-subtle);
    /* Semantic Border */
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    /* Add shadow for lift */
}

/* Light Mode Card Contrast */
@media (prefers-color-scheme: light) {
    .card {
        background: #F8F9FA;
        /* Subtle Gray as requested */
        border: 1px solid rgba(0, 0, 0, 0.05);
        /* Even subtler border */
    }
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-green);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Light Mode Hover: Pop to White */
@media (prefers-color-scheme: light) {
    .card:hover {
        background: #fff;
    }
}

/* Dark Mode Hover: Stay Dark but lighter */
@media (prefers-color-scheme: dark) {
    .card:hover {
        background: #2c2c2e;
        /* Slightly lighter than base dark */
        border-color: rgba(255, 255, 255, 0.2);
    }
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    /* White icons as requested */
    font-weight: 100;
    /* Thin/Outline style */
}

.card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Form Elements */
.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--color-bg-subtle);
    /* Semantic Background */
    border: 1px solid var(--color-border-subtle);
    /* Semantic Border */
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
    color: var(--color-text-secondary);
    /* Semantic Placeholder */
}

/* WhatsApp Button */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius-sm);
    /* Match input radius for consistency in form */
    border: none;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}


/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        /* Force single column on mobile */
    }
}

@media (min-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-card {
    background: var(--color-bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-subtle);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition-normal);
    box-shadow: var(--glass-shadow);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bento-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.bento-info p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Mockups Styles */
.mockup-window {
    background: #000;
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
    height: 100%;
    /* Fill the card height */
    min-height: 200px;
    /* Base height */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    background: #1a1a1a;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #333;
}

.dots {
    display: flex;
    gap: 4px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #444;
}

.dots span:nth-child(1) {
    background: #ff5f56;
}

.dots span:nth-child(2) {
    background: #ffbd2e;
}

.dots span:nth-child(3) {
    background: #27c93f;
}

.mockup-header .bar {
    height: 6px;
    background: #333;
    border-radius: 4px;
    width: 60%;
    font-size: 0;
}

.mockup-body {
    padding: 1rem;
    position: relative;
    flex: 1;
}

/* Specific Mockups - High Fidelity */
/* E-commerce */
.ecommerce {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-mock {
    height: 14px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    padding: 0 8px;
    justify-content: space-between;
}

.logo-sq {
    width: 10px;
    height: 10px;
    background: #334155;
    border-radius: 2px;
}

.nav-lines {
    width: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
}

.search-circle {
    width: 8px;
    height: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
}

.hero-mock {
    height: 70px;
    background: linear-gradient(120deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-bottom: 5px;
}

.hero-mock .text-block {
    width: 50%;
    height: 6px;
    background: #94a3b8;
    position: absolute;
    top: 20px;
    left: 10px;
    border-radius: 2px;
}

.hero-mock .sub-text-block {
    width: 30%;
    height: 4px;
    background: #cbd5e1;
    position: absolute;
    top: 30px;
    left: 10px;
    border-radius: 2px;
}

.hero-mock .btn-mock {
    width: 20px;
    height: 8px;
    background: var(--color-accent-blue);
    position: absolute;
    bottom: 15px;
    left: 10px;
    border-radius: 2px;
}

/* Products Grid and Silhouettes */
.products-grid {
    display: flex;
    gap: 4%;
    justify-content: center;
}

.prod {
    background: #fff;
    border: 1px solid #e2e8f0;
    width: 30%;
    border-radius: 4px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.3s ease;
}

.prod:hover {
    transform: translateY(-2px);
}

.prod-img {
    width: 100%;
    height: 35px;
    background: #f8fafc;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Phone Silhouette */
.shape-phone::before {
    content: '';
    width: 12px;
    height: 20px;
    border: 2px solid #94a3b8;
    border-radius: 2px;
    background: transparent;
}

.shape-phone::after {
    content: '';
    width: 12px;
    height: 16px;
    background: #cbd5e1;
    position: absolute;
    margin-top: 2px;
    opacity: 0.5;
}

/* Laptop Silhouette */
.shape-laptop::before {
    content: '';
    width: 22px;
    height: 14px;
    border: 2px solid #94a3b8;
    border-radius: 2px 2px 0 0;
    background: transparent;
    margin-bottom: 2px;
}

.shape-laptop::after {
    content: '';
    width: 26px;
    height: 2px;
    background: #94a3b8;
    border-radius: 0 0 2px 2px;
    position: absolute;
    bottom: 8px;
}

/* TV Silhouette */
.shape-tv::before {
    content: '';
    width: 24px;
    height: 16px;
    border: 2px solid #94a3b8;
    border-radius: 2px;
    background: transparent;
}

.shape-tv::after {
    content: '';
    width: 8px;
    height: 2px;
    background: #94a3b8;
    position: absolute;
    bottom: 6px;
}

.prod-lines {
    width: 80%;
    height: 3px;
    background: #cbd5e1;
    border-radius: 1px;
}

.price-text {
    font-size: 10px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2px;
}

/* Dashboard */
.dashboard-body {
    background: #0f172a;
    display: flex;
    padding: 0;
    height: 100%;
}

/* Dashboard Stats - Always Visible */
.stats-row,
.chart-mock {
    opacity: 1;
    /* Always visible */
    transform: none;
    /* No movement */
}

.sidebar-mock {
    width: 25%;
    background: #1e293b;
    height: 100%;
    border-right: 1px solid #334155;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-circle {
    width: 12px;
    height: 12px;
    background: #475569;
    border-radius: 50%;
    margin-bottom: 4px;
}

.sidebar-item {
    height: 4px;
    width: 60%;
    background: #334155;
    border-radius: 2px;
}

.sidebar-item.active {
    background: var(--color-accent-blue);
    width: 80%;
}

.content-mock {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-mock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.title-line {
    width: 40px;
    height: 5px;
    background: #fff;
    opacity: 0.1;
    border-radius: 2px;
}

.user-badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
}

.chart-mock {
    height: 60px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    border-bottom: 1px solid #334155;
    padding-bottom: 4px;
    position: relative;
    margin-left: 8px;
}

.y-axis {
    position: absolute;
    left: -8px;
    bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px 0;
}

.y-axis span {
    width: 4px;
    height: 1px;
    background: #475569;
}

.row-mock {
    height: 14px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 3px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile App - iPhone Frame - Real Proportions */
.mobile-frame {
    background: #fff;
    border: 8px solid #334155 !important;
    /* Bezel */
    border-radius: 30px !important;
    position: relative;
    overflow: hidden;
    /* Aspect Ratio ~19.5:9 approximation for container */
    width: 140px !important;
    height: 280px !important;
    margin: 0 auto;
    /* Center */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 20px;
    background: #334155;
    border-radius: 0 0 10px 10px;
    z-index: 10;
}

.screen-content {
    padding: 35px 0 10px;
    /* Remove side padding for full bleed grid */
    /* Top padding for notch */
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    height: 100%;
}

.home-indicator {
    width: 40%;
    height: 4px;
    background: #000;
    border-radius: 100px;
    position: absolute;
    bottom: 6px;
    left: 30%;
    opacity: 0.2;
}

.app-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
    padding: 0 15px;
    /* Add padding back to header */
}

.menu-icon {
    width: 10px;
    height: 8px;
    background: linear-gradient(to bottom, #333 2px, transparent 2px, transparent 3px, #333 3px, #333 5px, transparent 5px, transparent 6px, #333 6px);
}

.profile-icon {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    flex: 1;
    /* Fill remaining space */
}

.app-widget {
    background: #e2e8f0;
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 1;
    /* Square cubes */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.app-widget:hover {
    transform: scale(1.05);
}

/* Widget Colors/Gradients */
.w-1 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.w-2 {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.w-3 {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.w-4 {
    background: linear-gradient(135deg, #fccb90 0%, #d57eeb 100%);
}

/* Add simple internal shapes to look 'designed' */
.app-widget::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.bottom-bar {
    width: 30%;
    height: 3px;
    background: #000;
    border-radius: 10px;
    position: absolute;
    bottom: 5px;
    left: 35%;
    opacity: 0.2;
}

/* Minimal - Fixed Contrast & Alignment */
.minimal {
    background: #ffffff !important;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertical */
    align-items: center;
    /* Center horizontal */
    gap: 15px;
    height: 100%;
}

.minimal * {
    color: #000000 !important;
    /* Force black text */
    border-color: #000000 !important;
}

.minimal-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    border-bottom: 2px solid #000 !important;
    padding-bottom: 10px;
}

.menu-burger {
    width: 18px;
    height: 12px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.logo-text {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.minimal .huge-text {
    font-size: 2.8rem;
    /* Slightly smaller to fit */
    font-weight: 900;
    text-align: center;
    line-height: 0.9;
    letter-spacing: -1px;
    margin: 10px 0;
}

.minimal-grid {
    width: 100%;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.img-placeholder {
    width: 60px;
    height: 60px;
    background: #000 !important;
    /* Force black */
}

.text-desc {
    gap: 6px;
    flex: 1;
    max-width: 120px;
}

.text-desc .line {
    width: 100%;
    height: 6px;
    background: #000 !important;
}

.text-desc .line.short {
    width: 60%;
    height: 6px;
    background: #000 !important;
}

/* Footer */
footer {
    padding: var(--spacing-sm) 0 var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Fallback */
    border-top: var(--glass-border);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    background: var(--color-bg-dark);
}

/* Philosophy Section Responsive */
.philosophy-content {
    padding: 6rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Mobile Optimization */
@media (max-width: 768px) {

    html {
        width: 100%;
        height: 100%;
        overflow: hidden;
        /* Strict no-scroll on root */
    }

    body {
        width: 100%;
        height: 100%;
        overflow-y: auto;
        /* Sole scroller */
        overflow-x: hidden;
        position: relative;
        -webkit-overflow-scrolling: touch;
    }

    /* Global Container Fix */
    .container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* Prevent Bento Grid Overflow */
    .bento-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .bento-card {
        width: 100%;
        box-sizing: border-box;
    }

    /* Global Container Fix */
    .container {
        padding: 0 1.5rem;
        overflow-x: hidden;
    }

    /* Hero & Page Hero Fixes */
    .hero,
    .page-hero {
        padding-top: 140px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        word-wrap: normal;
        word-break: normal;
        margin-bottom: 1rem;
    }

    .hero p {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Mobile Hero Visual - Vertical Stack with Overlap */
    .hero-visual {
        position: relative;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        /* Remove gap for overlap */
        margin-top: 20px;
        padding-bottom: 20px;
        transform: scale(0.65);
        transform-origin: top center;
    }

    /* Reset all absolute positioning for stack */
    .hero-desktop,
    .hero-tablet,
    .hero-mobile {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        transform: none !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    /* Vertical Order & Overlap: Phone -> Tablet -> Desktop */
    .hero-mobile {
        order: 1;
        z-index: 10;
        margin-bottom: -100px !important;
        /* Overlap next item */
    }

    .hero-tablet {
        order: 2;
        z-index: 5;
        width: 100%;
        max-width: 380px;
        transform: scale(0.9) !important;
        /* Visual hierarchy */
        margin-bottom: -100px !important;
        /* Overlap next item */
    }

    .hero-desktop {
        order: 3;
        z-index: 1;
        width: 100%;
        max-width: 500px;
        transform: scale(0.85) !important;
        /* Visual hierarchy */
    }

    /* Philosophy - Make it wider on mobile */
    .philosophy-content {
        padding: 2rem 0;
        /* Drastically reduce padding */
        width: 100%;
        max-width: 100%;
    }

    .philosophy-content p {
        font-size: 1.1rem !important;
        /* Readable size */
        line-height: 1.6;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Navigation */
    nav {
        flex-direction: row;
        /* Keep row for logo - burger */
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 0;
    }

    .menu-toggle {
        display: block;
        /* Show on mobile */
        font-size: 2rem;
        color: var(--color-white);
        cursor: pointer;
        z-index: 1001;
        /* Above everything */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(15, 23, 42, 0.98);
        /* Deep dark bg */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        /* Hidden by default */
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
        /* Slide in */
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 500;
        display: block;
        padding: 10px;
    }

    /* Cards */
    .section-header h2 {
        font-size: 2.2rem;
    }

    .card,
    .bento-card {
        padding: 1.5rem;
    }

    /* Mockups Scale */
    .mockup-window {
        height: auto;
        min-height: 200px;
        /* Maintain decent height */
    }

    /* iPhone scaling */
    .mobile-frame {
        width: 140px !important;
        /* Keep fixed width for ratio */
        height: 280px !important;
        /* Keep fixed height for ratio */
        transform: scale(0.9);
        /* Slight scale down if needed, or keep 1 */
    }

    /* Minimal Mockup Text */
    .minimal .huge-text {
        font-size: 2rem;
    }

    /* E-commerce grid */
    .products-grid {
        gap: 2%;
    }

    .prod {
        width: 32%;
        padding: 3px;
    }

    .prod-img {
        height: 25px;
    }

    /* Shapes scale down */
    .shape-phone::before {
        width: 8px;
        height: 14px;
    }

    .shape-phone::after {
        width: 8px;
        height: 10px;
    }

    .shape-laptop::before {
        width: 16px;
        height: 10px;
    }

    .shape-laptop::after {
        width: 20px;
    }

    .shape-tv::before {
        width: 18px;
        height: 12px;
    }

    /* Contact Form */
    .glass-panel {
        padding: 1.5rem !important;
    }

    /* Mobile Process Visual Fix */
    .process-visual {
        display: none !important;
        /* Hidden on mobile as requested */
    }

    .process-track {
        transform: scale(0.55);
        transform-origin: center;
        width: 185%;
        /* Compensate for scale down */
        margin-left: -40%;
        /* Shifted right (was -42.5%) to show Idea circle */
    }

    /* Mobile Header Optimization */
    .logo div {
        display: none;
        /* Hide tagline on mobile completely for space */
    }

    nav {
        padding: 0.8rem 0;
        /* Default smaller padding */
    }
}

/* Enforce Uniform Animation Speed */
.reveal {
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Ensure body scroll is never locked */
html,
body {
    height: auto !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
}

/* Header Scrolled State */
header {
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    /* Almost solid dark */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 0;
    /* Removing extra padding from header container if any */
}

header.scrolled nav {
    padding: 0.5rem 0;
    /* Shrink nav */
}

header.scrolled .logo {
    transform: scale(0.9);
    /* Shrink logo slightly */
}