/* CSS Custom Properties */
:root {
    --color-bg: #080b0a;
    --color-bg-alt: #0e1411;
    --color-bg-elevated: #121a16;
    --color-border: #1f2a23;
    --color-border-strong: #2c3a31;
    --color-text: #e6f2ea;
    --color-text-muted: #a0b0a6;
    --color-text-soft: #7c8b82;
    --color-primary: #5cff8d;
    --color-primary-strong: #2aff76;
    --color-secondary: #5bc8ff;
    --color-warning: #ffb347;
    --color-danger: #ff6b5f;
    --color-success: #5cff8d;
    --font-sans: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.45);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
}

/* Reset */
*, *::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: var(--color-bg);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(91, 200, 255, 0.12), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(92, 255, 141, 0.08), transparent 45%),
        radial-gradient(circle at 60% 80%, rgba(92, 255, 141, 0.06), transparent 40%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: var(--color-primary-strong);
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: rgba(9, 14, 11, 0.7);
    color: var(--color-primary);
    border-color: rgba(92, 255, 141, 0.6);
    box-shadow: 0 0 16px rgba(92, 255, 141, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(92, 255, 141, 0.9), rgba(91, 200, 255, 0.7));
    color: #04120a;
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(92, 255, 141, 0.35);
}

.btn-secondary {
    background: rgba(18, 26, 22, 0.8);
    color: var(--color-text);
    border-color: var(--color-border-strong);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 18px rgba(92, 255, 141, 0.15);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 0;
    background: rgba(8, 11, 10, 0.75);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(44, 58, 49, 0.7);
    z-index: 1000;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.header.is-scrolled {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    background: rgba(8, 12, 10, 0.9);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: auto;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(10, 16, 13, 0.8);
    border: 1px solid var(--color-border-strong);
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
    color: var(--color-primary);
}

.logo span::after {
    content: '';
}

.logo-icon {
    width: 30px;
    height: 30px;
    color: var(--color-primary);
    filter: drop-shadow(0 0 6px rgba(92, 255, 141, 0.4));
}

.nav-links-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    padding: 6px 16px;
    background: rgba(12, 18, 15, 0.8);
    border-radius: 999px;
    border: 1px solid rgba(44, 58, 49, 0.7);
}

.nav-links a {
    color: var(--color-text-soft);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: rgba(12, 18, 15, 0.8);
    border: 1px solid var(--color-border-strong);
    border-radius: 50%;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 16px;
    height: 2px;
    margin: 0 auto;
    background: var(--color-primary);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 90px;
    left: 20px;
    right: 20px;
    background: rgba(12, 18, 15, 0.95);
    border: 1px solid var(--color-border-strong);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-links a {
    display: block;
    padding: 10px 0;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 160px 0 110px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 11, 10, 0.6), transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding: 36px;
    border-radius: var(--radius-xl);
    background: rgba(10, 16, 13, 0.82);
    border: 1px solid var(--color-border-strong);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.hero-title {
    font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70%;
    height: 70%;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(91, 200, 255, 0.3);
    background: rgba(10, 16, 13, 0.55);
    z-index: -1;
}

/* Code Window */
.code-window {
    background: #0a120e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(92, 255, 141, 0.2);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #070d0a;
    border-bottom: 1px solid rgba(92, 255, 141, 0.15);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.code-title {
    margin-left: 8px;
    color: var(--color-text-soft);
    font-size: 12px;
    font-family: var(--font-mono);
}

.code-content {
    padding: 22px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
}

.code-content code {
    font-family: inherit;
}

/* Syntax Highlighting */
.keyword { color: var(--color-secondary); }
.string { color: var(--color-primary); }
.comment { color: #6b7a71; }
.number { color: var(--color-warning); }

/* Token Feed */
.token-feed {
    background: rgba(10, 16, 13, 0.85);
    padding: 18px 0;
    overflow: hidden;
    border-top: 1px solid rgba(92, 255, 141, 0.35);
    border-bottom: 1px solid rgba(92, 255, 141, 0.2);
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(92, 255, 141, 0.8); }
    50% { opacity: 0.4; box-shadow: 0 0 6px rgba(92, 255, 141, 0.3); }
}

.scanning {
    color: var(--color-text-soft);
    font-weight: 400;
    margin-left: auto;
}

.feed-ticker {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.feed-track {
    display: flex;
    gap: 20px;
    animation: ticker 26s linear infinite;
}

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

.feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 8px 16px;
    background: rgba(92, 255, 141, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(92, 255, 141, 0.2);
}

.token {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-primary);
}

.timestamp {
    font-size: 12px;
    color: var(--color-text-soft);
}

.status {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
}

.status.valid {
    background: rgba(92, 255, 141, 0.2);
    color: var(--color-primary);
}

.status.checking {
    background: rgba(255, 179, 71, 0.2);
    color: var(--color-warning);
    animation: blink 1s step-end infinite;
}

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

/* Stats Section */
.stats {
    padding: 70px 0;
    background: transparent;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 16px;
    background: rgba(12, 18, 15, 0.85);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

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

.stat-number,
.stat-prefix,
.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-soft);
    margin-top: 8px;
    text-align: center;
}

/* Section Styles */
.section-title {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 48px;
}

/* How It Works */
.how-it-works {
    padding: 90px 0;
    background: rgba(12, 18, 15, 0.65);
    border-top: 1px solid rgba(44, 58, 49, 0.6);
    border-bottom: 1px solid rgba(44, 58, 49, 0.6);
}

.steps-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

.step {
    flex: 1;
    max-width: 240px;
    text-align: left;
    padding: 22px;
    background: rgba(10, 16, 13, 0.85);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.step-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 18, 15, 0.9);
    border-radius: 14px;
    border: 1px solid rgba(92, 255, 141, 0.3);
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

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

.step-arrow {
    color: transparent;
    position: relative;
    width: 28px;
}

.step-arrow::before {
    content: '';
    display: block;
    height: 2px;
    margin-top: 30px;
    background: linear-gradient(90deg, rgba(92, 255, 141, 0.3), rgba(91, 200, 255, 0.6));
}

/* Architecture Diagram */
.architecture {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(10, 16, 13, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-strong);
}

.architecture h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 28px;
    color: var(--color-primary);
}

.arch-diagram {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.arch-layer {
    padding: 16px;
    border: 1px dashed rgba(92, 255, 141, 0.2);
    border-radius: var(--radius-md);
    background: rgba(8, 12, 10, 0.65);
}

.arch-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-soft);
    margin-bottom: 12px;
}

.arch-boxes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.arch-box {
    padding: 8px 14px;
    background: rgba(12, 18, 15, 0.9);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.arch-box.highlight {
    background: transparent;
    color: var(--color-primary);
    border-color: rgba(92, 255, 141, 0.6);
    box-shadow: 0 0 16px rgba(92, 255, 141, 0.2);
}

.arch-arrow {
    text-align: center;
    font-size: 18px;
    color: var(--color-primary);
}

/* Pricing Section */
.pricing {
    padding: 90px 0;
    background: transparent;
}

.pricing-table-wrapper {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(10, 16, 13, 0.92);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-strong);
}

.pricing-table th,
.pricing-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(44, 58, 49, 0.6);
}

.pricing-table th {
    background: rgba(8, 12, 10, 0.9);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-soft);
}

.pricing-table tbody tr:hover {
    background: rgba(92, 255, 141, 0.05);
}

.model-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.model-name strong {
    color: var(--color-text);
}

.model-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(92, 255, 141, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(92, 255, 141, 0.5);
}

.model-tag.pro {
    background: rgba(91, 200, 255, 0.15);
    color: var(--color-secondary);
    border-color: rgba(91, 200, 255, 0.5);
}

.model-tag.mini {
    background: rgba(255, 179, 71, 0.15);
    color: var(--color-warning);
    border-color: rgba(255, 179, 71, 0.5);
}

.price {
    font-family: var(--font-mono);
    font-size: 14px;
}

.price.original {
    color: var(--color-text-soft);
}

.price.original s {
    text-decoration: line-through;
}

.price.ours {
    color: var(--color-primary);
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 107, 95, 0.1);
    color: var(--color-danger);
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(255, 107, 95, 0.5);
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-soft);
    margin-top: 20px;
}

/* Code Examples Section */
.code-examples {
    padding: 90px 0;
    background: rgba(12, 18, 15, 0.65);
}

.code-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(10, 16, 13, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--color-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tab:hover {
    border-color: rgba(92, 255, 141, 0.5);
    color: var(--color-primary);
}

.tab.active {
    background: rgba(92, 255, 141, 0.18);
    color: var(--color-primary);
    border-color: rgba(92, 255, 141, 0.6);
}

.code-panel {
    display: none;
}

.code-panel.active {
    display: block;
}

.example {
    margin-bottom: 24px;
}

.example h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.example:last-child {
    margin-bottom: 0;
}

/* Features Grid */
.features {
    padding: 90px 0;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature {
    padding: 26px;
    background: rgba(10, 16, 13, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 22px rgba(92, 255, 141, 0.18);
    border-color: rgba(92, 255, 141, 0.5);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 18, 15, 0.9);
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(92, 255, 141, 0.3);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

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

.feature p {
    font-size: 14px;
    color: var(--color-text-soft);
    line-height: 1.5;
}

/* Testimonials */
.testimonials {
    padding: 90px 0;
    background: rgba(12, 18, 15, 0.65);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial {
    padding: 24px;
    background: rgba(10, 16, 13, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 6px;
    right: 18px;
    font-size: 40px;
    color: rgba(92, 255, 141, 0.35);
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 15px;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.6;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 18, 15, 0.9);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50%;
    border: 1px solid rgba(92, 255, 141, 0.4);
}

.author-info strong {
    display: block;
    font-size: 14px;
    color: var(--color-text);
}

.author-info span {
    font-size: 13px;
    color: var(--color-text-soft);
}

/* FAQ Section */
.faq {
    padding: 90px 0;
    background: transparent;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0 24px;
    margin-bottom: 16px;
    background: rgba(10, 16, 13, 0.85);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    font-family: var(--font-sans);
}

.faq-question::before {
    content: '>';
    color: var(--color-primary);
    margin-right: 12px;
    font-weight: bold;
}

.faq-question:hover {
    color: var(--color-primary);
}

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

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

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

.faq-item.active .faq-answer {
    max-height: 220px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--color-text-soft);
    line-height: 1.6;
    padding-left: 24px;
}

/* CTA Section */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(120deg, rgba(92, 255, 141, 0.16), rgba(91, 200, 255, 0.12));
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(92, 255, 141, 0.35);
    border-bottom: 1px solid rgba(92, 255, 141, 0.2);
}

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

.cta-section p {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.cta-note {
    font-size: 14px;
    color: var(--color-text-soft);
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

/* Reveal Section */
.reveal {
    padding: 110px 0;
    background: rgba(12, 18, 15, 0.85);
    border-top: 2px solid rgba(255, 179, 71, 0.5);
    position: relative;
}

.reveal-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.reveal h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-warning);
}

.reveal-body {
    text-align: left;
}

.reveal-intro {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.reveal-body p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--color-text);
}

.reveal-message {
    background: rgba(10, 16, 13, 0.9);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin: 32px 0;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
}

.reveal-message h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.reveal-message ul {
    list-style: none;
}

.reveal-message li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--color-text);
}

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

.reveal-cta {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: var(--color-text);
}

.reveal code {
    background: rgba(10, 16, 13, 0.9);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.reveal-resources {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed rgba(44, 58, 49, 0.6);
}

.reveal-resources h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: var(--color-text);
}

.resource-link {
    display: block;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: rgba(10, 16, 13, 0.9);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.resource-link:hover {
    border-color: rgba(92, 255, 141, 0.5);
    color: var(--color-primary);
}

.share-section {
    margin-top: 40px;
    text-align: center;
}

.share-section p {
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.9;
    text-decoration: none;
}

.share-btn.x {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.copy {
    background: rgba(10, 16, 13, 0.9);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.share-btn.copy:hover {
    border-color: rgba(92, 255, 141, 0.5);
    color: var(--color-primary);
}

/* Footer */
.footer {
    padding: 40px 0 60px;
    background: rgba(8, 11, 10, 0.95);
    color: var(--color-text-soft);
    border-top: 1px solid rgba(44, 58, 49, 0.7);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

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

.footer-logo .logo-icon {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--color-text-soft);
    font-size: 14px;
}

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

.footer-copyright {
    font-size: 14px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--color-text-soft);
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

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

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

    .steps-flow {
        flex-wrap: wrap;
    }

    .step-arrow {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links-wrap,
    .nav-cta {
        display: none;
    }

    .nav {
        padding: 10px 14px;
        border-radius: 22px;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 140px 0 70px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .architecture {
        padding: 24px;
    }

    .arch-boxes {
        flex-direction: column;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px;
        font-size: 13px;
    }

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

    .reveal h2 {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

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

    .code-tabs {
        gap: 6px;
    }

    .tab {
        padding: 6px 10px;
        font-size: 11px;
    }

    .pricing-table {
        font-size: 12px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 8px;
    }

    .reveal h2 {
        font-size: 28px;
    }
}
