:root, body.light-theme {
    /* Light Theme */
    --primary: #E91E63;
    --primary-light: #FCE4EC;
    --secondary: #4A148C;
    --secondary-light: #F3E5F5;
    --accent: #E3F2FD;
    --bg-main: #FFFFFF;
    --bg-lilac: #F3EDFF;
    --bg-peach: #FFF5ED;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

body.dark-theme {
    /* Dark Theme */
    --primary: #F06292;
    --primary-light: #F48FB1;
    --secondary: #BA68C8;
    --bg-gradient: linear-gradient(135deg, #121212 0%, #1A1A1A 100%);
    --bg-main: #0A0A0A;
    --bg-lilac: #1A1A1A;
    --bg-peach: #151515;
    --text-main: #F5F5F5;
    --text-muted: #AAAAAA;
    --glass-bg: rgba(0, 0, 0, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-gradient);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: move 20s infinite alternate;
}

.blob-lilac {
    width: 60vw;
    height: 60vw;
    background: #E0D7FF;
    top: -20%;
    left: -20%;
}

.blob-peach {
    width: 60vw;
    height: 60vw;
    background: #FFDED4;
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob-blue {
    width: 50vw;
    height: 50vw;
    background: #D4EEFF;
    top: 30%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(10%, 10%) scale(1.1); }
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
    color: var(--text-main);
}

.nav-icon {
    width: 32px;
    height: 32px;
}

/* Header v2 */
.header-v2 .nav-content {
    max-width: 1200px;
    padding: 0.8rem 2rem;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-btn {
    background: var(--text-main);
    color: var(--bg-main);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-decoration: none;
}

.cta-btn:hover {
    transform: scale(1.05);
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.2);
}

.arrow-right {
    font-style: normal;
    transition: transform 0.3s;
}

.cta-btn:hover .arrow-right {
    transform: translateX(4px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem; /* Increased gap for better rhythm */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

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

#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.bar {
    width: 30px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Active State for Hamburger */
#mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
#mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}
#mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.sun-icon { display: block; width: 24px; height: 24px; }
.moon-icon { display: none; width: 24px; height: 24px; }

body.dark-theme .sun-icon { display: none; }
body.dark-theme .moon-icon { display: block; }

/* Hero v2 Continued */
.hero-v2 {
    padding: 220px 0 120px; /* Increased top padding */
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-header-text h1 {
    font-size: 4.5rem;
    line-height: 1.15; /* Tighter line height for large header */
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.hero-v2 .pill-badge {
    margin-bottom: 2.5rem;
}

.hero-v2 p {
    font-size: 1.4rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
}

.download-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 5;
}

.store-badge {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.store-badge:hover {
    transform: scale(1.05);
}

.hero-v2 .hero-container {
    flex-direction: column;
    gap: 0;
}

/* Triple Mockup */
.triple-mockup {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 0;
    z-index: 1; /* Lower than download-badges (z-index: 5) */
}

.cloud-shadow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 60px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.mockup-center {
    flex: 1.2;
    max-width: 310px;
    z-index: 3;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.15));
}

.mockup-side {
    flex: 1;
    max-width: 260px;
    z-index: 2;
    opacity: 0.85;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.mockup-side.left {
    transform: rotate(-10deg) translateX(40px) translateY(40px);
}

.mockup-side.right {
    transform: rotate(10deg) translateX(-40px) translateY(40px);
}

.triple-mockup:hover .mockup-side.left {
    transform: rotate(-5deg) translateX(10px) translateY(10px);
    opacity: 1;
}

.triple-mockup:hover .mockup-side.right {
    transform: rotate(5deg) translateX(-10px) translateY(10px);
    opacity: 1;
}

.triple-mockup img {
    width: 100%;
    border-radius: 40px;
    border: 8px solid #1a1a1a;
    display: block;
}

/* Social Proof */
.social-proof {
    margin-top: 5rem;
    color: var(--text-muted);
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 2rem;
    opacity: 0.4;
    filter: grayscale(1);
    transition: opacity 0.3s;
}

.logo-grid:hover {
    opacity: 0.8;
}

.partner-logo {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.3rem;
}

/* Features Section Intro */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-title-v2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to right, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Base Features Legacy - To be removed or unified */
.features-v2 {
    padding: 120px 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 8rem;
    margin-bottom: 150px;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-info {
    flex: 1;
}

.feature-icon-v2 {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    font-size: 2rem; /* Style for emojis */
}

.feature-icon-v2.lilac { background: #E0D7FF; }
.feature-icon-v2.peach { background: #FFDED4; }
.feature-icon-v2.blue { background: #D4EEFF; }

.feature-info h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.feature-info p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
}

.learn-more {
    font-weight: 700;
    text-decoration: none;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s, color 0.3s;
}

.learn-more:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.feature-visual-v2 {
    flex: 1.2;
    position: relative;
    padding: 2rem;
}

.stacked-visual {
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    position: absolute;
    width: 60%;
    max-width: 280px;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.12);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    background: white;
    padding: 0.8rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.visual-card img {
    width: 100%;
    border-radius: 32px;
    display: block;
}

/* Specific Stack Positions */
.stacked-visual .card-main {
    z-index: 3;
    transform: translateX(0) scale(1);
}

.stacked-visual .card-sub {
    z-index: 2;
    transform: translateX(120px) translateY(40px) rotate(8deg) scale(0.9);
    filter: blur(1px) brightness(0.95);
    opacity: 0.8;
}

.stacked-visual .card-back {
    z-index: 1;
    transform: translateX(-100px) translateY(-30px) rotate(-5deg) scale(0.85);
    filter: blur(2px) brightness(0.9);
    opacity: 0.6;
}

/* Hover Animations */
.feature-block:hover .card-main {
    transform: translateY(-10px);
}

.feature-block:hover .card-sub {
    transform: translateX(160px) translateY(60px) rotate(12deg) scale(0.95);
    opacity: 1;
    filter: blur(0);
}

.feature-block:hover .card-back {
    transform: translateX(-140px) translateY(-40px) rotate(-8deg) scale(0.9);
    opacity: 0.9;
    filter: blur(0);
}

/* Reverse Stack Positions */
.feature-block.reverse .card-sub {
    transform: translateX(-120px) translateY(40px) rotate(-8deg) scale(0.9);
}

.feature-block.reverse .card-back {
    transform: translateX(100px) translateY(-30px) rotate(5deg) scale(0.85);
}

.feature-block.reverse:hover .card-sub {
    transform: translateX(-160px) translateY(60px) rotate(-12deg) scale(0.95);
}

.feature-block.reverse:hover .card-back {
    transform: translateX(140px) translateY(-40px) rotate(8deg) scale(0.9);
}

/* Base Legacy Sections - Overridden by v2 */
.features, .feature-card { display: none; }

/* Gallery */
.gallery {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.gallery .section-title-v2 {
    text-align: center;
    margin-bottom: 4rem;
}

.screenshots-track {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.screenshots-scroll {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.screenshots-scroll:hover {
    animation-play-state: paused;
}

.screenshots-scroll img {
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer v2 */
.footer {
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.footer-info {
    max-width: 400px;
    text-align: left;
}

.footer-info p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 6rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--text-main);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-list a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links-list a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    text-decoration: none;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .hero-header-text h1 { font-size: 3.5rem; }
    .feature-block { gap: 4rem; }
    .feature-info h3 { font-size: 2.5rem; }
    .triple-mockup { gap: 1rem; }
    .mockup-center { max-width: 280px; }
    .mockup-side { max-width: 220px; }
}

@media (max-width: 992px) {
    .hero-v2 { padding: 140px 0 80px; }
    .hero-header-text h1 { font-size: 3.2rem; }
    .triple-mockup { 
        gap: 0;
        margin-top: 2rem;
    }
    .mockup-side.left { transform: rotate(-8deg) translateX(60px) translateY(30px) scale(0.9); }
    .mockup-side.right { transform: rotate(8deg) translateX(-60px) translateY(30px) scale(0.9); }
    
    .feature-block, .feature-block.reverse {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
        margin-bottom: 100px;
    }
    
    .feature-info { width: 100%; max-width: 600px; margin: 0 auto; }
    .feature-icon-v2 { margin-left: auto; margin-right: auto; }
    .feature-list li { justify-content: center; }
    
    .feature-visual-v2 { 
        width: 100%; 
        max-width: 600px; 
        margin: 0 auto;
        height: 500px;
    }
    .stacked-visual { height: 450px; }
    .visual-card { width: 220px; }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 3rem;
    }
    .footer-info { text-align: center; margin: 0 auto; }
    .footer-brand { justify-content: center; }
    .footer-nav { gap: 4rem; }
}

@media (max-width: 768px) {
    .nav-links.mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        gap: 2.5rem;
        transition: right 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 999;
        display: flex !important;
    }

    .nav-links.mobile-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.8rem;
        font-family: 'Playfair Display', serif;
    }

    #mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .nav-cta {
        gap: 0.8rem;
    }

    .cta-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .hero-header-text h1 { font-size: 2.5rem; }
    .download-badges {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .store-badge { height: 42px; }
    .triple-mockup {
        margin-top: 0;
        padding: 2rem 0;
    }
    .mockup-side { display: none; }
    .mockup-center { max-width: 260px; }
    
    .logo-grid { gap: 2rem; flex-wrap: wrap; }
    .partner-logo { font-size: 1rem; }
    
    .feature-visual-v2 { height: 400px; }
    .stacked-visual { height: 350px; }
    .visual-card { width: 180px; }
    
    .footer-nav { 
        width: 100%;
        justify-content: space-around;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-header-text h1 { font-size: 2.2rem; }
    .feature-info h3 { font-size: 2rem; }
    .feature-info p { font-size: 1.1rem; }
    .screenshots-scroll img { height: 350px; }
    .footer-nav { flex-direction: column; gap: 3rem; }
}
/* Legal Pages Styles */
.legal-container {
    padding: 180px 0 100px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-content {
    padding: 4rem;
    margin: 0 1.5rem;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.legal-section p, .legal-section li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 1rem;
}

.legal-section li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.legal-section a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-container { padding: 120px 0 60px; }
    .legal-content { padding: 2.5rem 1.5rem; }
    .legal-section h2 { font-size: 1.5rem; }
}
