/* Fonts - System Stacks (GDPR Compliant, 0 external requests) */
/* Uses locally installed Inter if available, otherwise falls back to system UI fonts */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: local('Inter'), local('Inter-Regular');
}

/* Heading font: local Lexend if installed, otherwise system stack */
@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: local('Lexend'), local('Lexend-Regular');
}

/* Logo font: local Montserrat-Black for privacy */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../assets/fonts/Montserrat-Black.ttf') format('truetype');
}



:root {
    /* Colors - Brand Palette from Spec */
    --slate-blue: #375265;
    --deep-blue: #192B39;
    --primary-light: #539DD4;
    --interactive-text: #8CBBDD;
    
    --volume-blue: #2196F3;
    --vibrant-cyan: #00BCD4;
    --success-green: #4CAF50;
    --accent-green: #4CAF50; /* Alias for backward compatibility (legal pages) */
    --warning-orange: #FF9800;
    --alert-red: #F44336;

    --bg-black: #121212;
    --surface-dark: #161616;
    --surface-elevated: #1c1c1c;

    --accent-color: var(--primary-light);
    --accent-glow: rgba(83, 157, 212, 0.15);

    --text-primary: #f5f5f5;
    --text-secondary: #b0bec5;
    --border-glass: rgba(255, 255, 255, 0.06);

    /* Spacing & Radii */
    --radius-lg: 20px;
    --radius-md: 12px;
    --section-padding: 100px 20px;
    --max-width: 1200px;

/* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    background-color: #000000;
    background-image: linear-gradient(to bottom, #121F2A 0%, #080D11 50%, #000000 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    touch-action: pan-y;
}

h1,
h2,
h3 {
    font-family: 'Lexend', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Styling */
.logo-img {
    border-radius: 22%;
    /* Premium squircle-like rounding */
    object-fit: contain;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: 0.05em;
}

.logo-text .logo-light {
    font-weight: 300;
    color: #f5f5f5; /* 100% white to match splash screen */
}

.logo-text .logo-bold {
    font-weight: 600;
    color: #f5f5f5; /* 100% white */
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.glass:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-black);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--bg-black);
}

/* Section Text Styling */
.accent-text {
    color: var(--accent-color);
}

/* Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Background Glow with Parallax */
.hero-bg-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 100%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 50% 30%, rgba(76, 175, 80, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 60%, rgba(55, 82, 101, 0.12) 0%, transparent 50%);
    z-index: 1;
    will-change: transform;
}

/* Store Badges */
.store-badge {
    transition: var(--transition-smooth);
    display: inline-block;
}

.store-badge:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

/* Single-Item Gallery Slideshow */
.gallery-wrapper {
    width: 100%;
    margin-top: 40px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-viewport {
    width: 100%;
    overflow: hidden;
    /* allow transparent mockups to show through naturally */
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.gallery-item {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
    font-size: 1.2rem;
}

.gallery-nav:hover {
    background: var(--accent-color);
    color: var(--bg-black);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: -22px;
}

.gallery-nav.next {
    right: -22px;
}

/* Pagination Dots */
.gallery-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

@media (min-width: 768px) {
    .gallery-wrapper {
        max-width: 320px !important;
        /* Smaller on desktop to ensure the image height (~690px) fits most laptop screens without excessive scrolling */
    }

    .gallery-nav.prev {
        left: -60px;
    }

    .gallery-nav.next {
        right: -60px;
    }
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

.pricing-card {
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.pro {
    border-color: var(--success-green);
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.1), inset 0 1px 0 rgba(76, 175, 80, 0.08);
}

.pricing-card.pro:hover {
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.18), inset 0 1px 0 rgba(76, 175, 80, 0.12);
    transform: translateY(-4px);
}

.pricing-card h3 {
    margin-bottom: 10px;
    min-height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card .price-container {
    margin: 25px 0;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-card ul {
    list-style: none;
    margin: 30px 0;
    padding: 0;
    text-align: left;
    flex-grow: 1;
    /* Pushes the button to the bottom */
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card ul li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card ul li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
}

.pricing-card.free ul li:last-child::before {
    content: "!";
    color: var(--warning-orange);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 20px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn.active {
    background: var(--slate-blue);
    color: white;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10000;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--accent-color);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--accent-color);
}

/* Reusable Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 20px;
    border-radius: 2px;
}

/* Audience Grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Reusable Icon Card */
.icon-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.icon-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.icon-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.icon-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Trust Grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.trust-card {
    padding: 40px;
    border-radius: var(--radius-lg);
}

.trust-card .trust-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.trust-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.trust-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.trust-card .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--accent-glow);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--vibrant-cyan);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.open .faq-question::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

/* Gallery Layout */
.gallery-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .gallery-layout {
        flex-direction: row;
        justify-content: center;
        gap: 80px; /* Increased gap to prevent button overlap */
    }
    .gallery-layout .gallery-info {
        text-align: left !important;
        padding-left: 10px;
    }
}

/* Feature Zig-Zag Layout */
.feature-zigzag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}
.feature-zigzag .zigzag-content {
    flex: 1;
    max-width: 500px;
}
.feature-zigzag .zigzag-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-zigzag .zigzag-image img:not(.premium-img) {
    max-width: 320px;
    height: auto;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-zigzag .zigzag-image img:not(.premium-img):hover {
    transform: translateY(-10px);
}
@media (min-width: 768px) {
    .feature-zigzag {
        flex-direction: row;
        justify-content: center;
        gap: 80px;
    }
    .feature-zigzag.reverse {
        flex-direction: row-reverse;
    }
}

/* Interactive Features Showcase */
.interactive-features-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.features-tabs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.feature-tab {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--surface-light);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.feature-tab:hover {
    opacity: 0.8;
    background: var(--surface-medium);
}

.feature-tab.active {
    opacity: 1;
    background: var(--surface-medium);
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-tab .tab-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.feature-tab .tab-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-tab .tab-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Mobile Carousel Features (Smartphone) */
.mobile-swipe-indicator {
    display: none;
}

@keyframes pulseSwipe {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(8px); }
}

.mobile-mockup-wrapper {
    margin-top: 25px;
    width: 100%;
    display: none;
    justify-content: center;
}

.mobile-mockup-wrapper img {
    max-height: 320px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}

@media (max-width: 991px) {
    .features-tabs {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        -ms-overflow-style: none; /* IE/Edge */
        scrollbar-width: none; /* Firefox */
        /* Bleed out of container for full width scroll */
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        align-items: stretch;
    }
    
    .features-tabs::-webkit-scrollbar {
        display: none; /* Safari/Chrome */
    }

    .feature-tab {
        flex: 0 0 85vw;
        max-width: 320px;
        scroll-snap-align: center;
        flex-direction: column;
        opacity: 1; /* Always visible */
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--border-glass);
        box-shadow: none;
        padding: 25px 20px;
    }
    
    /* Reset active state overrides for mobile so all cards look uniform */
    .feature-tab.active {
        background: rgba(255, 255, 255, 0.03);
        border-color: var(--border-glass);
        box-shadow: none;
    }
    
    .feature-tab .tab-text {
        display: flex;
        flex-direction: column;
        flex: 1;
        width: 100%;
    }

    /* Always show the image on mobile */
    .mobile-mockup-wrapper {
        display: flex;
        margin-top: auto; /* Push image to bottom */
        padding-top: 25px;
    }

    .feature-mockup-col {
        display: none !important;
    }

    .mobile-swipe-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: var(--accent-color);
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-top: 5px;
        margin-bottom: 25px;
        animation: pulseSwipe 2s infinite ease-in-out;
    }
}

.feature-mockup-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.feature-mockup-col img {
    max-width: 100%;
    max-height: 700px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    transition: opacity 0.15s ease-in-out;
}

@media (min-width: 992px) {
    .interactive-features-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .feature-mockup-col {
        position: sticky;
        top: 100px;
    }
}

/* Hero Mockup */
.hero-mockup-container {
    margin-top: 50px;
    margin-bottom: -100px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}
.hero-mockup-container img {
    max-width: 320px;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
    border-radius: var(--radius-lg);
}

/* Sticky Mobile CTA */
.mobile-sticky-cta {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

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

    .audience-grid,
    .trust-grid,
    .app-preview-grid {
        grid-template-columns: 1fr;
    }

    /* Hamburger visible on mobile */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px !important;
        z-index: 9999;
        padding: 0;
    }

    .nav-links.open {
        display: flex !important;
    }

    .nav-links a {
        font-size: 1.5rem !important;
        color: var(--text-primary) !important;
    }

    .nav-links .lang-switcher {
        order: 3;
        margin-top: 20px;
    }

    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 999;
        border-top: 1px solid var(--border-glass);
        transform: translateY(100%);
        animation: slideUp 0.5s ease forwards;
        animation-delay: 1s;
    }

    @keyframes slideUp {
        to { transform: translateY(0); }
    }

    body {
        padding-bottom: 80px; /* Space for the sticky button */
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.6rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
/* Sticky Mobile CTA */
.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-glass);
    z-index: 999;
}

@media (max-width: 768px) {
    .sticky-cta-mobile {
        display: block;
        animation: slideUp 0.5s ease-out forwards;
        animation-delay: 2s; /* Show after user has been on page for a bit */
        transform: translateY(100%);
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

/* Premium Feel: Prevent text highlighting on interactive elements */
.btn, .logo, img, .nav-links, .lang-switcher {
    user-select: none;
    -webkit-user-select: none;
}

/* Premium Lifestyle Image Styling (Editorial Grade) */
.premium-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* Soft glow shadow instead of hard black */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    width: 100%;
    height: 100%;
}

.premium-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Inner glass rim */
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.premium-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Unified Editorial Grade: Smooth blend into dark backgrounds */
    filter: brightness(0.9) contrast(1.05) saturate(0.9);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.premium-image-wrapper:hover .premium-img {
    filter: brightness(1.0) contrast(1.1) saturate(1.0);
    transform: scale(1.02);
}
