/* ============================================================
   landing.css — Playmetric Landing Page Stylesheet
   Design inspiration: joincobalt.com (dark SaaS aesthetic)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
    --bg-base: #09090b;
    /* zinc-950 */
    --bg-card: #111113;
    /* slightly lighter */
    --bg-card-2: #18181b;
    /* zinc-900 */
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    /* zinc-400 */
    --text-muted: #52525b;
    /* zinc-600 */

    --accent: #6366f1;
    /* indigo-500 — matches Playmetric brand */
    --accent-2: #8b5cf6;
    /* violet-500 */
    --accent-glow: rgba(99, 102, 241, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --nav-h: 64px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* ── Dot-Grid Background ──────────────────────────────────── */
.dot-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Animated floating stars / particles */
.stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--dur, 6s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: var(--max-opacity, 0.5);
        transform: scale(1.2);
    }
}

/* Hero radial glow blob */
.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(40px);
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 100px 0;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 100;
    background: rgba(9, 9, 11, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.nav-brand img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

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

.nav-link {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

.btn-primary:hover {
    background: #4f52e8;
    box-shadow: 0 0 32px rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.btn-lg {
    padding: 13px 28px;
    font-size: 0.9375rem;
}

/* Nav actions group (Google + CTA) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Google Sign-In button */
.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* Google Sign-In popup */
.google-signin-wrap {
    position: relative;
}

.google-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: #18181b;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.google-popup.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.google-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.gp-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.gp-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.gp-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.google-oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.google-oauth-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-hover);
}

.gp-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.gp-divider::before,
.gp-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.google-app-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.google-app-btn:hover {
    background: #4f52e8;
    transform: translateY(-1px);
}

/* Auth-aware nav buttons */
.nav-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: all 0.2s;
}

.nav-user-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.nav-avatar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    overflow: hidden;
    text-decoration: none;
    flex-shrink: 0;
    transition: box-shadow 0.2s;
}

.nav-avatar-btn:hover {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4);
}

.nav-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-avatar-initials {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Image Modal ────────────────────────────────────────────── */
.img-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    padding: 24px;
}

.img-modal.open {
    opacity: 1;
    pointer-events: all;
}

.img-modal img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
    object-fit: contain;
    transform: scale(0.94);
    transition: transform 0.22s ease;
}

.img-modal.open img {
    transform: scale(1);
}

.img-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.img-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 120px 0 0;
    text-align: center;
    overflow: hidden;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-size: 0.8125rem;
    font-weight: 500;
    color: #a5b4fc;
    margin-bottom: 28px;
    letter-spacing: 0.03em;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

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

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 820px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 72px;
}

.hero-ctas .btn-primary {
    padding: 12px 28px;
    font-size: 0.9375rem;
}

.hero-ctas .btn-ghost {
    padding: 12px 20px;
    font-size: 0.9375rem;
}

/* Hero screenshot */
.hero-screenshot-wrap {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
}

.hero-screenshot-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.2), transparent 60%);
    z-index: 0;
}

.hero-screenshot-frame {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(99, 102, 241, 0.1);
}

.hero-screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

/* Fade-out gradient at the bottom of the hero screenshot */
.hero-screenshot-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, var(--bg-base));
    z-index: 2;
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ── "Why" Section ────────────────────────────────────────── */
.why-section {
    padding: 100px 0;
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.why-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.why-headline em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
}

.why-body p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.accent-word {
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Features Section ─────────────────────────────────────── */
.features-section {
    padding: 0 0 100px;
}

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

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

.section-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

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

/* ── Feature Rows (large alternating layout) ─────────────────────────────── */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 72px 0;
    border-bottom: 1px solid var(--border);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row.reverse .feature-row-text {
    order: 2;
}

.feature-row.reverse .feature-row-img {
    order: 1;
}

.feature-row-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.feature-row-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-row-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-row-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.feature-row-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card-2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

.feature-row-img::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.feature-row:hover .feature-row-img {
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 40px rgba(99, 102, 241, 0.12);
    transform: translateY(-4px);
}

.feature-row-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.feature-row:hover .feature-row-img img {
    transform: scale(1.03);
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.bento-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 102, 241, 0.08);
}

.bento-card.wide {
    grid-column: span 2;
}

.bento-card-content {
    padding: 28px 28px 20px;
}

.bento-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #a5b4fc;
    font-size: 16px;
}

.bento-card-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.bento-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.bento-card-screenshot {
    margin-top: 20px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    flex: 1;
}

.bento-card-screenshot img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.bento-card:hover .bento-card-screenshot img {
    transform: scale(1.04);
    filter: brightness(1);
}

.bento-card.wide .bento-card-screenshot img {
    height: 280px;
}

/* ── Pricing Section ──────────────────────────────────────── */
.pricing-section {
    padding: 0 0 100px;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    width: 320px;
    min-width: 280px;
}

.pricing-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.pricing-card.highlight {
    border-color: rgba(99, 102, 241, 0.5);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
        var(--bg-card);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2), 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 102, 241, 0.1);
}

.pricing-card.highlight:hover {
    border-color: rgba(99, 102, 241, 0.7);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3), 0 28px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(99, 102, 241, 0.15);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

/* pricing-header: plan name + discount badge side by side */
.pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pricing-name {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Discount badge (yearly) */
.pricing-discount-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 241, 150, 0.12);
    color: #6ee7b7;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(99, 241, 150, 0.25);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* Yearly info row: strikethrough original + discounted */
.pricing-yearly-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    margin-top: 2px;
}

.pricing-original {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.25);
}

.pricing-billed {
    font-size: 0.8125rem;
    color: #6ee7b7;
    font-weight: 600;
}

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

.pricing-amount {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--text-primary);
}

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

/* Yearly billing layout */
.pricing-year-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
}

/* Strikethrough original monthly price */
.pricing-original-row {
    margin-bottom: 2px;
}

.pricing-original-mo {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.35);
}

.pricing-original-mo .pricing-unit {
    font-size: 0.75rem;
    margin-left: 1px;
}

/* Yearly billed info line */
.pricing-billed {
    font-size: 0.8125rem;
    color: #6ee7b7;
    font-weight: 500;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
    min-height: 40px;
}

.pricing-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin-bottom: 28px;
}

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

/* Feature list — uses FA check icon injected via JS */
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.pricing-card.highlight .pricing-features li {
    color: var(--text-primary);
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
    margin-top: auto;
}

.pricing-cta-secondary {
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: transparent;
}

.pricing-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.pricing-cta-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 24px var(--accent-glow);
}

.pricing-cta-primary:hover {
    background: #4f52e8;
    transform: translateY(-1px);
    box-shadow: 0 0 36px rgba(99, 102, 241, 0.5);
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
    padding: 0 0 100px;
}

.cta-card {
    border-radius: var(--radius-xl);
    padding: 80px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.25);
    background:
        radial-gradient(ellipse at 50% -20%, rgba(99, 102, 241, 0.2) 0%, transparent 60%),
        var(--bg-card);
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.cta-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    position: relative;
}

.cta-sub {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 36px;
    position: relative;
}

.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 0 32px var(--accent-glow);
    text-decoration: none;
}

.cta-btn:hover {
    background: #4f52e8;
    transform: translateY(-2px);
    box-shadow: 0 0 48px rgba(99, 102, 241, 0.55);
}

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

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

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.footer-brand-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 260px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.2s ease;
}

.social-link:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.footer-col-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── Scroll Animations (progressive enhancement) ────────────────────────── */
/* By default everything is visible — JS adds .js-loaded to <html>           */
/* which enables the initial hidden state for the animation to play nicely.  */
.js-loaded .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible,
.js-loaded .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.js-loaded .fade-up-d1 {
    transition-delay: 0.1s;
}

.js-loaded .fade-up-d2 {
    transition-delay: 0.2s;
}

.js-loaded .fade-up-d3 {
    transition-delay: 0.3s;
}

.js-loaded .fade-up-d4 {
    transition-delay: 0.4s;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-card.wide {
        grid-column: span 2;
    }

    .why-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 20px;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .stat-item:last-child,
    .stat-item:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 80px 0 0;
    }

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

    .bento-card.wide {
        grid-column: span 1;
    }

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

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

    .nav-links {
        display: none;
    }

    .cta-card {
        padding: 48px 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

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

/* ── Stats Bar: new icon+title+desc pillars ──────────────────── */
.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1;
    color: var(--accent);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.stat-value-new {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.2;
}

.stat-item {
    text-align: center;
    padding: 12px 24px;
}

/* ── Billing Toggle ───────────────────────────────────────────── */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
    margin-top: 28px;
}

.billing-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 20px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-muted);
    transition: all 0.2s;
    font-family: inherit;
}

.billing-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.billing-save-badge {
    display: inline-block;
    background: rgba(99, 241, 150, 0.15);
    color: #6ee7b7;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(99, 241, 150, 0.25);
}

/* ── Feature image: click to enlarge ─────────────────────────── */
.feature-row-img {
    cursor: pointer;
}

.feature-row-img-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.feature-row-img:hover .feature-row-img-hint {
    opacity: 1;
}

/* ── Pricing sublabel (yearly billing info) ──────────────────── */
.pricing-sublabel {
    font-size: 0.75rem;
    color: #6ee7b7;
    margin-bottom: 20px;
    font-weight: 500;
    margin-top: -4px;
}