/**
 * SiteDNA Welcome Page Styles
 */

:root {
    --bg: #f7f3ef;
    --panel: #ffffff;
    --ink: #1e1b16;
    --muted: #6d6a66;
    --accent: #e6592b;
    --accent-soft: rgba(230, 89, 43, 0.12);
    --ring: rgba(30, 27, 22, 0.12);
    --ring-strong: rgba(30, 27, 22, 0.18);
    --shadow: 0 22px 45px rgba(30, 27, 22, 0.12);
    --shadow-sm: 0 8px 24px rgba(30, 27, 22, 0.06);

    --r-10: 10px;
    --r-14: 14px;
    --r-18: 18px;
    --r-22: 22px;
}

* { box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }
body { height: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

h1, h2, h3 {
    font-family: 'Fraunces', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }

/* Layout */
.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.page:last-of-type {
    padding-bottom: 0px;
}

/* Topbar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 0 24px;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.topbar.scrolled {
    background: rgba(247, 243, 239, 0.55);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(30,27,22,0.06);
    box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
}

.topbar-spacer {
    height: 64px;
}

.topbar-inner {
    max-width: 1120px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0px 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.brand-icon {
    height: 30px;
    color: var(--accent);
    flex-shrink: 0;
}

nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

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

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 25;
    margin-left: auto;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-line:nth-child(1) {
    transform: translateY(-6px);
}

.hamburger-line:nth-child(3) {
    transform: translateY(6px);
}

/* Hamburger animation to X */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-2px) rotate(-45deg);
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: rgba(247, 243, 239, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translate3d(0, -20px, 0);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-link {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 10px;
    transition: background 0.2s;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: rgba(30,27,22,0.04);
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(30,27,22,0.08);
    margin: 8px 0;
}

.mobile-menu-cta {
    width: 100%;
    margin-top: 8px;
}

/* Mobile Bottom CTA Banner */
.mobile-bottom-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    background: rgba(247, 243, 239, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(30,27,22,0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.mobile-bottom-cta.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-bottom-btn {
    width: 100%;
}

/* Buttons */
.pill {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--ring);
    background: rgba(255,255,255,0.7);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    transition: border-color 0.2s, background 0.2s;
}

.pill:hover {
    border-color: var(--ring-strong);
    background: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--r-10);
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    line-height: 1;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 28px rgba(230, 89, 43, 0.28);
}

.btn-primary:hover:not(:disabled) { transform: translateY(-2px); }

.btn-ghost {
    background: #fff;
    border-color: var(--ring);
}

.btn-ghost:hover:not(:disabled) {
    border-color: var(--ring-strong);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    overflow: visible;
    padding-bottom: 0px;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -64px;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(230, 89, 43, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 90% 15%, rgba(0, 120, 160, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 10% 15%, rgba(0, 120, 160, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 40% 45% at 85% 25%, rgba(230, 89, 43, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse 40% 45% at 15% 25%, rgba(230, 89, 43, 0.10) 0%, transparent 50%),
        linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image:
        linear-gradient(rgba(30, 27, 22, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 27, 22, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.hero {
    position: relative;
    z-index: 1;
    padding: 72px 0 64px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

h1 {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.1;
    margin: 24px auto 20px;
    max-width: 720px;
}

.lead {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.hero .lead {
    max-width: 540px;
    margin: 8px auto 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 36px;
    font-size: 14px;
    color: var(--muted);
}

.hero-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-stats .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: dot-pulse 3s ease-in-out infinite;
}

.hero-stats span:nth-child(2) .dot {
    animation-delay: 0.3s;
}

.hero-stats span:nth-child(3) .dot {
    animation-delay: 0.6s;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(0.9); }
}

/* Scan Panel */
.scan-panel {
    max-width: 680px;
    margin: 48px auto 0;
    background: var(--panel);
    border: 1px solid rgba(30,27,22,0.08);
    border-radius: var(--r-22);
    padding: 32px;
    box-shadow: var(--shadow);
}

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

input[type="url"] {
    flex: 1;
    height: 52px;
    padding: 0 20px;
    border-radius: 6px;
    border: 1px solid rgba(30,27,22,0.12);
    background: #faf8f6;
    color: var(--ink);
    font-size: 15px;
    line-height: 52px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
}

input[type="url"]::placeholder { color: #99918a; }

input[type="url"]:focus {
    border-color: rgba(230, 89, 43, 0.5);
    box-shadow: 0 0 0 3px rgba(230, 89, 43, 0.12);
    background: #fff;
}

.scan-hints {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--muted);
}

/* Status & Results */
.status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-top: 16px;
    border-radius: 12px;
    background: #fff8f5;
    border: 1px solid rgba(230, 89, 43, 0.15);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(230, 89, 43, 0.15);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.error {
    display: none;
    margin-top: 12px;
    color: #c03d1c;
    font-weight: 600;
    font-size: 14px;
}

.results-card {
    display: none;
    margin-top: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fff8f5, #fff);
    border: 1px solid rgba(230, 89, 43, 0.2);
    border-radius: 16px;
    text-align: left;
}

.results-card.show {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.results-header h4 {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-header .check-circle {
    width: 24px;
    height: 24px;
    background: #22a06b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-header .check-circle svg {
    width: 14px;
    height: 14px;
    color: #fff;
}

.results-count {
    font-size: 14px;
    color: var(--muted);
}

.results-count strong {
    color: var(--accent);
    font-size: 20px;
}

.results-actions {
    display: flex;
    gap: 10px;
}

.results-actions .btn {
    flex: 1;
}

/* Sections */
.section {
    padding-top: 80px;
}

.section:first-child {
    padding-top: 32px;
}

.how-it-works {
    background: linear-gradient(135deg, rgba(230, 89, 43, 0.04), rgba(0, 120, 160, 0.03));
    border-top: 1px solid rgba(30, 27, 22, 0.04);
    border-bottom: 1px solid rgba(30, 27, 22, 0.04);
    padding: 32px 24px 48px;
}

.how-it-works-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.testimonials-section {
    background: linear-gradient(135deg, rgba(230, 89, 43, 0.04), rgba(0, 120, 160, 0.03));
    border-top: 1px solid rgba(30, 27, 22, 0.04);
    border-bottom: 1px solid rgba(30, 27, 22, 0.04);
    padding: 80px 24px;
}

.testimonials-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* How It Works */
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step .lead {
    font-size: 15px;
}

.step-arrow {
    flex-shrink: 0;
    color: var(--muted);
    opacity: 0.4;
}

.step-arrow svg {
    width: 32px;
    height: 32px;
}

/* Report Preview */
#report-preview {
    padding-bottom: 80px;
}

.report-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.report-mockup {
    background: #fff;
    border: 1px solid rgba(30, 27, 22, 0.08);
    border-radius: var(--r-18);
    padding: 24px;
    box-shadow: var(--shadow);
}

.report-header-mock {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(30, 27, 22, 0.06);
    margin-bottom: 20px;
}

.report-logo-mock {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #ff7849);
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-logo-mock svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.report-title-mock {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.report-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.report-site {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 600;
}

.report-score-mock {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: #faf8f6;
    border-radius: 12px;
    margin-bottom: 20px;
}

.score-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff7849);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.score-value {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.score-breakdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    flex: 1;
}

.score-item {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-item span {
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.score-item.critical span { background: #fee2e2; color: #dc2626; }
.score-item.serious span { background: #ffedd5; color: #ea580c; }
.score-item.moderate span { background: #fef3c7; color: #d97706; }
.score-item.minor span { background: #e0f2fe; color: #0284c7; }

.report-issues-mock {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.issue-mock {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #faf8f6;
    border-radius: 8px;
}

.issue-severity {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.issue-severity.critical { background: #dc2626; }
.issue-severity.serious { background: #ea580c; }
.issue-severity.moderate { background: #d97706; }

.issue-content {
    flex: 1;
}

.issue-title-mock {
    height: 12px;
    width: 70%;
    background: linear-gradient(90deg, rgba(30, 27, 22, 0.08) 25%, rgba(30, 27, 22, 0.16) 50%, rgba(30, 27, 22, 0.08) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 8px;
    animation: shimmer 2.5s infinite ease-in-out;
}

.issue-desc-mock {
    height: 8px;
    width: 90%;
    background: linear-gradient(90deg, rgba(30, 27, 22, 0.04) 25%, rgba(30, 27, 22, 0.10) 50%, rgba(30, 27, 22, 0.04) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: shimmer 2.5s infinite ease-in-out;
    animation-delay: 0.15s;
}

.report-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.report-feature {
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(30, 27, 22, 0.06);
    border-radius: var(--r-14);
}

.report-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.report-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.report-feature h4 {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
}

.report-feature p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--r-18);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(30, 27, 22, 0.06);
    min-width: 640px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(30, 27, 22, 0.06);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table thead th {
    background: #faf8f6;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}

.comparison-table th.highlight {
    background: var(--accent);
    color: #fff;
}

.comparison-table td.highlight {
    background: rgba(230, 89, 43, 0.04);
}

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

.comparison-table svg {
    width: 20px;
    height: 20px;
}

.comparison-table svg.check {
    color: #22a06b;
}

.comparison-table svg.x {
    color: #ccc;
}

.comparison-table td.highlight svg.check {
    color: var(--accent);
}

.comparison-logo {
    height: 24px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, rgba(230, 89, 43, 0.04), rgba(0, 120, 160, 0.03));
    border-top: 1px solid rgba(30, 27, 22, 0.04);
    border-bottom: 1px solid rgba(30, 27, 22, 0.04);
    padding: 64px 24px;
}

.stats-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 64px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}

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

.testimonial {
    background: #fff;
    border: 1px solid rgba(30, 27, 22, 0.06);
    border-radius: var(--r-18);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0 0 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-name {
    font-weight: 600;
    font-size: 14px;
}

.testimonial-role {
    font-size: 13px;
    color: var(--muted);
}

h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 12px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid rgba(30,27,22,0.06);
    border-radius: var(--r-18);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card .lead {
    font-size: 15px;
    line-height: 1.6;
}

/* Pricing */
#pricing {
    padding-bottom: 80px;
}

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

.price-card {
    background: #fff;
    border: 1px solid rgba(30,27,22,0.06);
    border-radius: var(--r-18);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow), 0 0 0 4px rgba(230, 89, 43, 0.08);
    transform: scale(1.02);
}

.price-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.price-tier {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 8px;
}

.price-card.featured .price-tier {
    color: var(--accent);
}

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

.price-amount .currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--muted);
}

.price-amount .value {
    font-size: 48px;
    font-weight: 800;
    font-family: 'Fraunces', serif;
    letter-spacing: -0.02em;
}

.price-amount .period {
    font-size: 15px;
    color: var(--muted);
    margin-left: 2px;
}

.price-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 42px;
}

.price-features {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.price-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.price-feature svg {
    width: 18px;
    height: 18px;
    color: #22a06b;
    flex-shrink: 0;
    margin-top: 1px;
}

.price-feature.disabled {
    color: var(--muted);
}

.price-feature.disabled svg {
    color: #ccc;
}

.price-feature.includes-label {
    font-weight: 500;
    color: var(--ink);
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(30,27,22,0.1);
}

.price-card .btn {
    width: 100%;
}

/* CTA Banner */
.cta-banner {
    margin-top: 96px;
    padding: 48px;
    border-radius: var(--r-22);
    background: linear-gradient(135deg, rgba(230, 89, 43, 0.08), rgba(0, 120, 160, 0.06));
    border: 1px solid rgba(30,27,22,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-banner h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* FAQ */
.faq-grid {
    display: grid;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

details {
    background: #fff;
    border: 1px solid rgba(30,27,22,0.06);
    border-radius: var(--r-14);
    overflow: hidden;
}

details summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--muted);
    transition: transform 0.2s;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details .faq-body {
    padding: 0 24px 20px;
}

details .faq-body .lead {
    font-size: 15px;
}

/* Footer */
footer {
    margin-top: 96px;
    padding-top: 32px;
    padding-bottom: 32px;
    border-top: 1px solid rgba(30,27,22,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

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

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30, 27, 22, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 24px;
}

.modal {
    background: #fff;
    border-radius: var(--r-18);
    padding: 28px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modal h3 {
    margin: 16px 0 8px;
    font-size: 22px;
}

.modal-features {
    margin: 20px 0;
    padding: 16px;
    background: #faf8f6;
    border-radius: 12px;
    display: grid;
    gap: 10px;
    font-size: 14px;
}

.modal-features div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-features svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.modal-actions .btn {
    flex: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .steps-grid {
        flex-direction: column;
        gap: 32px;
    }

    .step {
        max-width: 100%;
    }

    .step-arrow {
        display: none;
    }

    .stats-inner {
        flex-wrap: wrap;
        gap: 32px 48px;
    }

    .stat {
        flex: 0 0 calc(50% - 24px);
    }

    .price-card.featured {
        transform: none;
        order: -1;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
    }

    .report-preview {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .report-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .topbar {
        position: fixed;
    }

    .topbar.menu-open {
        background: rgba(247, 243, 239, 0.98);
        backdrop-filter: blur(16px);
    }

    .topbar-inner {
        height: 64px;
        padding: 0;
        flex-wrap: nowrap;
    }

    nav { flex: 1; }
    .nav-links { display: none; }
    .nav-actions { display: none; }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Show mobile menu dropdown */
    .mobile-menu {
        display: flex;
    }

    /* Show mobile bottom CTA for guests */
    .mobile-bottom-cta {
        display: block;
    }

    .hero { padding-top: 48px; }
    .hero-stats { display: none; }

    .input-row { flex-direction: column; gap: 10px; }
    .input-row input[type="url"] {
        width: 100%;
        min-height: 48px;
        height: 48px;
        line-height: normal;
        padding: 12px 16px;
        font-size: 16px; /* Prevents iOS zoom on focus */
        box-sizing: border-box;
        -webkit-appearance: none;
        appearance: none;
    }
    .input-row .btn {
        width: 100%;
        justify-content: center;
    }
    .scan-hints { flex-direction: column; gap: 8px; }

    .section { padding-top: 64px; }

    .stats-banner { display: none; }

    .stat-value {
        font-size: 28px;
    }

    .cta-banner { padding: 32px 24px; }

    .report-score-mock {
        flex-direction: column;
        text-align: center;
    }

    .score-breakdown {
        width: 100%;
    }

    .comparison-table-wrapper {
        margin: 0 -24px;
        padding: 0 24px;
    }

    /* Testimonials carousel on mobile */
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 16px;
        margin: 0 -24px;
        padding-left: 24px;
        padding-right: 24px;
        -webkit-overflow-scrolling: touch;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    /* Footer stacked on mobile */
    footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding-bottom: 100px; /* Space for mobile bottom CTA */
    }

    .footer-links {
        justify-content: center;
    }
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--ink);
    color: #fff;
    padding: 16px 24px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-content {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent-content p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent .btn-sm {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

.cookie-consent .btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-consent .btn-ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.cookie-consent .btn-primary {
    background: #fff;
    color: var(--ink);
}

.cookie-consent .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
    .cookie-consent {
        padding: 16px;
    }

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-consent-content p {
        font-size: 0.8125rem;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
}
