/* CSS Variables for Theme Switching */
:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #475569;
    --shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    --glass-bg: rgba(15, 23, 42, 0.25);
    --glass-border: rgba(148, 163, 184, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 20%;
    animation-delay: -2s;
}

.shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: -4s;
}

.shape:nth-child(4) {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 10%;
    animation-delay: -6s;
}

.shape:nth-child(5) {
    width: 90px;
    height: 90px;
    top: 50%;
    left: 50%;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(-30px, -20px) rotate(270deg); }
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

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

/* Mobile Menu */
/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    position: relative;
}

.mobile-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-toggle.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Mobile Navigation Links */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-primary);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.mobile-active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        text-align: center;
        font-size: 1.1rem;
        border-radius: 10px;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .nav-links a:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Overlay for mobile menu */
    .nav-links.mobile-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: -1;
    }
}

/* Hero Section */
.hero {
    /* Change from: min-height: 100vh; */
    min-height: auto;
    padding: 8rem 0 4rem; /* Increase padding instead */
    display: flex;
    align-items: center;
    position: relative;
}

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

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-mockup {
    width: 100%;
    min-height: 580px; /* Change from fixed height to min-height */
    height: auto; /* Add this */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: visible; /* Change from hidden to visible */
    animation: float-dashboard 6s ease-in-out infinite;
}

@keyframes float-dashboard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.dashboard-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Add more space below header */
    position: relative;
    z-index: 10; /* Ensure it stays on top */
}

.dashboard-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-size: 0.9rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Enhanced Chart Area */
.chart-area {
    height: 200px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
}

/* Chart Grid Lines */
.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.grid-line-horizontal {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-secondary);
}

.grid-line-horizontal:nth-child(1) { top: 20%; }
.grid-line-horizontal:nth-child(2) { top: 40%; }
.grid-line-horizontal:nth-child(3) { top: 60%; }
.grid-line-horizontal:nth-child(4) { top: 80%; }

/* Chart Bars */
.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 8px;
    padding: 0 20px;
}

.chart-bar {
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    border-radius: 4px 4px 0 0;
    width: 20px;
    transform-origin: bottom;
    animation: grow-bar 2s ease-out;
    position: relative;
}

.chart-bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.chart-bar:nth-child(2) { height: 40%; animation-delay: 0.2s; }
.chart-bar:nth-child(3) { height: 80%; animation-delay: 0.3s; }
.chart-bar:nth-child(4) { height: 35%; animation-delay: 0.4s; }
.chart-bar:nth-child(5) { height: 95%; animation-delay: 0.5s; }
.chart-bar:nth-child(6) { height: 70%; animation-delay: 0.6s; }
.chart-bar:nth-child(7) { height: 50%; animation-delay: 0.7s; }
.chart-bar:nth-child(8) { height: 85%; animation-delay: 0.8s; }
.chart-bar:nth-child(9) { height: 45%; animation-delay: 0.9s; }
.chart-bar:nth-child(10) { height: 75%; animation-delay: 1.0s; }

@keyframes grow-bar {
    0% { height: 0; opacity: 0; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Chart Line Overlay */
.chart-line-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: calc(100% - 40px);
    pointer-events: none;
}

.trend-line {
    position: absolute;
    width: calc(100% - 40px);
    height: 3px;
    background: linear-gradient(90deg, var(--warning-color), var(--success-color));
    border-radius: 2px;
    top: 70px;
    left: 20px;
    opacity: 0.8;
    animation: draw-trend-line 3s ease-in-out 1.2s both;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

@keyframes draw-trend-line {
    0% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

/* Chart Data Points */
.data-points {
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: calc(100% - 40px);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    pointer-events: none;
    padding-top: 50px;
}

.data-point {
    width: 8px;
    height: 8px;
    background: var(--warning-color);
    border-radius: 50%;
    border: 2px solid white;
    opacity: 0;
    animation: show-point 0.3s ease-out both;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.data-point:nth-child(1) { animation-delay: 1.3s; }
.data-point:nth-child(2) { animation-delay: 1.4s; }
.data-point:nth-child(3) { animation-delay: 1.5s; }
.data-point:nth-child(4) { animation-delay: 1.6s; }
.data-point:nth-child(5) { animation-delay: 1.7s; }
.data-point:nth-child(6) { animation-delay: 1.8s; }
.data-point:nth-child(7) { animation-delay: 1.9s; }
.data-point:nth-child(8) { animation-delay: 2.0s; }

@keyframes show-point {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

/* Chart Legend */
.chart-legend {
    position: absolute;
    bottom: 15px;
    right: 25px;
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    opacity: 0;
    animation: fade-in 0.5s ease-out 2.2s both;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
}

.legend-color {
    width: 16px;
    height: 4px;
    border-radius: 2px;
}

.legend-bars { background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); }
.legend-trend { background: linear-gradient(90deg, var(--warning-color), var(--success-color)); }

@keyframes fade-in {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.insight-item i {
    color: var(--warning-color);
}

/* Accuracy Chart Styles */
.accuracy-chart {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.03));
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    min-height: 220px; /* Change to min-height */
    height: auto; /* Add this */
    display: flex;
}

.y-axis-scale {
    width: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 10px;
    height: 200px;
    margin-top: 10px;
}

.scale-mark {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1;
}

.chart-plot {
    flex: 1;
    position: relative;
    border-left: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    height: 200px;
    margin-top: 10px;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
}

.grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    opacity: 0.3;
}

.chart-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.trend-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-line 2s ease-out 1s forwards;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

.data-point {
    position: absolute;
    z-index: 2;
    animation: point-pop 0.5s ease-out both;
}

.industry-point {
    animation-delay: 0.8s;
}

.featurebox-point {
    animation-delay: 2.5s;
}

@keyframes point-pop {
    0% { 
        opacity: 0; 
        transform: translate(-50%, 50%) scale(0); 
    }
    100% { 
        opacity: 1; 
        transform: translate(-50%, 50%) scale(1); 
    }
}

.point-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    z-index: 3;
}

.industry-point .point-circle {
    background: #ef4444;
}

.featurebox-point .point-circle {
    background: #10b981;
}

.point-tooltip {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.accuracy-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    margin-bottom: 4px;
    display: inline-block;
}

.industry-badge {
    background: #ef4444;
}

.featurebox-badge {
    background: #10b981;
}

.avg-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.x-axis-labels {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    height: 20px;
}

.axis-label {
    position: absolute;
    transform: translateX(-50%);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Benefits Grid - Fixed Layout */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px;
    margin-top: 10px;
}

.benefit-card {
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    animation: slide-up 0.6s ease-out both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-card:nth-child(1) { 
    animation-delay: 3s; 
    grid-column: 1;
    grid-row: 1;
}

.benefit-card:nth-child(2) { 
    animation-delay: 3.1s; 
    grid-column: 2;
    grid-row: 1;
}

.benefit-card:nth-child(3) { 
    animation-delay: 3.2s; 
    grid-column: 1;
    grid-row: 2;
}

.benefit-card:nth-child(4) { 
    animation-delay: 3.3s; 
    grid-column: 2;
    grid-row: 2;
}

.benefit-card-wide {
    grid-column: 1 / -1;
    grid-row: 3;
    animation-delay: 3.4s;
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.benefit-value {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.1;
}

.benefit-desc {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.1;
}

/* Adjust dashboard height to accommodate grid */
.dashboard-mockup {
    width: 100%;
    height: 580px; /* Increase from 520px to show all content */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: float-dashboard 6s ease-in-out infinite;
}

.accuracy-chart {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.03));
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    height: 220px; /* Reduced height */
    display: flex;
}

/* Responsive Design - Updated */
@media (max-width: 768px) {
    .dashboard-mockup {
        height: 500px; /* Increase mobile height */
        padding: 1rem;
    }
    
    
    .accuracy-chart {
        height: 200px;
        padding: 12px;
    }
    
    .y-axis-scale {
        width: 25px;
        height: 160px;
    }
    
    .chart-plot {
    flex: 1;
    position: relative;
    border-left: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    height: 160px; /* Reduce slightly to maintain proportions */
    margin-top: 10px;
}
    
    .scale-mark {
        font-size: 0.7rem;
    }
    
    .benefits-grid {
        gap: 8px;
        margin-top: 12px;
        height: 180px; /* Increase mobile grid height */
    }
    
    .benefit-card {
        padding: 10px 6px;
        min-height: 55px;
    }
    
    .benefit-value {
        font-size: 0.85rem;
    }
    
    .benefit-desc {
        font-size: 0.7rem;
    }
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Brands Section */
.brands-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    position: relative;
    overflow: hidden;
}

.brands-content {
    position: relative;
    z-index: 2;
}

.brands-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brands-marquee {
    overflow: hidden;
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 0;
    mask: linear-gradient(
        90deg,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(
        90deg,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scroll-brands 25s linear infinite;
    width: calc(800px * 2); /* Adjust based on content width */
}

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

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 120px;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 120px;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.brand-item:hover {
    opacity: 1;
    transform: translateY(-5px);
    text-decoration: none;
}

.brand-item:visited {
    color: inherit;
}

.brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    object-fit: contain;
}

.brand-item:hover .brand-logo {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.brand-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.brand-item:hover .brand-logo::before {
    left: 100%;
}

/* Custom logo styles */
.ladera-logo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
}

.sienna-logo {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border: 2px solid #C53030;
}

.herb-logo {
    background: linear-gradient(135deg, #2D5D31 0%, #4A7C59 100%);
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.brand-item:hover .brand-name {
    color: var(--primary-color);
}

/* Decorative elements */
.brands-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.deco-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.deco-2 {
    width: 60px;
    height: 60px;
    top: 70%;
    right: 20%;
    animation-delay: -7s;
}

.deco-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 80%;
    animation-delay: -14s;
}

/* Responsive Design for Brands */
@media (max-width: 768px) {
    .brands-section {
        padding: 3rem 0;
    }
    
    .brands-title {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .brands-track {
        gap: 3rem;
    }
    
    .brand-item {
        min-width: 100px;
    }
    
    .brand-logo {
        width: 50px;
        height: 50px;
    }
    
    .brand-name {
        font-size: 0.8rem;
    }
}

/* Pause animation on hover */
.brands-marquee:hover .brands-track {
    animation-play-state: paused;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.problem-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.8s;
}

.problem-card:hover::before {
    left: 100%;
}

.problem-card:hover {
    transform: translateY(-10px);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

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

.impact-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: 'JetBrains Mono', monospace;
    display: block;
    margin: 1rem 0;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Platform Demo Section */
.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.demo-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    min-height: 400px;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

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

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-visual {
        height: auto;
        margin-top: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .problem-card {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .demo-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1.5rem;
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .demo-content {
        padding: 2rem 1.5rem;
    }
    
    .contact-content h2 {
        font-size: 2rem !important;
    }
    
    .contact-content p {
        font-size: 1rem !important;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    .hero .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .brands-section {
        padding: 2rem 0;
    }
    
    .brands-title {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nav-actions .theme-toggle {
        width: 40px;
        height: 40px;
    }
    
    .mobile-toggle {
        width: 40px;
        height: 40px;
    }
    
    .brands-track {
        gap: 2rem;
    }
    
    .brand-item {
        min-width: 80px;
    }
    
    .brand-logo {
        width: 40px;
        height: 40px;
    }
    
    .brand-name {
        font-size: 0.75rem;
    }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
