/* ======================================================
   ppcmanager.pro — Brand Refresh
   Palette: Midnight #122C4F · Pearl Perfect #FBF9E4
            Ocean #5B88B2 · Noir #000000
   Typography: Inter + DM Sans
   Mobile-first. Performance-optimised.
   ====================================================== */

/* ── 1. DESIGN TOKENS ──────────────────────────────── */
:root {
    /* Brand palette */
    --midnight: #122C4F;
    --midnight-dark: #0b1e36;
    --midnight-mid: #1a3d6b;
    --ocean: #5B88B2;
    --ocean-light: #7aa8cc;
    --ocean-pale: #d6e6f2;
    --pearl: #FBF9E4;
    --pearl-dark: #f0eccc;
    --noir: #000000;

    /* Semantic aliases */
    --color-bg: var(--pearl);
    --color-bg-alt: #f4f2d8;
    --color-bg-dark: var(--midnight);
    --color-bg-darkest: var(--midnight-dark);
    --color-text: var(--midnight);
    --color-text-muted: #4a6080;
    --color-text-light: rgba(255, 255, 255, 0.85);
    --color-text-faint: rgba(255, 255, 255, 0.45);
    --color-accent: var(--ocean);
    --color-accent-dark: #3d6a94;
    --color-border: rgba(18, 44, 79, 0.12);
    --color-border-dark: rgba(255, 255, 255, 0.10);

    /* Neutrals (kept for card surfaces) */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;

    /* Typography */
    --font-base: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'DM Sans', 'Inter', sans-serif;

    /* Type scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Spacing */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Radius */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 28px;
    --r-full: 9999px;

    /* Shadows */
    --sh-sm: 0 1px 3px rgba(18, 44, 79, 0.08), 0 1px 2px rgba(18, 44, 79, 0.05);
    --sh-md: 0 4px 14px rgba(18, 44, 79, 0.10), 0 2px 6px rgba(18, 44, 79, 0.06);
    --sh-lg: 0 10px 40px rgba(18, 44, 79, 0.12), 0 4px 14px rgba(18, 44, 79, 0.07);
    --sh-btn: 0 4px 14px rgba(91, 136, 178, 0.35), 0 2px 6px rgba(91, 136, 178, 0.18);

    --transition: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --max-w: 1120px;

    /* Z-index scale */
    --z-base: 0;
    --z-raised: 10;
    --z-overlay: 100;
    --z-nav: 200;
    --z-modal: 300;
    --z-skip: 9999;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--ocean);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--midnight);
}

ul,
ol {
    list-style: none;
}

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

/* ── 3. LAYOUT ──────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--sp-5);
}

@media (min-width: 768px) {
    .container {
        padding-inline: var(--sp-8);
    }
}

/* ── 4. SHARED ELEMENTS ──────────────────────────────── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ocean);
    margin-bottom: var(--sp-5);
}

.section-tag--light {
    color: var(--ocean-light);
}

.section-tag--center {
    justify-content: center;
    width: 100%;
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ocean);
    display: inline-block;
    flex-shrink: 0;
}

.tag-dot--light {
    background: var(--ocean-light);
}

.section-h2 {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: 600;
    color: var(--midnight);
    line-height: 1.18;
    margin-bottom: var(--sp-6);
    text-wrap: balance;
}

.text-muted {
    color: var(--color-text-muted);
    font-weight: 400;
}

/* ── 5. BUTTONS ──────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-8);
    border-radius: var(--r-full);
    font-family: var(--font-base);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    white-space: nowrap;
    position: relative;
}

.btn-primary {
    background: var(--midnight);
    color: var(--pearl);
    box-shadow: var(--sh-btn);
}

.btn-primary:hover {
    color: var(--pearl);
    background: var(--midnight-mid);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(18, 44, 79, 0.30), 0 4px 10px rgba(18, 44, 79, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--sh-btn);
}

.btn-outline {
    background: transparent;
    color: var(--midnight);
    border: 2px solid var(--midnight);
}

.btn-outline:hover {
    background: var(--midnight);
    color: var(--pearl);
    transform: translateY(-2px);
}

.btn-sm {
    padding: var(--sp-2) var(--sp-5);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--sp-5) var(--sp-10);
    font-size: var(--text-lg);
}

.btn-xl {
    padding: var(--sp-5) var(--sp-12);
    font-size: var(--text-lg);
}

@media (max-width: 480px) {
    .btn {
        padding: var(--sp-3) var(--sp-6);
        font-size: var(--text-sm);
    }

    .btn-lg,
    .btn-xl {
        padding: var(--sp-4) var(--sp-6);
        font-size: var(--text-sm);
    }

    .btn-arrow {
        width: 16px;
        height: 16px;
    }
}

.btn-arrow {
    transition: transform var(--transition);
    flex-shrink: 0;
}

.btn:hover .btn-arrow {
    transform: translateX(3px);
}

.cta-micro {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: var(--sp-3);
}

/* ── 6. NAVIGATION ──────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    background: rgba(251, 249, 228, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
    /* safe-area for notched devices */
    padding-top: env(safe-area-inset-top);
}

.nav-container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: var(--sp-4) var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}

@media (min-width: 768px) {
    .nav-container {
        padding-inline: var(--sp-8);
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--midnight);
}

.logo-accent {
    color: var(--ocean);
}

.logo-dot {
    color: var(--color-text-muted);
    font-weight: 400;
}

.nav-links {
    display: none;
    gap: var(--sp-6);
    flex: 1;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
        align-items: center;
    }
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: var(--sp-2) 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.nav-link:hover,
.nav-link--active {
    color: var(--midnight);
    border-bottom-color: var(--ocean);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--ocean-pale);
    border-radius: var(--r-sm);
    cursor: pointer;
    z-index: var(--z-modal);
    transition: background var(--transition);
    margin-left: auto;
}

@media (min-width: 900px) {
    .menu-toggle {
        display: none;
    }
}

.hamburger {
    width: 20px;
    height: 2px;
    background: var(--midnight);
    position: relative;
    transition: background var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--midnight);
    left: 0;
    transition: transform var(--transition), top var(--transition);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

@media (max-width: 899px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100dvh;
        background: var(--pearl);
        padding: var(--sp-24) var(--sp-10) var(--sp-10);
        box-shadow: -10px 0 30px rgba(18, 44, 79, 0.12);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: var(--z-overlay);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: var(--text-lg);
        width: 100%;
        display: block;
        padding: var(--sp-4) 0;
    }
}

.nav-cta {
    margin-left: auto;
    position: relative;
    z-index: var(--z-modal);
}

@media (max-width: 899px) {
    .nav-cta {
        display: none;
    }
}

@media (max-width: 440px) {
    .logo-text {
        font-size: var(--text-base);
    }

    .nav-container {
        padding-inline: var(--sp-4);
        gap: var(--sp-4);
    }
}

/* ── 7. HERO ──────────────────────────────── */
.hero {
    position: relative;
    padding: var(--sp-12) 0 var(--sp-16);
    background: var(--pearl);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: var(--sp-20) 0 var(--sp-24);
    }
}

/* Subtle geometric background — no gradients, just texture */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 44, 79, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 44, 79, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Lighthouse background illustration */
.hero-lighthouse {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background-image: url('images/lighthouse.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: 0.15;
    filter: saturate(0.5) brightness(0.8);
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Desktop: lighthouse on right side, cutting off screen */
@media (min-width: 960px) {
    .hero-lighthouse {
        top: -10%;
        right: -10%;
        width: 70%;
        height: 130%;
        background-position: right center;
        opacity: 0.10;
    }
}

/* Tablet: adjust positioning */
@media (min-width: 768px) and (max-width: 959px) {
    .hero-lighthouse {
        top: -20%;
        right: -5%;
        width: 65%;
        height: 110%;
        background-position: right center;
        opacity: 0.16;
    }
}

/* Mobile: smaller and positioned appropriately */
@media (max-width: 767px) {
    .hero-lighthouse {
        top: -99%;
        right: -30%;
        width: 100%;
        height: 100%;
        background-position: right bottom;
        opacity: 0.12;
    }
}

/* Extra small mobile: even more subtle */
@media (max-width: 480px) {
    .hero-lighthouse {
        top: -95;
        right: -30%;
        width: 110%;
        height: 160%;
        background-position: right bottom;
        opacity: 0.12;
    }
}

.hero-grid {
    display: grid;
    gap: var(--sp-12);
    align-items: center;
    position: relative;
    z-index: var(--z-raised);
}

@media (min-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr 440px;
        gap: var(--sp-16);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    background: var(--white);
    border: 1px solid var(--ocean-pale);
    color: var(--midnight);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    margin-bottom: var(--sp-8);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {

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

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

.hero-h1 {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 5.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--midnight);
    margin-bottom: var(--sp-6);
    text-wrap: balance;
}

.hero-h1 .accent-word {
    color: var(--ocean);
}

.hero-sub {
    font-size: var(--text-base);
    color: var(--midnight);
    margin-bottom: var(--sp-5);
    line-height: 1.6;
    max-width: 100%;
    text-wrap: pretty;
}

@media (min-width: 768px) {
    .hero-sub {
        font-size: var(--text-lg);
        max-width: 540px;
    }
}

.hero-body {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    margin-bottom: var(--sp-8);
    max-width: 100%;
    line-height: 1.75;
    text-wrap: pretty;
}

@media (min-width: 768px) {
    .hero-body {
        max-width: 500px;
    }
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-8);
}

.service-tag {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--ocean-pale);
    color: var(--midnight);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-full);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.service-tag:hover {
    background: var(--midnight);
    color: var(--pearl);
    border-color: var(--midnight);
    transform: translateY(-1px);
}

.hero-cta-row {
    margin-bottom: var(--sp-10);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: var(--white);
    border: 1px solid var(--color-border);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--midnight);
}

.stat-icon {
    font-size: 8px;
    flex-shrink: 0;
}

.stat-icon--green {
    color: #22c55e;
}

.stat-icon--ocean {
    color: var(--ocean);
}

.stat-icon--mid {
    color: var(--midnight);
}

/* Hero Dashboard Card */
.hero-visual {
    animation: heroCardIn 0.7s ease both 0.25s;
}

@keyframes heroCardIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-card {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    box-shadow: var(--sh-lg);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--midnight);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sp-5);
}

.dash-title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--midnight);
}

.dash-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-full);
}

.dash-badge--live {
    background: #dcfce7;
    color: #16a34a;
}

.dash-badge--live::before {
    content: '●';
    font-size: 6px;
    animation: pulse 2s ease-in-out infinite;
}

.dash-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-5);
    border-bottom: 1px solid var(--color-border);
}

@media (max-width: 480px) {
    .dash-metrics {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .dash-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dash-metric {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.dash-metric-val {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--midnight);
    font-variant-numeric: tabular-nums;
}

.dash-metric-label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    line-height: 1.3;
}

.dash-metric-trend {
    font-size: var(--text-xs);
    font-weight: 600;
    margin-top: var(--sp-1);
    font-variant-numeric: tabular-nums;
}

.dash-metric-trend--up {
    color: #16a34a;
}

.dash-metric-trend--down {
    color: #16a34a;
}

.dash-metric-trend--stable {
    color: var(--ocean);
}

.dash-chart {
    margin-top: var(--sp-3);
}

.chart-bars {
    display: flex;
    gap: var(--sp-2);
    align-items: flex-end;
    height: 80px;
    padding-bottom: var(--sp-6);
    position: relative;
}

.chart-bar {
    flex: 1;
    height: var(--h);
    background: var(--midnight);
    border-radius: var(--r-sm) var(--r-sm) 0 0;
    position: relative;
    opacity: 0.7;
    transition: opacity var(--transition);
    animation: barGrow 0.7s ease both;
}

.chart-bar:hover {
    opacity: 1;
}

@keyframes barGrow {
    from {
        height: 0;
    }

    to {
        height: var(--h);
    }
}

.chart-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--color-text-muted);
}

.chart-caption {
    display: block;
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--sp-4);
}

@media (max-width: 640px) {
    .chart-bars {
        height: 60px;
    }

    .chart-label {
        font-size: 8px;
    }
}

/* ── 8. PROBLEM SECTION ──────────────────────────────── */
.problem {
    padding: var(--sp-20) 0;
    background: var(--white);
    border-top: 1px solid var(--color-border);
}

.problem-grid {
    display: grid;
    gap: var(--sp-6);
}

@media (min-width: 768px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.problem-card {
    background: var(--pearl);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    padding: var(--sp-8);
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.problem-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity var(--transition);
}

.problem-card--1::after {
    background: var(--midnight);
}

.problem-card--2::after {
    background: var(--ocean);
}

.problem-card--3::after {
    background: var(--midnight-mid);
}

.problem-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
    border-color: transparent;
}

.problem-card:hover::after {
    opacity: 1;
}

.pcard-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    margin-bottom: var(--sp-5);
    background: var(--ocean-pale);
    color: var(--midnight);
    transition: background var(--transition);
}

.pcard-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: var(--sp-3);
    line-height: 1.3;
    text-wrap: balance;
}

.pcard-body {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: 1.75;
    text-wrap: pretty;
}

/* ── 9. SOCIAL PROOF ──────────────────────────────── */
.social-proof-bar {
    padding: var(--sp-20) 0;
    background: var(--white);
    border-top: 1px solid var(--color-border);
}

.social-proof-header {
    text-align: center;
    margin-bottom: var(--sp-10);
}

.social-proof-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: var(--sp-2);
    text-wrap: balance;
}

.social-proof-subtitle {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    text-wrap: pretty;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
}

@media (min-width: 560px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.testimonial-block {
    background: var(--pearl);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-block:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
    border-color: transparent;
}

.testimonial-avatar-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--sp-4);
    border: 2px solid var(--ocean-pale);
    background: var(--white);
}

.testimonial-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-stars-small {
    font-size: var(--text-sm);
    color: #fbbf24;
    margin-bottom: var(--sp-3);
    font-weight: 700;
}

.testimonial-quote-small {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: var(--sp-4);
    text-wrap: pretty;
    font-style: italic;
}

.testimonial-identity {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.testimonial-name-small {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--midnight);
    line-height: 1.2;
}

.testimonial-company-small {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── 10. THREE PILLARS ──────────────────────────────── */
.pillars {
    padding: var(--sp-20) 0;
    background: var(--midnight);
    border-top: 1px solid var(--color-border-dark);
}

.pillars .section-tag {
    color: var(--ocean-light);
}

.pillars .section-tag .tag-dot {
    background: var(--ocean-light);
}

.pillars .section-h2 {
    color: var(--pearl);
}

.pillars .section-h2 .text-muted {
    color: rgba(251, 249, 228, 0.5);
}

.pillars-intro {
    font-size: var(--text-lg);
    color: rgba(251, 249, 228, 0.65);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: var(--sp-12);
    text-wrap: pretty;
}

.pillars-grid {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pillar-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-md);
    padding: var(--sp-8);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    position: relative;
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--ocean);
    transform: translateY(-2px);
}

.pillar-badge {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--ocean);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: var(--sp-3);
}

.pillar-card:hover .pillar-badge {
    opacity: 0.45;
}

.pillar-icon {
    font-size: var(--text-3xl);
    margin-bottom: var(--sp-4);
}

.pillar-title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--pearl);
    margin-bottom: var(--sp-3);
    line-height: 1.3;
    text-wrap: balance;
}

.pillar-card p {
    font-size: var(--text-sm);
    color: rgba(251, 249, 228, 0.6);
    line-height: 1.7;
    text-wrap: pretty;
}

.pillar-footer {
    margin-top: var(--sp-5);
    font-size: var(--text-sm);
    color: var(--ocean-light);
    font-style: italic;
    font-weight: 500;
    padding-top: var(--sp-4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── 10. PAIN SECTION ──────────────────────────────── */
.pain {
    padding: var(--sp-20) 0;
    background: var(--white);
    border-top: 1px solid var(--color-border);
}

.pain-grid {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 768px) {
    .pain-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pain-card {
    background: var(--pearl);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    padding: var(--sp-8);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ocean);
    opacity: 0;
    transition: opacity var(--transition);
}

.pain-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
    border-color: transparent;
}

.pain-card:hover::before {
    opacity: 1;
}

.pain-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--ocean);
    opacity: 0.18;
    line-height: 1;
    margin-bottom: var(--sp-4);
}

.pain-card:hover .pain-number {
    opacity: 0.4;
}

.pain-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: var(--sp-3);
    line-height: 1.3;
    text-wrap: balance;
}

.pain-card p {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: 1.65;
    text-wrap: pretty;
}

/* ── 11. ROADMAP / TIMELINE ──────────────────────────────── */
.roadmap {
    padding: var(--sp-20) 0;
    background: var(--pearl);
    border-top: 1px solid var(--color-border);
}

.roadmap-timeline {
    margin-top: var(--sp-10);
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 720px;
}

.roadmap-step {
    display: flex;
    gap: var(--sp-6);
    position: relative;
}

.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 24px;
}

.step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--midnight);
    flex-shrink: 0;
    margin-top: 6px;
    position: relative;
    z-index: var(--z-raised);
}

.step-line {
    width: 2px;
    flex: 1;
    background: var(--ocean-pale);
    min-height: 40px;
}

.step-content {
    padding-bottom: var(--sp-10);
    flex: 1;
}

.step-number {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ocean);
    margin-bottom: var(--sp-2);
}

.step-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: var(--sp-3);
    line-height: 1.3;
    text-wrap: balance;
}

.step-content p {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: 1.75;
    text-wrap: pretty;
}

/* ── 12. PHILOSOPHY / URGENCY ──────────────────────────────── */
.urgency {
    padding: var(--sp-24) 0;
    background: var(--midnight-dark);
    position: relative;
    overflow: hidden;
}

.urgency::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(91, 136, 178, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.urgency-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: var(--z-raised);
}

.urgency-h2 {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
    font-weight: 300;
    color: var(--pearl);
    line-height: 1.35;
    margin-bottom: var(--sp-8);
    text-wrap: balance;
}

.urgency-h2 .accent-word {
    color: var(--ocean-light);
    font-weight: 600;
}

.urgency-body {
    font-size: var(--text-lg);
    color: rgba(251, 249, 228, 0.55);
    line-height: 1.7;
    margin-bottom: var(--sp-10);
    text-wrap: pretty;
}

.features-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-lg);
    padding: var(--sp-8);
    text-align: left;
    max-width: 520px;
    margin: 0 auto;
}

.features-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--pearl);
    margin-bottom: var(--sp-5);
    text-align: center;
}

.features-list {
    display: grid;
    gap: var(--sp-3);
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: var(--text-base);
    color: rgba(251, 249, 228, 0.65);
    line-height: 1.6;
    text-wrap: pretty;
}

.features-list li::before {
    content: '✓';
    color: var(--ocean-light);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── 13. FINAL CTA ──────────────────────────────── */
.final-cta {
    padding: var(--sp-20) 0;
    background: var(--white);
    border-top: 1px solid var(--color-border);
}

.final-cta-card {
    background: var(--pearl);
    border: 1px solid var(--color-border);
    border-radius: var(--r-xl);
    padding: var(--sp-16) var(--sp-12);
    text-align: center;
    box-shadow: var(--sh-lg);
    position: relative;
    overflow: hidden;
}

@media (max-width: 640px) {
    .final-cta-card {
        padding: var(--sp-10) var(--sp-6);
    }
}

.final-cta-h2 {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    font-weight: 600;
    color: var(--midnight);
    line-height: 1.2;
    margin-bottom: var(--sp-5);
    text-wrap: balance;
}

.final-cta-sub {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--sp-10);
    max-width: 520px;
    margin-inline: auto;
    line-height: 1.65;
    text-wrap: pretty;
}

.final-cta-note {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--sp-5);
    display: block;
    font-style: italic;
}

/* ── 14. FAQ ──────────────────────────────── */
.faq {
    padding: var(--sp-20) 0;
    background: var(--pearl);
    border-top: 1px solid var(--color-border);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 760px;
    margin-top: var(--sp-8);
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: var(--ocean-pale);
}

.faq-item summary {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--midnight);
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--ocean);
    font-weight: 300;
    line-height: 1;
    transition: transform var(--transition);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-body {
    padding: 0 1.5rem 1.25rem;
    border-top: 1px solid var(--color-border);
}

.faq-body p {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: 1.75;
    padding-top: 1rem;
    text-wrap: pretty;
}

/* ── 15. FOOTER ──────────────────────────────── */
.site-footer {
    background: var(--midnight-dark);
    padding: var(--sp-12) 0;
    /* safe-area for notched devices */
    padding-bottom: calc(var(--sp-12) + env(safe-area-inset-bottom));
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--sp-8);
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.logo-img--footer {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.9;
}

.logo-text--footer {
    color: rgba(251, 249, 228, 0.9);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-5);
}

.footer-nav a {
    font-size: var(--text-sm);
    color: rgba(251, 249, 228, 0.45);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--pearl);
}

.footer-nav-cta {
    color: var(--ocean-light) !important;
    font-weight: 600;
}

.footer-bottom {
    padding-top: var(--sp-6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: rgba(251, 249, 228, 0.35);
    line-height: 1.6;
}

.footer-regions {
    margin-top: var(--sp-2);
    font-size: var(--text-sm) !important;
    opacity: 0.6;
}

/* ── 16. ACCESSIBILITY ──────────────────────────────── */
:focus-visible {
    outline: 3px solid var(--ocean);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--sp-4);
    background: var(--midnight);
    color: var(--pearl);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: var(--text-sm);
    z-index: var(--z-skip);
    transition: top 0.18s;
}

.skip-link:focus {
    top: var(--sp-4);
    color: var(--pearl);
}

/* ── 17. SCROLL ANIMATIONS ──────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ── 18. REDUCED MOTION / PRINT ──────────────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-visual {
        animation: none;
        opacity: 1;
    }

    .badge-pulse {
        animation: none;
    }
}

@media print {

    .site-header,
    .btn,
    .nav-cta,
    .hero-bg {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}

/* ── 19. SELECTION ──────────────────────────────── */
::selection {
    background: var(--ocean-pale);
    color: var(--midnight);
}

/* ── 20. MOBILE OPTIMIZATIONS ──────────────────────────── */
@media (max-width: 480px) {
    .hero-h1 {
        font-size: clamp(var(--text-2xl), 9vw, var(--text-4xl));
        line-height: 1.1;
    }

    .section-h2 {
        font-size: var(--text-2xl);
    }

    .hero-cta-row {
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}