/* ==========================================
   BRICKS AI STUDIO - Sales Page Styles
   ========================================== */

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

:root {
    /* Colors */
    --c-bg: #09090b;
    --c-bg-subtle: #0f0f14;
    --c-bg-card: #141419;
    --c-bg-card-hover: #1a1a22;
    --c-border: #27272a;
    --c-border-subtle: #1e1e24;

    --c-text: #fafafa;
    --c-text-secondary: #a1a1aa;
    --c-text-muted: #71717a;

    --c-primary: #6C5CE7;
    --c-primary-hover: #7c6ef7;
    --c-primary-glow: rgba(108, 92, 231, 0.15);

    --c-green: #00B894;
    --c-green-soft: rgba(0, 184, 148, 0.1);
    --c-orange: #E17055;
    --c-orange-soft: rgba(225, 112, 85, 0.1);

    /* Typography */
    --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --f-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --s-section: 120px;
    --s-section-mobile: 64px;

    /* Radii */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-full: 9999px;

    /* Transitions */
    --t-fast: 150ms ease;
    --t-base: 250ms ease;
    --t-slow: 400ms ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

code {
    font-family: var(--f-mono);
}

kbd {
    display: inline-block;
    padding: 2px 8px;
    font-family: var(--f-mono);
    font-size: 0.8em;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    color: var(--c-text-secondary);
}

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

/* ---------- Section Header ---------- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-header__tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--c-primary);
    background: var(--c-primary-glow);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: var(--r-full);
    margin-bottom: 20px;
}

.section-header__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--c-text);
    margin-bottom: 16px;
}

.section-header__desc {
    font-size: 18px;
    color: var(--c-text-secondary);
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: var(--r-md);
    border: none;
    cursor: pointer;
    transition: all var(--t-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 0 0 0 var(--c-primary-glow);
}

.btn--primary:hover {
    background: var(--c-primary-hover);
    box-shadow: 0 0 30px 4px var(--c-primary-glow);
    transform: translateY(-1px);
}

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

.btn--ghost:hover {
    background: var(--c-bg-card);
    color: var(--c-text);
    border-color: var(--c-text-muted);
}

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

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

.btn--white {
    background: #fff;
    color: var(--c-bg);
}

.btn--white:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--r-lg);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--t-base);
    background: transparent;
}

.nav--scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border-subtle);
    padding: 10px 0;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav__logo-icon {
    width: 32px;
    height: 32px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-secondary);
    transition: color var(--t-fast);
}

.nav__link:hover {
    color: var(--c-text);
}

.nav__cta-btn {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--c-primary);
    padding: 8px 20px;
    border-radius: var(--r-md);
    transition: all var(--t-base);
}

.nav__cta-btn:hover {
    background: var(--c-primary-hover);
    box-shadow: 0 0 20px 2px var(--c-primary-glow);
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__hamburger span {
    width: 24px;
    height: 2px;
    background: var(--c-text);
    transition: all var(--t-base);
    border-radius: 2px;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-secondary);
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    margin-bottom: 32px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero__title {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero__title-gradient {
    background: linear-gradient(135deg, var(--c-primary) 0%, #a29bfe 50%, var(--c-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--c-text-secondary);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--c-text);
    letter-spacing: -0.02em;
}

.hero__stat-label {
    font-size: 13px;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--c-border);
}

/* Hero Demo Terminal */
.hero__demo {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--r-lg);
    border: 1px solid var(--c-border);
    background: var(--c-bg-card);
    overflow: hidden;
    text-align: left;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(108, 92, 231, 0.05);
}

.hero__demo-chrome {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--c-bg-subtle);
    border-bottom: 1px solid var(--c-border-subtle);
}

.hero__demo-dots {
    display: flex;
    gap: 6px;
}

.hero__demo-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-border);
}

.hero__demo-dots span:first-child { background: #ff5f57; }
.hero__demo-dots span:nth-child(2) { background: #ffbd2e; }
.hero__demo-dots span:nth-child(3) { background: #28c840; }

.hero__demo-title {
    font-size: 12px;
    color: var(--c-text-muted);
}

.hero__demo-body {
    padding: 20px;
}

.hero__demo-prompt {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-border-subtle);
}

.hero__demo-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-muted);
    margin-bottom: 8px;
}

.hero__demo-input {
    font-family: var(--f-mono);
    font-size: 14px;
    color: var(--c-text);
    min-height: 24px;
}

.hero__demo-cursor {
    animation: blink 1s step-end infinite;
    color: var(--c-primary);
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero__demo-code {
    font-family: var(--f-mono);
    font-size: 12px;
    line-height: 1.7;
    color: var(--c-text-secondary);
    overflow-x: auto;
    margin: 0;
    white-space: pre;
}

.code-key { color: #a29bfe; }
.code-str { color: #00B894; }

/* ==========================================
   TRUSTED BY
   ========================================== */
.trusted {
    padding: 48px 0;
    border-top: 1px solid var(--c-border-subtle);
    border-bottom: 1px solid var(--c-border-subtle);
}

.trusted__text {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-muted);
    margin-bottom: 24px;
}

.trusted__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trusted__logo {
    color: var(--c-text-muted);
    opacity: 0.5;
    transition: opacity var(--t-base);
}

.trusted__logo:hover {
    opacity: 0.8;
}

.trusted__logo svg {
    height: 24px;
    width: auto;
}

/* ==========================================
   FEATURES
   ========================================== */
.features {
    padding: var(--s-section) 0;
}

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

.feature-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 32px;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity var(--t-base);
}

.feature-card--ai::before { background: var(--c-primary); }
.feature-card--code::before { background: var(--c-green); }
.feature-card--screenshot::before { background: var(--c-orange); }

.feature-card:hover {
    border-color: var(--c-border);
    background: var(--c-bg-card-hover);
    transform: translateY(-2px);
}

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

.feature-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
}

.feature-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--c-text);
}

.feature-card__desc {
    font-size: 15px;
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-card__example {
    padding: 12px 16px;
    background: var(--c-bg-subtle);
    border: 1px solid var(--c-border-subtle);
    border-radius: var(--r-md);
    margin-bottom: 20px;
}

.feature-card__example code {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.6;
}

.feature-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-card__list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--c-text-secondary);
}

.feature-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-primary);
}

/* Features Grid (mini cards) */
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-mini {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border-subtle);
    border-radius: var(--r-lg);
    padding: 28px;
    transition: all var(--t-base);
}

.feature-mini:hover {
    border-color: var(--c-border);
    background: var(--c-bg-card-hover);
}

.feature-mini__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
}

.feature-mini__icon svg {
    width: 100%;
    height: 100%;
}

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

.feature-mini__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-text-muted);
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how-it-works {
    padding: var(--s-section) 0;
    background: var(--c-bg-subtle);
    border-top: 1px solid var(--c-border-subtle);
    border-bottom: 1px solid var(--c-border-subtle);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.step__number {
    font-size: 48px;
    font-weight: 800;
    color: var(--c-primary);
    opacity: 0.3;
    line-height: 1;
    min-width: 80px;
}

.step__content {
    padding-top: 4px;
}

.step__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 12px;
}

.step__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--c-text-secondary);
}

.step__visual {
    justify-self: end;
    width: 100%;
    max-width: 440px;
}

.step__terminal {
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--c-bg-card);
}

.step__terminal-bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border-subtle);
}

.step__terminal-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-border);
}

.step__terminal-bar span:first-child { background: #ff5f57; }
.step__terminal-bar span:nth-child(2) { background: #ffbd2e; }
.step__terminal-bar span:nth-child(3) { background: #28c840; }

.step__terminal-body {
    padding: 16px;
    font-family: var(--f-mono);
    font-size: 13px;
    line-height: 1.7;
    color: var(--c-text-secondary);
}

.step__terminal-body p {
    margin-bottom: 4px;
}

.step__terminal-body p:last-child {
    margin-bottom: 0;
}

.t-purple { color: var(--c-primary); font-weight: 600; }
.t-green { color: var(--c-green); font-weight: 600; }
.t-blue { color: #74b9ff; font-weight: 600; }

/* ==========================================
   AI PROVIDERS
   ========================================== */
.providers {
    padding: var(--s-section) 0;
}

.providers__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.provider-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 32px;
    transition: all var(--t-base);
}

.provider-card:hover {
    border-color: var(--c-border);
    background: var(--c-bg-card-hover);
}

.provider-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.provider-card__icon {
    width: 40px;
    height: 40px;
}

.provider-card__icon svg {
    width: 100%;
    height: 100%;
}

.provider-card__name {
    font-size: 18px;
    font-weight: 700;
}

.provider-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--r-full);
    background: var(--c-primary-glow);
    color: var(--c-primary);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.provider-card__badge--alt {
    background: var(--c-green-soft);
    color: var(--c-green);
    border-color: rgba(0, 184, 148, 0.2);
}

.provider-card__model {
    font-family: var(--f-mono);
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: 20px;
}

.provider-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.provider-card__features li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--c-text-secondary);
}

.provider-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-green);
}

/* ==========================================
   PRICING
   ========================================== */
.pricing {
    padding: var(--s-section) 0;
    background: var(--c-bg-subtle);
    border-top: 1px solid var(--c-border-subtle);
    border-bottom: 1px solid var(--c-border-subtle);
}

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

.pricing-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 36px;
    transition: all var(--t-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pricing-card--featured {
    border-color: var(--c-primary);
    box-shadow: 0 0 40px var(--c-primary-glow);
    transform: scale(1.02);
}

.pricing-card--featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-card__ribbon {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 0 0 var(--r-md) var(--r-md);
    letter-spacing: 0.03em;
}

.pricing-card__header {
    margin-bottom: 24px;
}

.pricing-card__name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-card__desc {
    font-size: 14px;
    color: var(--c-text-muted);
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
}

.pricing-card__amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--c-text);
}

.pricing-card__period {
    font-size: 15px;
    color: var(--c-text-muted);
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--c-text-secondary);
}

.pricing-card__features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--c-green);
}

.pricing__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: var(--c-text-muted);
    text-align: center;
}

.pricing__note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--c-green);
}

/* ==========================================
   ROADMAP
   ========================================== */
.roadmap {
    padding: var(--s-section) 0;
}

.roadmap__timeline {
    position: relative;
    padding-left: 48px;
    max-width: 700px;
    margin: 0 auto;
}

.roadmap__timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--c-border);
}

.roadmap__item {
    position: relative;
    margin-bottom: 40px;
}

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

.roadmap__marker {
    position: absolute;
    left: -41px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c-border);
    border: 3px solid var(--c-bg);
    z-index: 1;
}

.roadmap__item--done .roadmap__marker {
    background: var(--c-green);
    box-shadow: 0 0 10px rgba(0, 184, 148, 0.4);
}

.roadmap__item--active .roadmap__marker {
    background: var(--c-primary);
    box-shadow: 0 0 10px var(--c-primary-glow);
    animation: pulse 2s infinite;
}

.roadmap__card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 24px;
}

.roadmap__item--active .roadmap__card {
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 0 20px var(--c-primary-glow);
}

.roadmap__status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: var(--r-full);
    background: rgba(113, 113, 122, 0.1);
    color: var(--c-text-muted);
    border: 1px solid rgba(113, 113, 122, 0.15);
    margin-bottom: 12px;
}

.roadmap__status--done {
    background: var(--c-green-soft);
    color: var(--c-green);
    border-color: rgba(0, 184, 148, 0.2);
}

.roadmap__status--active {
    background: var(--c-primary-glow);
    color: var(--c-primary);
    border-color: rgba(108, 92, 231, 0.2);
}

.roadmap__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 12px;
}

.roadmap__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.roadmap__list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    color: var(--c-text-secondary);
}

.roadmap__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--c-text-muted);
}

/* ==========================================
   FAQ
   ========================================== */
.faq {
    padding: var(--s-section) 0;
    background: var(--c-bg-subtle);
    border-top: 1px solid var(--c-border-subtle);
    border-bottom: 1px solid var(--c-border-subtle);
}

.faq__list {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__item {
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--c-bg-card);
    transition: border-color var(--t-base);
}

.faq__item--active {
    border-color: rgba(108, 92, 231, 0.3);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-family: var(--f-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: color var(--t-fast);
}

.faq__question:hover {
    color: var(--c-primary);
}

.faq__chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--c-text-muted);
    transition: transform var(--t-base);
}

.faq__item--active .faq__chevron {
    transform: rotate(180deg);
    color: var(--c-primary);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow), padding var(--t-slow);
}

.faq__item--active .faq__answer {
    max-height: 400px;
}

.faq__answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--c-text-secondary);
}

.faq__answer code {
    font-size: 13px;
    padding: 2px 6px;
    background: var(--c-bg-subtle);
    border: 1px solid var(--c-border-subtle);
    border-radius: var(--r-sm);
    color: var(--c-primary);
}

/* ==========================================
   CTA
   ========================================== */
.cta {
    padding: var(--s-section) 0;
}

.cta__inner {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--c-primary) 0%, #4a3ab5 100%);
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
}

.cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}

.cta__desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    position: relative;
}

.cta__actions {
    position: relative;
    margin-bottom: 16px;
}

.cta__note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--c-border-subtle);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 16px;
}

.footer__logo-icon {
    width: 32px;
    height: 32px;
}

.footer__tagline {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-bottom: 8px;
}

.footer__developer {
    font-size: 14px;
    color: var(--c-text-muted);
}

.footer__developer strong {
    color: var(--c-text-secondary);
}

.footer__heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text);
    margin-bottom: 16px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 14px;
    color: var(--c-text-muted);
    transition: color var(--t-fast);
}

.footer__links a:hover {
    color: var(--c-text);
}

.footer__bottom {
    padding-top: 24px;
    border-top: 1px solid var(--c-border-subtle);
    text-align: center;
}

.footer__bottom p {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: 4px;
}

.footer__bottom-note {
    font-size: 12px;
    color: var(--c-text-muted);
    opacity: 0.6;
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .features__primary {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .step {
        grid-template-columns: auto 1fr;
    }

    .step__visual {
        grid-column: 1 / -1;
        max-width: 100%;
        justify-self: start;
    }

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

    .pricing-card--featured {
        transform: none;
    }

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

    .providers__grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --s-section: 80px;
    }

    /* Nav mobile */
    .nav__links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(9, 9, 11, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 999;
    }

    .nav__links.is-open {
        display: flex;
    }

    .nav__links .nav__link {
        font-size: 20px;
    }

    .nav__links .nav__cta-btn {
        font-size: 18px;
        padding: 12px 32px;
    }

    .nav__hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav__hamburger.is-open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__hamburger.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav__hamburger.is-open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero mobile */
    .hero {
        padding: 120px 0 64px;
    }

    .hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero__stat-divider {
        display: none;
    }

    .hero__stat {
        width: calc(50% - 12px);
    }

    /* Features mobile */
    .features__grid {
        grid-template-columns: 1fr;
    }

    /* Steps mobile */
    .step {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step__number {
        font-size: 36px;
    }

    /* Roadmap mobile */
    .roadmap__timeline {
        padding-left: 36px;
    }

    .roadmap__timeline::before {
        left: 11px;
    }

    .roadmap__marker {
        left: -29px;
        width: 10px;
        height: 10px;
    }

    /* CTA mobile */
    .cta__inner {
        padding: 48px 24px;
    }

    /* Footer mobile */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 480px) {
    .hero__demo-code {
        font-size: 11px;
    }

    .faq__question {
        font-size: 14px;
        padding: 16px 20px;
    }

    .faq__answer p {
        padding: 0 20px 16px;
    }
}
