/* ============================================
   TekTrove Labs - Static Website Styles
   ============================================ */

/* CSS Variables - Light Mode */
:root {
    --background: #ffffff;
    --foreground: #223645;
    --primary: #223645;
    --primary-light: #2d4a5c;
    --accent: #3B82F6;
    --text-gray: #6B7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --border-color: #e5e7eb;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(229, 231, 235, 0.8);
    --nav-bg: #ffffff;
    --gradient-blue-start: rgba(59, 130, 246, 0.08);
    --gradient-purple-start: rgba(168, 85, 247, 0.08);
    --gradient-light-start: rgba(147, 197, 253, 0.08);
}

/* Dark Mode */
[data-theme='dark'] {
    --background: #0f172a;
    --foreground: #e2e8f0;
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --accent: #3B82F6;
    --text-gray: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-color: #334155;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(51, 65, 85, 0.8);
    --nav-bg: #0f172a;
    --gradient-blue-start: rgba(59, 130, 246, 0.15);
    --gradient-purple-start: rgba(168, 85, 247, 0.15);
    --gradient-light-start: rgba(147, 197, 253, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    text-rendering: optimizeLegibility;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth page load */
body {
    animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced focus states for accessibility */
:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Selection styling */
::selection {
    background-color: rgba(37, 99, 235, 0.2);
    color: inherit;
}

/* Smooth scroll behavior enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ============================================
   Scroll Progress Bar
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ============================================
   Navigation
   ============================================ */
nav {
    border-bottom: 1px solid var(--border-color);
    background-color: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.desktop-menu {
    display: flex;
    gap: 32px;
    font-size: 14px;
    align-items: center;
}

.desktop-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: color 200ms ease;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-menu a:hover::after {
    width: 100%;
}

.desktop-menu a:hover {
    color: #2563eb;
}

.mobile-controls {
    display: none;
    gap: 16px;
    align-items: center;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 300ms ease;
}

.theme-toggle:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.theme-icon-light,
.theme-icon-dark {
    font-size: 18px;
}

[data-theme='light'] .theme-icon-dark,
[data-theme='dark'] .theme-icon-light {
    display: none;
}

[data-theme='light'] .theme-icon-light,
[data-theme='dark'] .theme-icon-dark {
    display: block;
}

/* Hamburger Menu */
.hamburger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-icon {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    display: block;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

.hamburger-button.active .hamburger-icon {
    background-color: transparent;
}

.hamburger-button.active .hamburger-icon::before {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-button.active .hamburger-icon::after {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 64px);
    background-color: var(--nav-bg);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 24px;
    overflow-y: auto;
}

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

.mobile-menu a {
    display: flex;
    align-items: center;
    padding: 16px 0;
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    min-height: 48px;
}

.mobile-menu a:hover {
    color: #2563eb;
}

/* ============================================
   Hero Section
   ============================================ */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes meshGradient {
    0%, 100% { background-position: 0% 0%, 100% 100%, 0% 100%; }
    33% { background-position: 100% 0%, 0% 100%, 100% 100%; }
    66% { background-position: 0% 100%, 100% 0%, 0% 0%; }
}

.hero-gradient {
    position: relative;
    background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 30%, #faf5ff 60%, #f0f9ff 100%);
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, var(--gradient-blue-start) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--gradient-purple-start) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, var(--gradient-light-start) 0%, transparent 50%);
    background-size: 200% 200%, 200% 200%, 200% 200%;
    animation: meshGradient 25s ease infinite;
    pointer-events: none;
    z-index: 0;
}

[data-theme='dark'] .hero-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 30%, #1e1b4b 60%, #0c1e3b 100%);
}

.hero-section {
    padding: 80px 32px 128px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1152px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 768px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.button-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer {
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #2563eb 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    top: -100px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    bottom: -50px;
    left: -50px;
    animation: float2 25s ease-in-out infinite;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    top: 50%;
    right: 20%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(-180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.1); }
}

/* ============================================
   Buttons
   ============================================ */
.button-primary {
    display: inline-block;
    padding: 16px 32px;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.button-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgb(37 99 235 / 0.3);
}

.button-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Ripple effect on click */
.button-primary {
    position: relative;
    overflow: hidden;
}

.button-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.button-primary:active::after {
    width: 300px;
    height: 300px;
}

.button-secondary {
    display: inline-block;
    padding: 16px 32px;
    border: 2px solid #d1d5db;
    color: #374151;
    background-color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.button-secondary:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -3px rgb(0 0 0 / 0.1);
}

.button-secondary:active {
    transform: translateY(0) scale(0.95);
}

[data-theme='dark'] .button-secondary {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* Pulse Badge */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

.pulse-badge {
    animation: pulse 2s ease-in-out infinite;
}

.badge-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: #1e40af;
    text-decoration: none;
    width: fit-content;
    transition: all 200ms ease;
}

.badge-link:hover {
    background-color: #dbeafe;
}

[data-theme='dark'] .badge-link {
    background-color: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
    color: #60a5fa;
}

/* Glow Effect */
@keyframes glow {
    0%, 100% { box-shadow: 0 4px 6px -1px rgb(37 99 235 / 0.3); }
    50% { box-shadow: 0 8px 16px -1px rgb(37 99 235 / 0.4), 0 0 24px rgb(37 99 235 / 0.3); }
}

.cta-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ============================================
   Stats Bar
   ============================================ */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-bar {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 48px 32px;
    margin-top: -64px;
    position: relative;
    z-index: 2;
}

.stats-container {
    max-width: 1152px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    transition: all 300ms ease;
    cursor: default;
}

.stat-item:hover {
    background-color: rgba(239, 246, 255, 0.5);
    transform: translateY(-2px);
}

[data-theme='dark'] .stat-item:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 96px 32px;
    background-color: var(--bg-primary);
}

.section-alt {
    background-color: var(--bg-secondary);
}

.container {
    max-width: 1152px;
    margin: 0 auto;
}

.container-lg {
    max-width: 1200px;
    margin: 0 auto;
}

.container-sm {
    max-width: 900px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-tertiary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    font-size: 20px;
    line-height: 1.7;
    max-width: 900px;
}

.contact-intro {
    font-size: 20px;
    max-width: 700px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   Products Section
   ============================================ */
.featured-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: fit-content;
}

.status-badge.available {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.soon {
    background-color: #e0e7ff;
    color: #3730a3;
}

.product-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.product-description {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.feature-stat {
    padding: 16px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.feature-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 4px;
}

.feature-stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Product Card */
.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 24px 48px -12px rgb(37 99 235 / 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-visual {
    padding: 48px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Coming Soon Card */
.coming-soon-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
}

.coming-soon-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.coming-soon-card p {
    font-size: 18px;
    color: var(--text-tertiary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 24px;
}

/* ============================================
   About Section
   ============================================ */
.about-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 96px;
}

.value-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    position: relative;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.05));
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgb(37 99 235 / 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.value-card:hover::after {
    opacity: 1;
}

.value-icon {
    width: 56px;
    height: 56px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
}

[data-theme='dark'] .value-icon {
    background-color: rgba(59, 130, 246, 0.2);
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Approach Timeline */
.about-approach-section {
    background-color: var(--bg-secondary);
    padding: 64px 48px;
    border-radius: 24px;
}

[data-theme='dark'] .about-approach-section {
    background-color: var(--card-bg);
}

.about-approach-section h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 48px;
    text-align: center;
}

.about-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.about-timeline-line {
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-color: #d1d5db;
}

[data-theme='dark'] .about-timeline-line {
    background-color: var(--border-color);
}

.timeline-step {
    position: relative;
    text-align: center;
}

.step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    font-size: 32px;
}

.timeline-step h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-step p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* ============================================
   Technology Stack
   ============================================ */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-stack-item {
    text-align: center;
    padding: 24px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-stack-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgb(37 99 235 / 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.tech-stack-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tech-stack-item p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* ============================================
   Use Cases
   ============================================ */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.use-case-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.use-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgb(37 99 235 / 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.use-case-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.use-case-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.use-case-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.use-case-link {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
}

.use-case-status {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgb(245 158 11 / 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.testimonial-stars {
    font-size: 32px;
    color: #f59e0b;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

[data-theme='dark'] .author-avatar {
    background-color: rgba(59, 130, 246, 0.2);
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 4px 12px -2px rgb(37 99 235 / 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
}

.faq-question span:first-child {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-icon {
    font-size: 24px;
    color: #2563eb;
    transition: transform 300ms ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Blog Section
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgb(37 99 235 / 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.blog-image {
    border-radius: 12px;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.blog-status {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.submit-btn {
    width: 100%;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-status.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    padding: 32px;
}

.contact-info-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.partner-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    gap: 12px;
}

.benefit-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.benefit-item span {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.contact-details-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
}

.contact-details-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-detail svg {
    margin-top: 2px;
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.contact-detail a {
    font-size: 16px;
    color: #2563eb;
    font-weight: 500;
}

.contact-detail span:not(.detail-label) {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

.response-time {
    margin-top: 8px;
    padding: 12px;
    background-color: #eff6ff;
    border-radius: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}

[data-theme='dark'] .response-time {
    background-color: rgba(59, 130, 246, 0.15);
}

.response-time span {
    font-size: 13px;
    color: #1e40af;
    font-weight: 500;
}

[data-theme='dark'] .response-time span {
    color: #60a5fa;
}

/* ============================================
   Footer
   ============================================ */
footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    padding: 64px 32px;
}

.footer-container {
    max-width: 1152px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand img {
    height: 32px;
    width: auto;
}

.footer-address {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-links a {
    font-size: 14px;
    color: #2563eb;
}

.footer-links .divider {
    color: #d1d5db;
}

[data-theme='dark'] .footer-links .divider {
    color: var(--border-color);
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-secondary);
    align-self: center;
}

/* ============================================
   Sticky CTA Bar
   ============================================ */
.sticky-cta-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 50;
    transition: transform 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.sticky-cta-bar.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 24px;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px -8px rgb(37 99 235 / 0.3);
}

.sticky-cta-content span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.sticky-cta-content .button-primary {
    padding: 12px 24px;
    font-size: 14px;
}

/* ============================================
   RouteSage Product Page
   ============================================ */
.routesage-hero {
    padding: 80px 32px;
    text-align: center;
}

.routesage-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.routesage-hero h1 {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0;
    line-height: 1.1;
}

.routesage-tagline {
    font-size: 28px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.4;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta-buttons .button-primary,
.hero-cta-buttons .button-secondary {
    font-size: 18px;
    padding: 20px 40px;
}

/* Problem Grid */
.routesage-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.problem-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.2;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 12px;
    transition: all 200ms ease;
}

.problem-item:hover {
    background-color: var(--bg-secondary);
    transform: translateX(4px);
}

.problem-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.problem-item strong {
    font-size: 20px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 6px;
}

.problem-item span {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.routesage-problem-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-secondary);
    border-radius: 24px;
    padding: 64px;
    min-height: 500px;
}

.routesage-problem-graphic span {
    font-size: 140px;
}

/* Solution Grid */
.routesage-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-primary);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    transition: all 300ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
}

.feature-icon-lg {
    width: 64px;
    height: 64px;
    background-color: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 36px;
}

[data-theme='dark'] .feature-icon-lg {
    background-color: rgba(59, 130, 246, 0.2);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Grid */
.routesage-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 48px 32px;
    border-radius: 16px;
    border: 2px solid;
    transition: all 300ms ease;
}

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

.stat-card .stat-number {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* How It Works */
.how-it-works {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step .step-circle {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.step-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Demo CTA Section */
.demo-cta-section {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 50%, #faf5ff 100%);
    padding: 120px 32px;
}

[data-theme='dark'] .demo-cta-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(34, 197, 94, 0.1) 50%, rgba(168, 85, 247, 0.1) 100%);
}

.demo-cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.demo-cta-container h2 {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
    line-height: 1.2;
}

.demo-cta-container > p:first-of-type {
    font-size: 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 56px;
}

.demo-btn {
    font-size: 22px;
    padding: 24px 56px;
    border-radius: 12px;
}

.response-note {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 32px;
    font-weight: 500;
}

/* ============================================
   Nourish Product Page
   ============================================ */

/* Nourish Color Scheme - Green */
.nourish-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 30%, #bbf7d0 60%, #f0fdf4 100%);
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;
    padding: 80px 32px;
    text-align: center;
}

[data-theme='dark'] .nourish-hero {
    background: linear-gradient(135deg, #14532d 0%, #0f172a 30%, #052e16 60%, #0c1e3b 100%);
}

.nourish-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.nourish-hero h1 {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0;
    line-height: 1.1;
}

.nourish-tagline {
    font-size: 28px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.4;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Coming Soon Badge */
.status-badge.coming-soon {
    background-color: #fef3c7;
    color: #92400e;
}

[data-theme='dark'] .status-badge.coming-soon {
    background-color: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

/* Nourish Available Badge - Green */
.status-badge.nourish-available {
    background-color: #dcfce7;
    color: #166534;
}

[data-theme='dark'] .status-badge.nourish-available {
    background-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

/* Nourish Green Accents */
.nourish-icon {
    background-color: #dcfce7 !important;
}

[data-theme='dark'] .nourish-icon {
    background-color: rgba(34, 197, 94, 0.2) !important;
}

.nourish-cta {
    background-color: #16a34a !important;
}

.nourish-cta:hover {
    background-color: #15803d !important;
}

.nourish-btn {
    background-color: #16a34a;
}

.nourish-btn:hover {
    background-color: #15803d;
    box-shadow: 0 12px 20px -5px rgb(22 163 74 / 0.3);
}

/* Nourish Stats */
.nourish-stat {
    border-color: #86efac;
}

.nourish-value {
    color: #16a34a !important;
}

.nourish-title {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 50%, #16a34a 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reverse product grid (image on left) */
.featured-product-reverse {
    direction: rtl;
}

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

/* Nourish Visual */
.nourish-visual {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

[data-theme='dark'] .nourish-visual {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.15) 100%);
}

/* Problem Grid for Nourish */
.nourish-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.nourish-problem-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 24px;
    padding: 64px;
    min-height: 500px;
}

[data-theme='dark'] .nourish-problem-graphic {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.15) 100%);
}

.nourish-problem-graphic span {
    font-size: 140px;
}

/* Solution Grid for Nourish */
.nourish-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Chat Demo Section */
.nourish-demo {
    max-width: 700px;
    margin: 0 auto;
}

.chat-demo {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    max-width: 85%;
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.chat-bubble.user {
    background: #16a34a;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}

.chat-bubble.assistant {
    background: var(--bg-secondary);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

.chat-bubble p {
    margin: 0 0 8px 0;
}

.chat-bubble p:last-child {
    margin-bottom: 0;
}

.chat-bubble ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.chat-bubble ul li {
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.logged-food {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 12px 0;
}

[data-theme='dark'] .logged-food {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.logged-food strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.food-stats {
    font-size: 13px;
    color: var(--text-tertiary);
}

.sync-status {
    color: #16a34a;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

/* Features Grid for Nourish */
.nourish-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nourish-feature {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 300ms ease;
}

.nourish-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgb(22 163 74 / 0.15);
    border-color: #86efac;
}

.nourish-feature-icon {
    width: 56px;
    height: 56px;
    background-color: #dcfce7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

[data-theme='dark'] .nourish-feature-icon {
    background-color: rgba(34, 197, 94, 0.2);
}

.nourish-feature h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.nourish-feature p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Philosophy Section */
.nourish-philosophy {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #f0fdf4 100%);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
}

[data-theme='dark'] .nourish-philosophy {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.15) 50%, rgba(34, 197, 94, 0.1) 100%);
}

.philosophy-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.philosophy-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 16px;
}

.philosophy-principles {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.principle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.principle-icon {
    color: #16a34a;
    font-size: 20px;
}

/* Tech Stack for Nourish */
.tech-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 300ms ease;
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgb(22 163 74 / 0.15);
    border-color: #86efac;
}

.tech-item .tech-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.tech-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.tech-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Nourish CTA Section */
.nourish-cta-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    padding: 120px 32px;
}

[data-theme='dark'] .nourish-cta-section {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.15) 50%, rgba(34, 197, 94, 0.1) 100%);
}

.nourish-cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.nourish-cta-container h2 {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
    line-height: 1.2;
}

.nourish-cta-container > p:first-of-type {
    font-size: 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 56px;
}

.launch-note {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 32px;
    font-weight: 500;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .about-value-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .routesage-problem-grid,
    .nourish-problem-grid {
        grid-template-columns: 1fr;
    }

    .nourish-solution-grid,
    .nourish-features-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .routesage-problem-graphic,
    .nourish-problem-graphic {
        max-width: 400px;
        margin: 0 auto;
    }

    .nourish-philosophy {
        padding: 48px 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .desktop-menu {
        display: none !important;
    }

    .mobile-controls {
        display: flex;
    }

    .hamburger-button {
        display: block;
    }

    /* Hero */
    .hero-section {
        padding: 48px 24px !important;
    }

    .hero-content h1 {
        font-size: 36px !important;
    }

    .hero-content p {
        font-size: 18px !important;
    }

    .hero-buttons {
        width: 100%;
    }

    .button-group {
        flex-direction: column;
    }

    .button-group a {
        width: 100%;
        text-align: center;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Sections */
    .section {
        padding: 64px 24px !important;
    }

    .section-header h2 {
        font-size: 32px !important;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .stat-item {
        padding: 16px !important;
    }

    .stat-number {
        font-size: 32px !important;
    }

    /* Products */
    .featured-product-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .product-title {
        font-size: 36px !important;
    }

    /* About */
    .about-timeline {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .about-timeline-line {
        display: none !important;
    }

    .about-approach-section {
        padding: 48px 24px !important;
    }

    /* Tech Stack */
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    /* Use Cases */
    .use-cases-grid {
        grid-template-columns: 1fr !important;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr !important;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    /* Footer */
    .footer-content {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    .footer-brand {
        align-items: center;
    }

    /* Sticky CTA */
    .sticky-cta-content {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center;
    }

    .sticky-cta-content .button-primary {
        width: 100%;
    }

    /* RouteSage page */
    .routesage-hero h1 {
        font-size: 48px !important;
    }

    .routesage-tagline {
        font-size: 20px !important;
    }

    .routesage-problem-graphic,
    .nourish-problem-graphic {
        display: none !important;
    }

    .routesage-solution-grid,
    .nourish-solution-grid,
    .nourish-features-grid {
        grid-template-columns: 1fr !important;
    }

    .routesage-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .stat-card .stat-number {
        font-size: 48px !important;
    }

    .demo-cta-container h2 {
        font-size: 36px !important;
    }

    .demo-cta-container > p:first-of-type {
        font-size: 18px !important;
    }

    .demo-btn {
        font-size: 18px !important;
        padding: 18px 36px !important;
    }

    /* Nourish mobile */
    .nourish-hero h1 {
        font-size: 48px !important;
    }

    .nourish-tagline {
        font-size: 20px !important;
    }

    .nourish-cta-container h2 {
        font-size: 36px !important;
    }

    .nourish-cta-container > p:first-of-type {
        font-size: 18px !important;
    }

    .chat-demo {
        padding: 20px !important;
    }

    .chat-bubble {
        max-width: 90% !important;
    }

    .nourish-philosophy {
        padding: 40px 24px !important;
    }

    .philosophy-content h2 {
        font-size: 28px !important;
    }

    .philosophy-principles {
        flex-direction: column;
        gap: 16px;
    }

    .step .step-circle {
        width: 56px !important;
        height: 56px !important;
        font-size: 20px !important;
    }

    .step-content h3 {
        font-size: 24px !important;
    }

    .problem-content h2 {
        font-size: 36px !important;
    }
}

@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 32px !important;
    }

    .section-header h2 {
        font-size: 28px !important;
    }

    .stat-number {
        font-size: 28px !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .routesage-stats-grid {
        grid-template-columns: 1fr !important;
    }

    .section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .routesage-hero h1 {
        font-size: 36px !important;
    }
}

/* ============================================
   Dark Mode Specific Overrides
   ============================================ */
[data-theme='dark'] nav {
    background-color: var(--nav-bg);
    border-bottom-color: var(--border-color);
}

[data-theme='dark'] .product-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme='dark'] .product-card:hover {
    box-shadow: 0 24px 48px -12px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

[data-theme='dark'] .value-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme='dark'] .value-card:hover {
    box-shadow: 0 16px 32px -8px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
}

[data-theme='dark'] .stats-bar {
    background: var(--card-bg);
    border-top-color: var(--border-color);
    border-bottom-color: var(--border-color);
}

[data-theme='dark'] .tech-stack-item {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme='dark'] .tech-stack-item:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

[data-theme='dark'] .use-case-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme='dark'] .testimonial-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme='dark'] .faq-item {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme='dark'] .blog-card {
    background: var(--card-bg);
    border-color: var(--card-border);
}

[data-theme='dark'] .sticky-cta-content {
    background: var(--card-bg);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 32px -8px rgba(59, 130, 246, 0.4);
}

[data-theme='dark'] .feature-card {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}

/* ============================================
   Legal Pages (Privacy, Terms)
   ============================================ */
.legal-page {
    padding-top: 64px;
    padding-bottom: 96px;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.legal-updated {
    font-size: 14px;
    color: var(--text-tertiary);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2563eb;
    display: inline-block;
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-section p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #2563eb;
    border-radius: 50%;
}

.legal-section ul li strong {
    color: var(--text-primary);
}

.legal-section a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

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

.legal-contact {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 12px;
    margin-top: 16px;
}

.legal-contact p {
    margin-bottom: 8px;
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

.legal-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.legal-nav a {
    flex: 1;
    text-align: center;
}

/* Footer Legal Links */
.footer-legal {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 14px;
}

.footer-legal a {
    color: var(--text-secondary);
    transition: color 200ms ease;
}

.footer-legal a:hover {
    color: #2563eb;
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    padding: 20px 24px;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1152px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-text a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 200ms ease;
    border: none;
    font-family: inherit;
}

.cookie-btn-accept {
    background-color: #2563eb;
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background-color: #1d4ed8;
}

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

.cookie-btn-decline:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.cookie-btn-settings {
    background-color: transparent;
    color: #2563eb;
    padding: 10px 12px;
}

.cookie-btn-settings:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings-modal.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background: var(--bg-primary);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-settings-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-tertiary);
    padding: 4px;
    line-height: 1;
    transition: color 200ms ease;
}

.cookie-settings-close:hover {
    color: var(--text-primary);
}

.cookie-settings-body {
    padding: 24px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-info {
    flex: 1;
    padding-right: 16px;
}

.cookie-option-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.cookie-option-info p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.5;
}

.cookie-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #2563eb;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Responsive Cookie Consent */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-buttons {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }

    .legal-header h1 {
        font-size: 36px;
    }

    .legal-nav {
        flex-direction: column;
    }

    .legal-nav a {
        width: 100%;
    }
}
