/* ───────────────────────────────────────────────
   ONYX Design System
   ─────────────────────────────────────────────── */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('./assets/fonts/inter-v13-latin-regular.woff2') format('woff2');
}

:root {
    --bg: #030304;
    --bg-card: #0a0a0c;
    --bg-card-hover: #0f0f12;
    --bg-elevated: #111114;
    --purple: #a855f7;
    --purple-dark: #7c3aed;
    --purple-glow: rgba(168, 85, 247, 0.15);
    --blue: #3b82f6;
    --green: #22c55e;
    --amber: #f59e0b;
    --cyan: #06b6d4;
    --text: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #8c8c97;
    --border: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── Ambient Glow ─── */
.ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.07;
}

.orb-1 {
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--purple);
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    bottom: -30%;
    left: -15%;
    width: 50vw;
    height: 50vw;
    background: var(--purple-dark);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }
}

/* ─── Reveal Animation ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Nav ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
    transition: background var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(3, 3, 4, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--border);
}

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

.logo {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 3px;
    color: var(--text);
    text-decoration: none;
}

.logo .dot {
    color: var(--purple);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
}

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

.nav-cta {
    display: none;
}

nav.scrolled .nav-cta {
    display: inline-flex;
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 14px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    color: #fff;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.35);
}

.btn-ghost {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

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

/* ─── Gradient Text ─── */
.gradient {
    background: linear-gradient(135deg, var(--purple), #c084fc, var(--purple-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── Hero ─── */
.hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 160px 24px 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    background: rgba(168, 85, 247, 0.06);
    color: var(--purple);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.hero-platforms {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-platforms a {
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color var(--transition);
}

.hero-platforms a:hover {
    color: var(--purple);
}

.hero-platforms .muted {
    color: var(--text-muted);
}

.hero-platforms em {
    font-style: normal;
    color: var(--text-muted);
}

/* ─── App Preview ─── */
.preview {
    max-width: 1000px;
    margin: 0 auto 120px;
    padding: 0 24px;
}

.preview-window {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02),
        0 30px 80px -20px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(168, 85, 247, 0.04);
}

.pw-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.01);
}

.pw-dots {
    display: flex;
    gap: 7px;
}

.pw-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.pw-dots span:nth-child(1) {
    background: #ff5f56;
}

.pw-dots span:nth-child(2) {
    background: #ffbd2e;
}

.pw-dots span:nth-child(3) {
    background: #27c93f;
}

.pw-tabs {
    display: flex;
    gap: 4px;
    margin-left: 8px;
}

.pw-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.pw-tab.active {
    background: rgba(168, 85, 247, 0.1);
    color: var(--purple);
}

.pw-tab[data-color="blue"].active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.pw-tab[data-color="green"].active {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
}

.pw-tab[data-color="amber"].active {
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber);
}

.pw-body {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 0 0 var(--radius) var(--radius);
}

.pw-slide {
    display: none;
    width: 100%;
    height: auto;
}

.pw-slide.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.pw-sidebar {
    width: 200px;
    border-right: 1px solid var(--border);
    padding: 16px 12px;
    flex-shrink: 0;
}

.pw-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 16px;
}

.pw-item {
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 2px;
    cursor: default;
}

.pw-item.active {
    background: rgba(168, 85, 247, 0.08);
    color: var(--text);
}

.pw-item.dim {
    color: var(--text-muted);
}

.pw-editor {
    flex: 1;
    padding: 28px 32px;
}

.pw-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.pw-line {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.7;
}

.pw-line.dim {
    color: var(--text-muted);
}

.pw-line.w80 {
    max-width: 80%;
}

.pw-line.w70 {
    max-width: 70%;
}

.pw-line.w60 {
    max-width: 60%;
}

.pw-line.w40 {
    max-width: 40%;
}

.pw-line.spacer {
    height: 12px;
}

.pw-line strong {
    color: var(--purple);
    font-weight: 600;
}

.pw-cursor {
    width: 2px;
    height: 18px;
    background: var(--purple);
    border-radius: 1px;
    margin-top: 4px;
    animation: blink 1.2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ─── Sections ─── */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-dark {
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    z-index: -1;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

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

.f-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.f-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

.f-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.1);
    color: var(--accent, var(--purple));
    margin-bottom: 18px;
}

.f-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.f-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}



.f-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
}

.f-status.live {
    background: rgba(34, 197, 94, 0.08);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.f-status.soon {
    background: rgba(168, 85, 247, 0.06);
    color: var(--purple);
    border: 1px solid rgba(168, 85, 247, 0.12);
}

/* ─── Security Grid ─── */
.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.s-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.s-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.s-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.1);
    margin-bottom: 20px;
}

.s-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.s-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── Pricing Grid ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

/* Per-card plan colors — Starter=zinc, Basic=emerald, Pro=blue, Ultra=purple */
.p-card[style*="--plan-color: #a1a1aa"] {
    border-color: rgba(161, 161, 170, 0.25);
}

.p-card[style*="--plan-color: #34d399"] {
    border-color: rgba(52, 211, 153, 0.25);
}

.p-card[style*="--plan-color: #60a5fa"] {
    border-color: rgba(96, 165, 250, 0.25);
}

.p-card[style*="--plan-color: #a855f7"] {
    border-color: rgba(168, 85, 247, 0.25);
}

.p-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.08);
    /* Thicker border */
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

/* Remove the top line */
/* .p-card::before { ... } */

.p-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    /* Border color change happens via specific selectors below */
}

/* Thicker hover borders */
.p-card[style*="--plan-color: #a1a1aa"]:hover {
    border-color: rgba(161, 161, 170, 0.45);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(161, 161, 170, 0.08);
}

.p-card[style*="--plan-color: #34d399"]:hover {
    border-color: rgba(52, 211, 153, 0.45);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(52, 211, 153, 0.08);
}

.p-card[style*="--plan-color: #60a5fa"]:hover {
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(96, 165, 250, 0.08);
}

.p-card[style*="--plan-color: #a855f7"]:hover {
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(168, 85, 247, 0.08);
}

.p-card.featured {
    border-color: rgba(168, 85, 247, 0.35);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.06) 0%, var(--bg-card) 60%);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.08);
    padding-top: 28px;
}

.p-card.featured:hover {
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(168, 85, 247, 0.15);
}

/* .p-card.featured::before {
    background: linear-gradient(90deg, var(--purple-dark), var(--purple));
    height: 3px;
} */

.p-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    /* margin-bottom removed for flex layout */
}

.p-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plan-glow, rgba(168, 85, 247, 0.1));
    border: 1px solid color-mix(in srgb, var(--plan-color) 15%, transparent);
    color: var(--plan-color, var(--purple));
    margin-bottom: 16px;
}

.p-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--plan-color, var(--text));
}

.p-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.p-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.p-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.p-features {
    list-style: none;
    margin-bottom: 28px;
}

.p-features li {
    position: relative;
    padding-left: 22px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.p-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--plan-color, var(--purple));
    opacity: 0.4;
}

.p-card.featured .p-features li::before {
    opacity: 0.8;
}

/* ─── Roadmap Timeline ─── */
.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--purple), rgba(168, 85, 247, 0.1));
    border-radius: 1px;
}

.tl-item {
    display: flex;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--text-muted);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.tl-dot.active {
    border-color: var(--purple);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.tl-dot.active::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--purple);
}

.tl-content {
    padding-top: 4px;
}

.tl-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.tl-label.current {
    color: var(--purple);
}

.tl-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tl-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── Footer ─── */
footer {
    border-top: 1px solid var(--border);
    padding: 64px 24px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .logo {
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-brand>p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all var(--transition);
}

.footer-socials a:hover {
    color: var(--text);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.footer-col h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color var(--transition);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(3, 3, 4, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none !important;
    }

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

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

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

    .preview-window {
        border-radius: var(--radius);
    }

    .pw-tabs {
        display: none;
    }

    .pw-sidebar {
        display: none;
    }

    .pw-body {
        min-height: 220px;
    }

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

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .section {
        padding: 64px 20px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn-lg {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Utility Classes for Strict CSP */
.mb-40 {
    margin-bottom: 40px;
}

.mb-0 {
    margin-bottom: 0;
}

.demo-container-layout {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.enterprise-header-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

/* Dynamic Accent Colors */
.accent-purple {
    --accent: var(--purple-dark, #a855f7);
}

.accent-cyan {
    --accent: var(--cyan, #06b6d4);
}

.accent-blue {
    --accent: var(--blue, #3b82f6);
}

.accent-green {
    --accent: var(--green, #22c55e);
}

.accent-amber {
    --accent: var(--amber, #f59e0b);
}

/* Plan Colors */
.plan-basic {
    --plan-color: #a1a1aa;
    --plan-glow: rgba(161, 161, 170, 0.15);
}

.plan-pro {
    --plan-color: #34d399;
    --plan-glow: rgba(52, 211, 153, 0.15);
}

.plan-lifetime {
    --plan-color: #60a5fa;
    --plan-glow: rgba(96, 165, 250, 0.15);
}

.plan-enterprise {
    --plan-color: #a855f7;
    --plan-glow: rgba(168, 85, 247, 0.2);
}

.demo-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
}

/* ─── Legal Pages ─── */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.legal-page .effective-date {
    color: var(--text-muted);
    margin-bottom: 48px;
    font-size: 0.95rem;
}

.legal-page h2 {
    font-size: 1.35rem;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text);
}

.legal-page h3 {
    font-size: 1.1rem;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-page p,
.legal-page li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page a {
    color: var(--purple);
    text-decoration: none;
}

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

.legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
}

.legal-page th,
.legal-page td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.legal-page th {
    color: var(--text);
    font-weight: 600;
}

.legal-page .highlight-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 24px 0;
}

.legal-page .highlight-box p {
    margin-bottom: 0;
}