:root {
    /* --- Jomo-Exact Metrics --- */
    --max-width: 1140px;
    --nav-height: 72px;
    
    /* Colors */
    --bg-root: #000000;
    --bg-card: #121212;
    --text-primary: #FFFFFF;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    
    /* Accents */
    --accent-orange: #FF7900;
    --accent-blue: #3b82f6;
    
    /* Gradients */
    --hero-gradient: linear-gradient(180deg, #1c1c1e 0%, #000000 100%);
    
    /* Spacing */
    --section-gap: 120px;
    --card-padding: 32px;
}

/* --- Reset & Typography --- */
html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    background-color: var(--bg-root);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box; /* Ensure padding doesn't add to width */
}

h1, h2, h3 {
    letter-spacing: -0.03em;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

/* --- Header (Sticky + Blur) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 100;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.03);
}

.btn-blur {
    background: rgba(255,255,255,0.15);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-blur:hover {
    background: rgba(255,255,255,0.25);
}

/* --- Hero Section --- */
.hero-wrapper {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 80px;
}

.hero-card {
    background: var(--hero-gradient);
    border-radius: 40px;
    padding: 80px 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    min-height: 640px;
    position: relative;
    overflow: hidden;
    border: 1px solid #222;
}

.hero-content {
    padding-bottom: 80px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-h1 {
    font-size: 64px;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #a5a5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.phone-mockup {
    width: 340px;
    background: #000;
    border-radius: 48px;
    border: 8px solid #1a1a1a;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transform: translateY(20px);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Status Pills */
.status-pill {
    position: absolute;
    background: rgba(255,255,255,0.9);
    color: #000;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.status-pill.left { top: 35%; left: -10px; animation-delay: 0s; }
.status-pill.right { top: 60%; right: -10px; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Features Zig Zag --- */
.features-wrap {
    padding: var(--section-gap) 0;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-row.reverse {
    direction: rtl;
}
.feature-row.reverse > * {
    direction: ltr;
}

.feature-text h3 {
    font-size: 40px;
    margin-bottom: 16px;
    line-height: 1.1;
}

.feature-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 440px;
    line-height: 1.6;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
}

.feature-link:hover {
    border-color: #fff;
}

.feature-info-box {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 20px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid #222;
    margin-bottom: 32px;
    min-width: 280px;
}

.feature-info-box strong {
    color: var(--accent-orange);
    font-size: 17px;
}

.feature-info-box span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Features Zig Zag --- */
.features-wrap {
    padding: var(--section-gap) 0;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    /* Ensure the row allows overflow for mascots if they extend beyond */
    position: relative; 
}

/* ... existing code ... */

.feature-image {
    background: #111;
    border-radius: 32px;
    /* CRITICAL: Allow mascot to hang out */
    overflow: visible !important; 
    aspect-ratio: 1/1;
    border: 1px solid #222;
    position: relative;
    z-index: 1; /* Base layer */
}

.feature-image img:first-child {
    /* The main product image needs to be contained */
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px; /* Apply radius to image directly since container is visible */
    display: block;
    position: relative;
    z-index: 1;
}

.feature-mascot {
    z-index: 10; /* Float above everything */
}

/* --- Testimonial --- */
.testimonial-section {
    text-align: center;
    padding: 120px 0;
}

.quote-mark {
    font-size: 64px;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 24px;
    font-family: serif;
}

.quote-text {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 auto 40px;
    max-width: 800px;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.quote-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.quote-details div:first-child {
    font-weight: 700;
    font-size: 15px;
}

.quote-details div:last-child {
    font-size: 13px;
    color: var(--text-secondary);
}

/* --- Footer (Jomo-style minimal) --- */
.site-footer {
    border-top: 1px solid #222;
    padding: 80px 0 60px;
    margin-top: 80px;
    background: transparent;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 0;
    text-align: center;
}

/* Logo + App Store CTA */
.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.footer-logo-mark {
    width: 40px;
    height: 40px;
}

.appstore-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    border: 1px solid #111;
}

.appstore-icon {
    font-size: 20px;
}

.appstore-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.appstore-small {
    font-size: 11px;
    opacity: 0.7;
}

.appstore-large {
    font-size: 16px;
    font-weight: 600;
}

/* Tagline & links */
.footer-tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 14px;
}

.footer-link {
    color: var(--text-secondary);
}

.footer-link-separator {
    color: var(--text-tertiary);
}

/* Badge & copyright */
.footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #111;
    color: #e5e7eb;
    font-size: 13px;
    margin-bottom: 24px;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-h1 { font-size: 48px; }
    .feature-row { gap: 40px; }
    .hero-card { padding: 60px 40px 0; }
}

@media (max-width: 768px) {
    /* --- Mobile Layout Reset --- */
    .container {
        padding: 0 20px; /* Consistent padding for Nav and Body */
        max-width: 100%; /* Allow full width usage up to edges */
    }

    /* Reset grids to stacks */
    .hero-card, .feature-row, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* --- Hero Section --- */
    .hero-card {
        text-align: center;
        padding: 40px 20px 40px; /* Consistent padding */
        min-height: auto;
        border-radius: 24px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        /* Ensure it doesn't get cut off */
        margin-top: 0; 
        transform: none; /* Remove any transforms causing shift */
    }
    
    .hero-wrapper {
        padding-top: calc(var(--nav-height) + 20px); /* Reduced top padding on mobile */
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding-bottom: 32px;
        width: 100%;
    }

    /* --- Footer Optimization --- */
    .site-footer {
        padding: 60px 0 100px; /* Extra bottom padding for potential mobile usage */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    /* Add Mobile Download Button in Footer */
    .footer-download-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 40px;
        padding: 16px;
        background: #fff;
        color: #000;
        border-radius: 100px;
        font-weight: 700;
        font-size: 16px;
    }
    
    .phone-mockup {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .features-wrap {
        gap: 80px;
    }
    
    .testimonial-section {
        padding: 80px 0;
    }
    
    .mobile-only-footer-btn {
        display: block;
        margin-top: 40px;
    }
}
