@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* 
  MindCore Design System 
  Theme: Glass & Void
  Version: 2.0
*/

:root {
    /* Colors - Base */
    --bg-root: #000000;
    --bg-surface: #0a0a0a;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    /* Glass depth tiers - NEW */
    --glass-subtle: rgba(255, 255, 255, 0.02);
    --glass-default: rgba(255, 255, 255, 0.05);
    --glass-elevated: rgba(255, 255, 255, 0.08);
    --glass-premium: rgba(255, 255, 255, 0.12);

    /* Text colors - Enhanced contrast */
    --text-primary: #ffffff;
    --text-secondary: #a1a1a6; /* UPDATED: Better WCAG AA contrast */
    --text-tertiary: #8e8e93;

    /* Primary accent */
    --accent-primary: #2997ff; /* Electric Blue */
    --accent-glow: rgba(41, 151, 255, 0.4);

    /* Secondary accent palette - NEW */
    --accent-cyan: #64d2ff;
    --accent-purple: #bf5af2;
    --accent-green: #30d158;
    --accent-orange: #ff9f0a;
    --accent-rose: #ff375f;
    --accent-ice: #64d2ff;

    /* Border system - Enhanced */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-default: rgba(255, 255, 255, 0.12);
    --border-bright: rgba(255, 255, 255, 0.2);

    /* Spacing */
    --space-xs: 4px;
    --space-s: 8px;
    --space-m: 16px;
    --space-l: 24px;
    --space-xl: 48px;
    --space-2xl: 80px;
    --space-3xl: 120px;

    /* Typography - Enhanced scale */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-display: 'Space Grotesk', var(--font-body);

    /* Fluid typography - NEW */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.375rem);
    --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.75rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 3rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.75rem);

    /* Responsive breakpoints - NEW */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;

    /* Radius */
    --radius-s: 8px;
    --radius-m: 16px;
    --radius-l: 24px;
    --radius-full: 999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}


@keyframes orbit {
    0% { transform: translate(0, 0) scale(1); opacity: 0.25; }
    50% { transform: translate(-40px, 20px) scale(1.1); opacity: 0.4; }
    100% { transform: translate(30px, -10px) scale(0.9); opacity: 0.3; }
}
/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-root);
    color: var(--text-primary);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url('assets/noise.svg');
    opacity: 0.08;
    z-index: -1;
}

#bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    background: #000;
}

#gradient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background:
        radial-gradient(600px 600px at 20% 20%, rgba(41, 151, 255, 0.14), transparent 60%),
        radial-gradient(500px 500px at 80% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
        radial-gradient(700px 700px at 50% 80%, rgba(0, 122, 255, 0.15), transparent 70%);
    mix-blend-mode: screen;
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-l);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-l);
}

/* Typography */
.text-display {
    font-family: var(--font-display);
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.text-h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.text-h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.text-body {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.text-small {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: var(--space-m);
}

/* Glitch Effect */
.glitch-hover {
    position: relative;
    display: inline-block;
}

.glitch-hover:hover {
    animation: glitch-skew 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: var(--text-primary);
}

.glitch-hover:hover::before,
.glitch-hover:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-root);
}

.glitch-hover:hover::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-hover:hover::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(34px, 9999px, 11px, 0); }
    20% { clip: rect(68px, 9999px, 89px, 0); }
    40% { clip: rect(12px, 9999px, 56px, 0); }
    60% { clip: rect(54px, 9999px, 23px, 0); }
    80% { clip: rect(9px, 9999px, 45px, 0); }
    100% { clip: rect(87px, 9999px, 12px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(14px, 9999px, 61px, 0); }
    20% { clip: rect(78px, 9999px, 29px, 0); }
    40% { clip: rect(32px, 9999px, 86px, 0); }
    60% { clip: rect(4px, 9999px, 53px, 0); }
    80% { clip: rect(29px, 9999px, 15px, 0); }
    100% { clip: rect(67px, 9999px, 32px, 0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    20% { transform: skew(-2deg); }
    40% { transform: skew(2deg); }
    60% { transform: skew(-1deg); }
    80% { transform: skew(1deg); }
    100% { transform: skew(0deg); }
}

/* Components */

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s var(--ease-out);
    text-align: center;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-root);
}

.btn-primary:hover {
    background: #e0e0e0;
    transform: scale(1.02);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

.btn-accent {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-accent:hover {
    background: #1a88ff;
    box-shadow: 0 0 30px var(--accent-glow);
}

/* Iconography */
.icon-chip {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-m);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.icon-chip[data-tone="accent"] {
    color: var(--accent-color);
    border-color: rgba(41, 151, 255, 0.4);
    box-shadow: 0 10px 30px rgba(41, 151, 255, 0.15);
}

.icon-chip[data-tone="iris"] {
    color: #bf5af2;
    border-color: rgba(191, 90, 242, 0.5);
}

.icon-chip[data-tone="citrus"] {
    color: #ff9f0a;
    border-color: rgba(255, 159, 10, 0.5);
}

.icon-chip[data-tone="signal"] {
    color: #30d158;
    border-color: rgba(48, 209, 88, 0.4);
}

.icon-chip[data-tone="rose"] {
    color: #ff375f;
    border-color: rgba(255, 55, 95, 0.4);
}

.icon-chip[data-tone="ice"] {
    color: #64d2ff;
    border-color: rgba(100, 210, 255, 0.4);
}

.icon-chip[data-tone="graphite"] {
    color: var(--text-secondary);
}

.icon-chip.sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 11px;
}

.icon-tile {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-s);
    border: 1px solid rgba(255, 159, 10, 0.4);
    background: rgba(255, 255, 255, 0.02);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ff9f0a;
}

/* Cards */
.card {
    border-radius: var(--radius-l);
    padding: var(--space-l);
    transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.card-glass {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.card-glass:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

/* Sections */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(41, 151, 255, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: 10%;
    right: 15%;
    background: radial-gradient(circle at center, rgba(48, 209, 88, 0.3), transparent 70%);
    filter: blur(20px);
    opacity: 0.35;
    animation: orbit 18s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

/* Roadmap */
.roadmap {
    position: relative;
    border-left: 2px solid var(--border-color);
    padding-left: var(--space-l);
    margin-left: 10px;
}

.roadmap-item {
    position: relative;
    margin-bottom: var(--space-xl);
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: calc(var(--space-l) * -1 - 7px);
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--bg-root);
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
}

.roadmap-item:first-child::before {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Footer */
.site-footer {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-m);
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.modal[aria-hidden="false"] {
    display: block;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .text-display { font-size: 40px; }
    .text-h1 { font-size: 32px; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-l);
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-visual {
        padding-left: var(--space-l);
    }
    
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px;
    }
}

/* ================================
   NEW COMPONENTS - Investor Ready
   ================================ */

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-m);
}

.metric-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-l);
    padding: var(--space-xl) var(--space-l);
    text-align: center;
    transition: all 0.3s var(--ease-out);
}

.metric-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.metric-value {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: var(--space-s);
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #bf5af2);
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

/* Visual Timeline */
.timeline-visual {
    position: relative;
    padding-left: 60px;
}

.timeline-visual::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), var(--border-color));
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -37px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-root);
    border: 2px solid var(--text-tertiary);
    z-index: 1;
}

.timeline-marker.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 16px var(--accent-glow);
}

.timeline-content {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-m);
    padding: var(--space-l);
    transition: all 0.3s var(--ease-out);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    background: var(--bg-glass-hover);
}

.timeline-phase {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: var(--space-s);
    display: block;
}

/* Team Cards */
.team-card {
    text-align: center;
}

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

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto var(--space-m);
    overflow: hidden;
    border: 3px solid var(--border-color);
}

.team-avatar-placeholder {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-glass));
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-tertiary);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table th:first-child {
    border-radius: var(--radius-s) 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 var(--radius-s) 0 0;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table td.highlight {
    color: #30d158;
    font-weight: 600;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Investor Lists */
.investor-list {
    list-style: none;
    padding: 0;
}

.investor-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.investor-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Fund Allocation Bars */
.fund-item {
    margin-bottom: var(--space-l);
}

.fund-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--color, var(--accent-color)), transparent);
    border-radius: 4px;
    width: var(--width, 50%);
    margin-bottom: var(--space-s);
}

.fund-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

.fund-label span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

/* Stat Grid (About page) */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-l);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* Info List (About/Legal pages) */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--text-secondary);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li strong {
    color: var(--text-primary);
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: var(--space-2xl);
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-m);
    padding-bottom: var(--space-s);
    border-bottom: 1px solid var(--border-color);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-l) 0 var(--space-s);
}

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

.legal-section ul {
    margin: var(--space-m) 0;
    padding-left: var(--space-l);
}

.legal-section ul li {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-s);
}

/* FAQ Styles */
.faq-category {
    margin-bottom: var(--space-2xl);
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-m);
    margin-bottom: var(--space-m);
    overflow: hidden;
    background: var(--bg-glass);
}

.faq-question {
    width: 100%;
    padding: var(--space-l);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-glass-hover);
}

.faq-icon {
    font-size: 24px;
    color: var(--accent-color);
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
    max-height: 1000px;
    padding: 0 var(--space-l) var(--space-l);
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-m);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: var(--space-m) 0;
    padding-left: var(--space-l);
}

.faq-answer ul li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-s);
}

/* 404 Page */
.error-code {
    font-size: clamp(100px, 20vw, 200px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-color), #bf5af2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-l);
    opacity: 0.3;
}

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, var(--bg-glass) 25%, var(--bg-glass-hover) 50%, var(--bg-glass) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-s);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Focus States for Accessibility - Enhanced */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to content link (accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Form Improvements */
input:focus,
textarea:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.1);
}

/* Form status messages (ARIA live regions) */
.form-status {
    margin-top: var(--space-m);
    padding: var(--space-m);
    border-radius: var(--radius-s);
    font-size: var(--text-sm);
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(48, 209, 88, 0.1);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
}

.form-status.error {
    display: block;
    background: rgba(255, 55, 95, 0.1);
    border: 1px solid var(--accent-rose);
    color: var(--accent-rose);
}

/* Comprehensive Responsive Breakpoints */

/* Container system with responsive padding */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-l);
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-m);
    }
}

/* Grid system enhancements */
.grid-responsive {
    display: grid;
    gap: var(--space-l);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 640px) {
    .grid-responsive {
        grid-template-columns: 1fr;
        gap: var(--space-m);
    }
}

@media (min-width: 1024px) {
    .grid-2-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3-cols {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4-cols {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile landscape (640px) */
@media (max-width: 640px) {
    :root {
        --space-xl: 32px;
        --space-2xl: 48px;
        --space-3xl: 64px;
    }

    h1, .text-h1 {
        font-size: var(--text-3xl);
    }

    h2, .text-h2 {
        font-size: var(--text-2xl);
    }
}

/* Tablet portrait (768px) - Enhanced */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
    }

    .comparison-table {
        font-size: 0.875rem;
    }
}

/* Tablet landscape (1024px) - NEW */
@media (min-width: 1024px) and (max-width: 1279px) {
    .container {
        max-width: 960px;
    }

    .hero-content {
        max-width: 90%;
    }
}

/* Large desktop (1536px) - NEW */
@media (min-width: 1536px) {
    .container {
        max-width: 1400px;
    }
}

/* Reduced motion support (accessibility) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Disable particle animation */
    #canvas-background {
        display: none;
    }

    /* Disable orbit animation */
    .hero::before {
        animation: none !important;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .btn,
    #bg,
    #gradient {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .text-primary,
    .text-h1,
    .text-h2,
    .text-h3 {
        color: black !important;
    }
}
