/* ============================================
   FILE: wwwroot/css/stoke.css
   INSTALL TO: StokeMarketing.Web/wwwroot/css/stoke.css
   PURPOSE: Stoke AI design system — CSS variables, font-face, global styles,
            and all public section styles
   PATTERN: Dark-primary design system from wireframe specification
   FONT: Inter variable (local) — Syne decision documented and rejected
   ============================================ */

/* ── FONT FACE ───────────────────────────────────────────────────────────── */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-var.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ── CSS VARIABLES ───────────────────────────────────────────────────────── */
:root {
    --bg-primary:        #0A0C10;
    --bg-secondary:      #0F1219;
    --bg-card:           #131720;
    --bg-card-hover:     #181E2A;
    --accent-primary:    #FF5C2B;
    --accent-secondary:  #FF8A5C;
    --accent-glow:       rgba(255, 92, 43, 0.15);
    --accent-subtle:     rgba(255, 92, 43, 0.08);
    --text-primary:      #F0F2F5;
    --text-secondary:    #F0F2F5;
    --text-muted:        #F0F2F5;
    --border:            rgba(255, 255, 255, 0.07);
    --border-accent:     rgba(255, 92, 43, 0.3);
    --nav-height:        72px;
    --content-max-width: 1200px;
    --content-padding:   32px;
    --font-family:       'Inter', system-ui, -apple-system, sans-serif;
    --radius-sm:         8px;
    --radius-md:         12px;
    --radius-lg:         16px;
    --radius-pill:       100px;
    --transition-fast:   0.2s ease;
    --transition-med:    0.25s ease;
}

/* ── GLOBAL RESET & BASE ─────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1:focus { outline: none; }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover { color: var(--accent-secondary); }

.text-accent { color: var(--accent-primary); }

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── LAYOUT ──────────────────────────────────────────────────────────────── */
.container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* Alias — used by SiteHeader and SiteFooter components */
.stoke-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* ── TAG / EYEBROW ───────────────────────────────────────────────────────── */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn-primary {
    background: var(--accent-primary);
    color: white;
    padding: 15px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(255, 92, 43, 0.35);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 92, 43, 0.45);
    background: var(--accent-secondary);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 15px 32px;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    text-decoration: none;
}

/* ── SECTION HEADER ──────────────────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    margin: 16px 0 20px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 92, 43, 0.08) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 32px;
}

.hero-eyebrow { margin-bottom: 28px; }

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    color: var(--text-muted);
    font-size: 13px;
}

.trust-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}

/* ── SOCIAL PROOF ────────────────────────────────────────────────────────── */
.social-proof {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.social-proof-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-item {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ── PROBLEM ─────────────────────────────────────────────────────────────── */
.problem { padding: 120px 0; }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.problem-card {
    background: var(--bg-card);
    padding: 40px 36px;
    position: relative;
    transition: background 0.2s;
}

.problem-card:hover { background: var(--bg-card-hover); }
.problem-card:first-child { border-radius: 16px 0 0 16px; }
.problem-card:last-child { border-radius: 0 16px 16px 0; }

.problem-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    background: var(--accent-subtle);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.problem-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.problem-transition {
    text-align: center;
    margin-top: 60px;
    padding: 36px;
    background: linear-gradient(135deg, rgba(255, 92, 43, 0.06), rgba(255, 138, 92, 0.04));
    border: 1px solid var(--border-accent);
    border-radius: 16px;
}

.problem-transition p {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.problem-transition span { color: var(--accent-primary); }

/* ── SERVICES ────────────────────────────────────────────────────────────── */
.services {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px 36px;
    border: 1px solid var(--border);
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.25s;
}

.service-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before { opacity: 1; }

.service-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features { list-style: none; }

.service-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '→';
    color: var(--accent-primary);
    font-size: 13px;
    flex-shrink: 0;
}

.service-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.2s;
}

.service-cta-link:hover { gap: 10px; }

/* ── PROCESS STEPS / PLAN ────────────────────────────────────────────────── */
.plan { padding: 120px 0; }

.plan-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    margin-top: 64px;
}

.plan-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), var(--border-accent), transparent);
}

.plan-step {
    text-align: center;
    padding: 0 32px;
}

.step-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-primary);
    position: relative;
    z-index: 1;
}

.plan-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.plan-step h4 {
    font-size: 13px;
    color: var(--accent-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.plan-step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.plan-cta {
    text-align: center;
    margin-top: 64px;
}

/* ── GUIDE / AUTHORITY ───────────────────────────────────────────────────── */
.guide {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.guide-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.guide-text h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin: 16px 0 20px;
}

.guide-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.guide-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: 40px;
}

.stat-box {
    background: var(--bg-card);
    padding: 28px 24px;
}

.stat-box:first-child  { border-radius: 14px 0 0 0; }
.stat-box:nth-child(2) { border-radius: 0 14px 0 0; }
.stat-box:nth-child(3) { border-radius: 0 0 0 14px; }
.stat-box:last-child   { border-radius: 0 0 14px 0; }

.stat-box .number {
    font-size: 34px;
    font-weight: 800;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 6px;
}

.stat-box .label {
    font-size: 13px;
    color: var(--text-secondary);
}

.guide-visual {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 40px;
    overflow: hidden;
    position: relative;
}

.guide-visual::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: radial-gradient(ellipse at 100% 50%, rgba(255, 92, 43, 0.08), transparent 70%);
}

.visual-title {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.visual-bar-group { margin-bottom: 16px; }

.visual-bar-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.visual-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
}

.visual-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.visual-callout {
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--accent-subtle);
    border-radius: 12px;
    border: 1px solid var(--border-accent);
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ── LEAD MAGNET ─────────────────────────────────────────────────────────── */
.lead-magnet {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 92, 43, 0.08), rgba(255, 92, 43, 0.03));
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
}

.lead-magnet-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.lead-magnet-text {
    max-width: 600px;
}

.lead-magnet-text h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    margin: 16px 0 12px;
}

.lead-magnet-text p {
    font-size: 16px;
    color: var(--text-secondary);
}

.lead-magnet-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lead-magnet-form input {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    width: 260px;
    outline: none;
    font-family: var(--font-family);
    transition: border-color 0.2s;
}

.lead-magnet-form input::placeholder { color: var(--text-muted); }
.lead-magnet-form input:focus { border-color: var(--border-accent); }

.lead-magnet-success {
    margin-top: 24px;
    padding: 14px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 10px;
    color: #4ade80;
    font-size: 15px;
}

.lead-magnet-error {
    margin-top: 24px;
    padding: 14px 20px;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 10px;
    color: #f87171;
    font-size: 15px;
}

/* ── TESTIMONIALS ────────────────────────────────────────────────────────── */
.testimonials { padding: 120px 0; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 36px;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 80px;
    line-height: 1;
    font-weight: 800;
    color: rgba(255, 92, 43, 0.1);
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), #FF3B8C);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.author-name {
    font-size: 15px;
    font-weight: 700;
}

.author-title {
    font-size: 13px;
    color: var(--text-muted);
}

/* ── PRICING ─────────────────────────────────────────────────────────────── */
.pricing {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px 36px;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--border-accent);
    box-shadow: 0 0 60px rgba(255, 92, 43, 0.12);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.pricing-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-feature::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    padding-top: 12px;
}

/* ── FINAL CTA ───────────────────────────────────────────────────────────── */
.final-cta {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(255, 92, 43, 0.1), transparent 70%);
}

.final-cta h2 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
}

.final-cta h2 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    position: relative;
}

.final-cta .hero-ctas { position: relative; }

/* ── RICH TEXT ───────────────────────────────────────────────────────────── */
.richtext { padding: 80px 0; }

.richtext-body {
    max-width: 740px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.richtext-body h1,
.richtext-body h2,
.richtext-body h3 {
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 40px;
}

.richtext-body p { margin-bottom: 20px; }

/* ── LEAD FORM ───────────────────────────────────────────────────────────── */
.lead-form { padding: 80px 0; }

.lead-form-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.lead-form-inner h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.lead-form-inner > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.lead-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.lead-form-success {
    padding: 20px 24px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 12px;
    color: #4ade80;
    font-size: 16px;
    margin-top: 24px;
}

/* ── FORM FIELDS (shared) ────────────────────────────────────────────────── */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-field input,
.form-field textarea,
.form-field select {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-family);
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--border-accent);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 40px;
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.7;
    margin-top: 14px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-secondary); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ── LOADING / NOT FOUND ─────────────────────────────────────────────────── */
.lp-loading,
.lp-not-found {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    color: var(--text-secondary);
    padding: 40px;
}

.lp-not-found h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ── SCROLLBAR ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ── BLAZOR ERROR UI ─────────────────────────────────────────────────────── */
#blazor-error-ui {
    background: var(--bg-card);
    border-top: 1px solid var(--border-accent);
    color: var(--text-primary);
    display: none;
    left: 0;
    bottom: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    color: var(--text-muted);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .problem-grid,
    .services-grid,
    .plan-steps,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .problem-card:first-child { border-radius: 16px 16px 0 0; }
    .problem-card:last-child  { border-radius: 0 0 16px 16px; }
    .guide-inner              { grid-template-columns: 1fr; gap: 48px; }
    .lead-magnet-inner        { flex-direction: column; }
    .footer-grid              { grid-template-columns: 1fr 1fr; }
    .plan-steps::before       { display: none; }
}

@media (max-width: 768px) {
    :root { --content-padding: 20px; }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .trust-divider { display: none; }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer-grid { grid-template-columns: 1fr; }

    .lead-magnet-form {
        flex-direction: column;
        width: 100%;
    }

    .lead-magnet-form input { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ADMIN UTILITIES
   Shared across all admin pages. Defined here as global CSS so every admin
   component gets these styles — Blazor scoped CSS cannot cross component
   boundaries, so per-page scoped files cannot share button or table styles.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Admin page layout ── */
.admin-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}

.admin-page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.admin-page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ── Admin table ── */
.admin-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table thead {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.admin-table td {
    padding: 14px 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: var(--bg-card-hover); }

/* ── Admin buttons ── */
.btn-admin-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 92, 43, 0.25);
}

.btn-admin-primary:hover {
    background: var(--accent-secondary);
    box-shadow: 0 4px 16px rgba(255, 92, 43, 0.35);
}

.btn-admin-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-admin-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    font-family: var(--font-family);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.btn-admin-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.btn-admin-ghost:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-admin-danger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn-admin-danger:hover {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.5);
}

.btn-admin-danger:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Size modifier — use alongside btn-admin-* */
.btn-sm {
    padding: 5px 12px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
}

/* ── Admin states ── */
.admin-loading,
.admin-empty {
    text-align: center;
    padding: 64px 32px;
    color: var(--text-secondary);
    font-size: 15px;
}

.admin-empty button { margin-top: 16px; }

.admin-error {
    padding: 12px 16px;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.25);
    border-radius: 8px;
    color: #f87171;
    font-size: 14px;
    margin-bottom: 16px;
}

.admin-success {
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    color: #4ade80;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ── Admin toggle ── */
.toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    cursor: pointer;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-track {
    position: absolute;
    inset: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: background 0.2s, border-color 0.2s;
}

.toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: transform 0.2s, background 0.2s;
}

.toggle input:checked + .toggle-track {
    background: var(--accent-subtle);
    border-color: var(--border-accent);
}

.toggle input:checked + .toggle-track::after {
    transform: translateX(18px);
    background: var(--accent-primary);
}

/* ── Admin badges ── */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

.badge-published {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-draft {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.badge-type {
    background: var(--accent-subtle);
    color: var(--accent-secondary);
    border: 1px solid var(--border-accent);
}

/* ── Admin modal ── */
.admin-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.admin-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
}

.admin-modal h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--text-primary);
}

.admin-modal p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.admin-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ══════════════════════════════════════════════════════════════════════════════
   SERVICE DETAIL PAGES — Advisory, Implementation, Development, About
   ══════════════════════════════════════════════════════════════════════════════ */

.service-detail-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

/* 2-col grid on md+, 1-col on mobile */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .service-features-grid {
        grid-template-columns: 1fr;
    }
}

.service-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
}

.service-feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.service-feature-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Advisory / About split layout */
.advisory-split,
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 900px) {
    .advisory-split,
    .about-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* 2×2 stat grid used on Advisory and About */
.advisory-stats-grid,
.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.advisory-stat {
    background: var(--bg-card);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.advisory-stat:first-child  { border-radius: 14px 0 0 0; }
.advisory-stat:nth-child(2) { border-radius: 0 14px 0 0; }
.advisory-stat:nth-child(3) { border-radius: 0 0 0 14px; }
.advisory-stat:last-child   { border-radius: 0 0 14px 0; }

.stat-value {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Impact bars — About page */
.impact-grid {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.impact-bar-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.impact-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

.impact-value {
    color: var(--text-primary);
    font-weight: 500;
}

.impact-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
}

.impact-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.impact-callout {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px 24px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-primary);
    text-align: center;
}

.impact-callout strong {
    color: var(--accent-secondary);
}

/* btn-stoke-secondary — outline variant used on detail pages */
.btn-stoke-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.btn-stoke-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    text-decoration: none;
}
