/* ==========================================
   PRODUCTION-READY B2B PORTFOLIO STYLESHEET
   Refactored: Clean, DRY, Modern, Accessible
   Version: 2.1 (With Audit Fixes)
========================================== */

/* ==========================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
========================================== */
:root {
    /* --- Light Theme --- */
    --cb-bg: #f8fafc;
    --cb-surface: #ffffff;
    --cb-text-main: #0f172a;
    --cb-text-muted: #475569;
    --cb-border: #e2e8f0;
    --cb-nav-bg: rgba(255, 255, 255, 0.85);

    /* Hero */
    --cb-hero-bg: #ffffff;
    --cb-hero-fg: #020617;
    --cb-hero-fg-muted: #475569;
    --cb-hero-blob: transparent; /* No blobs */

    /* Promise Box */
    --cb-promise-bg: #f8fafc;
    --cb-promise-border: #e2e8f0;

    /* Brand Colors (Obsidian, Electric Blue, True Gold) */
    --clr-gold: #f5b800; /* True Gold for CTAs */
    --clr-gold-hover: #e0a800;
    --clr-primary: #0f172a; /* Obsidian/Slate */
    --clr-primary-glow: #3b82f6; /* Electric Blue */
    --cb-yellow: #f5b800;
    --cb-yellow-hover: #e0a800;
    --clr-blue: #3b82f6;
    --clr-blue-dark: #2563eb;
    --clr-upwork: #10b981;
    --clr-whatsapp: #10b981;
    --clr-danger: #ef4444;

    /* Shape */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Semantic surface tokens */
    --cb-card-bg:    #ffffff;
    --cb-section-bg: #f8fafc;
    --cb-text:       #0f172a;

    /* Shadows — Softened, Apple-like */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hard: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-tab-active: inset 0 2px 4px rgba(0, 0, 0, 0.02);

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-spring: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-theme: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* --- Dark Theme Override --- */
body.dark-theme {
    --cb-bg: #030712; /* Obsidian */
    --cb-surface: #0f172a; /* Slate 900 */
    --cb-text-main: #f8fafc;
    --cb-text-muted: #cbd5e1;
    --cb-border: #1e293b;
    --cb-nav-bg: rgba(3, 7, 18, 0.85);

    --cb-hero-bg: #030712;
    --cb-hero-fg: #ffffff;
    --cb-hero-fg-muted: #94a3b8;
    --cb-hero-blob: transparent;

    --cb-promise-bg: #0f172a;
    --cb-promise-border: #1e293b;

    /* Sharp dark mode shadows */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-hard: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.8);
    --shadow-tab-active: inset 0 2px 4px rgba(0, 0, 0, 0.3);

    --cb-card-bg:    #0f172a;
    --cb-section-bg: #030712;
    --cb-text:       #f8fafc;
}

/* ==========================================
   2. RESET & BASE
========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;       /* fallback for older browsers */
    overflow-x: clip;         /* modern: clips without creating a BFC, keeps position:fixed intact */
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background-color: var(--cb-bg);
    color: var(--cb-text-main);
    line-height: 1.6;
    overflow-x: hidden;       /* fallback for older browsers */
    overflow-x: clip;         /* modern: clips without creating a BFC, keeps position:fixed intact */
    width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: var(--transition-theme);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base), transform var(--transition-base);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   SKIP TO CONTENT — WCAG 2.4.1 (Level A)
========================================= */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--clr-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s ease;
    white-space: nowrap;
}
.skip-link:focus {
    top: 0;
    outline: 2px solid var(--clr-gold);
    outline-offset: 2px;
}
body.dark-theme .skip-link {
    background: var(--clr-gold);
    color: #111;
}

/* Accessibility: Visible focus for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--clr-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

body.dark-theme :focus-visible {
    outline-color: var(--clr-gold);
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================
   3. LAYOUT
========================================== */
.container {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 2rem;
}

.container-read {
    max-width: 850px;
    margin-inline: auto;
    padding-inline: 2rem;
}

.section-padding { padding-block: 5rem; }

/* ==========================================
   4. UTILITY CLASSES
========================================== */
.text-primary { color: var(--clr-primary); }
body.dark-theme .text-primary { color: var(--clr-gold); }

.text-success { color: var(--clr-upwork); }
.text-danger  { color: var(--clr-danger); }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1.2rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.5rem; }
.ml-1 { margin-left: 5px; }
.mt-1 { margin-top: 1.2rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.mt-4 { margin-top: 3.5rem; }

.fw-bold      { font-weight: 700; }
.fw-extrabold { font-weight: 800; }

.fs-lg { font-size: 1.8rem; }
.fs-md { font-size: 1.15rem; }
.fs-sm { font-size: 0.95rem; }

.text-center { text-align: center; }

/* ==========================================
   5. TYPOGRAPHY
========================================== */
.text-gradient {
    background: linear-gradient(to right, var(--clr-primary-glow), var(--clr-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.16);
    color: var(--clr-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.78rem;
    padding: 0.3rem 0.95rem;
    border-radius: 50px;
    margin-bottom: 1.1rem;
}
body.dark-theme .section-label {
    background: rgba(245, 184, 0, 0.1);
    border-color: rgba(245, 184, 0, 0.22);
    color: var(--clr-gold);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-inline: auto;
}
.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--cb-text-main);
}

/* ==========================================
   6. BUTTONS
========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1;
    gap: 8px;
    font-family: inherit;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: transform var(--transition-spring), box-shadow var(--transition-spring), background-color var(--transition-base);
}

.btn-lg { padding: 0 28px; font-size: 1rem; }

.btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.hero-cta-group,
.cta-btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Upwork Button */
.btn-upwork {
    background: var(--clr-upwork);
    color: #ffffff;
    box-shadow: 0 4px 0 #0f7a00, 0 10px 20px rgba(20, 168, 0, 0.2);
}
.btn-upwork:hover  { transform: translateY(-3px); box-shadow: 0 7px 0 #0f7a00, 0 15px 25px rgba(20, 168, 0, 0.3); color: #ffffff; }
.btn-upwork:active { transform: translateY(4px); box-shadow: none; }
.btn-upwork.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

/* Upwork Large Standalone Button (no .btn base needed) */
.btn-upwork-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    background: var(--clr-upwork);
    color: #ffffff;
    box-shadow: 0 4px 0 #0f7a00, 0 10px 20px rgba(20, 168, 0, 0.2);
    transition: transform var(--transition-spring), box-shadow var(--transition-spring), color var(--transition-base);
}
.btn-upwork-large:hover  { transform: translateY(-3px); box-shadow: 0 7px 0 #0f7a00, 0 15px 25px rgba(20, 168, 0, 0.3); color: #ffffff; }
.btn-upwork-large:active { transform: translateY(4px); box-shadow: none; }

/* Yellow Button */
.btn-yellow {
    background: var(--cb-yellow);
    color: #111;
    box-shadow: 0 4px 16px rgba(245, 184, 0, 0.25);
    padding: 0.6rem 1.4rem;
    font-weight: 800;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}
.btn-yellow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
}
.btn-yellow:hover::after {
    transform: translate(-50%, -50%) scale(1);
}
.btn-yellow:hover { 
    background: var(--cb-yellow-hover); 
    transform: translateY(-2px) scale(1.02); 
    box-shadow: 0 8px 25px rgba(245, 184, 0, 0.4), 0 0 15px rgba(245, 184, 0, 0.3); 
    color: #000; 
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--cb-text-main);
    border: 2px solid var(--cb-border);
    padding: 0.8rem 1.5rem;
}
.btn-outline:hover { border-color: var(--clr-primary); color: var(--clr-primary); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
body.dark-theme .btn-outline:hover { border-color: var(--clr-gold); color: var(--clr-gold); }

/* Submit Button */
.btn-submit {
    width: 100%;
    background: var(--clr-primary);
    color: #ffffff;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 800;
}
.btn-submit:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 10px 25px rgba(30, 58, 138, 0.5), 0 0 15px rgba(59, 130, 246, 0.4); }
body.dark-theme .btn-submit { background: var(--clr-gold); color: #111; }
body.dark-theme .btn-submit:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 10px 25px rgba(245, 184, 0, 0.4), 0 0 15px rgba(245, 184, 0, 0.3); }

.hero-grid,
.cb-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cb-hero p {
    max-width: 42rem;
}

#hero-heading,
.cb-hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.cb-hero img,
.cb-hero picture img,
.cb-hero .hero-image,
.cb-hero .hero-img,
.cb-hero .hero-media img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ==========================================
   7. ANIMATIONS & MICRO-INTERACTIONS
========================================== */
@keyframes pulse-3d {
    0%   { transform: scale(1) translateY(0);    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.5), 0 0 0 0 rgba(30, 58, 138, 0.45); }
    50%  { transform: scale(1.05) translateY(-5px); box-shadow: 0 15px 30px rgba(30, 58, 138, 0.7), 0 0 0 16px rgba(30, 58, 138, 0); }
    100% { transform: scale(1) translateY(0);    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.5), 0 0 0 0 rgba(30, 58, 138, 0); }
}

@keyframes logo-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes success-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(20, 168, 0, 0.4); }
    70%  { box-shadow: 0 0 0 25px rgba(20, 168, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(20, 168, 0, 0); }
}

.hover-lift {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hard);
    z-index: 10;
}

.icon-pop {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), color var(--transition-base);
}
.trigger-icon:hover .icon-pop,
.icon-pop:hover {
    transform: translateY(-3px) scale(1.12);
    color: var(--clr-primary);
}
body.dark-theme .trigger-icon:hover .icon-pop,
body.dark-theme .icon-pop:hover {
    color: var(--clr-gold);
}

/* ==========================================
   8. WHATSAPP FAB
========================================== */


/* ==========================================
   9. NAVIGATION
========================================== */
.cb-nav {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding-inline: 1.5rem;
    background: var(--cb-nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cb-border);
    transition: background var(--transition-base), border-color var(--transition-base);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: var(--cb-text-main);
    transition: transform var(--transition-base);
}
.logo-wrap:hover { transform: scale(1.02); }

.cb-nav-links {
    display: none;
    position: absolute;
    inset-block-start: 64px;
    inset-inline: 0;
    background: var(--cb-surface);
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--cb-border);
    box-shadow: var(--shadow-hard);
    gap: 0.25rem;
    align-items: stretch;
}
.cb-nav-links.active {
    display: flex;
}
.cb-nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cb-text-muted);
    padding-block: 8px;
    display: block;
    transition: color var(--transition-base), transform var(--transition-spring);
}
.cb-nav-links a:hover,
.cb-nav-links a.active {
    color: var(--clr-primary);
    font-weight: 800;
    transform: scale(1.02);
}
body.dark-theme .cb-nav-links a:hover,
body.dark-theme .cb-nav-links a.active { color: var(--clr-gold); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--cb-surface);
    border: 1px solid var(--cb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cb-text-muted);
    cursor: pointer;
    transition: color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.theme-toggle:hover { color: var(--clr-primary); border-color: var(--clr-primary); transform: scale(1.1); }
body.dark-theme .theme-toggle:hover { color: var(--clr-gold); border-color: var(--clr-gold); }

.theme-toggle::before {
    content: attr(data-tooltip);
    position: absolute;
    inset-block-end: -35px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: var(--cb-text-main);
    color: var(--cb-bg);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    pointer-events: none;
}
.theme-toggle:hover::before { opacity: 1; visibility: visible; }

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--cb-text-muted);
    cursor: pointer;
}

.desktop-btn {
    display: none !important;
}

@media (min-width: 993px) {
    .cb-nav {
        padding-inline: 1.5rem;
        height: 68px;
    }
    .mobile-menu-btn {
        display: none;
    }
    .cb-nav-links {
        display: flex;
        position: static;
        background: transparent;
        flex-direction: row;
        padding: 0;
        border-bottom: none;
        box-shadow: none;
        gap: 2rem;
        align-items: center;
    }
    .cb-nav-links a {
        padding-block: 5px;
        display: inline-block;
    }
    .cb-nav-links a:hover,
    .cb-nav-links a.active {
        transform: scale(1.05);
    }
    .desktop-btn {
        display: inline-flex !important;
    }
    .nav-actions { gap: 12px; }
    .logo-wrap { font-size: 1.6rem; }
}

/* ==========================================
   9b. NAV SCROLLED — ENHANCED GLASS STATE
========================================== */
.cb-nav.scrolled {
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom-color: rgba(30, 58, 138, 0.1);
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.09), 0 1px 0 rgba(30, 58, 138, 0.05);
}
body.dark-theme .cb-nav.scrolled {
    background: rgba(5, 9, 20, 0.95);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom-color: rgba(245, 184, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   10. HERO SECTION
========================================== */
.cb-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-block: 100px 5rem;
    background-color: var(--cb-hero-bg);
    overflow: hidden;
    transition: background-color 0.4s ease;
}

.cb-hero-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.6;
    background-image: radial-gradient(circle, var(--cb-border) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    transition: opacity var(--transition-base);
}

.cb-hero-blob-1,
.cb-hero-blob-2 {
    display: none;
}

.cb-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.cb-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.2);
    color: var(--clr-primary);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
body.dark-theme .cb-hero-pill {
    background: rgba(255, 204, 9, 0.15);
    border-color: rgba(255, 204, 9, 0.3);
    color: var(--clr-gold);
}

.cb-hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: var(--cb-hero-fg);
    transition: color 0.4s ease;
}

.cb-hero p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--cb-hero-fg-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
    font-weight: 500;
    line-height: 1.6;
    transition: color 0.4s ease;
}

/* Promise Box */
.promise-box {
    background: var(--cb-promise-bg);
    padding: 3.5rem 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
    border: 1px solid var(--cb-promise-border);
    border-top: 4px solid var(--clr-primary);
    transition: all 0.4s ease;
}
body.dark-theme .promise-box { border-top-color: var(--clr-gold); }

.promise-box h2,
.promise-box h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    margin-bottom: 2rem;
    font-weight: 900;
    color: var(--cb-text-main);
}

.promise-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    font-weight: 600;
    color: var(--cb-text-main);
    cursor: default;
}
.promise-list i { color: var(--clr-whatsapp); margin-top: 4px; font-size: 1.4rem; }
.promise-box .sub-text {
    font-size: 0.9rem;
    color: var(--cb-text-muted);
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

/* Ticker / Logo Scroll */
.cb-ticker-section {
    margin-top: 1.5rem;
    overflow: hidden; /* Belt-and-suspenders: clips max-content track before it reaches the mask */
}
.cb-ticker-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cb-text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.cb-ticker-mask {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    width: 100%;
    max-width: 600px;
}
.cb-ticker-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    align-items: center;
    animation: logo-ticker 25s linear infinite;
}
.tool-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cb-hero-fg-muted);
    opacity: 0.7;
    cursor: default;
    transition: color var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
}
.tool-item i { font-size: 1.6rem; }
.tool-item:hover { color: var(--clr-primary); opacity: 1; transform: scale(1.1); }
body.dark-theme .tool-item:hover { color: var(--clr-gold); }

@media (max-width: 992px) {
    /* Fix 1: Safe container padding for ALL mobile/tablet sizes */
    .container,
    .container-read {
        padding-inline: 1.25rem;
    }

    .cb-hero {
        min-height: auto;
        padding-block: 5.5rem 3.5rem;
    }
    .cb-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 100%;
    }
    .cb-hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 1rem;
        letter-spacing: -0.5px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .cb-hero p {
        font-size: 1rem;
        margin-bottom: 1.75rem;
        max-width: 100%;
    }
    .cb-hero-pill {
        margin-bottom: 1.25rem;
        font-size: 0.75rem;
    }
    .cb-ticker-section { margin-top: 1.25rem; }

    /* Fix: Contain the ticker at all mobile sizes */
    .cb-ticker-mask {
        mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 100%;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    .cb-ticker-track {
        animation: none;
        width: max-content;
        flex-wrap: nowrap;
        gap: 1.5rem;
        justify-content: flex-start;
    }
    .tool-item {
        font-size: 0.9rem;
        gap: 6px;
        opacity: 1;
        white-space: nowrap;
    }
    .tool-item i { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    /* Fix 2: Tighter vertical rhythm on small phones */
    .cb-hero {
        padding-block: 5rem 3rem;
    }
    .cb-hero h1 {
        font-size: clamp(1.85rem, 9vw, 2.4rem);
        margin-bottom: 0.875rem;
    }
    .cb-hero p {
        font-size: 0.975rem;
        margin-bottom: 1.5rem;
        line-height: 1.65;
    }
    .cb-hero-pill {
        margin-bottom: 1rem;
        font-size: 0.7rem;
        padding: 0.35rem 0.875rem;
    }
    .mb-3 { margin-bottom: 1.5rem; }
    .cb-ticker-section { margin-top: 1rem; }
    .tool-item { font-size: 0.875rem; }
    .tool-item i { font-size: 1rem; }

    /* Fix: Cards tighter on small phones */
    .promise-box { padding: 2rem 1.5rem; }
    .bento-card-3d { padding: 2rem 1.5rem; }
}

/* ==========================================
   10b. HERO — PREMIUM LIGHT & DARK OVERRIDES
   Light mode: pearl-white gradient, dark text
   Dark mode: deep ink, vivid luminance
========================================== */

/* ── LIGHT MODE — Pearl authority gradient ─── */
.cb-hero {
    background: linear-gradient(150deg, #fafbff 0%, #f0f4ff 55%, #e8eeff 100%) !important;
}
.cb-hero .cb-hero-dots {
    background-image: radial-gradient(circle, rgba(30, 58, 138, 0.10) 1.5px, transparent 1.5px) !important;
    opacity: 1 !important;
}
.cb-hero .cb-hero-blob-1 {
    background: radial-gradient(circle, rgba(30, 58, 138, 0.09) 0%, transparent 68%) !important;
}
.cb-hero .cb-hero-blob-2 {
    background: radial-gradient(circle, rgba(245, 184, 0, 0.08) 0%, transparent 68%) !important;
}
.cb-hero h1 { color: #0c1a3a !important; }
.cb-hero p  { color: #3d5280 !important; }
.cb-hero .cb-hero-pill {
    background: rgba(30, 58, 138, 0.07) !important;
    border-color: rgba(30, 58, 138, 0.20) !important;
    color: #1e3a8a !important;
}
.cb-hero .btn-outline {
    border-color: rgba(30, 58, 138, 0.32) !important;
    color: #1e3a8a !important;
    background: transparent !important;
}
.cb-hero .btn-outline:hover {
    border-color: var(--clr-gold) !important;
    color: #0f172a !important;
    background: rgba(245, 184, 0, 0.07) !important;
}
.cb-hero .hero-proof-strip .proof-text { color: #3d5280 !important; }
.cb-hero .hero-proof-strip .proof-sep  { background: rgba(30, 58, 138, 0.18) !important; opacity: 1 !important; }
.cb-hero .hero-micro-trust { color: #3d5280 !important; }
.cb-hero .cb-ticker-label { color: #6b7fa3 !important; }
.cb-hero .tool-item { color: #4a608a !important; }
.cb-hero .tool-item:hover { color: #1e3a8a !important; opacity: 1 !important; }
.cb-hero .promise-box {
    background: rgba(255, 255, 255, 0.90) !important;
    border-color: rgba(30, 58, 138, 0.14) !important;
    border-top-color: var(--clr-gold) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 64px rgba(30, 58, 138, 0.12), 0 1px 0 rgba(255,255,255,1) inset !important;
}
.cb-hero .promise-box h2,
.cb-hero .promise-box h3 { color: #0c1a3a !important; }
.cb-hero .promise-list li { color: #1e2d4a !important; }
.cb-hero .promise-box .sub-text { color: #6b7fa3 !important; }

/* ── DARK MODE — Deep ink with vivid luminance ─── */
body.dark-theme .cb-hero {
    background: linear-gradient(150deg, #0f172a 0%, #1a2744 55%, #1e3060 100%) !important;
}
body.dark-theme .cb-hero .cb-hero-dots {
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1.5px, transparent 1.5px) !important;
}
body.dark-theme .cb-hero .cb-hero-blob-1 {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.42) 0%, transparent 68%) !important;
}
body.dark-theme .cb-hero .cb-hero-blob-2 {
    background: radial-gradient(circle, rgba(245, 184, 0, 0.16) 0%, transparent 68%) !important;
}
body.dark-theme .cb-hero h1 { color: #ffffff !important; }
body.dark-theme .cb-hero p  { color: rgba(255,255,255,0.70) !important; }
body.dark-theme .cb-hero .cb-hero-pill {
    background: rgba(245, 184, 0, 0.13) !important;
    border-color: rgba(245, 184, 0, 0.35) !important;
    color: #f5b800 !important;
}
body.dark-theme .cb-hero .btn-outline {
    border-color: rgba(255,255,255,0.32) !important;
    color: rgba(255,255,255,0.90) !important;
    background: transparent !important;
}
body.dark-theme .cb-hero .btn-outline:hover {
    border-color: #f5b800 !important;
    color: #f5b800 !important;
    background: rgba(245,184,0,0.08) !important;
}
body.dark-theme .cb-hero .hero-proof-strip .proof-text { color: rgba(255,255,255,0.60) !important; }
body.dark-theme .cb-hero .hero-proof-strip .proof-sep  { background: rgba(255,255,255,0.28) !important; opacity: 1 !important; }
body.dark-theme .cb-hero .hero-micro-trust { color: rgba(255,255,255,0.60) !important; }
body.dark-theme .cb-hero .cb-ticker-label { color: rgba(255,255,255,0.40) !important; }
body.dark-theme .cb-hero .tool-item { color: rgba(255,255,255,0.52) !important; }
body.dark-theme .cb-hero .tool-item:hover { color: #f5b800 !important; opacity: 1 !important; }
body.dark-theme .cb-hero .promise-box {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.12) !important;
    border-top-color: #f5b800 !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.40), 0 1px 0 rgba(255,255,255,0.06) inset !important;
}
body.dark-theme .cb-hero .promise-box h2,
body.dark-theme .cb-hero .promise-box h3 { color: #ffffff !important; }
body.dark-theme .cb-hero .promise-list li { color: rgba(255,255,255,0.88) !important; }
body.dark-theme .cb-hero .promise-box .sub-text { color: rgba(255,255,255,0.48) !important; }

/* ==========================================
   11. BOTTLENECK / BENTO SECTION
========================================== */
.bento-card-3d {
    background: var(--cb-surface);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--cb-border);
}
.bento-card-3d h3 {
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fail-box    { border-top: 4px solid var(--clr-danger); }
.fail-box h3 { color: var(--clr-danger); }
.success-box    { border-top: 4px solid var(--clr-upwork); }
.success-box h3 { color: var(--clr-upwork); }

.list-3d li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cb-text-main);
}
.list-3d i { margin-top: 4px; font-size: 1.2rem; }

/* ==========================================
   12. ABOUT SECTION (Homepage)
========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 8px solid var(--cb-surface);
    object-fit: cover;
    width: 100%;
}

.highlight-box {
    background: var(--cb-surface);
    border-inline-start: 6px solid var(--clr-primary);
    padding: 1.8rem;
    border-radius: 0 16px 16px 0;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}
body.dark-theme .highlight-box { border-inline-start-color: var(--clr-gold); }

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ==========================================
   13. TABS SECTION
========================================== */
.tabs-container {
    background: var(--cb-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid var(--cb-border);
    margin-top: 2rem;
}

.tabs-header {
    display: flex;
    background: var(--cb-bg);
    border-bottom: 1px solid var(--cb-border);
    padding: 10px 10px 0;
    gap: 5px;
}

.tab-btn {
    flex: 1;
    padding: 1.5rem 1rem;
    text-align: center;
    font-family: inherit;
    font-weight: 800;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--cb-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-bottom: none;
    background: var(--cb-bg);
    border-radius: 12px 12px 0 0;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.02);
    transform: translateY(2px);
    transition: color var(--transition-base), background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.tab-btn:hover { color: var(--clr-primary); }
body.dark-theme .tab-btn:hover { color: var(--clr-gold); }

.tab-btn.active {
    color: var(--cb-text-main);
    background: var(--cb-surface);
    border-color: var(--cb-border);
    border-top: 4px solid var(--clr-primary);
    box-shadow: var(--shadow-tab-active);
    transform: translateY(0);
    z-index: 2;
}
body.dark-theme .tab-btn.active { border-top-color: var(--clr-gold); }

.tab-content {
    padding: 4rem 3rem;
    display: none;
    animation: fadeIn 0.4s ease-in-out;
    background: var(--cb-surface);
    position: relative;
    z-index: 1;
}
.tab-content.active { display: block; }

.tab-inner-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.tech-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cb-bg);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--cb-border);
    color: var(--cb-text-main);
    cursor: default;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.tech-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); border-color: var(--clr-primary); }
body.dark-theme .tech-card:hover { border-color: var(--clr-gold); }

.tab-image {
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--cb-border);
    object-fit: cover;
    aspect-ratio: 4 / 3;
    width: 100%;
}

@media (max-width: 992px) {
    .tab-inner-grid { grid-template-columns: 1fr; gap: 3rem; }
    .tab-btn { padding: 1.2rem 0.5rem; flex-direction: column; gap: 5px; }
    .tab-content { padding: 3rem 2rem; }
}

/* ==========================================
   14. WORK SAMPLES (Homepage Stats Section)
========================================== */
.work-card {
    background: var(--cb-surface);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--cb-border);
    border-bottom: 5px solid var(--clr-primary);
    box-shadow: var(--shadow-soft);
}
body.dark-theme .work-card { border-bottom-color: var(--clr-gold); }

.work-icon { font-size: 3rem; color: var(--clr-primary); margin-bottom: 1.5rem; }
body.dark-theme .work-icon { color: var(--clr-gold); }

.work-card h3 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--cb-text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.work-card--green { border-bottom-color: var(--clr-upwork); }
.work-card--red   { border-bottom-color: var(--clr-danger); }

/* ==========================================
   15. FOOTER
========================================== */
.site-footer {
    background: var(--cb-hero-bg);
    color: var(--cb-text-muted);
    padding-block: 0.75rem;
    border-top: 1px solid var(--cb-border);
    position: relative;
}
/* Premium gradient accent bar at top of footer */
.site-footer::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #f5b800 100%);
    pointer-events: none;
}
/* Dark mode: deeper landing zone */
body.dark-theme .site-footer {
    background: #0b1527;
    border-top-color: rgba(255,255,255,0.07);
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--cb-surface);
    color: var(--cb-text-main);
    font-size: 1.2rem;
    margin-inline: 8px;
    border: 1px solid var(--cb-border);
    box-shadow: var(--shadow-soft);
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.social-circle:hover { background: var(--clr-primary); color: #ffffff; border-color: var(--clr-primary); transform: translateY(-5px); }
body.dark-theme .social-circle:hover { background: var(--clr-gold); color: #111; border-color: var(--clr-gold); }

/* .site-footer-minimal — removed (dead code, no longer used) */

/* ==========================================
   16. ABOUT PAGE
========================================== */
.about-hero {
    padding-block-start: 130px;
    padding-block-end: 4rem;
    background: var(--cb-hero-bg);
    position: relative;
    overflow: hidden;
}

.candid-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    border: 1px solid var(--cb-border);
}
.candid-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    pointer-events: none;
}
.candid-img-wrapper img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.article-h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--cb-text-main);
    margin-bottom: 1.5rem;
}
.article-h2-large { font-size: clamp(2.2rem, 4vw, 3.2rem); }

.article-p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--cb-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.editorial-section {
    background: var(--cb-bg);
    border-top: 1px solid var(--cb-border);
    border-bottom: 1px solid var(--cb-border);
}

.quote-box {
    border-inline-start: 4px solid var(--clr-primary);
    padding-inline-start: 1.5rem;
    margin-block: 2rem;
    font-style: italic;
    color: var(--cb-text-main);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
}
body.dark-theme .quote-box { border-inline-start-color: var(--clr-gold); }

.clean-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.clean-card {
    background: var(--cb-surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--cb-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.clean-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.clean-card i { font-size: 2rem; color: var(--clr-primary); margin-bottom: 1.5rem; }
body.dark-theme .clean-card i { color: var(--clr-gold); }
.clean-card h3,
.clean-card h4 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; color: var(--cb-text-main); }
.clean-card p  { font-size: 1.05rem; color: var(--cb-text-muted); line-height: 1.6; margin: 0; }

.personal-box {
    background: var(--cb-surface);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-top: 4rem;
    border: 1px dashed var(--cb-border);
    text-align: center;
    box-shadow: var(--shadow-soft);
}
.personal-box h2 {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--cb-text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

@media (max-width: 992px) {
    .personal-box { padding: 2rem; }
}

/* ==========================================
   17. PORTFOLIO (WORK SAMPLES) PAGE
========================================== */
.page-banner {
    position: relative;
    padding: 10rem 0 5rem;
    overflow: hidden;
    background-color: var(--cb-hero-bg);
    transition: background-color 0.4s ease;
}

.portfolio-card {
    background: var(--cb-surface);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--cb-border);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}
/* Inner content wrapper fills available space as flex column */
.portfolio-card > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.card-chart-row {
    height: 110px !important;
    display: flex;
    align-items: center;
}

.portfolio-img-wrap {
    width: 100%;
    height: 220px !important;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--cb-border);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}
.portfolio-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-img { transform: scale(1.05); }

.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--clr-primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    background: rgba(29, 78, 216, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(29, 78, 216, 0.2);
}
body.dark-theme .project-tag {
    background: rgba(255, 204, 9, 0.15);
    color: var(--clr-gold);
    border-color: rgba(255, 204, 9, 0.3);
}

.portfolio-card h3 {
    color: var(--cb-text-main);
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}
.portfolio-card p {
    color: var(--cb-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
    font-weight: 500;
}
.portfolio-result-badge {
    min-height: 56px !important;
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .page-banner { padding: 8rem 0 3rem; }
}

/* ==========================================
   18. REVIEWS PAGE
========================================== */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 168, 0, 0.1);
    color: var(--clr-upwork);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(20, 168, 0, 0.2);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 5;
}

.review-card {
    background: var(--cb-surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--cb-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.quote-icon-bg {
    position: absolute;
    top: 1.5rem;
    inset-inline-end: 2rem;
    font-size: 3rem;
    color: var(--cb-border);
    opacity: 0.3;
    pointer-events: none;
}

.review-stars {
    color: var(--clr-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 4px;
}
.review-rating-number { font-weight: 800; color: var(--cb-text-main); margin-inline-start: 8px; font-size: 1.2rem; }

.review-quote {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--cb-text-main);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

.client-info {
    border-top: 1px solid var(--cb-border);
    padding-top: 1.5rem;
    margin-top: auto;
}
.client-info h4 { color: var(--cb-text-main); font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; line-height: 1.4; }

.verified-contract {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--clr-upwork);
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(20, 168, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .reviews-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   19. CONTACT PAGE
========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    position: relative;
    z-index: 5;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--cb-surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--cb-border);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.info-card:hover { transform: translateX(10px); box-shadow: var(--shadow-hard); border-color: var(--clr-primary); }
body.dark-theme .info-card:hover { border-color: var(--clr-gold); }

.info-icon {
    font-size: 1.6rem;
    color: var(--clr-primary);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cb-bg);
    border-radius: 50%;
    border: 1px solid var(--cb-border);
    flex-shrink: 0;
}
body.dark-theme .info-icon { color: var(--clr-gold); }

.info-text h4 { font-size: 1.1rem; font-weight: 800; color: var(--cb-text-main); margin-bottom: 0.2rem; }
.info-text a,
.info-text p { color: var(--cb-text-muted); font-size: 0.95rem; font-weight: 600; }
.info-text a:hover { color: var(--clr-primary); }
body.dark-theme .info-text a:hover { color: var(--clr-gold); }

.contact-form-panel {
    background: var(--cb-surface);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--cb-border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 700; color: var(--cb-text-main); margin-bottom: 0.5rem; font-size: 0.95rem; }

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--cb-border);
    background: var(--cb-bg);
    color: var(--cb-text-main);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-control:focus {
    border-color: var(--clr-primary);
    outline: none;
}
.form-control:focus-visible {
    border-color: var(--clr-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.22);
}
body.dark-theme .form-control:focus {
    border-color: var(--clr-gold);
}
body.dark-theme .form-control:focus-visible {
    border-color: var(--clr-gold);
    box-shadow: 0 0 0 4px rgba(255, 204, 9, 0.28);
}
.form-control.is-invalid {
    border-color: var(--clr-danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.form-control.is-valid {
    border-color: var(--clr-upwork);
    box-shadow: 0 0 0 3px rgba(20, 168, 0, 0.12);
}
.field-msg {
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.35rem;
    display: block;
    line-height: 1.4;
}
.field-msg.is-invalid { color: var(--clr-danger); }
.field-msg.is-valid   { color: var(--clr-upwork); }
textarea.form-control { min-height: 150px; resize: vertical; }

/* Form error alert box */
.form-error-box {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background-color: #fee2e2;
    color: #991b1b;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 600;
    border: 1px solid #fca5a5;
}
body.dark-theme .form-error-box {
    background-color: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.privacy-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--cb-text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 992px) {
    .contact-grid,
    .form-row { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form-panel { padding: 2rem; }
    .info-card:hover { transform: translateY(-5px) translateX(0); }
}

/* ==========================================
   20. SUCCESS & ERROR PAGES (Shared Layout)
========================================== */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

/* Consolidated Shared Card Base */
.status-card,
.success-card,
.error-card {
    padding: 4rem 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
    border: 1px solid var(--cb-border);
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 5;
    margin-inline: auto;
    background: var(--cb-surface);
}

/* Modifiers */
.success-card { border-top: 5px solid var(--clr-upwork); }
.error-card   { border-top: 5px solid var(--clr-danger); }
body.dark-theme .error-card { border-top-color: var(--clr-gold); }

/* Success check */
.check-circle {
    width: 100px;
    height: 100px;
    background: rgba(20, 168, 0, 0.1);
    color: var(--clr-upwork);
    border: 2px solid rgba(20, 168, 0, 0.2);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: success-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.success-card h1 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--cb-text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.success-card p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--cb-text-muted);
    font-weight: 500;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Error icon */
.error-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--clr-danger);
    border: 2px solid rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
body.dark-theme .error-icon-wrap {
    background: rgba(255, 204, 9, 0.15);
    color: var(--clr-gold);
    border-color: rgba(255, 204, 9, 0.3);
}

.error-code {
    font-size: clamp(5rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--clr-primary-glow), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
body.dark-theme .error-code {
    background: linear-gradient(to right, var(--clr-gold), #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--cb-text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.error-card p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--cb-text-muted);
    font-weight: 500;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .status-card,
    .success-card,
    .error-card { padding: 3rem 2rem; }
}

/* ==========================================
   21. AUDIT FIXES (DRY Utilities & Micro-interactions)
========================================== */

/* 1. Unified Auto Grid (Replaces separate .work-grid, .portfolio-grid, .bottleneck-grid rules) */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-min, 300px), 1fr));
    gap: var(--grid-gap, 2rem);
    align-items: stretch;
}

/* 2. Auto-Cascade Animation Delays (Eliminates inline style="transition-delay: 0.1s") */
.cascade-item:nth-child(1) { transition-delay: 0.1s; animation-delay: 0.1s; }
.cascade-item:nth-child(2) { transition-delay: 0.2s; animation-delay: 0.2s; }
.cascade-item:nth-child(3) { transition-delay: 0.3s; animation-delay: 0.3s; }
.cascade-item:nth-child(4) { transition-delay: 0.4s; animation-delay: 0.4s; }
.cascade-item:nth-child(5) { transition-delay: 0.5s; animation-delay: 0.5s; }
.cascade-item:nth-child(6) { transition-delay: 0.6s; animation-delay: 0.6s; }

/* ==========================================
   22. RESPONSIVE DEAD-ZONE FIXES
========================================== */

/*
 * Fix 1: section-padding — scale down vertical rhythm on mobile.
 * The base value of 6.5rem (104px top + bottom) is excessive on small screens.
 * Stepped reductions keep proportions comfortable without touching desktop layout.
 */
@media (max-width: 768px) {
    .section-padding { padding-block: 4rem; }
}
@media (max-width: 480px) {
    .section-padding { padding-block: 3rem; }
}

/*
 * Fix 2: grid-auto-fit — force single column on sub-400px viewports.
 * minmax(320px, 1fr) breaks when the container is narrower than 320px
 * (e.g. iPhone SE at 320px with 1.25rem padding = ~280px content area).
 * Overriding grid-template-columns to 1fr guarantees a clean single column.
 */
@media (max-width: 400px) {
    .grid-auto-fit {
        grid-template-columns: 1fr;
    }
}

/*
 * Fix 3: grid-auto-fit — reduce stacked-card gap on mobile.
 * A 3rem (48px) gap between vertically stacked cards on a ~375px phone
 * consumes disproportionate scroll height. 1.5rem is visually balanced.
 */
@media (max-width: 768px) {
    .grid-auto-fit {
        gap: 1.5rem;
    }
}

/*
 * Fix 4: about-hero portrait image — constrain aspect ratio on mobile.
 * The candid image uses aspect-ratio: 4/5 (portrait). On a single-column
 * mobile layout it fills the full container width, making it ~600-750px tall
 * on a phone — taller than the viewport. Switching to 3/2 (landscape) at
 * mobile sizes keeps the image visually prominent without dominating the screen.
 */
@media (max-width: 768px) {
    .candid-img-wrapper img {
        aspect-ratio: 3 / 2;
    }
}

/* ==========================================
   23. UTILITY & COMPONENT FILLS
========================================== */

/* 3D lift hover — used on review cards and status cards */
.hover-3d {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.hover-3d:hover {
    transform: translateY(-8px) perspective(800px) rotateX(2deg);
    box-shadow: var(--shadow-hard);
}

/* Muted paragraph colour utility */
.text-muted-para { color: var(--cb-text-muted); }

/* Surface-background section utility */
.section-surface {
    background: var(--cb-surface);
    border-top: 1px solid var(--cb-border);
    border-bottom: 1px solid var(--cb-border);
}

/* Compact section header — tighter bottom margin */
.section-header--compact { margin-bottom: 1.5rem; }

/* ==========================================
   24. PASS A MISSING UTILITY CLASSES
========================================== */

/* h3-level visual sizing — makes an h2 render at h3 scale (promise-box heading) */
.h3-style {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    font-weight: 900;
}

/* CTA button group — horizontal flex row with gap and wrap */
.cta-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer social links row — horizontal centered flex */
.social-links-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ── Stat Counter: completion micro-pop ──────────────────────────────── */
@keyframes counter-pop {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.14); color: var(--clr-primary); }
    100% { transform: scale(1); }
}
.counter-done {
    animation: counter-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ── Online Status / Urgency Badge (Contact Page) ───────────────────── */
.online-status-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    padding: 0.875rem 1.25rem;
    background: var(--cb-card-bg);
    border: 1px solid var(--cb-border);
    border-left: 3px solid #22c55e;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}
.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--cb-text);
}
.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: pulse-online 2s ease-in-out infinite;
}
@keyframes pulse-online {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.response-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--cb-text-muted);
    padding: 0.2rem 0.65rem;
    background: var(--cb-section-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--cb-border);
    margin-left: auto;
}

/* ── Logo Enhancement ──────────────────────────────────────────────── */
.logo-text-stack {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1;
}
.logo-wordmark {
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}
body.dark-theme .logo-wordmark {
    background: linear-gradient(135deg, var(--clr-gold) 0%, #ffd43b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-tagline {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--cb-text-muted);
    -webkit-text-fill-color: var(--cb-text-muted);
}

/* Custom SVG monogram mark */
.logo-svg-mark {
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.logo-wrap:hover .logo-svg-mark {
    transform: scale(1.18) rotate(-8deg);
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.6));
}
body.dark-theme .logo-wrap:hover .logo-svg-mark {
    filter: drop-shadow(0 0 10px rgba(245, 184, 0, 0.7));
}

/* Legacy bolt (kept for graceful fallback) */
.logo-bolt {
    font-size: 1.4rem;
    color: var(--clr-primary);
    transition: filter 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}
body.dark-theme .logo-bolt { color: var(--clr-gold); }
.logo-wrap:hover .logo-bolt {
    filter: drop-shadow(0 0 7px rgba(59, 130, 246, 0.65));
    transform: scale(1.18) rotate(-10deg);
}
body.dark-theme .logo-wrap:hover .logo-bolt {
    filter: drop-shadow(0 0 8px rgba(255, 202, 9, 0.7));
}
@media (max-width: 560px) {
    .logo-wordmark { font-size: 1.02rem; letter-spacing: -0.6px; }
    .logo-tagline  { font-size: 0.53rem; letter-spacing: 1.4px; }
    .logo-bolt     { font-size: 1.15rem; }
}

/* ── Hero Social Proof Strip ───────────────────────────────────────── */
.hero-proof-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.9rem;
    margin-top: 0.1rem;
    margin-bottom: 1.75rem;
}
.proof-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--clr-gold);
    font-size: 0.8rem;
}
.hero-proof-strip .proof-text {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--cb-text-muted);
}
.hero-proof-strip .proof-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--cb-text-muted);
    opacity: 0.4;
    flex-shrink: 0;
}
.proof-upwork-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--clr-upwork);
    background: rgba(20, 168, 0, 0.07);
    border: 1px solid rgba(20, 168, 0, 0.22);
    border-radius: 100px;
    padding: 0.18rem 0.7rem;
}
body.dark-theme .proof-upwork-badge {
    background: rgba(20, 168, 0, 0.13);
    border-color: rgba(20, 168, 0, 0.32);
}
@media (max-width: 480px) {
    .hero-proof-strip { gap: 0.4rem 0.65rem; }
    .hero-proof-strip .proof-sep { display: none; }
}

/* ── FAQ Accordion ─────────────────────────────────────────────────── */
.faq-accordion {
    max-width: 860px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.faq-item {
    background: var(--cb-surface);
    border: 1px solid var(--cb-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.faq-item:hover {
    border-color: var(--clr-primary-glow);
    box-shadow: var(--shadow-soft);
}
body.dark-theme .faq-item:hover { border-color: var(--clr-gold); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--cb-text-main);
    text-align: left;
    transition: color var(--transition-base), background var(--transition-base);
}
.faq-question:hover { background: var(--cb-bg); }
.faq-question[aria-expanded="true"] {
    color: var(--clr-primary);
    border-bottom: 1px solid var(--cb-border);
}
body.dark-theme .faq-question[aria-expanded="true"] { color: var(--clr-gold); }
.faq-icon {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--clr-primary);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
body.dark-theme .faq-icon { color: var(--clr-gold); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer.is-open { max-height: 600px; }
.faq-answer-inner { padding: 1.125rem 1.5rem; }
.faq-answer-inner p {
    font-size: 0.925rem;
    line-height: 1.78;
    color: var(--cb-text-muted);
    margin: 0;
}
@media (max-width: 640px) {
    .faq-question     { font-size: 0.875rem; padding: 1rem 1.125rem; }
    .faq-answer-inner { padding: 1rem 1.125rem; }
}

/* ── Form Trust Micro-Line ─────────────────────────────────────────── */
.form-trust-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.795rem;
    font-weight: 500;
    color: var(--cb-text-muted);
    margin-top: 0.875rem;
    text-align: center;
    flex-wrap: wrap;
    line-height: 1.5;
}
.form-trust-line i {
    color: var(--clr-primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}
body.dark-theme .form-trust-line i { color: var(--clr-gold); }

/* ── Process Timeline (Contact Page) ──────────────────────────────── */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 3rem;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 1.95rem;
    left: calc(12.5% + 2rem);
    right: calc(12.5% + 2rem);
    height: 2px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-primary-glow), var(--clr-primary));
    opacity: 0.25;
    pointer-events: none;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.25rem;
    position: relative;
}
.process-step-num {
    width: 3.9rem;
    height: 3.9rem;
    border-radius: 50%;
    background: var(--cb-surface);
    border: 2px solid var(--clr-primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--clr-primary);
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                background 0.3s ease,
                color 0.3s ease;
    flex-shrink: 0;
}
body.dark-theme .process-step-num {
    border-color: var(--clr-gold);
    color: var(--clr-gold);
}
.process-step:hover .process-step-num {
    background: var(--clr-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.38);
}
body.dark-theme .process-step:hover .process-step-num {
    background: var(--clr-gold);
    color: #0a0a0a;
    box-shadow: 0 0 22px rgba(255, 202, 9, 0.32);
}
.process-step-body { margin-top: 1.25rem; }
.process-step-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--cb-text-main);
    margin-bottom: 0.4rem;
}
.process-step-desc {
    font-size: 0.815rem;
    line-height: 1.65;
    color: var(--cb-text-muted);
}
@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    .process-timeline::before { display: none; }
    .process-step {
        flex-direction: row;
        text-align: left;
        gap: 1.25rem;
        padding: 1.125rem 1.25rem;
        background: var(--cb-surface);
        border: 1px solid var(--cb-border);
        border-radius: var(--radius-lg);
        transition: border-color var(--transition-base), box-shadow var(--transition-base);
    }
    .process-step:hover {
        border-color: var(--clr-primary-glow);
        box-shadow: var(--shadow-soft);
    }
    body.dark-theme .process-step:hover { border-color: var(--clr-gold); }
    .process-step-num { flex-shrink: 0; }
    .process-step-body { margin-top: 0; }
}

/* ── Portfolio Result Badge ─────────────────────────────────────────── */
.portfolio-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.775rem;
    font-weight: 700;
    color: #166534;
    background: rgba(22, 101, 52, 0.08);
    border: 1px solid rgba(22, 101, 52, 0.2);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    margin-top: 0.75rem;
    flex-shrink: 0;
}
body.dark-theme .portfolio-result-badge {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.22);
}
.portfolio-result-badge i { font-size: 0.72rem; }

/* ── Niche Landing Page Stats Box ────────────────────────────────────── */
.niche-stats-box {
    background: var(--cb-surface);
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft-1);
}
.niche-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}
.niche-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
    background: var(--cb-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-slate-200);
    gap: 0.2rem;
}
.niche-stat-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--clr-primary);
    line-height: 1;
}
body.dark-theme .niche-stat-value { color: var(--clr-gold); }
.niche-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cb-text-muted);
}

/* ── Bespoke Top Rated Seal ─────────────────────────────────────────── */
.top-rated-seal {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 1px solid rgba(30, 58, 138, 0.22);
    border-left: 3px solid var(--clr-gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 0.65rem 1.1rem 0.65rem 0.9rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.top-rated-seal:hover {
    box-shadow: 0 4px 18px rgba(30, 58, 138, 0.15);
    border-color: rgba(30, 58, 138, 0.38);
}
body.dark-theme .top-rated-seal {
    background: linear-gradient(135deg, rgba(245, 184, 0, 0.07) 0%, rgba(245, 184, 0, 0.03) 100%);
    border-color: rgba(245, 184, 0, 0.2);
    border-left-color: var(--clr-gold);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.seal-icon-wrap {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-gold);
    border-radius: 50%;
    flex-shrink: 0;
}
.seal-icon-wrap i {
    font-size: 0.9rem;
    color: #0f1e3c;
}
.seal-rank {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--clr-primary);
    line-height: 1.2;
}
body.dark-theme .seal-rank { color: var(--clr-gold); }
.seal-platform {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--cb-text-muted);
    letter-spacing: 0.3px;
    line-height: 1.3;
}

/* ── Premium Footer ─────────────────────────────────────────────────── */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--cb-border);
    margin-bottom: 0.5rem;
    align-items: start;
}
.footer-brand {
    min-width: 0;
    text-align: left;
}
.footer-nav, .footer-contact {
    padding-top: 0;
    margin-top: 0;
    min-width: 0;
    text-align: left;
}
.footer-nav-heading { margin-top: 0; }
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
}
.footer-tagline {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--cb-text-muted);
    margin-bottom: 0.5rem;
    max-width: 260px;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}
.footer-upwork-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(20, 168, 0, 0.07);
    border: 1px solid rgba(20, 168, 0, 0.22);
    border-radius: var(--radius-lg);
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
}
body.dark-theme .footer-upwork-badge {
    background: rgba(20, 168, 0, 0.12);
    border-color: rgba(20, 168, 0, 0.3);
}
.footer-upwork-badge i {
    font-size: 1.3rem;
    color: var(--clr-upwork);
}
.badge-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--clr-upwork);
    line-height: 1.2;
}
.badge-sub {
    display: block;
    font-size: 0.7rem;
    color: var(--cb-text-muted);
    line-height: 1.3;
}
.footer-nav-heading {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cb-text-main);
    margin-bottom: 0.5rem;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-nav ul a {
    font-size: 0.875rem;
    color: var(--cb-text-muted);
    text-decoration: none;
    transition: color var(--transition-base);
}
.footer-nav ul a:hover { color: var(--clr-primary); }
body.dark-theme .footer-nav ul a:hover { color: var(--clr-gold); }
.footer-email-link:hover { color: var(--clr-primary) !important; }
body.dark-theme .footer-email-link:hover { color: var(--clr-gold) !important; }
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.845rem;
}
.footer-contact-list i {
    color: var(--clr-primary);
    font-size: 0.8rem;
    width: 1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
body.dark-theme .footer-contact-list i { color: var(--clr-gold); }
.footer-contact-list a {
    color: var(--cb-text-muted);
    text-decoration: none;
    word-break: break-word;
    transition: color var(--transition-base);
}
.footer-contact-list a:hover { color: var(--clr-primary); }
body.dark-theme .footer-contact-list a:hover { color: var(--clr-gold); }
.footer-social {
    display: flex;
    gap: 0.5rem;
}
.footer-bottom {
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--cb-text-muted);
}
.footer-bottom a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}
.footer-bottom a:hover { color: var(--clr-primary-glow); }
body.dark-theme .footer-bottom a { color: var(--clr-gold); }
.footer-legal {
    font-size: 0.715rem !important;
    opacity: 0.6;
}
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .footer-brand { grid-column: 1; }
    .footer-tagline { max-width: 100%; }
}

/* Track-record stat descriptive label */
.stat-label {
    color: var(--cb-text-muted);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Top spacing utility (mirrors mb-3 pattern) */
.mt-5 { margin-top: 5rem; }

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
@media (max-width: 480px) {
    .hero-cta-group { flex-direction: column; align-items: stretch; }
    .hero-cta-group .btn { justify-content: center; }
}

/* ==========================================
   25. ELITE POLISH — SCROLLBAR & SELECTION
========================================== */

/* Custom brand-token scrollbar (Webkit / Blink) */
::-webkit-scrollbar              { width: 6px; height: 6px; }
::-webkit-scrollbar-track        { background: var(--cb-bg); }
::-webkit-scrollbar-thumb        { background: var(--cb-border); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover  { background: var(--clr-primary); }
body.dark-theme ::-webkit-scrollbar-thumb       { background: var(--cb-border); }
body.dark-theme ::-webkit-scrollbar-thumb:hover { background: var(--clr-gold); }

/* Firefox scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--cb-border) var(--cb-bg); }
body.dark-theme * { scrollbar-color: var(--cb-border) var(--cb-bg); }

/* Brand-token text selection */
::selection              { background: var(--clr-gold); color: #111111; }
::-moz-selection         { background: var(--clr-gold); color: #111111; }
body.dark-theme ::selection      { background: var(--clr-primary); color: #ffffff; }
body.dark-theme ::-moz-selection { background: var(--clr-primary); color: #ffffff; }

/* ==========================================
   26. ICP QUALIFIER QUIZ
========================================== */
.quiz-wrap { max-width: 780px; margin-inline: auto; }

.quiz-progress-track {
    height: 4px;
    background: var(--cb-border);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.quiz-progress-fill {
    height: 100%;
    background: var(--clr-primary);
    border-radius: 100px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
body.dark-theme .quiz-progress-fill { background: var(--clr-gold); }

.quiz-step-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cb-text-muted);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.quiz-step-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--cb-border);
}

.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: quizFadeUp 0.38s ease forwards; }

@keyframes quizFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.quiz-question {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 900;
    color: var(--cb-text-main);
    margin-bottom: 0.6rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
}
.quiz-hint {
    font-size: 1rem;
    color: var(--cb-text-muted);
    margin-bottom: 2.25rem;
    line-height: 1.55;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.85rem;
    margin-bottom: 2rem;
}
.quiz-option {
    background: var(--cb-surface);
    border: 2px solid var(--cb-border);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.35rem;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--cb-text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: border-color var(--transition-spring), background var(--transition-spring), transform var(--transition-spring), box-shadow var(--transition-spring);
}
.quiz-option:focus-visible {
    outline: 3px solid var(--clr-primary);
    outline-offset: 2px;
}
body.dark-theme .quiz-option:focus-visible {
    outline-color: var(--clr-gold);
}
.quiz-option i {
    font-size: 1.15rem;
    color: var(--clr-primary);
    flex-shrink: 0;
    width: 1.3rem;
    text-align: center;
    transition: color var(--transition-base);
}
body.dark-theme .quiz-option i { color: var(--clr-gold); }
.quiz-option span:not(.quiz-option-check) { flex: 1; }
.quiz-option:hover {
    border-color: var(--clr-primary);
    background: rgba(30, 58, 138, 0.04);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.quiz-option.is-selected {
    border-color: var(--clr-primary);
    background: rgba(30, 58, 138, 0.06);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.14);
}
body.dark-theme .quiz-option:hover,
body.dark-theme .quiz-option.is-selected {
    border-color: var(--clr-gold);
    background: rgba(245, 184, 0, 0.06);
    box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.14);
}
.quiz-option-check {
    margin-left: auto;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid var(--cb-border);
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.quiz-option.is-selected .quiz-option-check {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    box-shadow: inset 0 0 0 2px #fff;
}
body.dark-theme .quiz-option.is-selected .quiz-option-check {
    background: var(--clr-gold);
    border-color: var(--clr-gold);
    box-shadow: inset 0 0 0 2px #111;
}

.quiz-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
}
.quiz-btn-back {
    background: transparent;
    border: 2px solid var(--cb-border);
    border-radius: 8px;
    padding: 0.7rem 1.4rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--cb-text-muted);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.quiz-btn-back:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.quiz-btn-back:disabled { opacity: 0.3; cursor: not-allowed; }
.quiz-btn-back:disabled:hover { border-color: var(--cb-border); color: var(--cb-text-muted); }

.quiz-btn-next {
    background: var(--clr-primary);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.35;
    pointer-events: none;
    transition: all var(--transition-spring);
}
.quiz-btn-next.is-ready { opacity: 1; pointer-events: auto; }
.quiz-btn-next.is-ready:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(30, 58, 138, 0.3); }
body.dark-theme .quiz-btn-next { background: var(--clr-gold); color: #111; }

/* Result Card */
.quiz-result-card {
    background: var(--cb-surface);
    border: 1px solid var(--cb-border);
    border-top: 4px solid var(--clr-primary);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
    box-shadow: var(--shadow-hard);
    animation: quizFadeUp 0.5s ease forwards;
}
body.dark-theme .quiz-result-card { border-top-color: var(--clr-gold); }

.quiz-result-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 58, 138, 0.08);
    color: var(--clr-primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
body.dark-theme .quiz-result-eyebrow { background: rgba(245, 184, 0, 0.12); color: var(--clr-gold); }

.quiz-result-title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 900;
    color: var(--cb-text-main);
    margin-bottom: 1.75rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.quiz-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}
@media (max-width: 520px) { .quiz-result-grid { grid-template-columns: 1fr; } }

.quiz-result-stat {
    background: var(--cb-bg);
    border: 1px solid var(--cb-border);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1.1rem;
}
.quiz-result-stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cb-text-muted);
    margin-bottom: 0.25rem;
}
.quiz-result-stat-value {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--cb-text-main);
}

.quiz-result-note {
    font-size: 0.97rem;
    color: var(--cb-text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-style: italic;
    border-left: 3px solid var(--clr-primary);
    padding-left: 1rem;
}
body.dark-theme .quiz-result-note { border-left-color: var(--clr-gold); }

.quiz-result-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.quiz-result-tool-tag {
    background: rgba(30, 58, 138, 0.08);
    color: var(--clr-primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(30, 58, 138, 0.15);
}
body.dark-theme .quiz-result-tool-tag {
    background: rgba(245, 184, 0, 0.10);
    color: var(--clr-gold);
    border-color: rgba(245, 184, 0, 0.20);
}

.quiz-result-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.quiz-restart-btn {
    background: transparent;
    border: 2px solid var(--cb-border);
    border-radius: 8px;
    padding: 0.8rem 1.4rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--cb-text-muted);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.quiz-restart-btn:hover { border-color: var(--clr-primary); color: var(--clr-primary); }

/* Trust strip under quiz */
.quiz-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}
.quiz-trust-item { display: flex; flex-direction: column; gap: 0.3rem; }
.quiz-trust-num {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--clr-primary);
    line-height: 1;
}
body.dark-theme .quiz-trust-num { color: var(--clr-gold); }
.quiz-trust-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cb-text-muted);
}
.quiz-trust-divider {
    width: 1px;
    height: 2.5rem;
    background: var(--cb-border);
}
@media (max-width: 560px) { .quiz-trust-divider { display: none; } }

/* Nav qualify link accent */
.nav-qualify-link {
    color: var(--clr-primary) !important;
    font-weight: 800 !important;
    position: relative;
}
.nav-qualify-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav-qualify-link:hover::after,
.nav-qualify-link.active::after { transform: scaleX(1); }
body.dark-theme .nav-qualify-link { color: var(--clr-gold) !important; }
body.dark-theme .nav-qualify-link::after { background: var(--clr-gold); }

/* ==========================================
   27. PORTFOLIO CARD DATA VISUALIZATIONS
========================================== */
.card-chart-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.9rem 0 0.8rem;
    padding: 0.85rem 1rem;
    background: var(--cb-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cb-border);
    overflow: hidden;
}
.chart-ring-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}
.chart-ring { display: block; }
.chart-ring-bg { stroke: var(--cb-border); transition: stroke var(--transition-theme); }
.chart-ring-fill {
    transition: stroke-dashoffset 1.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    stroke-linecap: round;
}
.chart-ring text {
    fill: var(--cb-text-main);
    font-family: 'Inter', sans-serif;
    transition: fill var(--transition-theme);
}
.chart-ring-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--cb-text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.chart-meta { flex: 1; min-width: 0; }
.chart-meta-title {
    font-size: 0.73rem;
    font-weight: 800;
    color: var(--cb-text-main);
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.chart-compare-row { display: flex; flex-direction: column; gap: 0.35rem; }
.chart-compare-item {
    display: grid;
    grid-template-columns: 80px 1fr 34px;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
}
.chart-compare-label { font-weight: 600; color: var(--cb-text-muted); white-space: nowrap; }
.chart-compare-bar-track {
    height: 5px;
    background: var(--cb-border);
    border-radius: 100px;
    overflow: hidden;
}
.chart-compare-bar-fill {
    height: 100%;
    border-radius: 100px;
    width: 0;
    transition: width 1.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.chart-compare-val { font-weight: 800; color: var(--cb-text-main); text-align: right; }
.chart-bar-row {
    display: grid;
    grid-template-columns: 48px 1fr 32px;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
}
.chart-bar-label { font-weight: 600; color: var(--cb-text-muted); }
.chart-bar-track { height: 6px; background: var(--cb-border); border-radius: 100px; overflow: hidden; }
.chart-bar-fill { height: 100%; border-radius: 100px; width: 0; transition: width 1.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.chart-bar-pct { font-weight: 800; color: var(--cb-text-main); text-align: right; }
.chart-multi-bars { flex: 1; display: flex; flex-direction: column; gap: 0.45rem; }

/* ==========================================
   29. NUDGE BAR — SCROLL-TRIGGERED CTA
========================================== */
.nudge-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--clr-primary);
    color: #ffffff;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.52s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.52s ease;
    box-shadow: 0 -6px 32px rgba(30, 58, 138, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}
.nudge-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.nudge-bar.is-dismissed {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.7, 0, 1, 1), opacity 0.32s ease;
}
.nudge-bar-inner {
    max-width: 1280px;
    margin-inline: auto;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.nudge-bar-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    flex-wrap: wrap;
}
.nudge-bar-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: var(--clr-gold);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}
.nudge-bar-text {
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}
.nudge-bar-text strong {
    color: #ffffff;
    font-weight: 800;
}
.nudge-bar-cta {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.875rem !important;
    padding: 0.55rem 1.35rem !important;
}
.nudge-bar-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color var(--transition-base), background var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}
.nudge-bar-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}
body.dark-theme .nudge-bar {
    background: #1a3580;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 600px) {
    .nudge-bar-inner {
        padding: 0.85rem 1rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .nudge-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        flex: 1;
    }
    .nudge-bar-cta {
        width: 100%;
        justify-content: center !important;
        text-align: center;
    }
    .nudge-bar-close {
        position: absolute;
        top: 0.75rem;
        right: 1rem;
    }
    .nudge-bar { position: fixed; }
}
/* ══════════════════════════════════════════════════
   PHASE 3 — CRO / NEUROMARKETING UTILITY CLASSES
   ══════════════════════════════════════════════════ */

/* C-01: Hero micro-trust row */
.hero-micro-trust {
    display: flex; flex-wrap: wrap;
    gap: 2rem; align-items: center;
    margin-top: 0.875rem;
    font-size: 0.78rem; font-weight: 600; color: var(--cb-text-muted);
}
.hero-micro-trust span { display: flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.hero-micro-trust .fa-check-circle { color: #22c55e; }
.hero-micro-trust .fa-gift         { color: var(--clr-primary); }
.hero-micro-trust .fa-bolt         { color: var(--clr-gold); }

.hero-trust-badges { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.hero-trust-badges .trust-row-top, .hero-trust-badges .trust-row-bottom { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.hero-trust-badges .trust-row-top { color: #475467; font-size: 0.95rem; }
.hero-trust-badges .trust-row-bottom { padding-top: 0.5rem; border-top: 1px solid #eaecf0; font-weight: 500; color: #475467; font-size: 0.95rem; }
.hero-trust-badges span { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem; border-radius: 999px; background: #f8fafc; border: 1px solid #eaecf0; }
.hero-trust-badges .premium-blue { background: #eff8ff; color: #175cd3; border-color: #b2ddff; }
.hero-trust-badges .premium-gold { background: #fffaeb; color: #b54708; border-color: #fedf89; }
.hero-trust-badges .stars { color: #fdb022; letter-spacing: 2px; background: #fffaeb; border-color: #fedf89; }
.hero-trust-badges .divider { color: #d0d5dd; background: transparent; border: 0; padding: 0; }
@media (max-width: 768px) {
    .hero-trust-badges .trust-row-top,
    .hero-trust-badges .trust-row-bottom { gap: 0.75rem; }
}

/* C-05/06: Availability badge (banners) */
.availability-badge-hero {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.78rem; font-weight: 700; color: #22c55e;
    background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35);
    border-radius: 100px; padding: 0.28rem 0.875rem;
    margin-bottom: 0.75rem; letter-spacing: 0.02em;
}
.availability-badge-hero .avail-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e; flex-shrink: 0;
    animation: pulse-online 2s ease-in-out infinite;
}

/* C-06: Niche hero risk-reversal text */
.hero-risk-reversal {
    margin-top: 0.875rem; font-size: 0.78rem; font-weight: 600;
    color: rgba(255,255,255,0.72);
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 0.3rem; justify-content: center; letter-spacing: 0.01em;
}
.hero-risk-reversal .fa-check-circle { color: #4ade80; }
.hero-risk-reversal .fa-gift         { color: rgba(255,255,255,0.9); }
.hero-risk-reversal .fa-bolt         { color: var(--clr-gold); }

/* C-03: Social proof bar above contact form */
.cro-proof-bar {
    display: flex; flex-wrap: wrap; gap: 0.4rem 1rem;
    align-items: center; justify-content: center;
    padding: 0.7rem 1rem;
    background: var(--cb-section-bg); border: 1px solid var(--cb-border);
    border-radius: var(--radius-md); margin-bottom: 1.25rem;
    font-size: 0.78rem; font-weight: 600; color: var(--cb-text-muted);
}
.cro-proof-item { display: flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.cro-proof-item .fa-star      { color: var(--clr-gold); }
.cro-proof-item .fa-shield-alt{ color: var(--clr-primary); }
.cro-proof-sep  { color: var(--cb-border); display: none; }
@media (min-width: 480px) { .cro-proof-sep { display: block; } }

/* C-04: Triple guarantee block */
.guarantee-block {
    background: var(--cb-section-bg); border: 1px solid var(--cb-border);
    border-left: 3px solid var(--clr-primary);
    border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-top: 1.25rem;
}
.guarantee-title {
    font-size: 0.82rem; font-weight: 700; color: var(--cb-text);
    margin-bottom: 0.625rem; display: flex; align-items: center; gap: 0.4rem;
}
.guarantee-title .fa-shield-check { color: var(--clr-primary); }
.guarantee-item {
    font-size: 0.78rem; color: var(--cb-text-muted); font-weight: 500;
    display: flex; align-items: center; gap: 0.4rem;
    margin-top: 0.35rem; line-height: 1.4;
}
.guarantee-item .fa-check { color: #22c55e; }

/* C-08: Aggregate rating bar (reviews page) */
.agg-rating-bar {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--cb-card-bg); border: 1px solid var(--cb-border);
    border-radius: var(--radius-lg); margin-bottom: 2.5rem;
    flex-wrap: wrap; row-gap: 0.75rem;
}
.agg-rating-score  { font-size: 2.75rem; font-weight: 900; color: var(--cb-text); line-height: 1; flex-shrink: 0; }
.agg-rating-detail { flex: 1; min-width: 160px; }
.agg-rating-stars  { font-size: 1.15rem; color: var(--clr-gold); letter-spacing: 0.04em; line-height: 1; margin-bottom: 0.3rem; }
.agg-rating-meta   { font-size: 0.8rem; color: var(--cb-text-muted); font-weight: 500; }
.agg-rating-badge  {
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: #14a800; color: #fff;
    font-size: 0.78rem; font-weight: 700;
    padding: 0.5rem 1rem; border-radius: var(--radius-sm); white-space: nowrap;
}

/* C-07: Quiz social proof strip */
.quiz-social-proof {
    display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
    align-items: center; justify-content: center;
    padding: 0.875rem 1.25rem;
    background: var(--cb-section-bg); border: 1px solid var(--cb-border);
    border-radius: var(--radius-md); margin-bottom: 1.5rem;
    font-size: 0.8rem; font-weight: 600; color: var(--cb-text-muted);
}
.quiz-social-proof span { display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.quiz-social-proof .fa-star         { color: var(--clr-gold); }
.quiz-social-proof .fa-user-check   { color: var(--clr-primary); }
.quiz-social-proof .fa-circle-check { color: #22c55e; }

/* ══════════════════════════════════════════════════
   PAGE TRANSITIONS — Silk fade-in / fade-out
   Enter: 0.38s ease-out on every page load
   Exit:  0.29s triggered by JS .page-exiting class
   ══════════════════════════════════════════════════ */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0);    }
}
body {
    animation: pageFadeIn 0.38s cubic-bezier(0.4, 0, 0.2, 1) both;
}
body.page-exiting {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.28s cubic-bezier(0.4, 0, 1, 1),
                transform 0.28s cubic-bezier(0.4, 0, 1, 1);
    pointer-events: none;
}

/* ══════════════════════════════════════════════════
   ELITE OVERHAUL — DARK MODE YELLOW GLOW ACCENTS
   Premium SaaS dashboard glow on key numbers
   ══════════════════════════════════════════════════ */
body.dark-theme .stat-counter {
    text-shadow: 0 0 24px rgba(245, 184, 0, 0.45), 0 0 52px rgba(245, 184, 0, 0.18);
}
body.dark-theme .synth-stat-value {
    text-shadow: 0 0 20px rgba(245, 184, 0, 0.55), 0 0 42px rgba(245, 184, 0, 0.22);
}
body.dark-theme .quiz-trust-num {
    text-shadow: 0 0 22px rgba(245, 184, 0, 0.4), 0 0 44px rgba(245, 184, 0, 0.15);
}
body.dark-theme .agg-rating-score {
    text-shadow: 0 0 20px rgba(245, 184, 0, 0.35);
}

/* ==========================================
   LIVE SAMPLE PREVIEW WIDGET
   3-step lead qualification drawer
========================================== */
.sample-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sample-drawer.is-open { opacity: 1; pointer-events: all; }
.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 22, 0.70);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.drawer-panel {
    position: relative;
    z-index: 1;
    background: var(--cb-card-bg);
    border: 1px solid var(--cb-border);
    border-top: 3px solid var(--clr-primary);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem 2.75rem 2rem;
    box-shadow: 0 40px 100px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.05) inset;
    transform: translateY(22px) scale(0.97);
    transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.dark-theme .drawer-panel {
    border-top-color: var(--clr-gold);
    background: #1e293b;
    box-shadow: 0 40px 100px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.07) inset;
}
.sample-drawer.is-open .drawer-panel { transform: translateY(0) scale(1); }
.drawer-close {
    position: absolute;
    top: 1.1rem; right: 1.1rem;
    width: 1.9rem; height: 1.9rem;
    border-radius: 50%;
    border: 1px solid var(--cb-border);
    background: var(--cb-surface);
    color: var(--cb-text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.76rem;
    transition: all 0.2s ease;
}
.drawer-close:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
/* Step indicator */
.drawer-steps {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin-bottom: 2rem;
}
.drawer-step {
    width: 1.9rem; height: 1.9rem;
    border-radius: 50%;
    border: 2px solid var(--cb-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.74rem; font-weight: 800;
    color: var(--cb-text-muted);
    transition: all 0.3s ease; flex-shrink: 0;
}
.drawer-step.active { background: var(--clr-primary); border-color: var(--clr-primary); color: #fff; }
.drawer-step.done   { background: #22c55e; border-color: #22c55e; color: #fff; }
.drawer-step-line {
    flex: 1; height: 2px;
    background: var(--cb-border); max-width: 56px;
    transition: background 0.3s ease;
}
.drawer-step-line.done { background: #22c55e; }
/* Content states */
.drawer-content { display: block; }
.drawer-content.hidden { display: none; }
/* Eyebrow + headings */
.drawer-eyebrow {
    font-size: 0.7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--clr-primary); margin-bottom: 0.4rem;
}
body.dark-theme .drawer-eyebrow { color: var(--clr-gold); }
.drawer-title {
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    font-weight: 900; color: var(--cb-text-main);
    letter-spacing: -0.4px; margin-bottom: 0.4rem; line-height: 1.2;
}
.drawer-sub {
    font-size: 0.875rem; color: var(--cb-text-muted);
    margin-bottom: 1.5rem; line-height: 1.6;
}
/* Form + pills */
.drawer-form { display: flex; flex-direction: column; gap: 1.1rem; }
.drawer-field { display: flex; flex-direction: column; gap: 0.45rem; }
.drawer-label {
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--cb-text-muted);
}
.drawer-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.drawer-pill {
    padding: 0.4rem 0.85rem; border-radius: 100px;
    border: 1.5px solid var(--cb-border); background: var(--cb-surface);
    color: var(--cb-text-muted); font-size: 0.8rem; font-weight: 600;
    cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.15s ease; font-family: inherit; line-height: 1;
}
.drawer-pill:active { transform: scale(0.96); }
.drawer-pill:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 2px; }
.drawer-pill:hover  { border-color: var(--clr-primary); color: var(--clr-primary); }
.drawer-pill.selected { border-color: var(--clr-primary); background: var(--clr-primary); color: #fff; }
body.dark-theme .drawer-pill.selected { border-color: var(--clr-gold); background: var(--clr-gold); color: #111; }
.drawer-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: var(--clr-primary); color: #fff; border: none;
    border-radius: var(--radius-md); padding: 0.85rem 2rem;
    font-size: 0.92rem; font-weight: 700; font-family: inherit;
    cursor: pointer; transition: all 0.22s ease; margin-top: 0.25rem;
}
.drawer-cta:hover:not(:disabled) {
    background: var(--clr-primary-glow);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}
.drawer-cta:disabled { opacity: 0.38; cursor: not-allowed; }
.drawer-cta:focus-visible { outline: 3px solid var(--clr-gold); outline-offset: 3px; }
/* Research step */
.drawer-research {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 1.1rem; padding: 1.5rem 0 2rem;
}
.research-icon {
    width: 4rem; height: 4rem;
    background: linear-gradient(135deg, rgba(30,58,138,0.1), rgba(37,99,235,0.15));
    border: 1px solid rgba(30,58,138,0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--clr-primary);
    animation: rPulse 1.8s ease-in-out infinite;
}
body.dark-theme .research-icon { border-color: rgba(245,184,0,0.22); color: var(--clr-gold); }
@keyframes rPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(30,58,138,0.3); }
    50%      { box-shadow: 0 0 0 12px rgba(30,58,138,0); }
}
.research-title { font-size: 1.15rem; font-weight: 800; color: var(--cb-text-main); margin: 0; }
.research-bar {
    width: 100%; height: 4px;
    background: var(--cb-border); border-radius: 100px; overflow: hidden;
}
.research-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--clr-primary), #2563eb);
    border-radius: 100px; width: 0%;
    transition: width 0.1s linear;
}
.research-status { font-size: 0.82rem; color: var(--cb-text-muted); min-height: 1.4em; margin: 0; }
.research-sources { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.research-source {
    font-size: 0.73rem; font-weight: 600; color: var(--cb-text-muted);
    display: flex; align-items: center; gap: 0.35rem;
    opacity: 0.35; transition: opacity 0.4s ease, color 0.4s ease;
}
.research-source.lit { opacity: 1; color: var(--clr-primary); }
body.dark-theme .research-source.lit { color: var(--clr-gold); }
/* Lead preview table */
.drawer-preview-title {
    font-size: clamp(1.1rem, 1.9vw, 1.45rem); font-weight: 900;
    color: var(--cb-text-main); margin-bottom: 0.3rem; letter-spacing: -0.3px;
}
.lead-preview-table {
    border: 1px solid var(--cb-border); border-radius: var(--radius-md);
    overflow: hidden; margin: 1rem 0; font-size: 0.78rem;
}
.lpt-header {
    display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.5fr;
    background: var(--cb-section-bg); padding: 0.55rem 0.9rem;
    border-bottom: 1px solid var(--cb-border);
}
.lpt-header span {
    font-size: 0.65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; color: var(--cb-text-muted);
}
.lpt-row {
    display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.5fr;
    padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--cb-border);
    align-items: center;
}
.lpt-row:last-of-type { border-bottom: none; }
.lpt-row span { color: var(--cb-text-main); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lpt-visible { background: rgba(30,58,138,0.03); }
.lpt-visible .lpt-email { color: var(--clr-primary); font-weight: 700; }
.lpt-blurred span { filter: blur(4px); user-select: none; color: var(--cb-text-muted); }
.lpt-more {
    padding: 0.55rem 0.9rem; font-size: 0.73rem; font-weight: 700;
    color: var(--clr-primary); background: rgba(30,58,138,0.04);
    text-align: center; border-top: 1px solid var(--cb-border);
}
body.dark-theme .lpt-more { color: var(--clr-gold); }
/* Email capture form */
.drawer-email-form { display: flex; flex-direction: column; gap: 0.65rem; }
.drawer-email-label { font-size: 0.85rem; font-weight: 600; color: var(--cb-text-main); }
.drawer-email-row { display: flex; gap: 0.45rem; }
.drawer-email-input {
    flex: 1; padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--cb-border); border-radius: var(--radius-md);
    background: var(--cb-surface); color: var(--cb-text-main);
    font-size: 0.875rem; font-family: inherit; outline: none;
    transition: border-color 0.2s ease;
}
.drawer-email-input:focus { border-color: var(--clr-primary); }
body.dark-theme .drawer-email-input:focus { border-color: var(--clr-gold); }
.drawer-email-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--clr-gold); color: #111; border: none;
    border-radius: var(--radius-md); padding: 0.7rem 1.2rem;
    font-size: 0.84rem; font-weight: 800; font-family: inherit;
    cursor: pointer; white-space: nowrap; transition: all 0.2s ease;
}
.drawer-email-btn:hover { background: #e6ad00; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,184,0,0.4); }
.drawer-disclaimer { font-size: 0.7rem; color: var(--cb-text-muted); text-align: center; margin: 0; }
/* Success state */
.drawer-success {
    display: none; flex-direction: column; align-items: center;
    text-align: center; gap: 1rem; padding: 2rem 1rem;
}
.drawer-success.visible { display: flex; }
.success-ring {
    width: 60px; height: 60px; background: #22c55e;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff;
    animation: sPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes sPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.drawer-success h3 { font-size: 1.2rem; font-weight: 800; color: var(--cb-text-main); margin: 0; }
.drawer-success p { font-size: 0.875rem; color: var(--cb-text-muted); margin: 0; }
@media (max-width: 640px) {
    .drawer-panel { padding: 1.75rem 1.25rem 1.5rem; }
    .drawer-email-row { flex-direction: column; }
    .lpt-header, .lpt-row { grid-template-columns: 1.3fr 1fr 1.5fr; }
    .lpt-header span:nth-child(3), .lpt-row span:nth-child(3) { display: none; }
}
/* --- V4 PRO UX OVERRIDES --- */

/* macOS Browser Window Wrapper for Portfolio Images */
.portfolio-img-wrap {
    border-top: 24px solid #f1f5f9; 
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}
.portfolio-img-wrap::before {
    content: '';
    position: absolute;
    top: -15px; left: 10px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ff5f56;
    box-shadow: 14px 0 0 #ffbd2e, 28px 0 0 #27c93f;
}

/* Modern Quote Background */
.quote-icon-bg {
    opacity: 0.04 !important;
}

/* Premium Personal Box */
.personal-box {
    border: 1px solid var(--cb-border) !important;
    background: linear-gradient(145deg, var(--cb-surface), var(--cb-bg)) !important;
    border-style: solid !important;
}

/* ══════════════════════════════════════════════════
   NEWSLETTER FORM STYLING
   ══════════════════════════════════════════════════ */

.newsletter-form input:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
body.dark-theme .newsletter-form input:focus {
    border-color: var(--clr-gold);
    box-shadow: 0 0 0 3px rgba(255, 204, 9, 0.2);
}


/* ==========================================
   WHATSAPP WIDGET (MODERN POPUP)
========================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 9999;
    font-family: inherit;
}
.wa-fab {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wa-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
.wa-popup {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    background: var(--cb-bg);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    border: 1px solid var(--cb-border);
}
.wa-popup[aria-hidden="true"] {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.wa-header {
    background: #075e54;
    color: white;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wa-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-header-info strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}
.wa-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
}
.wa-close:hover { opacity: 1; }
.wa-body {
    padding: 20px;
    background: var(--cb-surface);
}
.wa-message {
    background: var(--cb-bg);
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.9rem;
    color: var(--cb-text-main);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid var(--cb-border);
}
.wa-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: var(--cb-text-muted);
    margin-top: 5px;
}
.wa-footer {
    padding: 16px;
    background: var(--cb-bg);
    text-align: center;
}
.wa-btn {
    display: inline-block;
    width: 100%;
    background: #25d366;
    color: white !important;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.wa-btn:hover { background: #1ebe56; }

@media (max-width: 480px) {
    .whatsapp-widget { bottom: 1rem; left: 1rem; }
}

/* ==========================================
   SOCIAL PROOF TICKER
========================================== */
.social-proof-ticker {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--cb-surface);
    border: 1px solid var(--cb-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9998;
    font-size: 0.9rem;
    color: var(--cb-text-main);
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s;
    font-family: inherit;
}
.social-proof-ticker.show {
    transform: translateY(0);
    opacity: 1;
}
.sp-icon {
    background: var(--clr-gold);
    color: #111;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}
.sp-text strong {
    font-weight: 700;
}
@media (max-width: 480px) {
    .social-proof-ticker {
        bottom: 5rem;
        right: 1rem;
        left: 1rem;
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}
