/* ========================================
   Reset + base
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #1E40AF;
    --navy-dark: #1E3A8A;
    --navy-darker: #131A22;
    --gold: #C9A961;
    --text-muted: #6B7A8A;
    --text-light: #9DB1C7;
    --bg-light: #FAFAFA;
    --border: #E5E7EB;
    --white: #FFFFFF;
    --whatsapp: #25D366;
    --amazon: #FF9900;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #2C2C2A;
    line-height: 1.5;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Topbar
   ======================================== */
.topbar {
    background: var(--navy);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.topbar__name {
    color: var(--white);
    font-weight: 900;
    font-size: 20px;
}

.topbar__tag {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    background: var(--navy);
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.04;
    pointer-events: none;
}
.hero::before { width: 200px; height: 200px; top: -50px; right: -50px; }
.hero::after { width: 280px; height: 280px; bottom: -100px; left: -80px; }

.hero__inner { position: relative; z-index: 1; }

.hero__eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.hero__title {
    color: var(--white);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__sub {
    color: var(--text-light);
    font-size: clamp(15px, 2vw, 18px);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero__phone {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 18px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
    cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); }

/* ========================================
   Section common
   ======================================== */
section { padding: 80px 0; }

.section__eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section__title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 900;
    color: var(--navy);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

/* ========================================
   Services
   ======================================== */
.services { background: var(--bg-light); }

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(15, 41, 66, 0.08);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card__icon svg { width: 28px; height: 28px; }

.service-card__title {
    font-weight: 900;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 8px;
}

.service-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   How (come funziona)
   ======================================== */
.how__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}

.how-step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 28px;
    position: relative;
}

.how-step__num {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 18px;
}

.how-step__title {
    font-weight: 900;
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 10px;
}

.how-step__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   Bonus
   ======================================== */
.bonus {
    background: var(--navy-darker);
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    text-align: center;
    padding: 64px 0;
}

.bonus__eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.bonus__amount {
    color: var(--white);
    font-size: clamp(56px, 10vw, 88px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
}

.bonus__brand {
    color: var(--white);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
}

.bonus__amazon { color: var(--amazon); }

.bonus__note {
    color: var(--text-light);
    font-style: italic;
    font-size: 13px;
    margin-top: 12px;
}

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

.testimonial {
    background: var(--bg-light);
    border-left: 3px solid var(--gold);
    padding: 22px 26px;
    border-radius: 0 8px 8px 0;
}

.testimonial__text {
    font-size: 14px;
    color: #2C2C2A;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 12px;
}

.testimonial__author {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 700;
    font-style: normal;
}

/* ========================================
   CTA
   ======================================== */
.cta {
    background: var(--navy);
    text-align: center;
    padding: 80px 0;
}

.cta__title {
    color: var(--white);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta__sub {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 28px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--navy-dark);
    padding: 24px 0;
    text-align: center;
}

.footer__inner {
    color: var(--text-muted);
    font-size: 12px;
}

/* ========================================
   Responsive
   ======================================== */

/* Tablet */
@media (max-width: 900px) {
    .hero { padding: 64px 0 80px; }
    section { padding: 64px 0; }

    .services__grid,
    .testimonials__grid,
    .how__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid > .testimonial:nth-child(3),
    .how__grid > .how-step:nth-child(3) {
        grid-column: 1 / -1;
        max-width: calc(50% - 10px);
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .container { padding: 0 20px; }

    .topbar { padding: 12px 0; }
    .topbar__name { font-size: 17px; }
    .topbar__tag { font-size: 10px; letter-spacing: 1.5px; }

    .hero { padding: 56px 0 64px; }
    .hero__eyebrow { letter-spacing: 3px; font-size: 11px; }
    .hero__sub { margin-bottom: 28px; }

    section { padding: 56px 0; }

    .services__grid,
    .testimonials__grid,
    .how__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .testimonials__grid > .testimonial:nth-child(3),
    .how__grid > .how-step:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }

    .service-card,
    .how-step {
        padding: 28px 22px;
        text-align: center;
        align-items: center;
    }

    .service-card__icon,
    .how-step__num {
        margin-left: auto;
        margin-right: auto;
    }

    .bonus { padding: 48px 0; }

    .btn { padding: 14px 28px; font-size: 14px; width: 100%; max-width: 320px; }

    .footer__inner { font-size: 11px; line-height: 1.5; }
}

/* Hover only for devices that support it */
@media (hover: none) {
    .service-card:hover { transform: none; box-shadow: none; }
    .btn:hover { transform: none; box-shadow: none; }
}

/* ========================================
   WhatsApp floating button
   ======================================== */
.wa-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 32px;
    padding: 14px 20px 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 1000;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.wa-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.wa-fab svg { flex-shrink: 0; }

.wa-fab__label { white-space: nowrap; }

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.15); }
}

.wa-fab { animation: wa-pulse 2.5s ease-in-out infinite; }

@media (max-width: 600px) {
    .wa-fab {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px 12px 14px;
        font-size: 13px;
    }
    .wa-fab svg { width: 24px; height: 24px; }
}

@media (hover: none) {
    .wa-fab:hover { transform: none; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
}
