:root {
    /* ─── Palette ─── */
    --blue: #1A73E8;
    --blue-dark: #0D47A1;
    --blue-deeper: #0a3170;
    --blue-light: #E8F0FE;
    --blue-pale: #F4F8FF;
    --white: #FFFFFF;
    --gold: #FFD700;
    --orange: #FF6B35;
    --bg: #F6F8FC;
    --text: #111827;
    --text-muted: #4B5563;
    --text-light: #9CA3AF;
    --green-wa: #25D366;

    /* ─── Shadows ─── */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, .06);
    --shadow-md: 0 8px 32px rgba(26, 115, 232, .12);
    --shadow-lg: 0 20px 60px rgba(26, 115, 232, .14);
    --shadow-card: 0 12px 40px rgba(0, 0, 0, .08);

    /* ─── Layout ─── */
    --radius: 16px;
    --radius-sm: 10px;
    --transition: .3s cubic-bezier(.4, 0, .2, 1);

    /* ─── Spacing Scale ─── */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 100px;
    --space-section: clamp(80px, 10vw, 120px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -.01em
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

button,
input,
textarea {
    font-family: inherit;
    border: none;
    outline: none
}

section {
    position: relative
}

/* ═══════════════════════════════════
   HEADER
   ═══════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 48px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent
}

.header.scrolled {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 16px rgba(0, 0, 0, .08)
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0
}

.header-logo img {
    height: 38px;
    width: auto;
    /* Logo SVG bianco → blu brand (#1A73E8) */
    filter: brightness(0) invert(37%) sepia(93%) saturate(1500%) hue-rotate(200deg) brightness(100%) contrast(102%);
    transition: filter var(--transition)
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px
}

.header-nav a {
    color: var(--text);
    font-size: .88rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 4px 0
}

.header-nav a:not(.header-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transition: width .25s ease
}

.header-nav a:not(.header-cta):hover::after {
    width: 100%
}

.header-nav a:hover {
    color: var(--blue)
}

.header-cta {
    background: var(--blue);
    color: var(--white) !important;
    font-weight: 700;
    padding: 11px 28px;
    border-radius: 50px;
    font-size: .88rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: .01em
}

.header-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(26, 115, 232, .3)
}

.header-cta:focus-visible {
    outline: 3px solid rgba(26, 115, 232, .4);
    outline-offset: 3px
}

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 48px var(--space-2xl);
    background: var(--white);
    position: relative;
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1280px;
    margin: 0 auto;
    align-items: center;
    width: 100%
}

.hero-left {
    position: relative;
    z-index: 2
}

.hero-left h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
    letter-spacing: -.025em;
    line-height: 1.08
}

.hero-left h1 span {
    color: var(--blue);
    background: linear-gradient(135deg, var(--blue), #4DA3FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-left .sub {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    font-weight: 600
}

.hero-left .sub-detail {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    max-width: 480px
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap
}

/* ═══════════════════════════════════
   BUTTONS
   ═══════════════════════════════════ */
.btn-blue {
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.btn-blue:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 115, 232, .3)
}

.btn-link {
    color: var(--blue);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    padding: 0
}

.btn-link:hover {
    color: var(--blue-dark)
}

/* ═══════════════════════════════════
   HERO — FLOATING CARDS
   ═══════════════════════════════════ */
.hero-right {
    position: relative;
    height: 520px
}

.float-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition), filter var(--transition);
    will-change: transform
}

.float-card:hover {
    box-shadow: var(--shadow-lg);
    filter: brightness(1.02)
}

.card-chat {
    width: 320px;
    top: 20px;
    left: 20px;
    transform: rotate(-3deg);
    overflow: hidden
}

.card-chat .chat-top {
    background: var(--blue);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: .9rem
}

.card-chat .chat-top .av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.card-chat .chat-top .av img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.card-chat .chat-body {
    padding: 14px;
    background: #ECE5DD;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.card-chat .bubble {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: .82rem;
    line-height: 1.4;
    max-width: 85%
}

.card-chat .bubble.user {
    background: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 3px
}

.card-chat .bubble.bot {
    background: #DCF8C6;
    align-self: flex-start;
    border-bottom-left-radius: 3px
}

.card-stats {
    width: 240px;
    bottom: 40px;
    right: 0;
    transform: rotate(4deg);
    padding: 24px
}

.card-stats .label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px
}

.card-stats .big-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text)
}

.card-stats .metric {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px
}

.card-stats .metric .green {
    color: #10B981;
    font-weight: 700
}

.card-badge {
    width: 200px;
    top: 0;
    right: 40px;
    transform: rotate(6deg);
    padding: 18px 20px;
    text-align: center
}

.card-badge .emoji {
    font-size: 1.8rem;
    margin-bottom: 6px
}

.card-badge .badge-text {
    font-weight: 700;
    font-size: .85rem;
    color: var(--text)
}

.card-badge .badge-sub {
    font-size: .75rem;
    color: var(--text-muted)
}

/* ═══════════════════════════════════
   DECORATIVE ELEMENTS
   ═══════════════════════════════════ */
.swoosh {
    position: absolute;
    top: -60px;
    right: -120px;
    width: 700px;
    height: 700px;
    pointer-events: none;
    z-index: 0
}

.swoosh svg {
    width: 100%;
    height: 100%
}

.deco {
    position: absolute;
    pointer-events: none
}

.deco-arrow {
    width: 28px;
    height: 28px;
    fill: var(--blue);
    opacity: .3
}

.deco-diamond {
    width: 20px;
    height: 20px;
    border: 2.5px solid var(--blue);
    transform: rotate(45deg);
    opacity: .2
}

.deco-dot {
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
    opacity: .15
}

/* ═══════════════════════════════════
   SOCIAL PROOF
   ═══════════════════════════════════ */
.social-proof {
    background: var(--bg);
    padding: var(--space-lg) 48px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb
}

.social-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap
}

.social-counter {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text)
}

.social-counter span {
    color: var(--blue);
    font-size: 1.3em
}

.salon-logos {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap
}

.salon-logo {
    padding: 8px 20px;
    background: var(--blue-pale);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: .75rem;
    color: var(--text-muted);
    font-weight: 600
}

.stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: var(--text-muted)
}

.stars-row .stars {
    color: #F59E0B;
    letter-spacing: 2px
}

/* ═══════════════════════════════════
   SECTIONS — SHARED
   ═══════════════════════════════════ */
.section-tag {
    display: inline-block;
    background: var(--blue-light);
    color: var(--blue);
    font-size: .75rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1.2px
}

.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -.02em;
    line-height: 1.15
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto var(--space-xl);
    line-height: 1.75
}

/* ═══════════════════════════════════
   PROBLEM
   ═══════════════════════════════════ */
.problem {
    padding: var(--space-section) 48px;
    background: var(--bg);
    text-align: center
}

.problem-inner {
    max-width: 1080px;
    margin: 0 auto
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px
}

.problem-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: var(--space-lg) var(--space-md);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e5e7eb
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light)
}

.problem-card .icon {
    font-size: 2.4rem;
    margin-bottom: var(--space-sm);
    display: block
}

.problem-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-xs)
}

.problem-card p {
    color: var(--text-muted);
    font-size: .93rem;
    line-height: 1.7
}

/* ═══════════════════════════════════
   DEMO
   ═══════════════════════════════════ */
.demo {
    padding: var(--space-section) 48px;
    background: var(--white);
    text-align: center;
    overflow: hidden
}

.demo-inner {
    max-width: 1080px;
    margin: 0 auto
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    margin-top: 48px
}

.demo-text h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin-bottom: 16px
}

.demo-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px
}

/* ═══════════════════════════════════
   CHAT MOCKUP (full)
   ═══════════════════════════════════ */
.chat-full {
    background: #ECE5DD;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 380px
}

.chat-full .cf-header {
    background: #075E54;
    color: var(--white);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: .9rem
}

.chat-full .cf-header .cf-av {
    width: 34px;
    height: 34px;
    background: var(--blue);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.chat-full .cf-header .cf-av img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.chat-full .cf-body {
    padding: 14px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.chat-full .cf-msg {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 10px;
    font-size: .85rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(8px)
}

.chat-full .cf-msg.vis {
    opacity: 1;
    transform: translateY(0);
    transition: all .4s ease
}

.chat-full .cf-msg.u {
    background: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
}

.chat-full .cf-msg.b {
    background: #DCF8C6;
    align-self: flex-start;
    border-bottom-left-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
}

.chat-full .cf-msg.b.ok {
    background: #d4f5c0;
    border: 1.5px solid #6fcf40
}

.voice-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: .8rem
}

.voice-pill .bars {
    display: flex;
    gap: 2px;
    align-items: flex-end
}

.voice-pill .bars span {
    display: block;
    width: 3px;
    background: #999;
    border-radius: 2px
}

.btn-demo {
    background: var(--blue);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 18px 36px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: 0 6px 28px rgba(26, 115, 232, .25);
    animation: pulse-blue 2s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 48px
}

.btn-demo:hover {
    background: var(--blue-dark);
    transform: translateY(-3px) scale(1.03)
}

/* ═══════════════════════════════════
   STEPS
   ═══════════════════════════════════ */
.steps {
    padding: var(--space-section) 48px;
    background: var(--bg);
    text-align: center
}

.steps-inner {
    max-width: 1080px;
    margin: 0 auto
}

.steps-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 56px
}

.step-card {
    flex: 1;
    min-width: 230px;
    max-width: 320px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f0f2f5;
    text-align: center
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light)
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--blue-light);
    color: var(--blue);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px
}

.step-card p {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.6
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 40px;
    color: var(--blue);
    font-size: 1.6rem;
    opacity: .35
}

@media(max-width:768px) {
    .step-arrow {
        display: none
    }
}

/* ═══════════════════════════════════
   ONBOARDING / FORM
   ═══════════════════════════════════ */
.onboarding {
    padding: var(--space-section) 48px;
    background: var(--white)
}

.onboarding-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.onboarding-text .section-title {
    text-align: left
}

.onboarding-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px
}

.onboarding-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f0f2f5
}

.onboarding-form input,
.onboarding-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1.5px solid #e0e4ea;
    color: var(--text);
    font-size: .95rem;
    transition: var(--transition)
}

.onboarding-form input::placeholder,
.onboarding-form textarea::placeholder {
    color: #9CA3AF
}

.onboarding-form input:focus,
.onboarding-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, .1)
}

.onboarding-form textarea {
    resize: vertical;
    min-height: 90px
}

.btn-google {
    background: var(--white);
    color: var(--text);
    font-weight: 600;
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: .95rem;
    border: 1.5px solid #e0e4ea;
    width: 100%
}

.btn-google:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-sm)
}

.btn-google svg {
    width: 20px;
    height: 20px
}

.btn-submit {
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    width: 100%
}

.btn-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26, 115, 232, .25)
}

.form-note {
    color: var(--text-muted);
    font-size: .82rem;
    text-align: center
}

/* ═══════════════════════════════════
   PRICING
   ═══════════════════════════════════ */
.pricing {
    padding: var(--space-section) 48px;
    background: var(--bg);
    text-align: center
}

.pricing-inner {
    max-width: 480px;
    margin: 0 auto
}

.price-card {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 36px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--blue-light);
    position: relative;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s cubic-bezier(.4, 0, .2, 1)
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), #64B5F6)
}

.price-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 24px 60px rgba(26, 115, 232, .18), 0 0 0 2px var(--blue-light)
}

.price-card .plan-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px
}

.price-card .price {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 4px
}

.price-card .price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted)
}

.badge-fire {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 700;
    margin: 16px 0 28px
}

.feature-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .93rem;
    color: var(--text)
}

.feature-list li .check {
    width: 22px;
    height: 22px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.feature-list li .check svg {
    width: 12px;
    height: 12px
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.site-footer {
    background: var(--text);
    color: rgba(255, 255, 255, .6);
    padding: var(--space-xl) 48px var(--space-md);
    text-align: center
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md)
}

.footer-logo img {
    height: 38px;
    width: auto;
    /* Logo è bianco nell'SVG, quindi qui è già visibile su footer scuro */
    filter: none;
    opacity: .9
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.footer-links a {
    color: rgba(255, 255, 255, .5);
    font-size: .9rem;
    transition: var(--transition);
    position: relative
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--white);
    transition: width .3s ease
}

.footer-links a:hover {
    color: var(--white)
}

.footer-links a:hover::after {
    width: 100%
}

.footer-copy {
    font-size: .85rem
}

/* ═══════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1)
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0)
}

/* ═══════════════════════════════════
   FOCUS & ACTIVE STATES (Accessibility)
   ═══════════════════════════════════ */
.btn-blue:focus-visible,
.btn-demo:focus-visible,
.btn-submit:focus-visible,
.btn-google:focus-visible,
.btn-link:focus-visible,
.header-cta:focus-visible {
    outline: 3px solid rgba(26, 115, 232, .5);
    outline-offset: 3px
}

a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 3px
}

.btn-blue:active,
.btn-demo:active,
.header-cta:active {
    transform: translateY(0) scale(.97) !important;
    box-shadow: 0 2px 10px rgba(26, 115, 232, .2)
}

.btn-submit:active {
    transform: translateY(0) scale(.97) !important;
    box-shadow: 0 2px 10px rgba(26, 115, 232, .2)
}

.btn-google:active {
    transform: scale(.98);
    box-shadow: var(--shadow-sm)
}

/* ═══════════════════════════════════
   FORM VALIDATION
   ═══════════════════════════════════ */
.onboarding-form input:user-invalid,
.onboarding-form textarea:user-invalid {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .1)
}

.onboarding-form input:valid:not(:placeholder-shown),
.onboarding-form textarea:valid:not(:placeholder-shown) {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .08)
}

/* ═══════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════ */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(26, 115, 232, .3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .2s ease;
    z-index: 999
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.scroll-top:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(26, 115, 232, .4)
}

.scroll-top:active {
    transform: translateY(0) scale(.92)
}

/* ═══════════════════════════════════
   MOBILE NAV
   ═══════════════════════════════════ */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px)
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -8px 0 40px rgba(0, 0, 0, .12);
    display: flex;
    flex-direction: column;
    padding: 100px 36px 36px;
    gap: 8px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1)
}

.mobile-nav.open {
    transform: translateX(0)
}

.mobile-nav a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    padding: 14px 0;
    border-bottom: 1px solid #f0f2f5;
    transition: color .2s ease, padding-left .2s ease
}

.mobile-nav a:hover {
    color: var(--blue);
    padding-left: 8px
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible
}

/* ═══════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes pulse-blue {

    0%,
    100% {
        box-shadow: 0 6px 28px rgba(26, 115, 232, .25)
    }

    50% {
        box-shadow: 0 6px 44px rgba(26, 115, 232, .45)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

/* ═══════════════════════════════════
   RESPONSIVE — Tablet (≤ 900px)
   ═══════════════════════════════════ */
@media(max-width:900px) {
    .header {
        padding: 14px 24px
    }

    .header-nav {
        display: none
    }

    .mobile-toggle {
        display: flex
    }

    .hero {
        padding: 110px var(--space-md) var(--space-xl)
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .hero-right {
        height: 360px
    }

    .card-chat {
        width: 260px;
        left: 0
    }

    .card-stats {
        width: 200px;
        right: 0;
        bottom: 10px
    }

    .card-badge {
        width: 160px;
        right: 10px
    }

    .social-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px
    }

    .salon-logos {
        justify-content: center
    }

    .problem,
    .demo,
    .steps,
    .pricing {
        padding: var(--space-2xl) var(--space-md)
    }

    .demo-grid {
        grid-template-columns: 1fr;
        text-align: center
    }

    .chat-full {
        margin: 0 auto
    }

    .onboarding {
        padding: var(--space-2xl) var(--space-md)
    }

    .onboarding-inner {
        grid-template-columns: 1fr
    }

    .onboarding-text .section-title {
        text-align: center
    }

    .onboarding-text p {
        text-align: center
    }

    .site-footer {
        padding: var(--space-lg) var(--space-md) var(--space-sm)
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px
    }
}

/* ═══════════════════════════════════
   RESPONSIVE — Mobile (≤ 600px)
   ═══════════════════════════════════ */
@media(max-width:600px) {
    .hero-left h1 {
        font-size: 2rem
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start
    }

    .hero-right {
        height: 300px
    }

    .card-chat {
        width: 220px;
        transform: rotate(-2deg)
    }

    .card-stats {
        width: 170px;
        transform: rotate(3deg)
    }

    .card-badge {
        display: none
    }

    .problem-cards {
        grid-template-columns: 1fr
    }

    .price-card {
        padding: 36px 24px
    }
}

/* ═══════════════════════════════════
   UX IMPROVEMENTS
   ═══════════════════════════════════ */

/* ─── Floating Labels ─── */
.field-wrap {
    position: relative
}

.field-wrap input,
.field-wrap textarea {
    width: 100%;
    padding: 22px 18px 8px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1.5px solid #e0e4ea;
    color: var(--text);
    font-size: .95rem;
    transition: var(--transition);
    font-family: inherit
}

.field-wrap label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: .93rem;
    pointer-events: none;
    transition: all .2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 36px)
}

.field-wrap--textarea label {
    top: 18px;
    transform: none
}

.field-wrap input:focus+label,
.field-wrap input:not(:placeholder-shown)+label,
.field-wrap textarea:focus+label,
.field-wrap textarea:not(:placeholder-shown)+label {
    top: 7px;
    transform: none;
    font-size: .7rem;
    color: var(--blue);
    font-weight: 600
}

.field-wrap--textarea textarea:focus+label,
.field-wrap--textarea textarea:not(:placeholder-shown)+label {
    top: 6px
}

.field-wrap input:focus,
.field-wrap textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, .1);
    outline: none
}

.field-wrap textarea {
    resize: vertical;
    min-height: 90px;
    padding-top: 26px
}

/* ─── Google Calendar optional badge ─── */
.google-cal-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.google-cal-label {
    font-size: .82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.badge-optional {
    display: inline-block;
    background: #F0FDF4;
    color: #16A34A;
    border: 1px solid #BBF7D0;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
    flex-shrink: 0
}

/* ─── Steps — CTA dopo i 3 passi ─── */
.steps-cta {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px
}

.steps-cta-note {
    font-size: .82rem;
    color: var(--text-muted)
}

/* ─── Mobile nav: frecce e CTA button ─── */
.nav-arrow {
    opacity: .35;
    transition: opacity .2s ease, transform .2s ease;
    display: inline-block;
    margin-left: auto
}

.mobile-nav a {
    display: flex;
    align-items: center
}

.mobile-nav a:hover .nav-arrow {
    opacity: .8;
    transform: translateX(4px)
}

.mobile-cta-link {
    margin-top: 16px;
    background: var(--blue) !important;
    color: #fff !important;
    text-align: center;
    border-radius: 50px;
    justify-content: center;
    padding: 14px 24px !important;
    font-weight: 700;
    border-bottom: none !important
}

.mobile-cta-link:hover {
    background: var(--blue-dark) !important;
    color: #fff !important;
    padding-left: 24px !important
}

/* ─── Pricing btn pulse ─── */
.btn-pricing {
    animation: pulse-blue 2.4s ease-in-out infinite
}

/* ─── Footer WIP note ─── */
.footer-wip {
    font-size: .78rem;
    color: rgba(255, 255, 255, .32);
    margin-bottom: 16px;
    font-style: italic
}

.link-wip {
    opacity: .55
}

.link-wip::before {
    content: '🔒 ';
    font-size: .75em;
    opacity: .7
}

/* ═══════════════════════════════════
   PRELOADER
   ═══════════════════════════════════ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease, visibility .6s ease
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.preloader-inner {
    text-align: center
}

.preloader-logo {
    width: 64px;
    height: 64px;
    filter: brightness(0) invert(37%) sepia(93%) saturate(1500%) hue-rotate(200deg) brightness(100%) contrast(102%);
    animation: preloaderPulse 1.2s ease-in-out infinite
}

.preloader-bar {
    margin-top: 24px;
    width: 160px;
    height: 3px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden
}

.preloader-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), #4DA3FF);
    border-radius: 3px;
    animation: preloaderFill 1.5s cubic-bezier(.4, 0, .2, 1) forwards
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.08);
        opacity: .7
    }
}

@keyframes preloaderFill {
    to {
        width: 100%
    }
}

/* ═══════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════ */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, background .2s
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(26, 115, 232, .35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    transition: width .3s ease, height .3s ease, border-color .3s ease
}

.cursor-hover .cursor-dot {
    width: 14px;
    height: 14px;
    background: var(--blue-dark)
}

.cursor-hover .cursor-ring {
    width: 52px;
    height: 52px;
    border-color: rgba(26, 115, 232, .55)
}

@media (hover: none),
(max-width: 900px) {

    .cursor-dot,
    .cursor-ring {
        display: none
    }
}

/* ═══════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #4DA3FF, var(--blue));
    z-index: 10001;
    transition: none
}

/* ═══════════════════════════════════
   NOISE TEXTURE OVERLAY
   ═══════════════════════════════════ */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    mix-blend-mode: overlay
}

/* ═══════════════════════════════════
   SCROLL INDICATOR (hero bottom)
   ═══════════════════════════════════ */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollBounce 2s ease-in-out infinite
}

.scroll-indicator span {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--text-muted);
    font-weight: 600
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 14px;
    position: relative;
    opacity: .6
}

.scroll-wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--blue);
    border-radius: 4px;
    animation: scrollWheel 1.5s ease-in-out infinite
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0)
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px)
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(6px)
    }
}

/* ═══════════════════════════════════
   KINETIC TYPOGRAPHY
   ═══════════════════════════════════ */
.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: wordReveal .6s cubic-bezier(.16, 1, .3, 1) forwards
}

.hero-title .word.accent {
    color: var(--blue);
    background: linear-gradient(135deg, var(--blue), #4DA3FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Stagger delays set by JS, fallback: */
.hero-title .word:nth-child(1) {
    animation-delay: .3s
}

.hero-title .word:nth-child(2) {
    animation-delay: .38s
}

.hero-title .word:nth-child(3) {
    animation-delay: .46s
}

.hero-title .word:nth-child(4) {
    animation-delay: .54s
}

.hero-title .word:nth-child(5) {
    animation-delay: .62s
}

.hero-title .word:nth-child(6) {
    animation-delay: .7s
}

.hero-title .word:nth-child(7) {
    animation-delay: .78s
}

.hero-title .word:nth-child(8) {
    animation-delay: .86s
}

.hero-title .word:nth-child(9) {
    animation-delay: .94s
}

.hero-title .word:nth-child(10) {
    animation-delay: 1.02s
}

/* ═══════════════════════════════════
   BUTTON RIPPLE EFFECT
   ═══════════════════════════════════ */
.btn-blue,
.btn-cta-final,
.cookie-accept {
    position: relative;
    overflow: hidden
}

.btn-blue .ripple,
.btn-cta-final .ripple,
.cookie-accept .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    transform: scale(0);
    animation: rippleEffect .6s linear;
    pointer-events: none
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0
    }
}

/* ═══════════════════════════════════
   NAV UNDERLINE FROM CENTER
   ═══════════════════════════════════ */
.header-nav a:not(.header-cta)::after {
    left: 50%;
    transform: translateX(-50%);
    width: 0
}

.header-nav a:not(.header-cta):hover::after {
    width: 100%
}

/* ═══════════════════════════════════
   ICON HOVER ROTATION
   ═══════════════════════════════════ */
.why-icon,
.step-num {
    transition: transform .3s var(--transition)
}

.why-card:hover .why-icon,
.step-card:hover .step-num {
    transform: scale(1.15) rotate(8deg)
}

/* ═══════════════════════════════════
   WHY US SECTION
   ═══════════════════════════════════ */
.why-us {
    padding: var(--space-section) 48px;
    background: var(--white);
    text-align: center
}

.why-inner {
    max-width: 1100px;
    margin: 0 auto
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: var(--space-lg)
}

.why-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    border: 1px solid transparent;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    cursor: default
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(26, 115, 232, .15);
    background: var(--white)
}

.why-icon {
    font-size: 2.4rem;
    margin-bottom: var(--space-sm);
    display: block
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text)
}

.why-card p {
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.65
}

/* ═══════════════════════════════════
   STATS SECTION (DARK BG)
   ═══════════════════════════════════ */
.stats-section {
    background: linear-gradient(135deg, #0a1628, #0f2942);
    padding: var(--space-xl) 48px;
    text-align: center
}

.stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg)
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.02em;
    line-height: 1
}

.stat-label {
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em
}

/* ═══════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════ */
.testimonials {
    padding: var(--space-section) 48px;
    background: var(--bg);
    text-align: center
}

.testimonials-inner {
    max-width: 1100px;
    margin: 0 auto
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: var(--space-lg)
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: var(--space-lg) var(--space-md);
    text-align: left;
    position: relative;
    border: 1px solid #e5e7eb;
    transition: all .35s cubic-bezier(.4, 0, .2, 1)
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card)
}

.testimonial-featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue), var(--shadow-sm)
}

.testimonial-quote {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--blue);
    opacity: .15;
    position: absolute;
    top: 16px;
    left: 24px
}

.testimonial-text {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1
}

.testimonial-stars {
    color: #FFB800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm)
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), #4DA3FF);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.testimonial-author strong {
    display: block;
    font-size: .88rem;
    color: var(--text)
}

.testimonial-author span {
    font-size: .78rem;
    color: var(--text-muted)
}

/* ═══════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════ */
.faq {
    padding: var(--space-section) 48px;
    background: var(--white);
    text-align: center
}

.faq-inner {
    max-width: 740px;
    margin: 0 auto
}

.faq-search-wrap {
    margin: var(--space-lg) 0 var(--space-md)
}

.faq-search {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius);
    border: 2px solid #e5e7eb;
    font-size: .95rem;
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    transition: border-color .3s;
    outline: none
}

.faq-search:focus {
    border-color: var(--blue)
}

.faq-list {
    text-align: left
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden
}

.faq-item.hidden {
    display: none
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    transition: color .2s
}

.faq-question:hover {
    color: var(--blue)
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--blue);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    flex-shrink: 0
}

.faq-item.open .faq-icon {
    transform: rotate(45deg)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4, 0, .2, 1), padding .4s ease
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px
}

.faq-answer p {
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.7
}

.faq-cta {
    margin-top: var(--space-lg);
    font-size: .95rem;
    color: var(--text-muted)
}

.faq-cta a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s
}

.faq-cta a:hover {
    color: var(--blue-dark)
}

/* ═══════════════════════════════════
   CTA PRE-FOOTER
   ═══════════════════════════════════ */
.cta-final {
    background: linear-gradient(135deg, var(--blue), #4DA3FF);
    padding: var(--space-2xl) 48px;
    text-align: center
}

.cta-final-inner {
    max-width: 640px;
    margin: 0 auto
}

.cta-final h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-sm);
    letter-spacing: -.02em;
    line-height: 1.2
}

.cta-final p {
    color: rgba(255, 255, 255, .85);
    font-size: 1.05rem;
    margin-bottom: var(--space-lg)
}

.btn-cta-final {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--white);
    color: var(--blue);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15)
}

.btn-cta-final:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2)
}

/* ═══════════════════════════════════
   FOOTER (RESTRUCTURED)
   ═══════════════════════════════════ */
.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.footer-tagline {
    color: rgba(255, 255, 255, .5);
    font-size: .88rem;
    line-height: 1.6;
    margin-top: 8px
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 4px
}

.footer-col a {
    color: rgba(255, 255, 255, .7);
    font-size: .88rem;
    text-decoration: none;
    transition: color .2s
}

.footer-col a:hover {
    color: var(--white)
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md)
}

/* ═══════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid #e5e7eb;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .08)
}

.cookie-banner.visible {
    transform: translateY(0)
}

.cookie-banner.dismissed {
    transform: translateY(100%)
}

.cookie-banner p {
    font-size: .85rem;
    color: var(--text-muted);
    margin: 0
}

.cookie-banner a {
    color: var(--blue);
    font-weight: 600
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0
}

.cookie-accept {
    padding: 8px 20px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s
}

.cookie-accept:hover {
    background: var(--blue-dark)
}

.cookie-manage {
    padding: 8px 20px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s
}

.cookie-manage:hover {
    border-color: var(--blue);
    color: var(--blue)
}

/* ═══════════════════════════════════
   PREFERS REDUCED MOTION
   ═══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important
    }

    .scroll-indicator,
    .cursor-dot,
    .cursor-ring,
    .preloader {
        display: none
    }

    .hero-title .word {
        opacity: 1;
        transform: none
    }
}

/* ═══════════════════════════════════
   RESPONSIVE ADDITIONS
   ═══════════════════════════════════ */
@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md)
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md)
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px
    }

    .scroll-indicator {
        display: none
    }
}

@media (max-width: 600px) {
    .why-grid {
        grid-template-columns: 1fr
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr)
    }

    .why-us,
    .testimonials,
    .faq,
    .cta-final,
    .stats-section {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm)
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .cta-final h2 {
        font-size: 1.4rem
    }
}