/* =============================================
   STARBOOSTER - Main Stylesheet
   ============================================= */

/* CSS Variables */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #E6F0FF;
    --secondary: #1a1a2e;
    --accent: #00D4AA;
    --success: #00C853;
    --warning: #FFB300;
    --danger: #FF3D57;
    
    --text-primary: #1a1a2e;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    
    --border-color: #e2e8f0;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease;
    
    /* Service colors */
    --google-color: #4285F4;
    --tripadvisor-color: #34E0A1;
    --trustpilot-color: #00B67A;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, #2563eb 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: white;
    box-shadow:
        0 6px 18px rgba(0, 102, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow:
        0 10px 28px rgba(0, 102, 255, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 20px;
    border-radius: var(--border-radius-lg);
}

.btn-block {
    width: 100%;
}

/* =============================================
   SERVICE SELECTOR BAR
   ============================================= */
.service-selector-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-selector-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.service-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.service-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: var(--border-radius);
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.service-tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.service-tab.active {
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.service-tab .service-icon {
    width: 18px;
    height: 18px;
}

.service-tab .service-icon-emoji {
    font-size: 16px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-flag {
    font-size: 18px;
}

.lang-code {
    font-weight: 600;
}

.lang-arrow {
    transition: var(--transition);
}

.lang-dropdown.active + .lang-btn .lang-arrow,
.lang-btn:focus .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.lang-option:hover {
    background: var(--bg-light);
}

.lang-option.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-icon {
    color: var(--primary);
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-cta {
    padding: 10px 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* =============================================
   RESERVED OFFER BANNER
   ============================================= */
.reserved-offer-banner {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    padding: 14px 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    position: fixed;
    top: 68px; /* Right below navbar */
    left: 0;
    right: 0;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reserved-offer-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.reserved-offer-banner .reserved-icon {
    font-size: 18px;
}

.reserved-offer-banner strong,
.reserved-offer-banner .reserved-business-name {
    font-weight: 700;
}

.reserved-offer-banner.hidden {
    display: none;
}

/* When banner is visible, adjust hero padding */
body.has-reserved-banner .hero {
    padding-top: 210px;
}

@media (max-width: 768px) {
    .reserved-offer-banner {
        top: 60px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    body.has-reserved-banner .hero {
        padding-top: 170px;
    }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 140px 0 60px;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(0, 102, 255, 0.12), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(0, 212, 170, 0.10), transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
}

.hero-blob-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.35) 0%, transparent 70%);
    top: -180px; right: -120px;
    animation: blobFloat 18s ease-in-out infinite;
}

.hero-blob-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.28) 0%, transparent 70%);
    bottom: -150px; left: -120px;
    animation: blobFloat 22s ease-in-out infinite reverse;
}

.hero-blob-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255, 61, 87, 0.18) 0%, transparent 70%);
    top: 35%; left: 55%;
    animation: blobFloat 26s ease-in-out infinite;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.05); }
    66%      { transform: translate(-30px, 20px) scale(0.97); }
}

/* Hero starfield: full-bleed decorative canvas with parallax stars,
   dynamic constellations and occasional meteors. No focal point — the
   canvas covers the entire hero uniformly, stars are drifting in a
   slight diagonal direction. Sized/painted from JS (initHeroStarfield). */
.hero-starfield {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.85;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-starfield { opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-starfield { opacity: 0.5; }
}

.hero-container {
    position: relative;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    animation: fadeInDown 0.6s ease;
}

.hero-badge strong {
    color: var(--text-primary);
    font-weight: 700;
}

.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.18);
    animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(0, 200, 83, 0.05); }
}

.hero-title {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.typing-container {
    display: inline-block;
    font-size: inherit;
    background: linear-gradient(135deg, var(--primary) 0%, #5b8cff 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Platform-name rotator — fade-swap transition, no typewriter cursor.
   Color is driven by [data-platform] so each brand keeps its own hue. */
.platform-rotator {
    display: inline-block;
    /* Reserve the width of the longest name ("Instagram") so rotating
       between Instagram/TikTok/YouTube never causes a layout shift in
       the hero title. text-align:center keeps the word's visible centre
       pinned at the box centre — rotating to a shorter word (TikTok,
       YouTube) produces symmetric whitespace on both sides instead of
       visible trailing whitespace before the line break, which is less
       noticeable than having all the gap piled up after the word. */
    min-width: 10ch;
    text-align: center;
    font-weight: inherit;
    color: var(--primary);
    transition: opacity 0.22s ease, color 0.22s ease, transform 0.22s ease;
    will-change: opacity, transform;
}

.platform-rotator.is-fading {
    opacity: 0;
    transform: translateY(-6px);
}

.platform-rotator[data-platform="instagram"] { color: #E1306C; }
.platform-rotator[data-platform="tiktok"]    { color: #000000; }
.platform-rotator[data-platform="youtube"]   { color: #FF0000; }

.typing-cursor {
    display: inline-block;
    animation: blink 1s infinite;
    font-weight: 400;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 22px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-reassurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 42px;
    font-size: 14px;
    color: var(--text-secondary);
    animation: fadeInUp 0.6s ease 0.35s both;
}

.reassurance-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.reassurance-item .ok {
    color: var(--success);
    font-weight: 700;
}

.hero-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 16px 28px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    animation: fadeInUp 0.6s ease 0.45s both;
}

.hsp-rating,
.hsp-clients {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.hsp-stars {
    color: #FFB300;
    font-size: 20px;
    letter-spacing: 1px;
}

.hsp-rating-text,
.hsp-clients-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 13px;
    color: var(--text-secondary);
}

.hsp-rating-text strong,
.hsp-clients-text strong {
    font-size: 15px;
    color: var(--text-primary);
}

.hsp-divider {
    width: 1px;
    height: 34px;
    background: var(--border-color);
}

.hsp-avatars {
    display: flex;
    align-items: center;
}

.hsp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    margin-left: -10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.hsp-avatar:first-child { margin-left: 0; }

/* Keep legacy .trust-logos rules harmless if any page still uses them */
.trust-logos { display: none; }

/* =============================================
   LIVE DELIVERY TICKER
   ============================================= */
.live-ticker {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    overflow: hidden;
}

.live-ticker-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.live-ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
    animation: pulseDot 1.5s ease-in-out infinite;
}

.live-ticker-track {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}

.live-ticker-marquee {
    display: flex;
    gap: 14px;
    animation: tickerScroll 45s linear infinite;
    will-change: transform;
}

.live-ticker:hover .live-ticker-marquee {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.ticker-item strong {
    color: var(--text-primary);
    font-weight: 700;
}

.ticker-platform {
    font-size: 16px;
    line-height: 1;
}

.ticker-time {
    color: var(--text-light);
    font-size: 13px;
}

/* "Just now" entry — inserted at the head of the marquee every ~20s.
   Green pulsing dot + green time label signal a live purchase. */
.ticker-item--fresh {
    border-color: rgba(0, 200, 83, 0.45);
    background: #ecfdf5;
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.08);
    animation: tickerFreshPop 0.6s ease;
}

.ticker-item--fresh::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.20);
    animation: pulseDot 1.4s ease-in-out infinite;
    margin-right: 2px;
}

.ticker-item--fresh .ticker-time {
    color: var(--success);
    font-weight: 700;
}

@keyframes tickerFreshPop {
    0%   { transform: translateY(-6px) scale(0.97); opacity: 0; }
    60%  { transform: translateY(0)    scale(1.03); opacity: 1; }
    100% { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* =============================================
   SERVICE CATEGORY CARDS
   ============================================= */
.service-cards-section {
    padding: 100px 0 80px;
    background: var(--bg-white);
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    font-family: inherit;
    padding: 0;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    border-color: transparent;
}

.service-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--border-radius-full);
    letter-spacing: 0.08em;
}

.service-card-header {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-card-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
}

.service-card-header--instagram {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
}

.service-card-header--tiktok {
    background: linear-gradient(135deg, #25F4EE 0%, #000000 50%, #FE2C55 100%);
}

.service-card-header--youtube {
    background: linear-gradient(135deg, #FF0000 0%, #B80000 100%);
}

.service-card-emoji {
    position: relative;
    z-index: 1;
    font-size: 56px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
    transition: transform 0.35s ease;
}

.service-card:hover .service-card-emoji {
    transform: scale(1.08) rotate(-4deg);
}

.service-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.service-card-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}

.service-card-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.service-card-stars {
    color: #FFB300;
    font-size: 15px;
    letter-spacing: 1px;
}

.service-card-score {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.service-card-count {
    font-size: 13px;
    color: var(--text-light);
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-card-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 22px;
    position: relative;
}

.service-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: 800;
}

.service-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 15px;
    transition: background 0.25s ease, gap 0.25s ease;
}

.service-card:hover .service-card-cta {
    background: var(--primary-dark);
    gap: 12px;
}

/* =============================================
   MEDIA MENTIONS STRIP
   ============================================= */
.media-mentions {
    padding: 40px 0 80px;
    background: var(--bg-white);
}

.media-mentions-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 24px;
}

.media-mentions-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px 56px;
    opacity: 0.75;
}

.media-logo {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #94a3b8;
    white-space: nowrap;
    transition: color 0.25s ease, transform 0.25s ease;
}

.media-logo:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats {
    padding: 100px 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 200px;
    margin: 0 auto;
}

/* =============================================
   PRICING SECTION
   ============================================= */
.pricing {
    padding: 100px 0;
    background: var(--bg-light);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.toggle-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.toggle-label.active {
    color: var(--text-primary);
}

.badge-discount {
    display: inline-block;
    padding: 2px 8px;
    background: var(--success);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--border-radius-full);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
    background: var(--border-color);
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active .toggle-slider {
    left: 29px;
}

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

.pricing-card {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: top;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--success);
    font-weight: 700;
}

.pricing-features .x {
    color: var(--text-light);
}

.pricing-features li.disabled {
    color: var(--text-light);
}

/* =============================================
   COMPARISON SECTION
   ============================================= */
.comparison {
    padding: 100px 0;
    background: var(--bg-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.comparison-table th:last-child {
    background: var(--primary-light);
}

.competitor-header,
.our-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.competitor-icon,
.our-icon {
    font-size: 20px;
}

.our-header {
    color: var(--primary);
    font-weight: 700;
}

.comparison-table td:last-child {
    background: rgba(0, 102, 255, 0.02);
}

.table-yes {
    color: var(--success);
    font-weight: 600;
}

.table-no {
    color: var(--danger);
}

.table-partial {
    color: var(--warning);
}

.table-neutral {
    color: var(--text-light);
}

.comparison-cta {
    text-align: center;
}

/* =============================================
   HOW IT WORKS / SECTORS
   ============================================= */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sector-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.sector-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

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

.sector-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(24px, 4vw, 36px);
    color: white;
    margin-bottom: 16px;
}

.cta-content h2 span {
    opacity: 0.9;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.cta-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.cta-rating .stars {
    font-size: 24px;
    color: #FFD700;
}

.cta-rating span {
    font-size: 14px;
    opacity: 0.9;
}

/* =============================================
   BENEFITS SECTION
   ============================================= */
.benefits {
    padding: 100px 0;
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* =============================================
   BEFORE/AFTER SECTION
   ============================================= */
.before-after {
    padding: 100px 0;
    background: var(--bg-light);
}

.ba-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ba-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 32px;
    width: 320px;
    box-shadow: var(--shadow);
    position: relative;
}

.ba-label {
    position: absolute;
    top: -12px;
    left: 24px;
    padding: 4px 16px;
    border-radius: var(--border-radius-full);
    font-size: 13px;
    font-weight: 600;
}

.ba-card.before .ba-label {
    background: var(--danger);
    color: white;
}

.ba-card.after .ba-label {
    background: var(--success);
    color: white;
}

.ba-preview {
    padding-top: 8px;
}

.ba-business-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ba-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ba-stars {
    font-size: 20px;
}

.ba-stars.bad {
    color: var(--danger);
}

.ba-stars.good {
    color: #FFD700;
}

.ba-score {
    font-size: 24px;
    font-weight: 800;
}

.ba-reviews {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.ba-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
}

.ba-status.negative {
    background: rgba(255, 61, 87, 0.1);
    color: var(--danger);
}

.ba-status.positive {
    background: rgba(0, 200, 83, 0.1);
    color: var(--success);
}

.ba-arrow {
    color: var(--primary);
}

/* =============================================
   RESULTS SECTION
   ============================================= */
.results {
    padding: 100px 0;
    background: var(--bg-white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.result-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.result-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.result-avatar-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.result-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.result-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.result-stars {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 16px;
}

.result-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.result-metrics {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.metric-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* =============================================
   GUARANTEES SECTION
   ============================================= */
.guarantees {
    padding: 80px 0;
    background: var(--bg-light);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.guarantee-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.guarantee-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.guarantee-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.guarantee-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* =============================================
   WHY CHOOSE US SECTION
   ============================================= */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.why-choose-us .section-title {
    color: white;
}

.why-choose-us .section-title .highlight {
    color: #FFD700;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.why-stat {
    text-align: center;
}

.why-stat-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.why-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.why-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.why-feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.why-feature h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 12px;
}

.why-feature p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .why-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .why-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .why-stat-number {
        font-size: 36px;
    }
    
    .why-features {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   FINAL CTA SECTION
   ============================================= */
.final-cta {
    padding: 120px 0;
    background: var(--bg-dark);
    color: white;
    text-align: center;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: clamp(28px, 5vw, 42px);
    color: white;
    margin-bottom: 20px;
}

.final-cta-content > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.final-cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.final-stat {
    text-align: center;
}

.final-stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.final-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq {
    padding: 100px 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
}

.footer-links h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icon {
    font-size: 20px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .service-selector-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-label {
        display: none;
    }
    
    .stats-grid,
    .pricing-grid,
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sectors-grid,
    .benefits-grid,
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .service-selector-bar {
        padding: 6px 0;
    }
    
    .service-selector-wrapper {
        gap: 6px;
        padding: 0 8px;
    }
    
    .service-label {
        display: none;
    }
    
    .service-tabs {
        gap: 2px;
        padding: 3px;
    }
    
    .service-tab {
        padding: 6px 10px;
        font-size: 12px;
        gap: 4px;
    }
    
    .service-tab .service-icon {
        width: 14px;
        height: 14px;
    }
    
    .service-tab .service-icon-emoji {
        font-size: 14px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .lang-flag {
        font-size: 14px;
    }
    
    .lang-code {
        font-size: 11px;
    }
    
    .lang-arrow {
        width: 10px;
        height: 10px;
    }
    
    .navbar {
        top: 0;
    }
    
    .hero {
        padding-top: 110px;
    }
    
    .hero-title {
        font-size: 29px;
        line-height: 1.15;
    }
    
    /* Hide br on mobile for better text flow */
    .hero-title br {
        display: none;
    }
    
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .trust-logos {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stats-grid,
    .pricing-grid,
    .sectors-grid,
    .benefits-grid,
    .guarantees-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .ba-comparison {
        flex-direction: column;
        gap: 60px;
    }
    
    .ba-arrow {
        transform: rotate(90deg);
    }
    
    .ba-card {
        width: 100%;
        max-width: 320px;
    }
    
    .final-cta-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .service-selector-wrapper {
        gap: 6px;
        padding: 0 4px;
    }
    
    .service-tabs {
        gap: 1px;
        padding: 2px;
    }
    
    .service-tab {
        padding: 5px 8px;
        font-size: 11px;
        gap: 3px;
        border-radius: 6px;
    }
    
    .service-tab .service-icon {
        width: 12px;
        height: 12px;
    }
    
    .service-tab .service-icon-emoji {
        font-size: 12px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        gap: 4px;
    }
    
    .lang-flag {
        font-size: 12px;
    }
    
    .lang-code {
        font-size: 10px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 16px 12px;
        font-size: 14px;
    }
}

/* ========================================
   CHECKOUT MODAL
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
    /* Trap scroll inside the modal — touch events that overflow the modal
       stay here instead of bleeding into the body behind it. */
    overflow: hidden;
    overscroll-behavior: contain;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    /* Without this, any child wider than the modal (e.g. a stepper label)
       lets the whole modal scroll horizontally, which on iOS Safari also
       leaks touch gestures to the background instead of scrolling the
       modal content. */
    overflow-x: hidden;
    /* Accept only vertical pan/scroll; sideways swipes are disabled so they
       don't get captured by the overlay and drag the background page. */
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    z-index: 10;
}

.modal-close:hover {
    background: #e5e7eb;
    color: #111827;
}

.modal-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.modal-header p {
    color: #6b7280;
    font-size: 15px;
}

.modal-body {
    padding: 24px 32px;
    background: #ffffff;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
    font-size: 15px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* Quiz Confirmation Message */
.quiz-confirmation-msg {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border: 1px solid #93c5fd;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.6;
}

.quiz-confirmation-msg .confirm-icon {
    margin-right: 8px;
}

.quiz-confirmation-msg strong {
    font-weight: 600;
    color: #1e3a8a;
    white-space: nowrap;
}

/* Platform Selection */
.platform-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platform-option {
    cursor: pointer;
    display: block;
}

.platform-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.platform-option input:checked + .platform-card {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.04);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.platform-option:hover .platform-card {
    border-color: #d1d5db;
}

.platform-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.platform-icon-emoji {
    font-size: 26px;
    flex-shrink: 0;
}

.platform-name {
    font-weight: 600;
    color: #111827;
    font-size: 15px;
}

.platform-desc {
    font-size: 13px;
    color: #6b7280;
    margin-left: auto;
}

/* Search Input with Results */
.search-input-wrapper {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f9fafb;
}

.search-result-item .result-name {
    font-weight: 500;
    color: #111827;
    font-size: 14px;
}

.search-result-item .result-address {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.search-loading {
    padding: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    align-items: start;
    cursor: pointer;
    padding: 16px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.checkbox-label:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #ffffff;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: 700;
}

.checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-text strong {
    color: #111827;
    font-size: 15px;
    font-weight: 600;
}

.checkbox-hint {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

/* Order Summary */
.order-summary {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e5e7eb;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-row span:first-child {
    font-weight: 600;
    color: #111827;
    font-size: 16px;
}

.summary-price {
    font-size: 28px;
    font-weight: 800;
    color: #d97706;
}

/* Modal Footer */
.modal-footer {
    padding: 24px 32px 32px;
    background: #ffffff;
    border-radius: 0 0 20px 20px;
}

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

/* Modal Mobile Responsive */
@media (max-width: 640px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
        max-width: 100%;
        animation: modalSlideUp 0.3s ease;
    }
    
    @keyframes modalSlideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .modal-header {
        padding: 24px 20px 20px;
        border-radius: 20px 20px 0 0;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 20px;
        border-radius: 0;
    }
    
    .platform-card {
        padding: 14px 16px;
        flex-wrap: wrap;
    }
    
    .platform-desc {
        width: 100%;
        margin-left: 42px;
        margin-top: 4px;
    }
    
    .summary-price {
        font-size: 24px;
    }
}

/* =============================================
   BUNDLE MODAL — competitor-style overrides
   These rules are scoped under #checkout-modal to avoid
   collisions with the legacy modal styling above.
   ============================================= */

/* ----- Step indicator (top bar) ----- */

#checkout-modal .stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 28px 6px;
    background: #ffffff;
}

#checkout-modal .stepper-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

#checkout-modal .stepper-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
    border: 1.5px solid transparent;
}

#checkout-modal .stepper-item.active { color: #0f172a; }
#checkout-modal .stepper-item.active .stepper-num {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(238, 9, 121, 0.25);
}

#checkout-modal .stepper-item.done { color: #475569; }
#checkout-modal .stepper-item.done .stepper-num {
    background: #dcfce7;
    color: #16a34a;
}
#checkout-modal .stepper-item.done .stepper-num::after {
    content: '✓';
    font-size: 14px;
}
#checkout-modal .stepper-item.done .stepper-num {
    font-size: 0; /* hide the digit */
}

#checkout-modal .stepper-line {
    flex: 0 1 40px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 1px;
}

/* ----- Step switching ----- */

#checkout-modal .modal-step { display: none; }
#checkout-modal .modal-step.modal-step--active { display: block; }

/* ----- Step 1: Profile search ----- */

#checkout-modal .profile-search { margin-bottom: 8px; }

#checkout-modal .profile-search-bar {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 2.5px solid transparent;
    border-radius: 14px;
    background-image:
        linear-gradient(#ffffff, #ffffff),
        linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: hidden;
    transition: box-shadow 0.15s;
}

#checkout-modal .profile-search-bar:focus-within {
    box-shadow: 0 0 0 4px rgba(238, 9, 121, 0.12);
}

#checkout-modal .profile-search-icon {
    display: inline-flex;
    align-items: center;
    padding: 0 12px 0 16px;
    font-size: 22px;
    line-height: 1;
    color: #0f172a;
    border-right: 1px solid #e2e8f0;
}

#checkout-modal #profile-search-input {
    flex: 1;
    padding: 14px 14px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: #0f172a;
    font-family: inherit;
    min-width: 0;
}

#checkout-modal #profile-search-input::placeholder { color: #94a3b8; }

#checkout-modal .profile-search-btn {
    padding: 0 26px;
    border: none;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: filter 0.15s;
    font-family: inherit;
}
#checkout-modal .profile-search-btn:hover { filter: brightness(1.05); }

#checkout-modal .profile-search-hint {
    font-size: 13px;
    color: #64748b;
    margin: 10px 2px 0;
}

#checkout-modal .profile-search-results {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 360px;
    overflow-y: auto;
}
#checkout-modal .profile-search-results:not(.visible) { display: none; }

#checkout-modal .profile-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: #ffffff;
}

#checkout-modal .profile-result:hover {
    border-color: #ee0979;
    background: #fff5f9;
}

#checkout-modal .profile-result.selected {
    border-color: transparent;
    background:
        linear-gradient(#fff5f9, #fff5f9) padding-box,
        linear-gradient(135deg, #ff6a00, #ee0979) border-box;
    border: 2.5px solid transparent;
}

#checkout-modal .profile-result-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}
#checkout-modal .profile-result-avatar--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
}

#checkout-modal .profile-result-info {
    flex: 1;
    min-width: 0;
}
#checkout-modal .profile-result-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
#checkout-modal .profile-result-username {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 2px;
}
#checkout-modal .profile-result-bio {
    color: #64748b;
    font-size: 12.5px;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.35;
}

#checkout-modal .profile-result-btn {
    padding: 9px 18px;
    border: none;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
    font-family: inherit;
    transition: filter 0.15s, transform 0.1s;
}
#checkout-modal .profile-result-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }

#checkout-modal .profile-manual-skip {
    text-align: center;
    margin-top: 18px;
}

#checkout-modal .link-btn {
    background: none;
    border: none;
    color: #ee0979;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    padding: 6px;
    font-family: inherit;
}
#checkout-modal .link-btn:hover { text-decoration: underline; }

/* ============================================================
   Selected profile banner (Step 2) — Instagram-style card
   ============================================================ */

#checkout-modal .selected-profile-preview {
    display: flex !important;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 22px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
#checkout-modal .selected-profile-preview:empty { display: none !important; }

#checkout-modal .selected-profile-preview.not-found {
    background: #fef2f2;
    border-color: #fecaca;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.08);
}

/* --- Avatar (Instagram-style gradient ring around circular photo) --- */

#checkout-modal .profile-banner-avatar-ring {
    width: 68px !important;
    height: 68px !important;
    flex: 0 0 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
    padding: 2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#checkout-modal .profile-banner-avatar {
    width: 62px !important;
    height: 62px !important;
    max-width: 62px !important;
    max-height: 62px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    background: #ffffff;
    padding: 2px;
    box-sizing: border-box;
}

#checkout-modal .profile-banner-avatar--fallback {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #ffffff;
    font-weight: 700;
    font-size: 24px;
    padding: 0;
}

#checkout-modal .profile-banner-avatar--warning {
    background: #ef4444 !important;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 32px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    line-height: 1;
}

/* When in "not-found" state, remove the IG gradient ring — use a plain red ring */
#checkout-modal .selected-profile-preview.not-found .profile-banner-avatar-ring {
    background: #fecaca !important;
    padding: 3px;
}

/* --- Text column --- */

#checkout-modal .profile-banner-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#checkout-modal .profile-banner-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    word-break: break-word;
}

#checkout-modal .profile-banner-username {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.3;
}

#checkout-modal .profile-banner-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
    font-size: 13px;
    color: #475569;
    line-height: 1.3;
}

#checkout-modal .profile-banner-stats > span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

#checkout-modal .profile-banner-stats strong {
    color: #0f172a;
    font-weight: 700;
}

#checkout-modal .profile-banner-stats--loading {
    color: #94a3b8;
    font-size: 12.5px;
    font-style: italic;
    margin-top: 6px;
}

#checkout-modal .profile-banner-warning {
    margin-top: 4px;
    font-size: 13.5px;
    color: #b91c1c;
    line-height: 1.45;
    font-weight: 500;
}
#checkout-modal .selected-profile-preview.not-found .profile-banner-name {
    color: #991b1b;
}
#checkout-modal .selected-profile-preview.not-found .profile-banner-username {
    color: #dc2626;
    font-weight: 600;
}

/* Disabled "Procedi all'ordine" button */
#checkout-modal .btn-primary:disabled,
#checkout-modal .btn-primary.disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}
#checkout-modal .btn-primary:disabled:hover,
#checkout-modal .btn-primary.disabled:hover {
    background: #e2e8f0 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* --- Badges (verified / private) --- */

#checkout-modal .profile-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 999px;
    line-height: 1;
}
#checkout-modal .profile-badge--verified {
    width: 16px;
    height: 16px;
    background: #3b82f6;
    color: #ffffff;
    font-size: 10px;
}
#checkout-modal .profile-badge--private {
    padding: 3px 8px;
    background: #e2e8f0;
    color: #475569;
    gap: 4px;
}

/* --- "Cambia" button (top-right, compact) --- */

#checkout-modal .profile-banner-change {
    position: absolute !important;
    top: 12px;
    right: 14px;
    padding: 4px 10px !important;
    font-size: 12.5px !important;
    color: #ee0979;
    background: rgba(238, 9, 121, 0.08);
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.15s;
}
#checkout-modal .profile-banner-change:hover {
    background: rgba(238, 9, 121, 0.14);
    text-decoration: none !important;
}

/* --- Responsive --- */

@media (max-width: 520px) {
    #checkout-modal .selected-profile-preview {
        gap: 12px;
        padding: 14px 16px;
    }
    #checkout-modal .profile-banner-avatar-ring {
        width: 56px !important;
        height: 56px !important;
        flex: 0 0 56px !important;
    }
    #checkout-modal .profile-banner-avatar {
        width: 50px !important;
        height: 50px !important;
    }
    #checkout-modal .profile-banner-name { font-size: 15px; }
    #checkout-modal .profile-banner-stats {
        gap: 10px;
        font-size: 12.5px;
    }
    #checkout-modal .profile-banner-change {
        top: 10px;
        right: 10px;
    }
}

/* ----- Footer variations ----- */

#checkout-modal .modal-footer--single {
    display: block;
}
#checkout-modal .modal-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}
#checkout-modal .modal-footer .btn-ghost {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px;
    cursor: pointer;
    font-family: inherit;
}
#checkout-modal .modal-footer .btn-ghost:hover { color: #0f172a; }
#checkout-modal .modal-footer .btn-primary { flex: 1; }

/* ============================================================
   Step 3/4: Media grid (post/reel selection)
   ============================================================ */

#checkout-modal .accent-pink {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#checkout-modal .media-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 0;
    color: #64748b;
    font-size: 14px;
    text-align: center;
}
#checkout-modal .media-loading.hidden { display: none; }
#checkout-modal .media-loading p { margin: 0; }
#checkout-modal .media-loading-hint {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
}
#checkout-modal .media-loading .spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #ee0979;
    border-radius: 50%;
    animation: mediaSpin 0.9s linear infinite;
}
@keyframes mediaSpin { to { transform: rotate(360deg); } }

#checkout-modal .media-empty {
    text-align: center;
    padding: 36px 24px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 14px;
    color: #991b1b;
}
#checkout-modal .media-empty.hidden { display: none; }
#checkout-modal .media-empty-icon { font-size: 44px; margin-bottom: 12px; }
#checkout-modal .media-empty h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #991b1b;
}
#checkout-modal .media-empty p {
    font-size: 13.5px;
    color: #b91c1c;
    margin: 0;
    line-height: 1.5;
}

#checkout-modal .media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 18px;
}
#checkout-modal .media-grid:empty { display: none; }

#checkout-modal .media-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    border: 2.5px solid transparent;
    transition: transform 0.12s, border-color 0.15s, box-shadow 0.15s;
}

#checkout-modal .media-tile:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#checkout-modal .media-tile.selected {
    border-color: #ee0979;
    box-shadow: 0 4px 16px rgba(238, 9, 121, 0.28);
}

#checkout-modal .media-tile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

#checkout-modal .media-tile-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1;
    backdrop-filter: blur(4px);
}

#checkout-modal .media-tile-stats {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: #ffffff;
    padding: 10px 6px 4px;
    font-size: 11.5px;
    font-weight: 600;
    text-align: left;
}

#checkout-modal .media-tile-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    transition: background 0.15s;
}
#checkout-modal .media-tile.selected .media-tile-check {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    border-color: #ffffff;
}
#checkout-modal .media-tile.selected .media-tile-check::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 7px;
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* ----- Media selection summary ----- */

#checkout-modal .media-summary {
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 12px;
    min-height: 48px;
}

#checkout-modal .media-summary-hint {
    color: #94a3b8;
    font-size: 13px;
    margin: 0;
    font-style: italic;
}

#checkout-modal .media-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#checkout-modal .media-summary-count {
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
}

#checkout-modal .media-summary-dist {
    color: #475569;
    font-size: 13px;
}

/* ----- "Carica altri" pagination button ----- */

#checkout-modal .media-load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    margin: 16px 0 4px;
    padding: 14px 20px;
    background: #ffffff;
    color: #0f172a;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

#checkout-modal .media-load-more:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

#checkout-modal .media-load-more:active:not(:disabled) {
    background: #e2e8f0;
}

#checkout-modal .media-load-more:disabled {
    cursor: progress;
    background: #f8fafc;
    border-style: solid;
    border-color: #e2e8f0;
    color: #475569;
}

#checkout-modal .media-load-more-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

#checkout-modal .media-load-more-hint {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    font-style: italic;
}

/* Animated spinner shown while the paid Apify scrape is running. */
#checkout-modal .media-load-more-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #cbd5e1;
    border-top-color: #0f172a;
    border-radius: 50%;
    animation: media-load-more-spin 0.8s linear infinite;
    margin-right: 2px;
    vertical-align: -2px;
}

@keyframes media-load-more-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 520px) {
    #checkout-modal .media-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    #checkout-modal .media-tile-stats { font-size: 10.5px; }
    #checkout-modal .media-tile-badge { font-size: 10px; padding: 2px 6px; }
    #checkout-modal .media-tile-check { width: 20px; height: 20px; }
    #checkout-modal .media-tile.selected .media-tile-check::after {
        top: 4px; left: 6px; width: 5px; height: 8px;
    }
    #checkout-modal .media-load-more { font-size: 13px; padding: 10px 16px; }
}

/* ----- Stepper responsive ----- */

@media (max-width: 520px) {
    #checkout-modal .stepper { padding: 16px 14px 2px; gap: 6px; }
    #checkout-modal .stepper-label { display: none; }
    #checkout-modal .stepper-line { flex: 1; }
    #checkout-modal .profile-search-btn { padding: 0 14px; font-size: 13px; }
    #checkout-modal .profile-search-icon { padding: 0 8px 0 12px; font-size: 18px; }
    /* iOS Safari auto-zooms when a focused input has font-size < 16px and
       then does not always zoom back out, leaving the viewport stuck. Keep
       the search input at 16px on mobile to disable that behaviour — the
       2px bump is barely visible but prevents the bug entirely. */
    #checkout-modal #profile-search-input { font-size: 16px; padding: 12px 8px; }
    #checkout-modal .profile-result-btn { padding: 8px 12px; font-size: 12px; }
}

/* Universal safety net: every form control on the whole site stays at
   16px minimum when rendered on small screens, so any future input we add
   inherits the same "no auto-zoom on focus" guarantee. */
@media (max-width: 640px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    input[type="search"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px;
    }
}


#checkout-modal .modal-content.modal-bundle {
    max-width: 640px;
    padding: 0;
    background: #ffffff;
    border-radius: 22px;
}

#checkout-modal .modal-header {
    padding: 28px 32px 22px;
    background: #ffffff;
    border-bottom: 1px solid #eef2f6;
    text-align: center;
}

#checkout-modal .modal-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.25;
}

#checkout-modal .modal-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

#checkout-modal .modal-body {
    padding: 24px 28px 16px;
    background: #ffffff;
}

#checkout-modal .modal-footer {
    padding: 18px 28px 24px;
    background: #ffffff;
    border-top: 1px solid #eef2f6;
}

/* ----- Region cards (Premium EU / Italiani) ----- */

#checkout-modal .region-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 26px;
}

#checkout-modal .region-cards.hidden { display: none; }

#checkout-modal .region-card {
    position: relative;
    padding: 18px 18px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#checkout-modal .region-card:hover { border-color: #cbd5e1; }

/* Gradient border effect when active */
#checkout-modal .region-card.active {
    border-color: transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #ff6a00 0%, #ee0979 50%, #ff0099 100%) border-box;
    box-shadow: 0 8px 24px rgba(238, 9, 121, 0.12);
    transform: translateY(-1px);
}

/* Italiani variant keeps a warmer tone when active */
#checkout-modal .region-card--local.active {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%) border-box;
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.14);
}

#checkout-modal .region-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

#checkout-modal .region-card-flag {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

#checkout-modal .region-card-title {
    flex: 1;
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    line-height: 1.2;
}

#checkout-modal .region-card-check {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

#checkout-modal .region-card.active .region-card-check {
    border-color: transparent;
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
}

#checkout-modal .region-card--local.active .region-card-check {
    background: linear-gradient(135deg, #ff6a00 0%, #ff8c00 100%);
}

#checkout-modal .region-card.active .region-card-check::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 6px;
    height: 11px;
    border: solid #ffffff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

#checkout-modal .region-card-bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

#checkout-modal .region-card-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
}

#checkout-modal .region-card-bullets .bullet-icon {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

/* ----- Bundle product rows ----- */

#checkout-modal #bundle-items { margin-bottom: 24px; }

#checkout-modal .bundle-item {
    padding: 18px 0;
    border-bottom: 1px solid #eef2f6;
}
#checkout-modal .bundle-item:first-child { padding-top: 4px; }
#checkout-modal .bundle-item:last-child { border-bottom: none; padding-bottom: 8px; }

#checkout-modal .bundle-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

#checkout-modal .bundle-item-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    min-width: 0;
}

#checkout-modal .bundle-item-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

#checkout-modal .bundle-bonus-badge {
    display: inline-block;
    background: #16a34a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

#checkout-modal .bundle-item-price {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}

#checkout-modal .price-original {
    font-size: 0.65em;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}

#checkout-modal .bundle-hint {
    font-size: 13px;
    color: #64748b;
    margin: 12px 0 0;
    line-height: 1.4;
    font-weight: 500;
}

/* ----- Blocked product (private profile) ----- */

#checkout-modal .bundle-item--blocked .bundle-item-top {
    opacity: 0.55;
    filter: grayscale(0.4);
}

#checkout-modal .bundle-slider-wrap--disabled {
    opacity: 0.4;
    pointer-events: none;
}

#checkout-modal .bundle-slider:disabled {
    background: #e2e8f0 !important;
    cursor: not-allowed;
}

#checkout-modal .bundle-blocked-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
}

#checkout-modal .bundle-blocked-icon {
    font-size: 24px;
    line-height: 1.1;
    flex-shrink: 0;
}

#checkout-modal .bundle-blocked-body {
    flex: 1;
    min-width: 0;
}

#checkout-modal .bundle-blocked-body strong {
    display: block;
    color: #991b1b;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

#checkout-modal .bundle-blocked-body p {
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 10px;
}

#checkout-modal .bundle-blocked-refresh {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.1s, filter 0.15s, opacity 0.15s;
    margin-top: 2px;
}
#checkout-modal .bundle-blocked-refresh:hover:not(:disabled) {
    filter: brightness(1.05);
    transform: translateY(-1px);
}
#checkout-modal .bundle-blocked-refresh:disabled {
    opacity: 0.7;
    cursor: wait;
}

#checkout-modal .bundle-blocked-refresh-icon {
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    display: inline-block;
}

#checkout-modal .bundle-blocked-refresh-icon.spinning {
    animation: bundleRefreshSpin 0.8s linear infinite;
}

@keyframes bundleRefreshSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ----- In-modal toast ----- */

.bundle-toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(80px);
    min-width: 260px;
    max-width: 90vw;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    z-index: 100000;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-align: center;
    pointer-events: none;
}
.bundle-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.bundle-toast.success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}
.bundle-toast.error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* ----- Custom slider ----- */

#checkout-modal .bundle-slider-wrap {
    padding: 6px 0 2px;
    position: relative;
}

#checkout-modal .bundle-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        #ff6a00 0%,
        #ee0979 var(--val, 0%),
        #edf2f7 var(--val, 0%),
        #edf2f7 100%
    );
    outline: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

/* Fancy handle: pill shape with three vertical bars */
#checkout-modal .bundle-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 22px;
    border-radius: 7px;
    background:
        repeating-linear-gradient(90deg, #94a3b8 0 1.5px, transparent 1.5px 5px) center / 14px 10px no-repeat,
        #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    cursor: grab;
    margin-top: -6px;
    transition: transform 0.1s ease;
}
#checkout-modal .bundle-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

#checkout-modal .bundle-slider::-moz-range-thumb {
    width: 28px;
    height: 22px;
    border-radius: 7px;
    background:
        repeating-linear-gradient(90deg, #94a3b8 0 1.5px, transparent 1.5px 5px) center / 14px 10px no-repeat,
        #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    cursor: grab;
}

#checkout-modal .bundle-slider::-moz-range-track {
    height: 10px;
    border-radius: 999px;
    background: transparent;
}

/* ----- Form fields inside the bundle ----- */

#checkout-modal .form-group { margin-bottom: 16px; }

#checkout-modal .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

#checkout-modal .form-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

#checkout-modal .form-input:focus {
    outline: none;
    border-color: #ee0979;
    box-shadow: 0 0 0 3px rgba(238, 9, 121, 0.1);
}

#checkout-modal .form-hint {
    display: block;
    font-size: 12.5px;
    color: #94a3b8;
    margin-top: 6px;
    line-height: 1.4;
}

/* ----- Total summary ----- */

#checkout-modal .order-summary {
    background: #f8fafc;
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 18px;
}

#checkout-modal .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

#checkout-modal .summary-row > span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
}

#checkout-modal .summary-price {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* ----- Proceed button ----- */

#checkout-modal .btn-primary {
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    border: none;
    color: #ffffff;
    font-weight: 700;
    border-radius: 14px;
    padding: 14px 24px;
    transition: transform 0.1s, box-shadow 0.15s, opacity 0.15s;
    box-shadow: 0 8px 20px rgba(238, 9, 121, 0.25);
}

#checkout-modal .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(238, 9, 121, 0.32);
}

#checkout-modal .btn-primary:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* ----- Close button ----- */

#checkout-modal .modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    z-index: 2;
}
#checkout-modal .modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Cancel button rendered inline on Step 1 footer; hidden by default,
   unveiled on mobile where the top-right X is also hidden. */
#checkout-modal .modal-mobile-cancel { display: none; }

@media (max-width: 640px) {
    /* The absolute-positioned X would otherwise overlap the last stepper
       dot on the compact full-page mobile layout. Drop it — Step 1 has a
       dedicated "Annulla" button, all other steps reach Step 1 via the
       "Indietro" chain. */
    #checkout-modal .modal-close { display: none; }

    #checkout-modal .modal-mobile-cancel {
        display: inline-flex;
        margin-bottom: 10px;
        width: 100%;
        justify-content: center;
        color: #64748b;
        font-weight: 500;
    }
    #checkout-modal .modal-mobile-cancel:hover { color: #0f172a; }

    /* Step 1 footer goes from a single full-width button to a two-row
       layout: "Annulla" link on top, "Continua" CTA below. */
    #checkout-modal .modal-footer--single {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
}

/* ----- Empty-tiers helper ----- */

#checkout-modal .no-tiers-msg {
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
    padding: 24px 0;
}

/* ----- Mobile ----- */

/* On phones we stop treating the checkout as a floating popup and let it
   take over the whole viewport: no rounded corners, no 30-40px gap at the
   top, no slide-up-from-bottom animation. It behaves like a dedicated
   page while staying a modal structurally (so the close button, body
   scroll lock and all the step-transition logic keep working unchanged).
   This block OVERRIDES the generic .modal-overlay mobile rules above —
   admin modals are unaffected because they don't live under #checkout-modal. */
@media (max-width: 640px) {
    #checkout-modal.modal-overlay {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: #ffffff;
    }

    #checkout-modal .modal-content,
    #checkout-modal .modal-content.modal-bundle {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        /* dvh = dynamic viewport height: accounts for the iOS URL bar that
           shrinks/grows on scroll. Fallback to vh for older browsers. */
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        box-shadow: none;
        animation: checkoutPageFadeIn 0.22s ease;
    }

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

    /* Respect the notch / dynamic island so header content (close button,
       title) doesn't end up under the status bar on iPhone. */
    #checkout-modal .modal-header {
        padding-top: calc(18px + env(safe-area-inset-top, 0px));
        border-radius: 0;
    }
    #checkout-modal .modal-close {
        top: calc(14px + env(safe-area-inset-top, 0px));
    }

    /* Pad the footer by the home-indicator height on iPhones so the
       "Continua" CTA doesn't get covered by the swipe bar. */
    #checkout-modal .modal-footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        border-radius: 0;
    }
}

@media (max-width: 520px) {
    #checkout-modal .region-cards { grid-template-columns: 1fr; gap: 10px; }
    #checkout-modal .modal-header {
        padding: calc(22px + env(safe-area-inset-top, 0px)) 20px 18px;
    }
    #checkout-modal .modal-header h2 { font-size: 19px; }
    #checkout-modal .modal-body { padding: 20px 20px 12px; }
    #checkout-modal .modal-footer {
        padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    }
    #checkout-modal .bundle-item-title { font-size: 15px; }
    #checkout-modal .bundle-item-price { font-size: 17px; }
    #checkout-modal .summary-price { font-size: 22px; }
}

/* Extra-compact pass for phones ≤ 430px (most iPhones and mid-range Android).
   Everything is shrunk ~12% to free up vertical real estate and make the
   whole modal feel one "zoom level out" — the screenshot from the customer
   looked cramped because the desktop padding survived on small screens. */
@media (max-width: 430px) {
    /* border-radius stays 0 on phones — the checkout fills the whole screen
       as a page, not a bottom sheet (see the max-width: 640px block). */
    #checkout-modal .modal-header {
        padding: calc(18px + env(safe-area-inset-top, 0px)) 16px 14px;
    }
    #checkout-modal .modal-header h2 { font-size: 17px; }
    #checkout-modal .modal-subtitle { font-size: 13px; }
    #checkout-modal .modal-body { padding: 16px 16px 10px; }
    #checkout-modal .modal-footer {
        padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
    }
    #checkout-modal .modal-footer .btn-lg { padding: 12px 18px; font-size: 15px; }
    #checkout-modal .modal-footer .btn-ghost { padding: 10px 10px; font-size: 14px; }

    #checkout-modal .stepper { padding: 12px 12px 2px; gap: 4px; }
    #checkout-modal .stepper-num { width: 22px; height: 22px; font-size: 11px; }

    #checkout-modal .region-card { padding: 12px 14px; }
    #checkout-modal .region-card-title { font-size: 14px; }
    #checkout-modal .region-card-bullets li { font-size: 12px; }

    #checkout-modal .bundle-item { padding: 14px 0; }
    #checkout-modal .bundle-item-title { font-size: 14px; }
    #checkout-modal .bundle-item-price { font-size: 16px; }
    #checkout-modal .bundle-item-top { gap: 10px; margin-bottom: 10px; }
    #checkout-modal #bundle-items { margin-bottom: 16px; }

    #checkout-modal .summary-row { padding: 14px 16px; }
    #checkout-modal .summary-price { font-size: 20px; }
}

/* =============================================
   PRICING CTA CARD (single big card on landing)
   ============================================= */

.pricing-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pricing-cta-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border: none;
    border-radius: 22px;
    padding: 44px 32px 40px;
    text-align: center;
    box-shadow: 0 18px 48px rgba(238, 9, 121, 0.10);
    position: relative;
    overflow: hidden;
}

.pricing-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 50%, #ff0099 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.pricing-cta-icon {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 16px;
}

.pricing-cta-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.25;
}

.pricing-cta-desc {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 24px;
    line-height: 1.5;
}

.pricing-cta-card .btn {
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px rgba(238, 9, 121, 0.25);
    transition: transform 0.15s, box-shadow 0.15s;
}

.pricing-cta-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(238, 9, 121, 0.35);
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */

.whatsapp-float {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    left: auto !important;
    top: auto !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px;
    min-height: 60px;
    max-width: 60px;
    max-height: 60px;
    background: #25D366 !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 99999 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.2s ease;
    text-decoration: none !important;
    overflow: hidden;
    flex-shrink: 0;
}

/* While the checkout (or any other full-screen modal) is open, pull the
   WhatsApp FAB out of the user's way. Otherwise it sits on top of the
   "Continua" button and crops its right edge. */
body.modal-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    flex-shrink: 0;
    fill: white !important;
}

.whatsapp-tooltip {
    display: none;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a2e;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1a1a2e;
}

.whatsapp-float:hover .whatsapp-tooltip {
    display: block;
}

/* WhatsApp mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px;
        min-height: 56px;
        max-width: 56px;
        max-height: 56px;
    }
    
    .whatsapp-float svg {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px;
        min-height: 28px;
        max-width: 28px;
        max-height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none !important;
    }
}

/* =============================================
   HERO / LIVE TICKER / SERVICE CARDS — mobile tweaks
   ============================================= */
@media (max-width: 900px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 160px 0 48px;
        min-height: auto;
    }

    .hero-badge {
        font-size: 13px;
        padding: 7px 14px;
    }

    .hero-subtitle {
        margin-bottom: 24px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 18px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    /* Keep the dynamic line at the same scale as the title on mobile. */
    .typing-container {
        font-size: 1em;
        white-space: normal;
    }

    .platform-rotator {
        display: block;
        min-width: 0;
        text-align: center;
    }

    /* 2×2 grid for the reassurance checkmarks — keeps "Supporto 24/7"
       paired with "Refill gratis 30gg" on the second row instead of
       dangling alone, and both rows stay centered as a unit. */
    .hero-reassurance {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        gap: 8px 18px;
        font-size: 13px;
        margin-bottom: 28px;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 14px;
        padding: 18px 20px;
        width: 100%;
    }

    .hsp-divider {
        width: 100%;
        height: 1px;
    }

    .hsp-rating,
    .hsp-clients {
        width: 100%;
        justify-content: center;
    }

    /* Live ticker */
    .live-ticker-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .live-ticker-label {
        padding: 0 4px;
    }

    .ticker-item {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* Service cards */
    .service-cards-section {
        padding: 60px 0 40px;
    }

    .service-card-header {
        height: 110px;
    }

    .service-card-emoji {
        font-size: 44px;
    }

    .service-card-title {
        font-size: 20px;
    }

    /* Media mentions */
    .media-mentions {
        padding: 20px 0 60px;
    }

    .media-mentions-logos {
        gap: 20px 28px;
    }

    .media-logo {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-social-proof {
        padding: 16px;
    }

    .hsp-stars {
        font-size: 18px;
    }

    .hsp-avatar {
        width: 30px;
        height: 30px;
    }

    .service-card-body {
        padding: 20px 20px 24px;
    }
}

/* =====================================================
   ===== LANDING REDESIGN v2 (services -> footer) =====
   ===================================================== */

/* ---- Section header utilities ---- */
.section-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: var(--border-radius-full);
}

.anchor-offset {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
    height: 0;
}

.link-btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-btn:hover { color: var(--primary-dark); text-decoration: underline; }

/* ---- Section 1: Services with platform tabs ---- */
.services-v2 {
    position: relative;
    padding: 100px 0 80px;
    background:
        radial-gradient(900px 500px at 50% -10%, rgba(0, 102, 255, 0.06), transparent 60%),
        var(--bg-white);
}

.platform-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    margin: 0 auto 28px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.platform-tabs::-webkit-scrollbar { display: none; }

.platform-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: transparent;
    border: 0;
    border-radius: var(--border-radius-full);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.platform-tab:hover { color: var(--text-primary); }

.platform-tab-icon { font-size: 20px; line-height: 1; }

.platform-tab-flag {
    margin-left: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: white;
    background: var(--success);
    border-radius: var(--border-radius-full);
}

.platform-tab.is-active {
    color: white;
    background: var(--text-primary);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.platform-tab.is-active[data-platform-tab="instagram"] {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 22px rgba(220, 39, 67, 0.30);
}

.platform-tab.is-active[data-platform-tab="tiktok"] {
    background: linear-gradient(135deg, #25F4EE 0%, #000000 50%, #FE2C55 100%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.30);
}

.platform-tab.is-active[data-platform-tab="youtube"] {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    box-shadow: 0 8px 22px rgba(255, 0, 0, 0.30);
}

.services-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin-bottom: 50px;
    font-size: 14px;
    color: var(--text-secondary);
}

.services-trust-strip .ok {
    display: inline-block;
    margin-right: 4px;
    color: var(--success);
    font-weight: 800;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    text-align: left;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--product-accent, var(--primary));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
}

.product-card:hover::before { transform: scaleX(1); }

.product-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.product-card-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 14px;
    background: var(--product-accent-soft, var(--primary-light));
    color: var(--product-accent, var(--primary));
}

.product-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.product-card-platform {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.product-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    min-height: 42px;
}

.product-card-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card-bullets li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.45;
}

.product-card-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--product-accent-soft, var(--primary-light));
    border: 2px solid var(--product-accent, var(--primary));
    box-sizing: border-box;
}

.product-card-bullets li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 9px;
    width: 6px;
    height: 3px;
    border-left: 1.5px solid var(--product-accent, var(--primary));
    border-bottom: 1.5px solid var(--product-accent, var(--primary));
    transform: rotate(-45deg);
}

.product-card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.product-card-price {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.product-card-price-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.product-card-price-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.product-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--product-accent, var(--primary));
    color: white;
    border: 0;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 6px 14px var(--product-accent-shadow, rgba(0, 102, 255, 0.28));
}

.product-card-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 22px var(--product-accent-shadow, rgba(0, 102, 255, 0.36));
}

.product-card-cta svg { width: 14px; height: 14px; }

/* Per-platform accent variables on product card */
.product-card[data-platform="instagram"] {
    --product-accent: #E1306C;
    --product-accent-soft: #fde9f1;
    --product-accent-shadow: rgba(225, 48, 108, 0.28);
}
.product-card[data-platform="tiktok"] {
    --product-accent: #FE2C55;
    --product-accent-soft: #ffe4ea;
    --product-accent-shadow: rgba(254, 44, 85, 0.28);
}
.product-card[data-platform="youtube"] {
    --product-accent: #FF0000;
    --product-accent-soft: #ffe5e5;
    --product-accent-shadow: rgba(255, 0, 0, 0.24);
}

.services-foot-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-secondary);
}

/* ---- Section 2: How it works ---- */
.how-v2 {
    padding: 100px 0;
    background: var(--bg-light);
}

.steps-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step;
}

.step-card {
    position: relative;
    padding: 32px 26px 28px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.14);
}

.step-number {
    position: absolute;
    top: -18px;
    left: 26px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    font-weight: 800;
    font-size: 16px;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(0, 102, 255, 0.30);
}

.step-icon {
    margin-top: 12px;
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 1;
}

.step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* ---- Section 3: Why us ---- */
.why-v2 {
    padding: 100px 0;
    background: var(--bg-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 60px;
}

.why-card {
    padding: 28px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.20);
    box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.12);
}

.why-card-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--primary-light);
    border-radius: 16px;
    margin-bottom: 18px;
}

.why-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.why-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Stat strip */
.stat-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0 24px;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    background:
        linear-gradient(135deg, rgba(0, 102, 255, 0.06) 0%, rgba(0, 212, 170, 0.06) 100%),
        white;
    border: 1px solid var(--border-color);
    box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.10);
}

.stat-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.stat-strip-number {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-strip-unit {
    font-size: 0.5em;
    color: var(--text-light);
    -webkit-text-fill-color: var(--text-light);
}

.stat-strip-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-strip-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ---- Section 4: Sectors restyle ---- */
.sectors-v2 {
    padding: 100px 0;
    background: var(--bg-light);
}

.sectors-v2 .sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sectors-v2 .sector-card {
    background: white;
    padding: 30px 22px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sectors-v2 .sector-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 102, 255, 0.20);
    box-shadow: 0 22px 40px -16px rgba(15, 23, 42, 0.14);
}

.sectors-v2 .sector-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    font-size: 32px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.10) 0%, rgba(0, 212, 170, 0.10) 100%);
    border-radius: 18px;
}

.sectors-v2 .sector-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.sectors-v2 .sector-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ---- Section 5: Results restyle ---- */
.results-v2 {
    padding: 100px 0;
    background: var(--bg-white);
}

.results-v2 .results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.results-v2 .result-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

.results-v2 .result-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.16);
}

.results-v2 .result-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.results-v2 .result-avatar-photo,
.results-v2 .result-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.results-v2 .result-info h4 {
    font-size: 16px;
    margin: 0 0 2px;
    color: var(--text-primary);
}

.results-v2 .result-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.results-v2 .result-stars {
    color: #FFB300;
    letter-spacing: 1.5px;
    font-size: 16px;
    margin-bottom: 12px;
}

.results-v2 .result-text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 22px;
    font-style: normal;
}

.results-v2 .result-metrics {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px dashed var(--border-color);
}

.results-v2 .metric {
    padding: 10px 14px;
    background: var(--primary-light);
    border-radius: var(--border-radius);
    text-align: center;
}

.results-v2 .metric-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.results-v2 .metric-label {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* ---- Section 6: FAQ restyle ---- */
.faq-v2 {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-container { max-width: 820px; }

.faq-v2 .faq-list {
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-v2 .faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-v2 .faq-item:hover {
    border-color: rgba(0, 102, 255, 0.30);
}

.faq-v2 .faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 12px 28px -10px rgba(0, 102, 255, 0.20);
}

.faq-v2 .faq-question {
    padding: 22px 24px;
    font-size: 16px;
    font-weight: 600;
    gap: 16px;
}

.faq-v2 .faq-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faq-v2 .faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.faq-v2 .faq-item.active .faq-answer { max-height: 500px; }

/* ---- Section 7: Final CTA ---- */
.final-cta-v2 {
    padding: 80px 0 100px;
    background: var(--bg-white);
}

.final-cta-card {
    position: relative;
    overflow: hidden;
    padding: 80px 56px;
    border-radius: 32px;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, #0066FF 0%, #2563eb 50%, #00D4AA 100%);
    box-shadow: 0 30px 60px -20px rgba(0, 102, 255, 0.45);
}

.final-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.final-cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.final-cta-blob-1 {
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, transparent 70%);
    top: -180px; left: -120px;
}

.final-cta-blob-2 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.7) 0%, transparent 70%);
    bottom: -160px; right: -100px;
}

.final-cta-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    z-index: 1;
}

.final-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius-full);
    color: white;
    backdrop-filter: blur(8px);
}

.final-cta-eyebrow .badge-dot { background: white; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.20); }

.final-cta-title {
    font-size: clamp(28px, 4.4vw, 44px);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.final-cta-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 32px;
    line-height: 1.5;
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.final-cta-card .btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.final-cta-card .btn-white:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.final-cta-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    font-size: 14px;
}

.final-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.92);
}

.final-cta-pill .ok {
    color: #b8f5d4;
    font-weight: 800;
}

/* ---- Footer v2 ---- */
.footer-v2 {
    padding: 80px 0 32px;
    background: var(--bg-dark);
    color: white;
}

.footer-v2 .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-v2 .footer-brand .logo {
    margin-bottom: 16px;
    color: white;
    display: inline-flex;
}

.footer-v2 .footer-tagline {
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.6;
    max-width: 340px;
    margin: 0 0 18px;
}

.footer-v2 .footer-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--border-radius-full);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-v2 .footer-stars {
    color: #FFB300;
    letter-spacing: 1.5px;
    font-size: 14px;
}

.footer-v2 .footer-rating strong {
    color: white;
    font-weight: 700;
}

.footer-v2 .footer-col h4 {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.footer-v2 .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-v2 .footer-col a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-v2 .footer-col a:hover { color: white; }

.footer-v2 .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-v2 .footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    margin: 0;
}

.footer-v2 .footer-payments {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-v2 .footer-pay-badge {
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.78);
}

/* =====================================================
   RESPONSIVE — landing v2
   ===================================================== */

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .sectors-v2 .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .results-v2 .results-grid { grid-template-columns: repeat(2, 1fr); }

    .stat-strip {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 28px;
    }
    .stat-strip-divider { display: none; }

    .footer-v2 .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 720px) {
    .services-v2,
    .how-v2,
    .why-v2,
    .sectors-v2,
    .results-v2,
    .faq-v2 { padding: 70px 0; }

    .final-cta-v2 { padding: 60px 0 80px; }

    .platform-tabs {
        width: 100%;
        left: 0;
        transform: none;
        justify-content: flex-start;
    }

    .platform-tab { padding: 10px 16px; font-size: 14px; }
    .platform-tab-icon { font-size: 18px; }

    .services-trust-strip {
        gap: 8px 18px;
        font-size: 13px;
        margin-bottom: 36px;
    }

    .product-grid,
    .why-grid,
    .steps-grid,
    .sectors-v2 .sectors-grid,
    .results-v2 .results-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-card { padding: 24px; }
    .product-card-desc { min-height: 0; }

    .step-card { padding: 32px 22px 24px; }

    .stat-strip {
        grid-template-columns: 1fr 1fr;
        gap: 20px 12px;
        padding: 24px;
    }
    .stat-strip-number { font-size: 24px; }
    .stat-strip-label { font-size: 12px; }

    .final-cta-card {
        padding: 56px 24px;
        border-radius: 24px;
    }

    .final-cta-card .btn-xl {
        width: 100%;
        justify-content: center;
    }

    .footer-v2 {
        padding: 60px 0 24px;
    }

    .footer-v2 .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 36px;
    }

    .footer-v2 .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-eyebrow {
        font-size: 11px;
        padding: 5px 12px;
    }

    .anchor-offset { top: -80px; }

    .faq-v2 .faq-question {
        padding: 18px 18px;
        font-size: 15px;
    }

    .faq-v2 .faq-answer p { padding: 0 18px 18px; font-size: 14px; }
}

@media (max-width: 420px) {
    .platform-tab { padding: 9px 12px; }
    .platform-tab-label { font-size: 13px; }
    .platform-tab-flag { font-size: 9px; padding: 2px 6px; }

    .product-card-cta { padding: 9px 14px; font-size: 13px; }
    .product-card-price-value { font-size: 20px; }
}

/* ============================================================
   STEP 5 — Customer details form (email/name/phone)
   ============================================================ */
.customer-form {
    display: grid;
    gap: 16px;
}

.customer-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 520px) {
    .customer-form-row { grid-template-columns: 1fr; }
}

.customer-form .form-field { display: flex; flex-direction: column; }

.customer-form label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.customer-form label .req  { color: #ee0979; font-weight: 700; }
.customer-form label .opt  { color: #94a3b8; font-weight: 500; font-size: 12px; }

.customer-form input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.customer-form input:focus {
    outline: none;
    border-color: #ee0979;
    box-shadow: 0 0 0 3px rgba(238, 9, 121, 0.1);
}

.payment-options-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

@media (max-width: 520px) {
    .payment-options-preview { grid-template-columns: 1fr; }
}

.payment-option-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.payment-option-icon {
    font-size: 24px;
    line-height: 1;
}

.payment-option-chip strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    line-height: 1.2;
}

.payment-option-chip span {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.3;
}

.checkout-disclaimer {
    margin-top: 14px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.5;
}

.checkout-disclaimer a {
    color: #6366f1;
    text-decoration: underline;
}

/* ============================================================
   STEP 6 — Success screen ("check your email")
   ============================================================ */
.checkout-success {
    text-align: center;
    padding: 30px 24px 20px;
}

.checkout-success-icon {
    font-size: 64px;
    margin-bottom: 8px;
}

.checkout-success h2 {
    font-size: 26px;
    color: #0f172a;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.checkout-success-lead {
    font-size: 16px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 24px;
}

.checkout-success-lead strong {
    color: #0f172a;
    word-break: break-word;
}

.checkout-success-info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 0 auto 20px;
    max-width: 380px;
}

.checkout-success-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
}

.checkout-success-row span { color: #64748b; }
.checkout-success-row strong { color: #0f172a; font-family: 'SF Mono', Menlo, Consolas, monospace; }

.checkout-success-warn {
    background: #fff8e1;
    border: 1px solid #ffd86b;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: left;
    color: #7a5a00;
    font-size: 14px;
    line-height: 1.5;
    max-width: 480px;
    margin: 0 auto 18px;
}

.checkout-success-warn strong { display: block; margin-bottom: 6px; }

#success-mirror-link {
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
}
