/* ============================================================
   Callout360 — shared site stylesheet
   Original single-page CSS (verbatim) + multi-page additions
   ============================================================ */

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

:root {
    --bg-deep: #060a14;
    --bg-primary: #0a0f1c;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-elevated: #1e293b;
    --amber: #f59e0b;
    --amber-light: #fbbf24;
    --amber-glow: rgba(245, 158, 11, 0.15);
    --amber-glow-strong: rgba(245, 158, 11, 0.3);
    --blue: #3b82f6;
    --blue-dim: rgba(59, 130, 246, 0.1);
    --green: #10b981;
    --red-soft: #f87171;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(148, 163, 184, 0.08);
    --border-amber: rgba(245, 158, 11, 0.2);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 24px;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
nav.scrolled {
    background: rgba(6, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text-primary);
}
.logo-mark {
    width: auto; padding: 0 11px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, var(--amber), #e08a00);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 13px;
    color: var(--bg-deep); letter-spacing: -0.5px;
    box-shadow: 0 0 20px var(--amber-glow);
}
.logo-text {
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 20px;
    letter-spacing: -0.5px;
}
.logo-text span { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 14px;
    font-weight: 500; transition: color 0.2s; letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
    background: var(--amber); color: var(--bg-deep) !important;
    padding: 10px 22px; border-radius: 8px; font-weight: 600 !important;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s !important;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--amber-glow-strong);
    background: var(--amber-light); color: var(--bg-deep) !important;
}
.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    color: var(--text-primary); padding: 8px;
}
.mobile-toggle svg { width: 24px; height: 24px; }

/* ── Hero ── */
.hero {
    padding: 160px 24px 120px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -200px; right: -300px;
    width: 800px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, var(--amber-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-inner {
    max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--amber-glow); border: 1px solid var(--border-amber);
    border-radius: 100px; padding: 6px 16px 6px 8px;
    font-size: 13px; font-weight: 500; color: var(--amber-light);
    margin-bottom: 28px;
    animation: fadeSlideUp 0.8s ease both;
}
.hero-badge .pulse {
    width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
    animation: pulse 2s ease-in-out infinite;
}
.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(42px, 5vw, 64px); font-weight: 800;
    line-height: 1.05; letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeSlideUp 0.8s ease 0.1s both;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--amber), var(--amber-light));
    -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: 480px; margin-bottom: 40px;
    animation: fadeSlideUp 0.8s ease 0.2s both;
}
.hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    animation: fadeSlideUp 0.8s ease 0.3s both;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--amber), #e08a00);
    color: var(--bg-deep); padding: 16px 32px; border-radius: 12px;
    font-size: 16px; font-weight: 700; text-decoration: none;
    font-family: 'Outfit', sans-serif; letter-spacing: -0.2px;
    transition: transform 0.2s, box-shadow 0.3s;
    border: none; cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--amber-glow-strong);
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 1px solid var(--border);
    color: var(--text-primary); padding: 16px 32px; border-radius: 12px;
    font-size: 16px; font-weight: 600; text-decoration: none;
    font-family: 'Outfit', sans-serif; letter-spacing: -0.2px;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}
.btn-secondary:hover {
    border-color: var(--text-muted); background: rgba(255,255,255,0.03);
}

/* Hero Dashboard Preview */
.hero-visual {
    position: relative;
    animation: fadeSlideUp 0.8s ease 0.4s both;
}
.dashboard-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--amber-glow);
}
.dash-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--bg-elevated);
}
.dash-dots span:nth-child(1) { background: #ef4444; }
.dash-dots span:nth-child(2) { background: #eab308; }
.dash-dots span:nth-child(3) { background: #22c55e; }
.dash-title {
    font-size: 12px; color: var(--text-muted);
    font-family: 'Outfit', sans-serif; font-weight: 500;
}
.dash-body { padding: 20px; }
.dash-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    margin-bottom: 16px;
}
.dash-stat {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: 10px; padding: 14px;
}
.dash-stat-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.dash-stat-value { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 700; }
.dash-stat-value.amber { color: var(--amber); }
.dash-stat-value.green { color: var(--green); }
.dash-stat-value.blue { color: var(--blue); }
.dash-jobs { display: flex; flex-direction: column; gap: 8px; }
.dash-job {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 16px;
}
.dash-job:nth-child(1) { border-left: 3px solid var(--red-soft); }
.dash-job:nth-child(2) { border-left: 3px solid var(--amber); }
.dash-job:nth-child(3) { border-left: 3px solid var(--green); }
.job-priority {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.job-priority.urgent { background: var(--red-soft); box-shadow: 0 0 8px rgba(248,113,113,0.5); }
.job-priority.active { background: var(--amber); box-shadow: 0 0 8px var(--amber-glow); }
.job-priority.complete { background: var(--green); }
.job-info { flex: 1; }
.job-ref { font-size: 13px; font-weight: 600; font-family: 'Outfit', sans-serif; }
.job-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.job-status {
    font-size: 11px; font-weight: 600; padding: 4px 10px;
    border-radius: 100px; white-space: nowrap;
}
.job-status.urgent { background: rgba(248,113,113,0.15); color: var(--red-soft); }
.job-status.dispatched { background: var(--amber-glow); color: var(--amber); }
.job-status.resolved { background: rgba(16,185,129,0.15); color: var(--green); }

/* ── Stats Bar ── */
.stats-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.01);
    padding: 48px 24px;
}
.stats-bar .container {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: 'Outfit', sans-serif; font-size: 44px; font-weight: 800;
    letter-spacing: -2px; color: var(--amber);
}
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ── Section styling ── */
section { padding: 120px 24px; position: relative; }
.section-label {
    font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; color: var(--amber);
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 4vw, 48px); font-weight: 800;
    line-height: 1.1; letter-spacing: -1.5px;
    margin-bottom: 20px;
}
.section-desc {
    font-size: 18px; line-height: 1.7; color: var(--text-secondary);
    max-width: 560px;
}

/* ── Features ── */
.features-header { text-align: center; margin-bottom: 72px; }
.features-header .section-desc { margin: 0 auto; }
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1200px; margin: 0 auto;
}
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 36px; position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover {
    border-color: var(--border-amber);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--amber-glow); border: 1px solid var(--border-amber);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--amber);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 {
    font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700;
    margin-bottom: 12px; letter-spacing: -0.3px;
}
.feature-card p {
    font-size: 15px; line-height: 1.7; color: var(--text-secondary);
}

/* ── How It Works ── */
.how-it-works { background: var(--bg-primary); }
.hiw-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center;
}
.hiw-steps { display: flex; flex-direction: column; gap: 0; }
.hiw-step {
    display: flex; gap: 24px; padding: 32px 0;
    border-bottom: 1px solid var(--border);
}
.hiw-step:last-child { border-bottom: none; }
.hiw-num {
    font-family: 'Outfit', sans-serif; font-size: 48px; font-weight: 900;
    color: rgba(245,158,11,0.12); line-height: 1; flex-shrink: 0;
    width: 56px;
}
.hiw-step h3 {
    font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700;
    margin-bottom: 8px; letter-spacing: -0.3px;
}
.hiw-step p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }

.hiw-visual {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 32px; position: relative;
}
.hiw-visual::after {
    content: ''; position: absolute; inset: -1px; border-radius: 16px;
    background: linear-gradient(135deg, var(--border-amber), transparent, transparent, var(--border-amber));
    z-index: -1;
}
.workflow-item {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 20px; border-radius: 12px;
    margin-bottom: 12px; background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    transition: transform 0.2s;
}
.workflow-item:hover { transform: translateX(4px); }
.workflow-item:last-child { margin-bottom: 0; }
.wf-icon {
    width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.wf-icon.call { background: rgba(59,130,246,0.15); color: var(--blue); }
.wf-icon.dispatch { background: var(--amber-glow); color: var(--amber); }
.wf-icon.update { background: rgba(16,185,129,0.15); color: var(--green); }
.wf-icon.close { background: rgba(148,163,184,0.1); color: var(--text-secondary); }
.wf-icon svg { width: 20px; height: 20px; }
.wf-text h4 { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 600; }
.wf-text p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.wf-arrow { text-align: center; padding: 4px 0; color: var(--text-muted); }
.wf-arrow svg { width: 16px; height: 16px; opacity: 0.3; }

/* ── Pricing ── */
.pricing-header { text-align: center; margin-bottom: 64px; }
.pricing-header .section-desc { margin: 0 auto; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1000px; margin: 0 auto;
}
.price-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 40px 32px; position: relative;
    transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
    border-color: var(--amber);
    box-shadow: 0 0 40px var(--amber-glow), 0 20px 60px rgba(0,0,0,0.3);
}
.price-card.featured::before {
    content: 'Most Popular';
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--amber), #e08a00);
    color: var(--bg-deep); font-size: 12px; font-weight: 700;
    font-family: 'Outfit', sans-serif;
    padding: 4px 16px; border-radius: 100px;
}
.price-tier {
    font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600;
    color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase;
    letter-spacing: 1px;
}
.price-amount {
    font-family: 'Outfit', sans-serif; font-size: 52px; font-weight: 800;
    letter-spacing: -2px; margin-bottom: 4px;
}
.price-amount span { font-size: 18px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.featured .price-amount { color: var(--amber); }
.price-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.5; }
.price-features { list-style: none; margin-bottom: 36px; }
.price-features li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: var(--text-secondary);
    padding: 8px 0; border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }
.price-features li svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.price-btn {
    display: block; text-align: center; width: 100%;
    padding: 14px; border-radius: 10px; font-size: 15px; font-weight: 600;
    font-family: 'Outfit', sans-serif; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer; border: none;
}
.price-btn.primary {
    background: linear-gradient(135deg, var(--amber), #e08a00);
    color: var(--bg-deep);
}
.price-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--amber-glow-strong);
}
.price-btn.outline {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--border);
}
.price-btn.outline:hover {
    border-color: var(--text-muted); background: rgba(255,255,255,0.02);
    transform: translateY(-2px);
}

/* ── Add-ons strip ── */
.addons-strip { max-width: 1000px; margin: 32px auto 0; }
.addons-strip-desc {
    text-align: center; font-size: 13px; color: var(--text-muted);
    margin-bottom: 16px;
}
.addons-strip-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.addon-card {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; padding: 20px 28px;
}
.addon-card-name {
    font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 15px;
}
.addon-card-price {
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 18px;
    color: var(--amber);
}
.addon-card-price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }

/* ── Signup modal ── */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(6, 10, 20, 0.75); backdrop-filter: blur(6px);
    align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
    width: 100%; max-width: 760px; max-height: 90vh; overflow-y: auto;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 40px 44px; position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    /* Styled scrollbar for the rare case content DOES overflow (small viewports) —
       desktop content is sized to fit without ever needing it. */
    scrollbar-width: thin; scrollbar-color: var(--bg-elevated) transparent;
}
.modal-box::-webkit-scrollbar { width: 8px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 999px; }
.modal-box::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
.modal-close {
    position: absolute; top: 18px; right: 18px; background: none; border: none;
    color: var(--text-muted); cursor: pointer; padding: 8px; line-height: 0;
    border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.modal-close svg { width: 20px; height: 20px; }
.modal-title {
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 22px;
    margin-bottom: 22px; padding-right: 32px;
}
.modal-error {
    padding: 12px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 20px;
    background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2);
    color: var(--red-soft);
}
.modal-plans { display: flex; gap: 10px; margin-bottom: 26px; }
.plan-pill {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: var(--bg-primary); border: 1px solid var(--border); border-radius: 10px;
    padding: 12px 8px; font-family: 'DM Sans', sans-serif; font-size: 12px;
    font-weight: 600; color: var(--text-secondary); cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.plan-pill span { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; color: var(--text-primary); }
.plan-pill.active {
    border-color: var(--amber); color: var(--amber);
    background: var(--amber-glow);
}
.plan-pill.active span { color: var(--amber); }

/* Two-column body: add-ons summary sidebar (left) + form fields (right). Collapses
   to a single stacked column on mobile (see @media 768px below). */
.modal-body { display: grid; grid-template-columns: minmax(200px, 240px) 1fr; gap: 32px; align-items: start; }

.modal-summary {
    background: var(--bg-primary); border: 1px solid var(--border); border-radius: 12px;
    padding: 20px;
}
.modal-summary-label {
    font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted);
    margin-bottom: 14px;
}
.addon-check {
    display: flex; align-items: center; gap: 10px; font-size: 13px;
    color: var(--text-secondary); padding: 12px 0; cursor: pointer;
    border-bottom: 1px solid var(--border);
}
.addon-check:last-child { border-bottom: none; }
.addon-check .ao-name { font-weight: 600; color: var(--text-primary); }
.addon-check .ao-price { margin-left: auto; color: var(--text-muted); white-space: nowrap; font-size: 12px; }
.modal-total {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border);
    padding-top: 14px; margin-top: 12px;
}
.modal-total strong {
    font-family: 'Outfit', sans-serif; font-size: 18px; color: var(--amber); font-weight: 700;
}

/* On-brand toggle switch, replaces the plain addon checkboxes. The real <input> stays
   in the DOM (opacity 0, not display:none) so it's still focusable/keyboard-operable
   and the wrapping <label> still toggles it natively. */
.toggle-switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: none; }
.toggle-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 2; }
.toggle-switch .track {
    position: absolute; inset: 0; background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: 999px; transition: background 0.2s, border-color 0.2s;
}
.toggle-switch .knob {
    position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--text-muted); transition: transform 0.2s, background 0.2s;
}
.toggle-switch input:checked ~ .track { background: var(--amber-glow-strong); border-color: var(--amber); }
.toggle-switch input:checked ~ .knob { transform: translateX(18px); background: var(--amber); }
.toggle-switch input:focus-visible ~ .track { outline: 2px solid var(--amber); outline-offset: 2px; }

.modal-box .form-group { margin-bottom: 20px; }
.modal-box .form-row { display: flex; gap: 14px; }
.modal-box .form-row .form-group { flex: 1; }
.modal-box label {
    display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary);
    margin-bottom: 7px; font-family: 'Outfit', sans-serif;
}
.modal-box input[type="text"], .modal-box input[type="email"], .modal-box input[type="password"] {
    width: 100%; padding: 13px 14px; border-radius: 10px; background: var(--bg-primary);
    border: 1px solid var(--border); color: var(--text-primary); font-size: 14px;
    font-family: 'DM Sans', sans-serif; transition: border-color 0.2s;
}
.modal-box input:focus { outline: none; border-color: var(--amber); }
.field-hint { font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.modal-hp { position: absolute; left: -9999px; top: -9999px; }
.modal-submit {
    display: block; width: 100%; text-align: center; padding: 14px; border: none;
    border-radius: 10px; font-size: 15px; font-weight: 600; font-family: 'Outfit', sans-serif;
    cursor: pointer; background: linear-gradient(135deg, var(--amber), #e08a00);
    color: var(--bg-deep); transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    margin-top: 6px;
}
.modal-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 24px var(--amber-glow-strong); }
.modal-submit:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.modal-trial-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 16px; line-height: 1.5; }

/* ── Testimonials ── */
.testimonials { background: var(--bg-primary); }
.testimonials-header { text-align: center; margin-bottom: 64px; }
.testimonials-header .section-desc { margin: 0 auto; }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1200px; margin: 0 auto;
}
.testimonial-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 32px;
}
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 20px; color: var(--amber); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-quote {
    font-size: 15px; line-height: 1.75; color: var(--text-secondary);
    margin-bottom: 24px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--amber-glow); border: 1px solid var(--border-amber);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px;
    color: var(--amber);
}
.testimonial-name { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* ── CTA ── */
.cta {
    text-align: center; padding: 120px 24px;
    position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, var(--amber-glow) 0%, transparent 60%);
    pointer-events: none;
}
.cta .section-title { margin-bottom: 16px; }
.cta .section-desc { margin: 0 auto 40px; text-align: center; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border);
    padding: 64px 24px 40px;
    background: var(--bg-deep);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    max-width: 1200px; margin: 0 auto;
    padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-about p {
    font-size: 14px; line-height: 1.7; color: var(--text-muted);
    margin-top: 16px; max-width: 300px;
}
.footer-col h4 {
    font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted);
    margin-bottom: 20px;
}
.footer-col a {
    display: block; color: var(--text-secondary); text-decoration: none;
    font-size: 14px; padding: 6px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }
.hero-trust {
    margin-top: 28px; font-size: 14px; line-height: 1.6;
    color: var(--text-muted); max-width: 480px;
}
.hero-trust a { color: var(--text-secondary); font-weight: 600; text-decoration: none; }
.hero-trust a:hover { color: var(--amber); }
.footer-tns { display: inline-block; margin-top: 18px; }
.footer-tns img {
    height: 34px; display: block;
    background: #fff; padding: 6px 10px; border-radius: 8px;
}

/* ── Animations ── */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Mobile Menu ── */
.mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(6, 10, 20, 0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px; z-index: 99;
    flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    display: block; color: var(--text-secondary); text-decoration: none;
    font-size: 16px; font-weight: 500; padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--text-primary); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 560px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hiw-layout { grid-template-columns: 1fr; gap: 48px; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid .price-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; width: 100%; }
    .addons-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero { padding: 120px 24px 80px; }
    section { padding: 80px 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pricing-grid .price-card:last-child { max-width: none; }
    .addons-strip-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .modal-overlay { padding: 0; align-items: flex-end; }
    .modal-box { max-width: none; width: 100%; max-height: 94vh; border-radius: 20px 20px 0 0; padding: 28px 20px 24px; }
    .modal-plans { flex-wrap: wrap; }
    .modal-body { grid-template-columns: 1fr; gap: 20px; }
    .modal-summary { padding: 16px; }
    .modal-box .form-row { flex-direction: column; gap: 0; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { max-width: none; }
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-number { font-size: 36px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .dash-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   MULTI-PAGE ADDITIONS (Task 4)
   ============================================================ */

/* ── Dropdown navigation (CSS-only hover) ── */
.nav-links li { position: relative; list-style: none; }
.nav-links a.active,
.nav-links .dropdown-trigger.active { color: var(--text-primary); }
.dropdown-trigger {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--text-secondary); font-size: 14px; font-weight: 500;
    letter-spacing: 0.01em; cursor: pointer; background: none; border: none;
    font-family: inherit; transition: color 0.2s; padding: 0;
}
.dropdown-trigger svg { width: 12px; height: 12px; transition: transform 0.25s; }
.nav-links li.has-dropdown:hover .dropdown-trigger { color: var(--text-primary); }
.nav-links li.has-dropdown:hover .dropdown-trigger svg { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 250px; padding: 8px;
    background: rgba(6, 10, 20, 0.97); backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.45);
    opacity: 0; visibility: hidden; z-index: 101;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
/* Invisible bridge so the pointer can travel from trigger to menu without dropping hover */
.dropdown-menu::before {
    content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.nav-links li.has-dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px);
}
.dropdown-menu a {
    display: block; padding: 10px 14px; border-radius: 8px;
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover { background: rgba(255,255,255,0.04); color: var(--amber); }

/* Mobile menu grouping */
.mobile-menu .mm-label {
    font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted);
    padding: 14px 0 4px; border-bottom: none;
}
.mobile-menu a.mm-sub { padding-left: 14px; font-size: 15px; }

/* ── "Learn more" / section links ── */
.feature-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
    color: var(--amber); font-family: 'Outfit', sans-serif; font-weight: 600;
    font-size: 14px; text-decoration: none; transition: gap 0.2s;
}
.feature-link:hover { gap: 11px; }
.feature-link svg { width: 15px; height: 15px; }
.section-more-wrap { text-align: center; margin-top: 40px; }
.section-more {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--amber); font-family: 'Outfit', sans-serif; font-weight: 600;
    font-size: 15px; text-decoration: none; transition: gap 0.2s;
}
.section-more:hover { gap: 13px; }
.section-more svg { width: 16px; height: 16px; }
.hiw-more { margin-top: 32px; }

/* ── "Who it's for" band ── */
.who-for { background: var(--bg-primary); }
.who-header { text-align: center; margin-bottom: 56px; }
.who-header .section-desc { margin: 0 auto; }
.who-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    max-width: 1000px; margin: 0 auto;
}
.who-card {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; padding: 24px 26px;
    text-decoration: none; color: var(--text-primary);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.who-card:hover {
    border-color: var(--border-amber); transform: translateY(-3px);
    box-shadow: 0 12px 34px rgba(0,0,0,0.28);
}
.who-card.featured { border-color: var(--border-amber); grid-column: span 1; }
.who-card h3 {
    font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 700;
    margin-bottom: 5px; letter-spacing: -0.3px;
}
.who-card p { font-size: 13px; line-height: 1.55; color: var(--text-secondary); }
.who-arrow {
    flex-shrink: 0; color: var(--amber);
    transition: transform 0.25s;
}
.who-card:hover .who-arrow { transform: translateX(4px); }
.who-arrow svg { width: 20px; height: 20px; display: block; }
@media (max-width: 1024px) {
    .who-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .who-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ── Interior page scaffolding (news, articles, feature/industry pages) ── */
.page-main { padding-top: 120px; padding-bottom: 40px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* Interior pages: text column and card grids share the same centred 1000px column
   so their edges align within the 1200px wrap. */
.prose { max-width: 1000px; margin-left: auto; margin-right: auto; }
.page-main .features-grid { max-width: 1000px; margin-left: auto; margin-right: auto; }
.prose h1 {
    font-family: 'Outfit', sans-serif; font-size: clamp(32px, 4vw, 48px);
    font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.prose .lede { font-size: 19px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 24px; }
.prose h2 {
    font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 700;
    letter-spacing: -0.5px; margin: 40px 0 14px; color: var(--text-primary);
}
.prose h3 {
    font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700;
    margin: 28px 0 10px; color: var(--text-primary);
}
.prose p { font-size: 16px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--text-secondary); }
.prose li { margin-bottom: 8px; line-height: 1.7; }
.prose a { color: var(--amber); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
/* buttons inside prose keep their own text colour (.prose a would paint them amber-on-amber) */
.prose a.btn-primary { color: var(--bg-deep); text-decoration: none; }
.prose a.btn-secondary { color: var(--text-primary); text-decoration: none; }

/* ── News grid (Callout360 tokens; ported from RingSorted) ── */
.news-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px; margin-top: 32px;
}
.news-card {
    display: flex; flex-direction: column;
    border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
    background: var(--bg-card); text-decoration: none; color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.news-card:hover {
    transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border-color: var(--border-amber);
}
.news-card .thumb { aspect-ratio: 3/2; background: var(--bg-elevated) center/cover no-repeat; }
.news-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.news-card time { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.news-card h2 { font-family: 'Outfit', sans-serif; font-size: 18px; line-height: 1.3; font-weight: 700; }
.news-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.news-empty { margin-top: 32px; color: var(--text-muted); }

/* ── Article page ── */
.article-hero { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin: 24px 0 16px; }
.article-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.article-body { font-size: 16px; line-height: 1.75; color: var(--text-secondary); }
.article-body h2 { font-family: 'Outfit', sans-serif; color: var(--text-primary); margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul { margin: 0 0 18px 22px; }
.back-news {
    display: inline-block; margin-top: 40px; color: var(--amber);
    text-decoration: none; font-weight: 600; font-family: 'Outfit', sans-serif;
}
.back-news:hover { text-decoration: underline; }

/* ============================================================
   CONTENT PAGES (Task 6): how-it-works, pricing, about, privacy, terms
   FAQ accordions, VAT/plan notes, closing CTA band on interior pages
   ============================================================ */

/* Interior-page CTA band — reuses the .cta look without the homepage's full
   section padding, so it sits neatly at the foot of a prose page. */
.cta-band {
    text-align: center; padding: 96px 24px;
    position: relative; overflow: hidden;
    border-top: 1px solid var(--border); margin-top: 40px;
}
.cta-band::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, var(--amber-glow) 0%, transparent 60%);
    pointer-events: none;
}
.cta-band .cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-band h2 {
    font-family: 'Outfit', sans-serif; font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 14px;
}
.cta-band p { font-size: 17px; line-height: 1.7; color: var(--text-secondary); margin: 0 auto 32px; max-width: 560px; }
.cta-band .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Prices sub-note (e.g. "All prices exclude VAT") */
.price-note {
    text-align: center; font-size: 13px; color: var(--text-muted);
    margin-top: 20px;
}

/* ── FAQ accordions (native <details>/<summary>, no JS) ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border); border-radius: 12px;
    background: var(--bg-card); margin-bottom: 12px; overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border-amber); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 20px 24px;
    font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600;
    color: var(--text-primary); display: flex; align-items: center;
    justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 22px; font-weight: 400; color: var(--amber);
    line-height: 1; flex-shrink: 0; transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer { padding: 0 24px 22px; }
.faq-item .faq-answer p { font-size: 15px; line-height: 1.75; color: var(--text-secondary); margin: 0; }
.faq-item .faq-answer a { color: var(--amber); text-decoration: none; }
.faq-item .faq-answer a:hover { text-decoration: underline; }
.faq-section { max-width: 760px; margin: 72px auto 0; }
.faq-section .faq-head {
    font-family: 'Outfit', sans-serif; font-size: clamp(26px, 3vw, 34px);
    font-weight: 800; letter-spacing: -0.8px; text-align: center; margin-bottom: 32px;
}
