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

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

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

ul, ol {
    list-style: none;
}

/* Theme Custom Properties */
:root {
    --bg: #0A0A12;
    --bg-card: #14141F;
    --bg-elevated: #1E1E2D;
    --accent: #00F5D4;
    --accent-secondary: #9D4EDD;
    --accent-tertiary: #FF006E;
    --border: #2A2A3A;
    --divider: #22222E;
    --text-primary: #F8F8F8;
    --text-secondary: #A8A8B8;
    --text-muted: #6B6B7B;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg);
    color: var(--text-secondary);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
}

main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--bg);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 245, 212, 0.2);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 245, 212, 0.1);
}

/* Site Nav */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--divider);
}

.nav-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 64px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-self: end;
}

.nav-logo img {
    width: 100px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    justify-self: center;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

.btn-nav-login {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.btn-nav-login:hover {
    color: var(--accent);
}

.btn-nav-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid var(--border, rgba(255,255,255,0.12));
    border-radius: 8px;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none;
}
.btn-nav-profile:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-nav-profile svg {
    flex-shrink: 0;
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 8px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-self: end;
    white-space: nowrap;
    width: fit-content;
}

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

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--divider);
}

.btn-nav-mobile {
    text-align: center;
    padding: 12px 24px;
    font-size: 0.9rem;
    border-radius: 8px;
}

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

.nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding-top: 64px;
}

/* Subtle radial glow behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 245, 212, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 560px;
}

.hero-logo {
    width: 160px;
    height: auto;
    margin-bottom: 28px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .gradient-text,
.final-cta-headline .gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheadline {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 36px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.microcopy {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

/* Phone screenshots */
.hero-phones {
    position: relative;
    width: 480px;
    min-width: 360px;
    height: 786px;
}

/* Pulsing rings behind hero phones */
.hero-phones::before,
.hero-phones::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 245, 212, 0.15);
    pointer-events: none;
    z-index: 0;
}

.hero-phones::before {
    width: 600px;
    height: 600px;
    animation: hero-pulse 4s ease-in-out infinite;
}

.hero-phones::after {
    width: 800px;
    height: 800px;
    animation: hero-pulse 4s ease-in-out infinite 1.5s;
}

@keyframes hero-pulse {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.phone-frame {
    position: absolute;
    border-radius: 32px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--bg-card);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 245, 212, 0.06);
    transition: transform 0.3s ease;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-frame--front {
    width: 360px;
    height: 786px;
    z-index: 2;
    bottom: 0;
    left: 0;
}

.phone-frame--back {
    width: 330px;
    height: 720px;
    z-index: 1;
    top: 0;
    right: 0;
    opacity: 0.85;
}

@media (min-width: 1200px) {
    .hero-phones {
        width: 540px;
        height: 860px;
    }

    .phone-frame--front {
        width: 396px;
        height: 864px;
    }

    .phone-frame--back {
        width: 363px;
        height: 792px;
    }
}

.phone-frame--solo {
    position: relative;
    width: 260px;
    height: 560px;
}

.phone-frame--solo .product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.phone-frame--solo .product-img.active {
    opacity: 1;
}

.hero-phones:hover .phone-frame--front {
    transform: translateX(-4px);
}

.hero-phones:hover .phone-frame--back {
    transform: translateX(4px);
}

/* Section Headline */
.section-headline {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 56px;
    letter-spacing: -0.02em;
}

/* Section dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 1s ease;
}

.section-divider.is-visible {
    opacity: 1;
}

/* 2. Positioning */
.positioning {
    padding: 120px 0;
}

.positioning-body {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.positioning .section-headline {
    margin-bottom: 32px;
}

/* 3. Pillars */
.pillars {
    padding: 120px 0;
}

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

.pillar {
    text-align: center;
    transition: transform 0.3s ease;
}

.pillar:hover {
    transform: translateY(-2px);
}

.pillar h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--accent);
}

.pillar p {
    font-size: 1rem;
    line-height: 1.7;
}

/* 4. Product */
.product {
    padding: 120px 0;
}

.product-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 56px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 10px 28px;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--bg);
}

.product-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.product-features {
    flex: 1;
    max-width: 400px;
}

.feature-list {
    display: block;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.feature-list.active {
    opacity: 1;
    max-height: 500px;
}

.feature-list li {
    padding: 14px 0;
    font-size: 1.05rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--divider);
    position: relative;
    padding-left: 28px;
}

.feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.product-phone {
    flex-shrink: 0;
}

/* 5. Comparison */
.comparison {
    padding: 120px 0;
}

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

.comparison-col {
    border-radius: 16px;
    padding: 40px 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-col--new:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 32px rgba(0, 245, 212, 0.1);
}

.comparison-col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.comparison-col ul li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--divider);
}

.comparison-col--old {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.comparison-col--old h3 {
    color: var(--text-muted);
}

.comparison-col--old ul li {
    color: var(--text-muted);
}

.comparison-col--new {
    background: linear-gradient(180deg, var(--bg-card) 0%, #0E0E18 100%);
    border: 2px solid var(--accent);
    box-shadow: 0 0 40px rgba(0, 245, 212, 0.06);
}

.comparison-col--new h3 {
    color: var(--accent);
}

/* 6. Pricing */
.pricing {
    padding: 120px 0;
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: -16px;
    margin-bottom: 48px;
}

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

.pricing-grid--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, #0E0E18 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.pricing-card--popular {
    border-color: var(--accent);
    border-width: 2px;
    box-shadow: 0 0 40px rgba(0, 245, 212, 0.08);
}

.pricing-card--popular:hover {
    box-shadow: 0 8px 48px rgba(0, 245, 212, 0.12);
}

.badge.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--bg);
    border: none;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0, 245, 212, 0.12);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 245, 212, 0.2);
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pricing-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
    flex: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.pricing-card--faded {
    opacity: 0.5;
}

.pph-cost-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.85rem;
    text-align: center;
}

.pph-cost-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--border);
}

.pph-cost-table td {
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--divider);
}

.pph-cost-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-card--faded:hover {
    transform: none;
}

.pricing-features--muted li::before {
    content: '✕';
    color: var(--text-secondary);
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.pricing-btn--disabled {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: default;
}

/* 7. Compliance */
.compliance {
    padding: 120px 0;
}

.compliance .section-headline {
    margin-bottom: 32px;
}

.compliance-statements {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.compliance-statements p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-secondary);
}

/* 8. Final CTA */
.final-cta {
    padding: 120px 0;
    position: relative;
    background: var(--bg-card);
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(157, 78, 221, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.final-cta-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.final-cta-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* Waitlist form */
.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-input-group {
    display: flex;
    gap: 12px;
}

.waitlist-input-group input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.final-cta .waitlist-input-group input[type="email"] {
    background-color: var(--bg);
}

.waitlist-input-group input[type="email"]::placeholder {
    color: var(--text-muted);
}

.waitlist-input-group input[type="email"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.1);
}

.waitlist-privacy {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.waitlist-success {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.waitlist-success-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.waitlist-success-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background-color: var(--bg-card);
    padding: 48px 0;
    border-top: 1px solid var(--divider);
}

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

.footer-logo {
    width: 100px;
    height: auto;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}

.legal-updated {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 48px;
}

.legal-content {
    text-align: left;
}

.legal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #00F5D4;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.legal-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00F5D4;
}

.legal-content a {
    color: #00F5D4;
    text-decoration: none;
}

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

.legal-content strong {
    color: rgba(255, 255, 255, 0.9);
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
}

/* Touch target minimum height */
.btn-primary,
.btn-secondary {
    min-height: 44px;
}

/* Fade-in animation (hero only — plays immediately on load) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.fade-in--delay-1 { animation-delay: 0.1s; }
.fade-in--delay-2 { animation-delay: 0.2s; }
.fade-in--delay-3 { animation-delay: 0.35s; }
.fade-in--delay-4 { animation-delay: 0.5s; }

/* Scroll-reveal — elements start hidden, revealed by IntersectionObserver */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Staggered children — each child delays slightly */
.reveal-stagger > .reveal,
.reveal-stagger > .reveal-scale { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2),
.reveal-stagger > .reveal-scale:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3),
.reveal-stagger > .reveal-scale:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > .reveal:nth-child(4),
.reveal-stagger > .reveal-scale:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(5),
.reveal-stagger > .reveal-scale:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(6),
.reveal-stagger > .reveal-scale:nth-child(6) { transition-delay: 0.3s; }

/* Subtle scale-in for cards */
.reveal-scale {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.pricing-card--faded.reveal-scale.is-visible {
    opacity: 0.5;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-scale,
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    .hero-phones::before,
    .hero-phones::after {
        animation: none;
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Features Page — Hero */
.features-hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
}

.features-hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 245, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.features-hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.features-hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Features Page — Shared */
.feature-number {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.feature-detail-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature-detail-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Features — Hero Feature (full-width centered) */
.ft-hero-feature {
    padding: 100px 0;
}

.ft-hero-feature-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.ft-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(0, 245, 212, 0.08);
    border: 1px solid rgba(0, 245, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 0 auto 28px;
}

.ft-hero-feature h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.ft-hero-feature > .container > .ft-hero-feature-inner > p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.ft-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.ft-pill {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(0, 245, 212, 0.06);
    border: 1px solid rgba(0, 245, 212, 0.12);
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Features — Three-card grid */
.ft-trio {
    padding: 100px 0;
}

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

.ft-trio-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, #0E0E18 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ft-trio-card:hover {
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: 0 4px 32px rgba(0, 245, 212, 0.06);
    transform: translateY(-4px);
}

.ft-trio-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 245, 212, 0.08);
    border: 1px solid rgba(0, 245, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.ft-trio-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.ft-trio-card > p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.ft-trio-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ft-trio-list li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.ft-trio-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
}

/* Features — Wide split section */
.ft-split {
    padding: 100px 0;
}

.ft-split-inner {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 960px;
    margin: 0 auto;
}

.ft-split--flipped .ft-split-inner {
    flex-direction: row-reverse;
}

.ft-split-visual {
    flex: 1;
    min-width: 0;
}

.ft-split-text {
    flex: 1;
    min-width: 0;
}

.ft-split-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.ft-split-text > p {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 28px;
    color: var(--text-secondary);
}

/* Split section — mock cards */
.ft-split-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, #0E0E18 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    overflow: hidden;
}

.ft-split-card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.ft-sport-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.ft-split-card-row--game {
    margin-bottom: 16px;
}

.ft-game-mock {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-game-teams {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.ft-game-odds {
    display: flex;
    gap: 8px;
}

.ft-odds {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    background: rgba(0, 245, 212, 0.08);
    border: 1px solid rgba(0, 245, 212, 0.15);
    color: var(--accent);
}

.ft-split-card-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.ft-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00F5D4;
    animation: ft-pulse 2s ease-in-out infinite;
}

@keyframes ft-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Split section — stats mock */
.ft-split-card-row--stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.ft-stat-mock {
    text-align: center;
    padding: 16px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ft-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ft-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.ft-stat-value--green {
    color: #00F5D4;
}

.ft-split-card-row--tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ft-tag {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ft-tag--hot {
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.25);
    color: #FF6B35;
}

.ft-tag--alert {
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.25);
    color: #FF3B30;
}

.ft-tag--whale {
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.2);
    color: #00F5D4;
}

.ft-tag--cold {
    background: rgba(90, 130, 240, 0.12);
    border: 1px solid rgba(90, 130, 240, 0.25);
    color: #5A82F0;
}

/* Features Page — Capabilities Grid */
.capabilities {
    padding: 120px 0;
}

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

.capability {
    background: linear-gradient(180deg, var(--bg-card) 0%, #0E0E18 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.capability:hover {
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: 0 4px 24px rgba(0, 245, 212, 0.06);
    transform: translateY(-2px);
}

.capability h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.capability p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features Page — Platform Strip (teal breakout) */
.platform-strip {
    padding: 120px 0;
    background: var(--accent);
    position: relative;
}

.platform-strip .section-headline {
    color: #0A0A14;
}

.platform-strip-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(10, 10, 20, 0.7);
    max-width: 560px;
    margin: 0 auto 48px;
    text-align: center;
}

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

.platform-card {
    background: rgba(10, 10, 20, 0.85);
    border: 1px solid rgba(10, 10, 20, 0.3);
    border-radius: 20px;
    padding: 36px 32px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.platform-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 0 auto 20px;
}

.platform-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.platform-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* Features Page — By the Numbers */
.by-the-numbers {
    padding: 100px 0;
}

.numbers-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

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

.number-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.number-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    /* Nav: hamburger menu */
    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Hero: stack vertically */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
    }

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

    .subheadline {
        font-size: 1.05rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .microcopy {
        text-align: center;
    }

    .hero-phones {
        width: 300px;
        min-width: 0;
        height: 460px;
    }

    .hero-phones::before {
        width: 380px;
        height: 380px;
    }

    .hero-phones::after {
        width: 500px;
        height: 500px;
    }

    .phone-frame--front {
        width: 220px;
        height: 440px;
    }

    .phone-frame--back {
        width: 200px;
        height: 400px;
    }

    /* Section spacing */
    .positioning,
    .pillars,
    .product,
    .comparison,
    .pricing,
    .compliance,
    .final-cta {
        padding: 80px 0;
    }

    /* Section headlines */
    .section-headline {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    /* Pillars: single column */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Product: stack vertically */
    .product-content {
        flex-direction: column;
        gap: 48px;
    }

    .product-features {
        max-width: 100%;
    }

    /* Comparison: single column */
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing: single column */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Final CTA */
    .final-cta-headline {
        font-size: 2.25rem;
    }

    /* Waitlist: stack input and button */
    .waitlist-input-group {
        flex-direction: column;
    }

    /* Features hero */
    .features-hero {
        padding: 120px 0 60px;
    }

    .features-hero h1 {
        font-size: 2.25rem;
    }

    /* Feature sections: stack */
    .ft-hero-feature {
        padding: 60px 0;
    }

    .ft-hero-feature h2 {
        font-size: 1.75rem;
    }

    .ft-trio {
        padding: 60px 0;
    }

    .ft-trio-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .ft-split {
        padding: 60px 0;
    }

    .ft-split-inner,
    .ft-split--flipped .ft-split-inner {
        flex-direction: column;
        gap: 40px;
    }

    .ft-split-text h2 {
        font-size: 1.75rem;
    }

    .ft-game-odds {
        gap: 4px;
    }

    .ft-odds {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    /* Capabilities: single column */
    .capabilities {
        padding: 80px 0;
    }

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

    /* Platform strip: single column */
    .platform-strip {
        padding: 80px 0;
    }

    .platform-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    /* By the numbers: stack */
    .by-the-numbers {
        padding: 60px 0;
    }

    .numbers-grid {
        flex-direction: column;
        gap: 40px;
    }

    .number-value {
        font-size: 2.75rem;
    }
}

/* SEO Landing Pages */
.seo-section {
    padding: 100px 0;
}

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

.seo-pain-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, #0E0E18 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.seo-pain-card:hover {
    border-color: rgba(255, 0, 110, 0.3);
    box-shadow: 0 4px 24px rgba(255, 0, 110, 0.06);
    transform: translateY(-2px);
}

.seo-pain-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 0, 110, 0.08);
    border: 1px solid rgba(255, 0, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-tertiary);
    margin-bottom: 20px;
}

.seo-pain-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.seo-pain-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.seo-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
    max-width: 860px;
    margin: 0 auto;
}

.seo-solution-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.seo-solution-item p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* SEO Comparison Table */
.seo-comparison-table-wrap {
    max-width: 860px;
    margin: 0 auto;
    overflow-x: auto;
}

.seo-comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.seo-comparison-table th,
.seo-comparison-table td {
    padding: 16px 24px;
    text-align: left;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--divider);
}

.seo-comparison-table thead th {
    background: var(--bg-elevated);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.seo-comparison-table tbody td {
    background: var(--bg-card);
    color: var(--text-secondary);
}

.seo-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.seo-table-highlight {
    color: var(--accent) !important;
    font-weight: 600;
}

.seo-comparison-table thead th.seo-table-highlight {
    color: var(--accent);
}

@media (max-width: 768px) {
    .seo-section {
        padding: 60px 0;
    }

    .seo-pain-grid,
    .seo-solutions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .seo-comparison-table th,
    .seo-comparison-table td {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* Blog — Hero */
.blog-hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 245, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

/* Blog — Card Grid */
.blog-listing {
    padding: 100px 0;
}

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

.blog-card {
    display: block;
    background: linear-gradient(180deg, var(--bg-card) 0%, #0E0E18 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: 0 4px 24px rgba(0, 245, 212, 0.06);
    transform: translateY(-2px);
}

.blog-card-date {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.blog-card-read-time {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
}

/* Blog — Article Post */
.blog-article {
    padding: 160px 0 80px;
}

.blog-article-header {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.blog-article-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Blog — Prose Body */
.blog-prose {
    max-width: 700px;
    margin: 0 auto;
}

.blog-prose h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.blog-prose h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-prose p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.blog-prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 245, 212, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.blog-prose a:hover {
    text-decoration-color: var(--accent);
}

.blog-prose ul,
.blog-prose ol {
    margin-bottom: 20px;
    padding-left: 0;
}

.blog-prose ul li,
.blog-prose ol li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.blog-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.blog-prose ol {
    counter-reset: blog-ol;
}

.blog-prose ol li {
    counter-increment: blog-ol;
}

.blog-prose ol li::before {
    content: counter(blog-ol) '.';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.blog-prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(0, 245, 212, 0.03);
    border-radius: 0 8px 8px 0;
}

.blog-prose blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-prose code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9em;
    background: var(--bg-elevated);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--accent);
}

.blog-prose table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin: 24px 0;
}

.blog-prose table th,
.blog-prose table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--divider);
}

.blog-prose table thead th {
    background: var(--bg-elevated);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
}

.blog-prose table tbody td {
    background: var(--bg-card);
    color: var(--text-secondary);
}

.blog-prose table tbody tr:last-child td {
    border-bottom: none;
}

.blog-prose table tbody tr:nth-child(even) td {
    background: var(--bg-elevated);
}

/* Blog — Related Articles */
.blog-related {
    max-width: 700px;
    margin: 64px auto 0;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.blog-related h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.blog-related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-related-link {
    display: block;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-related-link:hover {
    border-color: rgba(0, 245, 212, 0.3);
    transform: translateX(4px);
}

/* Blog responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-hero h1 {
        font-size: 2.25rem;
    }

    .blog-listing {
        padding: 60px 0;
    }

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

    .blog-article {
        padding: 120px 0 60px;
    }

    .blog-article-header h1 {
        font-size: 2rem;
    }

    .blog-article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .blog-prose h2 {
        font-size: 1.3rem;
    }
}
