/* ===== CSS Variables ===== */
:root {
    --color-bg: #0a0a0f;
    --color-bg-alt: #12121a;
    --color-surface: #1a1a24;
    --color-border: #2a2a3a;
    --color-text: #e4e4e7;
    --color-text-muted: #a1a1aa;
    --color-primary: #8b5cf6;
    --color-primary-light: #a78bfa;
    --color-secondary: #06b6d4;
    --color-accent: #22d3ee;
    --color-success: #10b981;
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section-intro {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* ===== Hero ===== */
.hero {
    background: var(--gradient-hero);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 12px;
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.hero-tagline strong {
    color: var(--color-accent);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero .disclaimer {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

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

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

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

/* ===== Section Headings ===== */
h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

/* ===== Highlights (About Section) ===== */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.highlight-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.highlight-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.highlight-label {
    display: block;
    font-size: 1rem;
    color: var(--color-text);
    margin-top: 8px;
}

.highlight-note {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* ===== Timeline ===== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding-left: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-bg-alt);
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--color-primary-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.timeline-content code {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    background-color: var(--color-bg);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    color: var(--color-accent);
}

/* ===== Impact Grid (Why 82.1% Matters) ===== */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.impact-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.impact-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.impact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.impact-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===== Tech Grid (Antigravity) ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.tech-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.tech-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.tech-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.5;
}

.tech-header h3 {
    margin-bottom: 0;
}

.tech-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== Workflow Steps (Dev Team Mode) ===== */
.workflow-steps {
    max-width: 800px;
    margin: 0 auto;
}

.workflow-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.step-content h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.step-content p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===== Trust Features (Safety) ===== */
.trust-features {
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 20px;
}

.trust-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.trust-item p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.feature-card h3 {
    color: var(--color-text);
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* ===== Comparison Table ===== */
.table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.comparison-table th {
    background-color: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

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

.comparison-table .highlight-col {
    background-color: rgba(139, 92, 246, 0.1);
    color: var(--color-text);
    font-weight: 500;
}

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

.table-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 16px;
}

/* ===== Pricing ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.pricing-card-content {
    flex: 1;
}

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

.price-label {
    color: var(--color-text-muted);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.price-value small {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    margin: 24px 0;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--color-text-muted);
}

.pricing-features li::before {
    color: var(--color-success);
}

.plan-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.plan-name {
    font-weight: 600;
    color: var(--color-text);
}

.plan-price {
    font-weight: 700;
    color: var(--color-primary-light);
}

.plan-desc {
    width: 100%;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.pricing-card .btn {
    margin-top: auto;
    padding-top: 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Access Section ===== */
.access-info {
    max-width: 900px;
    margin: 0 auto;
}

.model-id-box {
    background-color: var(--color-surface);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.model-id-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.model-id {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--color-accent);
    background-color: var(--color-bg);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.platform-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

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

.platform-card code {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--color-accent);
    background-color: var(--color-bg);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    word-break: break-all;
}

.platform-card a {
    font-size: 0.875rem;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background-color: var(--color-bg-alt);
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.faq-item code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    background-color: var(--color-bg);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    color: var(--color-accent);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-top: 12px;
    font-size: 0.9375rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--color-text);
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

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

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

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.footer-bottom .disclaimer {
    font-size: 0.8125rem;
    opacity: 0.7;
}

.footer-bottom .contact a {
    color: var(--color-primary-light);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-intro {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comparison-table {
        font-size: 0.75rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px;
        white-space: nowrap;
    }
    
    /* Timeline mobile */
    .timeline {
        padding-left: 24px;
    }
    
    .timeline::before {
        left: 4px;
    }
    
    .timeline-item {
        padding-left: 20px;
    }
    
    .timeline-item::before {
        left: -20px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-date {
        font-size: 0.8125rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    /* Impact grid mobile */
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-card {
        padding: 24px;
    }
    
    /* Tech grid mobile */
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-card {
        padding: 24px;
    }
    
    /* Workflow steps mobile */
    .workflow-step {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    /* Trust features mobile */
    .trust-item {
        padding: 24px;
    }
    
    /* Platforms grid mobile */
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-card code {
        font-size: 0.75rem;
    }
    
    /* Highlights mobile */
    .highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-card {
        padding: 24px 20px;
    }
    
    /* Model ID box mobile */
    .model-id-box {
        padding: 24px 16px;
    }
    
    .model-id {
        font-size: 0.875rem;
        padding: 10px 12px;
        word-break: break-all;
    }
    
    /* FAQ mobile */
    .faq-item summary {
        padding: 16px 20px;
        font-size: 0.9375rem;
    }
    
    .faq-item p {
        padding: 0 20px 16px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-tagline {
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.9375rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .highlight-card {
        padding: 20px 16px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 28px 20px;
    }
    
    .price-value {
        font-size: 1.25rem;
    }
    
    /* Comparison table scroll hint */
    .table-wrapper {
        position: relative;
    }
    
    .table-wrapper::after {
        content: '← Scroll →';
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--color-text-muted);
        padding: 8px 0;
        opacity: 0.6;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 4px;
        font-size: 0.6875rem;
    }
}

