/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Black, White, Gray only */
    --primary: #4A0E1E;
    --primary-dark: #4A0E1E;
    --secondary: #fffdfb;
    --accent: #1F4E5F ;
    --text-primary: #2B2B2B;
    --text-secondary: #3A3F44;
    --text-light: #999999;
    --background: #fffdfb ;
    --background-light: #fffdfb ;
    --border: #3A3F44;
    --shadow: #2B2B2B;
    --gradient: #333333;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --section-padding-mobile: 3rem 0;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory; /* Enable vertical scroll snapping */
    scroll-padding-top: 60px; /* Account for fixed header height */
}

/* Disable scroll snap on mobile to prevent CTA button issues */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
        scroll-padding-top: 70px;
    }
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Utilities */
.font-sans {
    font-family: var(--font-family);
}

.font-serif {
    font-family: var(--font-family-serif);
}

/* Font Style Utilities */
.italic {
    font-style: italic;
}

.not-italic {
    font-style: normal;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-sm);
    text-decoration: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--background);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.header.header-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo h1 {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-family: inherit;
    padding: 0.5rem 0;
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--background-light);
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    min-height: calc(100vh - 5rem);
    display: flex;
    align-items: center;
    scroll-snap-align: start; /* Snap to start with header offset */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--font-size-5xl);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow:0 10px 30px rgba(0, 0, 0, 0.15);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Animation */
.animation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Hide images when they orbit outside the container */
    transition: opacity 0.5s ease; /* Smooth transition when animation moves between sections */
}

.hero-visual {
    position: relative;
    width: 200px;
    height: 200px;
    transition: transform 0.3s ease; /* Smooth transition for repositioning */
}





.data-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 20; /* Ensure data points appear above orbit images */
}

.data-points.active {
    opacity: 1;
}

.data-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    animation: float 3s infinite ease-in-out;
}

.data-point:nth-child(1) {
    top: 38%;
    left: 56%;
    animation-delay: 0s;
}

.data-point:nth-child(2) {
    top: 70%;
    left: 30%;
    animation-delay: 0s;
}

.data-point:nth-child(3) {
    top: 60%;
    right: 46%;
    animation-delay: 0s;
}

.data-point:nth-child(4) {
    top: 40%;
    right: 50%;
    animation-delay: 0s;
}

/* Textboxes */
.textboxes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 30; /* Ensure textboxes appear above orbit images and data points */
}

.section-textboxes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    will-change: opacity;
    transform: translateZ(0);
}

.section-textboxes.active {
    opacity: 1;
}

.image-textboxes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: opacity;
    transform: translateZ(0);
}

.section-textboxes.active .image-textboxes.active {
    opacity: 1;
}

.textbox {
    position: absolute;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 0.75rem;
    color: var(--text-primary);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    pointer-events: none;
    transform: translateY(-8px) translateZ(0);
    animation: float 3s infinite ease-in-out;
    z-index: 35; /* Ensure individual textboxes are at the very front */
    will-change: backdrop-filter, opacity, transform;
    backface-visibility: hidden;
}

/* Position textboxes relative to their corresponding data points */
.textbox-1 {
    top: 20%;
    left: 55%;
    animation-delay: 0s;
}

.textbox-2 {
    top: 42%;
    right: 40%;
    animation-delay: 0s;
}

.textbox-3 {
    top: 70%;
    left: 35%;
    animation-delay: 0s;
}

.textbox-4 {
    top: 10%;
    right: 45%;
    animation-delay: 0s;
}

/* Hero section specific styles - hide 4th data point and textbox */
.hero .data-point:nth-child(4) {
    display: none;
}

.hero .section-textboxes[data-section="hero"] .textbox-4 {
    display: none;
}

/* Fashion Intelligence section specific styles */
.fashion-intelligence .data-point:nth-child(1) {
    background: #3b82f6; /* Blue */
}

.fashion-intelligence .data-point:nth-child(2) {
    background: #10b981; /* Green */
}

.fashion-intelligence .data-point:nth-child(3) {
    background: #f59e0b; /* Amber */
}

.fashion-intelligence .data-point:nth-child(4) {
    background: #ef4444; /* Red */
}

/* Checkbox styling for fashion intelligence textboxes */


.fashion-intelligence .textbox.checked::before {
    content: '☑';
    color: #10b981;
}

/* Fashion Sourcer section specific styles - favicons on left */
.fashion-sourcer .textbox {
    display: flex;
    align-items: center;
    padding-left: 40px; /* Make room for favicon */
}

.fashion-sourcer .textbox::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.fashion-sourcer .textbox-1::before {
    background-image: url('assets/images/favicon1.webp');
}

.fashion-sourcer .textbox-2::before {
    background-image: url('assets/images/favicon2.webp');
}

.fashion-sourcer .textbox-3::before {
    background-image: url('assets/images/favicon3.webp');
}

.fashion-sourcer .textbox-4::before {
    background-image: url('assets/images/favicon4.webp'); /* Reuse first favicon */
}

/* Responsive textbox styling */
@media (max-width: 768px) {
    .textbox {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .textbox {
        font-size: 0.65rem;
        padding: 5px 8px;
    }
}


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

/* Orbital Images Animation */
.orbit-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orbit-image {
    position: absolute;
    width: 160px;
    height: 160px;
    pointer-events: auto;
    cursor: pointer;
    z-index: 10;
    will-change: transform;
    backface-visibility: hidden;
}

.orbit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: filter 0.3s ease, opacity 0.3s ease;
    filter: blur(5px);
    opacity: 0.7;
    will-change: filter, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Image states for animation */
.orbit-image img.at-center {
    filter: blur(0px);
    opacity: 1;
}

/* Hide non-focused images when one image is in focus */
.orbit-image img.hidden-on-focus {
    opacity: 0;
}

/* Responsive orbit images */
@media (max-width: 768px) {
    .orbit-image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .orbit-image {
        width: 100px;
        height: 100px;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
}

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

/* Find Answers Section */
.how-it-works {
    padding: var(--section-padding);
    border-bottom: 2px solid var(--primary);
    text-align: center;
    scroll-snap-align: start; /* Snap to start with header offset */
}

.typing-animation-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.typing-text {
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
    min-height: 1.5em;
    display: inline-block;
}

.typing-cursor {
    font-size: var(--font-size-2xl);
    color: var(--primary);
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Mobile responsiveness for typing text */
@media (max-width: 768px) {
    .typing-text {
        font-size: var(--font-size-lg);
    }
    
    .typing-cursor {
        font-size: var(--font-size-lg);
    }
    
    .typing-animation-container {
        min-height: 50px;
    }
}

/* Features */
.feature {
    padding: var(--section-padding);
    border: 2px solid #e2e8f0;
    border-bottom: 2px solid #6366f1;
}

.feature:nth-child(odd) {
    /* background: var(--background-light); */
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-content.reverse {
    direction: rtl;
}

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

.feature-text h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: 1.5rem;
}

.feature-text p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* Product Sections */
.product-section {
    padding: var(--section-padding);
    border: 2px solid var(--border);
    border-bottom: 2px solid var(--primary);
    scroll-snap-align: start; /* Snap to start with header offset */
    min-height: 100vh; /* Ensure each section takes at least full viewport height */
    display: flex;
    align-items: center;
}

.product-section .container {
    max-width: 1200px; /* Increased from 900px to accommodate animation */
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem; /* Increased gap for better spacing */
    background: var(--background);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 1px solid var(--border);
    transition: var(--transition);
    align-items: center; /* Center align the content vertically */
    width: 100%;
    max-width: 1000px; /* Fixed max-width for consistency */
}

.product-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-content.reverse {
    direction: ltr;
}

.product-content.reverse > * {
    direction: ltr;
}

/* Product Animation Container */
.product-animation {
    display: flex;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.product-animation .animation-container {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Hide animation containers by default - they'll be populated by JS */
.product-animation .animation-container:empty {
    opacity: 0;
}

/* Desktop - Fixed width for consistency */
@media (min-width: 1025px) {
    .product-content {
        max-width: 1000px;
        grid-template-columns: 450px 450px; /* Fixed column widths for desktop */
        gap: 3rem;
        justify-content: center;
    }
    
    .product-text {
        width: 450px;
    }
    
    .product-animation {
        width: 450px;
    }
}

/* Responsive Design for Product Sections */
@media (max-width: 1024px) {
    .product-section .container {
        max-width: 1000px;
    }
    
    .product-content {
        gap: 2rem;
        padding: 2.5rem;
        max-width: 900px;
    }
    
    .product-animation .animation-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .product-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .product-content {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
        max-width: none;
    }
    
    .product-animation {
        min-height: 250px;
        order: -1; /* Show animation above text on mobile */
    }
    
    .product-animation .animation-container {
        height: 250px;
    }
    
    /* Mobile subtitle spacing adjustment */
    .product-section .product-subtitle {
        margin-bottom: 1rem !important;
        font-size: var(--font-size-base);
    }
    
    /* Fix product features alignment on mobile */
    .product-section .product-features {
        text-align: left;
        display: inline-block;
        margin: 1rem 0 1.5rem 0 !important;
    }
    
    .product-features li {
        margin-bottom: 0.5rem;
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }
    
    .product-features li:before {
        top: 0.1rem; /* Slight adjustment for better alignment */
    }

    .product-actions {
        margin-top: 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .product-section {
        padding: 1.5rem 0;
        min-height: auto;
    }
    
    .product-content {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
        gap: 1rem;
    }
    
    .product-animation {
        min-height: 200px;
    }
    
    .product-animation .animation-container {
        height: 200px;
    }

    .product-text h3 {
        font-size: var(--font-size-xl);
        margin-bottom: 0.75rem;
    }

    .product-subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: 0.75rem !important;
        line-height: 1.4;
    }

    .product-features {
        margin: 0.75rem 0 1rem 0 !important;
    }

    .product-features li {
        margin-bottom: 0.4rem;
        font-size: var(--font-size-xs);
    }

    .product-actions {
        margin-top: 1rem;
    }

    /* Ensure CTA buttons are always visible */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: var(--font-size-sm);
        min-height: 44px; /* Touch-friendly minimum */
    }
}

.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.product-text h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow:0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Override for product sections to prevent centering */
.product-section .product-subtitle {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.feature-list li {
    background: var(--background-light);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary);
    text-align: left;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.product-features {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
    padding: 0;
}

.product-features li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.beta-tag {
    color: var(--accent);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}



/* Feature Visuals */
.phone-mockup {
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.screen {
    background: var(--background);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    min-height: 300px;
}

.camera-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    height: 40px;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 0.5rem;
    border: 2px dashed var(--primary);
}

.scan-result {
    margin-top: 3rem;
}

.result-item {
    padding: 0.75rem;
    background: var(--background-light);
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary);
}



.authenticity-checker {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auth-score {
    text-align: center;
    margin-bottom: 2rem;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0% 94%, var(--border) 94% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--background);
    border-radius: 50%;
}

.score {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-2xl);
    color: var(--primary);
}

.score-label {
    color: var(--text-secondary);
}

.auth-details {
    display: grid;
    gap: 0.75rem;
}

.check-item {
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: var(--background-light);
}

.check-item.verified {
    border-left: 4px solid #10b981;
    color: #059669;
}

.check-item.warning {
    border-left: 4px solid #f59e0b;
    color: #d97706;
}





/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    text-align: center;
    scroll-snap-align: start; /* Snap to start with header offset */
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.cta-content {
    width: 100%;
}

.cta-content h3 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-bottom: 1rem;
}

.cta-note {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    margin-top: 1rem;
}

/* Footer */
.footer {
    color: var(--text-primary);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-brand h4 {
    font-size: var(--font-size-xl);
    margin-bottom: 0.5rem;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h5 {
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-lg);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }

    .container {
        padding: 0 1rem;
    }

    /* Header */
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        border-top: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        padding: 1rem 0;
    }

    .nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border);
        width: 100%;
        text-align: left;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--background-light);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 200px;
    }

    .dropdown-item {
        padding: 0.75rem 2rem;
        border-bottom: 1px solid var(--border);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header .btn.btn-primary {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 1rem 0 2rem;
        min-height: calc(100vh - 4rem);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-animation {
        order: 1;
    }

    .hero-text {
        order: 2;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-actions {
        justify-content: center;
    }

    /* Features */
    .feature-content,
    .feature-content.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        direction: ltr;
    }

    .feature-text h3 {
        font-size: var(--font-size-2xl);
    }

    /* Product Sections */
    .product-content {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .product-text h3 {
        font-size: var(--font-size-2xl);
        text-shadow:0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .product-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        max-width: 100%;
    }

    .product-actions {
        flex-direction: column;
        align-items: center;
    }

    .product-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    /* API */
    .api-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-column {
        border-bottom: 1px solid var(--border);
    }

    .footer-column:last-child {
        border-bottom: none;
    }

    .footer-column h5 {
        cursor: pointer;
        padding: 1rem 0;
        margin: 0;
        position: relative;
        user-select: none;
        transition: var(--transition);
    }

    .footer-column h5:after {
        content: '▼';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }

    .footer-column.active h5:after {
        transform: translateY(-50%) rotate(180deg);
    }

    .footer-column-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .footer-column.active .footer-column-links {
        max-height: 200px;
        padding-bottom: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.5rem 0 1rem;
        min-height: calc(100vh - 3.5rem);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
        font-size: var(--font-size-sm);
        line-height: 1.4;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 2rem 0;
        min-height: 50vh;
    }

    .cta-content h3 {
        font-size: var(--font-size-3xl);
    }

    /* Product Sections Mobile */
    .product-content {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .product-text h3 {
        font-size: var(--font-size-xl);
        text-shadow:0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .product-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .product-subtitle {
        font-size: var(--font-size-base);
    }

    .feature-list li {
        padding: 0.5rem 0.75rem;
        font-size: var(--font-size-xs);
    }

    .product-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .product-actions .btn {
        width: 100%;
        max-width: 280px;
    }
} 

/* Features Section - Market Stats */
.features-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start; /* Snap to start with header offset */
    min-height: 100vh; /* Ensure section takes at least full viewport height */
    display: flex;
    align-items: center;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(51, 51, 51, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(51, 51, 51, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-section .section-header h3 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    will-change: transform, box-shadow;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.35);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 1rem;
    pointer-events: none;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Different card sizes for visual hierarchy */
.stat-card:nth-child(1) {
    grid-column: span 2;
}

.stat-card:nth-child(2) {
    grid-row: span 2;
}

.stat-card:nth-child(4) {
    grid-column: span 2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .features-section {
        padding: var(--section-padding-mobile);
        min-height: auto; /* Allow natural height on mobile */
        align-items: flex-start;
    }
    
    .features-section .section-header {
        margin-bottom: 3rem;
    }
    
    .features-section .section-header h3 {
        font-size: var(--font-size-3xl);
        line-height: 1.3;
    }
    
    .features-section .section-header p {
        font-size: var(--font-size-base);
        margin-top: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    .stat-number {
        font-size: var(--font-size-2xl);
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .features-section .section-header h3 {
        font-size: var(--font-size-2xl);
        line-height: 1.2;
    }
    
    .features-section .section-header p {
        font-size: var(--font-size-sm);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1.25rem 1rem;
    }
    
    .stat-number {
        font-size: var(--font-size-xl);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
    }
} 