/* ============================================================
   OnePoundEmail — style.css
   Shared across all pages. Import in <head> alongside the
   Google Fonts link.
   ============================================================ */

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

/* ─── THEME TOKENS ─── */
[data-theme="dark"] {
    --bg: #090d1a;
    --bg2: #0d1225;
    --card: #131929;
    --card2: #182033;
    --blue: #3b82f6;
    --blue-bright: #60a5fa;
    --blue-dim: #1d4ed8;
    --cyan: #06b6d4;
    --border: rgba(59, 130, 246, 0.15);
    --border2: rgba(255, 255, 255, 0.07);
    --text: #e2e8f0;
    --muted: #64748b;
    --muted2: #94a3b8;
    --nav-bg: rgba(9, 13, 26, 0.92);
    --bg2-trans: rgba(13, 18, 37, 0.98);
    --icon-bg: rgba(59, 130, 246, 0.10);
    --icon-bdr: rgba(59, 130, 246, 0.20);
    --hover-bdr: rgba(59, 130, 246, 0.30);
    --metric-bg: #090d1a;
    --footer-bg: #05080f;
    --footer-border: rgba(255, 255, 255, 0.08);
    --footer-text: #4b5563;
    --footer-link: #6b7280;
    --footer-link-hover: #e2e8f0;
    --footer-logo-filter: none;
}

[data-theme="light"] {
    --bg: #f2f5fb;
    --bg2: #e8ecf6;
    --card: #ffffff;
    --card2: #eef1fa;
    --blue: #2563eb;
    --blue-bright: #3b82f6;
    --blue-dim: #1d4ed8;
    --cyan: #0891b2;
    --border: rgba(37, 99, 235, 0.18);
    --border2: rgba(0, 0, 0, 0.09);
    --text: #0f172a;
    --muted: #64748b;
    --muted2: #475569;
    --nav-bg: rgba(242, 245, 251, 0.95);
    --bg2-trans: rgba(232, 236, 246, 0.98);
    --icon-bg: rgba(37, 99, 235, 0.08);
    --icon-bdr: rgba(37, 99, 235, 0.18);
    --hover-bdr: rgba(37, 99, 235, 0.35);
    --metric-bg: #e8ecf6;
    --footer-bg: #dde2ef;
    --footer-border: rgba(0, 0, 0, 0.09);
    --footer-text: #64748b;
    --footer-link: #64748b;
    --footer-link-hover: #0f172a;
    --footer-logo-filter: invert(1) brightness(0);
}

/* ─── BASE ─── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background 0.35s, color 0.35s;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border2);
    transition: background 0.35s;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    display: block;
    height: 30px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted2);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--blue) !important;
    color: white !important;
    padding: 0.48rem 1.2rem;
    border-radius: 8px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.3);
    transition: box-shadow 0.2s !important;
    white-space: nowrap;
    text-decoration: none;
}

.nav-cta:hover {
    box-shadow: 0 0 28px rgba(59, 130, 246, 0.55) !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Theme toggle */
.theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border2);
    background: var(--card2);
    color: var(--muted2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--blue);
    color: var(--text);
}

.theme-toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border2);
    background: var(--card2);
    cursor: pointer;
    padding: 8px;
    transition: border-color 0.2s;
}

.burger:hover {
    border-color: var(--blue);
}

.burger span {
    display: block;
    height: 1.5px;
    background: var(--muted2);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, width 0.3s;
    transform-origin: center;
}

.burger span:nth-child(2) {
    width: 75%;
}

body.menu-open .burger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
    opacity: 0;
    width: 0;
}

body.menu-open .burger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 190;
    background: var(--bg2-trans);
    border-bottom: 1px solid var(--border2);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.mobile-menu.open {
    transform: translateY(0);
    pointer-events: all;
}

.mobile-menu a {
    display: block;
    text-decoration: none;
    color: var(--muted2);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border2);
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--text);
}

.mobile-menu a:last-of-type {
    border-bottom: none;
}

.mobile-cta {
    display: block;
    text-align: center;
    background: var(--blue);
    color: white !important;
    padding: 0.85rem;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 1rem;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
}

.hero-glow {
    position: absolute;
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.10) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-glow2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.07) 0%, transparent 70%);
    top: 25%;
    left: 68%;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.orb1 {
    width: 350px;
    height: 350px;
    background: rgba(59, 130, 246, 0.10);
    top: 5%;
    left: -8%;
    animation: orbF 9s ease-in-out infinite;
}

.orb2 {
    width: 220px;
    height: 220px;
    background: rgba(6, 182, 212, 0.08);
    top: 55%;
    right: -3%;
    animation: orbF 7s ease-in-out infinite;
    animation-delay: -3s;
}

.orb3 {
    width: 180px;
    height: 180px;
    background: rgba(99, 102, 241, 0.07);
    bottom: 8%;
    left: 28%;
    animation: orbF 11s ease-in-out infinite;
    animation-delay: -6s;
}

@keyframes orbF {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-18px)
    }
}

.hero-content {
    position: relative;
    width: 100%;
}

.cursor-blink {
    display: inline-block;
    width: 3px;
    height: 1.05em;
    background: var(--blue);
    margin-left: 3px;
    vertical-align: text-bottom;
    animation: cblink 1s step-end infinite;
}

@keyframes cblink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.hero-img-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-img-wrap img {
    width: 240px;
    height: auto;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.3));
}

[data-theme="light"] .hero-img-wrap img {
    mix-blend-mode: multiply;
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.15));
}

h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

h1 .line2 {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted2);
    max-width: 460px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.22);
    color: var(--blue-bright);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero-eyebrow svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ─── BUTTONS ─── */
.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-dim));
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 40px rgba(59, 130, 246, 0.5);
}

.btn-primary svg,
.btn-secondary svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border2);
    transition: border-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--muted);
}

.btn-cyan {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0891b2, var(--cyan));
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
}

/* scroll arrow */
.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.63rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: arrowBob 2.2s ease-in-out infinite;
}

@keyframes arrowBob {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(6px)
    }
}

.scroll-arrow svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    opacity: 0.35;
}

/* ─── SHARED SECTION PIECES ─── */
.section-tag-blue {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-bright);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

h2.dark-heading {
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--text);
}

/* ─── STATS / TRUST BAR ─── */
.stats-row {
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    background: var(--bg2);
    transition: background 0.35s;
}

.stats-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid var(--border2);
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

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

.stat-cell:hover {
    background: rgba(59, 130, 246, 0.05);
}

.stat-cell::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transition: width 0.4s;
}

.stat-cell:hover::after {
    width: 60%;
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--icon-bg);
    border: 1px solid var(--icon-bdr);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.stat-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--blue-bright);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-val {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    display: block;
    margin-bottom: 0.2rem;
    line-height: 1.2;
    transition: color 0.35s;
}

.stat-val .hi {
    color: var(--blue-bright);
}

.stat-label {
    font-size: 0.73rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.04em;
}

/* ─── ABOUT ─── */
.about-wrap {
    padding: 7rem 2rem;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-glow-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.35s;
}

.about-glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue-dim), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-avatar svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.card-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.card-sub {
    font-size: 0.78rem;
    color: var(--muted);
}

.about-glow-card>p {
    color: var(--muted2);
    font-size: 0.88rem;
    line-height: 1.7;
}

.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric-box {
    background: var(--metric-bg);
    border: 1px solid var(--border2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: background 0.35s;
}

.metric-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue-bright);
    display: block;
}

.metric-lbl {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid var(--border);
    color: var(--blue-bright);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    margin-top: 1.5rem;
}

.location-badge svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

.about-text p {
    color: var(--muted2);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* ─── FEATURES ─── */
.features {
    padding: 7rem 0;
    background: var(--bg2);
    transition: background 0.35s;
}

.features-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feat-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.feat-sub {
    text-align: center;
    color: var(--muted2);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feat-card {
    background: var(--card);
    border: 1px solid var(--border2);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.35s;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0), transparent);
    transition: background 0.4s;
}

.feat-card:hover {
    border-color: var(--hover-bdr);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.feat-card:hover::before {
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.feat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--icon-bg);
    border: 1px solid var(--icon-bdr);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background 0.3s;
}

.feat-icon-wrap svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue-bright);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feat-card:hover .feat-icon-wrap {
    background: rgba(59, 130, 246, 0.18);
}

.feat-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.feat-desc {
    font-size: 0.85rem;
    color: var(--muted2);
    line-height: 1.7;
}

.feat-desc-small {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.feat-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--blue-bright);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: gap 0.2s;
}

.feat-link:hover {
    gap: 0.6rem;
}

/* ─── PRICING ─── */
.pricing {
    padding: 7rem 0;
}

.pricing-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-note {
    color: var(--muted2);
    font-size: 0.92rem;
    max-width: 440px;
    margin: 0.75rem auto 0;
    line-height: 1.6;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.price-card {
    background: var(--card);
    border: 1px solid var(--border2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, background 0.35s;
}

.price-card:hover {
    border-color: var(--hover-bdr);
    transform: translateY(-5px);
}

.price-card.featured {
    background: var(--card);
    border: 1px solid var(--border2);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.14), inset 0 1px 0 rgba(59, 130, 246, 0.25);
}

.price-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.price-card.featured:hover {
    border-color: var(--hover-bdr);
}

.price-card.featured .plan-name {
    color: #60a5fa;
}

.price-card.featured .price-big {
    color: var(--text);
}

.price-card.featured .price-period {
    color: var(--muted);}

.price-card.featured .divider {
    background: rgba(59, 130, 246, 0.22);
}

.price-card.featured .plan-features li {
    color: var(--muted2);
}

.price-card.featured .plan-features li svg {
    stroke: var(--blue-bright);
}

.price-card.featured .plan-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.price-card.featured .plan-btn:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.popular-badge {
    text-align: center;
    position: absolute;
    width: 100%;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.28rem 1rem;
    /* border-radius: 82px; */
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.plan-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.price-big {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.price-big sup {
    font-size: 1.6rem;
    vertical-align: top;
    margin-top: 0.4rem;
    display: inline-block;
    color: #60a5fa;
}

.price-period {
    font-size: 0.78rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 2rem;
}

.divider {
    height: 1px;
    background: var(--border2);
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    font-size: 0.86rem;
    color: var(--muted2);
    padding: 0.45rem 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.plan-features li svg {
    width: 15px;
    height: 15px;
    stroke: var(--blue-bright);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.plan-btn {
    display: block;
    text-align: center;
    padding: 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid var(--border2);
    color: var(--text);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.plan-btn:hover {
    border-color: var(--muted);
    background: rgba(128, 128, 128, 0.06);
}

/* ─── AFFILIATE ─── */
.affiliate {
    padding: 0rem 2rem 5rem 2rem;
    max-width: 1160px;
    margin: 0 auto;
}

.affiliate-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background 0.35s;
}

.affiliate-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.aff-glow {
    position: absolute;
    width: 500px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.07) 0%, transparent 70%);
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.aff-pct {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.affiliate-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.affiliate-box p {
    color: var(--muted2);
    font-size: 0.95rem;
    max-width: 420px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
    padding: 7rem 0;
    background: var(--bg2);
    transition: background 0.35s;
}

.test-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

.test-header {
    text-align: center;
    margin-bottom: 4rem;
}

.test-sub {
    color: var(--muted2);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.test-card {
    background: var(--card);
    border: 1px solid var(--border2);
    border-radius: 16px;
    padding: 1.75rem;
    transition: border-color 0.3s, transform 0.3s, background 0.35s;
}

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

.test-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.test-quote {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--muted2);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.t-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.ta1 {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.ta2 {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.ta3 {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.t-name {
    font-size: 0.88rem;
    font-weight: 700;
}

.t-role {
    font-size: 0.72rem;
    color: var(--muted);
}

/* ─── FOOTER ─── */
footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    padding: 1rem 0;
    transition: background 0.35s, border-color 0.35s;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.footer-logo img {
    display: block;
    height: 26px;
    width: auto;
    filter: var(--footer-logo-filter);
    transition: filter 0.35s;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--footer-text);
    transition: color 0.35s;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.2s;
    white-space: nowrap;
}

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

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: flex;
    }

    h1 {
        font-size: clamp(2.6rem, 9vw, 4.5rem);
    }

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

    .about-wrap {
        grid-template-columns: 1fr;
        padding: 4rem 2rem;
        gap: 3rem;
    }

    .feat-grid,
    .price-grid,
    .test-grid {
        grid-template-columns: 1fr;
    }

    .features,
    .pricing,
    .testimonials {
        padding: 5rem 0;
    }

    .affiliate {
        padding: 3rem 2rem;
    }

    .affiliate-box {
        padding: 2.5rem 1.5rem;
    }

    .aff-pct {
        font-size: 4rem;
    }
}

@media (max-width: 520px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .footer-copy {
        order: 3;
    }
}

/* ================================================================
   TERMS PAGE — additional styles
   ================================================================ */

/* Page header banner (used on terms, privacy, aup etc.) */
.page-hero {
    padding: 7rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
    border-bottom: 1px solid var(--border2);
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, black 30%, transparent 100%);
    pointer-events: none;
}

.page-hero-glow {
    position: absolute;
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: var(--text);
    /* override gradient from homepage h1 */
    background: none;
    -webkit-text-fill-color: unset;
}

.page-hero-meta {
    font-size: 0.8rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.06em;
}

/* Terms content wrapper */
.terms-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

/* Table of contents */
.terms-toc {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.35s;
}

.terms-toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.terms-toc-title {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-bright);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1rem;
}

.terms-toc ol {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 2rem;
    counter-reset: toc-counter;
}

.terms-toc ol li {
    counter-increment: toc-counter;
}

.terms-toc ol li a {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: var(--muted2);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
    padding: 0.2rem 0;
}

.terms-toc ol li a::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--blue-bright);
    flex-shrink: 0;
}

.terms-toc ol li a:hover {
    color: var(--text);
}

/* Sections */
.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border2);
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* clear the homepage h2 gradient */
    background: none;
    -webkit-text-fill-color: unset;
    letter-spacing: -0.01em;
}

.terms-section h2 .sec-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--blue-bright);
    background: var(--icon-bg);
    border: 1px solid var(--icon-bdr);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    flex-shrink: 0;
}

.terms-section p {
    color: var(--muted2);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 0.85rem;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-section ol,
.terms-section ul {
    padding-left: 1.5rem;
    color: var(--muted2);
    font-size: 0.95rem;
    line-height: 1.85;
}

.terms-section li {
    margin-bottom: 0.5rem;
}

/* Highlighted sub-items (e.g. contact types) */
.terms-contact-list {
    list-style: none;
    padding: 0;
}

.terms-contact-list li {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s, background 0.35s;
}

.terms-contact-list li:hover {
    border-color: var(--hover-bdr);
}

.terms-contact-list .contact-type {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.2rem;
}

.terms-contact-list .contact-detail {
    font-size: 0.92rem;
    color: var(--text);
}

.terms-contact-list .contact-detail a {
    color: var(--blue-bright);
    text-decoration: none;
}

.terms-contact-list .contact-detail a:hover {
    text-decoration: underline;
}

/* Effective date pill */
.terms-effective {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid var(--border);
    color: var(--muted2);
    font-size: 0.78rem;
    font-family: 'JetBrains Mono', monospace;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    margin-top: 2rem;
}

.terms-effective span {
    color: var(--blue-bright);
    font-weight: 600;
}

@media (max-width: 600px) {
    .terms-toc ol {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 6rem 1.5rem 3rem;
    }

    .terms-wrap {
        padding: 3rem 1.5rem 5rem;
    }
}

/* ── 404 PAGE ── */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.error-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 100%);
    pointer-events: none;
}

.error-glow {
    position: absolute;
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.09) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.error-glow2 {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    pointer-events: none;
}

.error-inner {
    position: relative;
    width: 100%;
    max-width: 600px;
}

/* The big "404" with envelope in the middle */
.error-code-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    line-height: 1;
}

.error-code {
    font-size: clamp(6rem, 16vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(160deg, var(--text) 40%, var(--muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Outfit', sans-serif;
    user-select: none;
}

.error-icon-ring {
    width: clamp(72px, 14vw, 96px);
    height: clamp(72px, 14vw, 96px);
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.12), inset 0 1px 0 rgba(59, 130, 246, 0.15);
    flex-shrink: 0;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.12), inset 0 1px 0 rgba(59, 130, 246, 0.15);
    }

    50% {
        box-shadow: 0 0 60px rgba(59, 130, 246, 0.22), inset 0 1px 0 rgba(59, 130, 246, 0.25);
    }
}

.error-icon-ring svg {
    width: 40%;
    height: 40%;
    stroke: var(--blue-bright);
}

.error-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1rem;
    /* override homepage h1 gradient */
    background: none;
    -webkit-text-fill-color: unset;
}

.error-sub {
    font-size: 1rem;
    color: var(--muted2);
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto 2.5rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Subtle quick-links */
.error-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.error-links-label {
    font-size: 0.72rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.error-link-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.error-link-pills a {
    display: inline-block;
    color: var(--muted2);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--border2);
    background: var(--card);
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.error-link-pills a:hover {
    color: var(--text);
    border-color: var(--blue);
    background: var(--icon-bg);
}

@media (max-width: 480px) {
    .error-code {
        font-size: clamp(4.5rem, 18vw, 7rem);
    }

    .error-icon-ring {
        width: 58px;
        height: 58px;
    }

    .error-icon-ring svg {
        width: 38%;
        height: 38%;
    }
}