/* ================================================================
   HOME.CSS - Stili aggiuntivi SOLO per la nuova home page
   Non modifica serwin.css (condiviso con download/legal/bet)
   Data: 02 Agosto 2026
   ================================================================ */

html {
    scroll-behavior: smooth;
}

/* ================================================================
   CARD UNICA CHE CONTIENE TUTTA LA HOME (come la vecchia versione)
   ================================================================ */
.sw-page-card {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 24px auto;
    background: rgba(0,0,0,0.88);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

.sw-page-card.sw-page-card-narrow {
    max-width: 480px;
    padding: 32px 26px;
}

@media (max-width: 1140px) {
    .sw-page-card {
        margin: 16px;
        border-radius: 18px;
    }
}

/* ================================================================
   HERO
   ================================================================ */
.sw-hero {
    position: relative;
    text-align: center;
    padding: 60px 20px 40px;
}

.sw-hero-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(34,197,94,0.25) 0%, rgba(34,197,94,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.sw-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.sw-hero-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 24px 0 16px;
    letter-spacing: -0.5px;
}

.sw-hero-title span {
    color: #22c55e;
}

.sw-hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
    max-width: 480px;
    margin: 0 auto 32px;
}

/* ================================================================
   BOTTONE CTA GRANDE (hero + sezione finale)
   ================================================================ */
.sw-cta-large {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 18px 38px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 8px 24px rgba(34,197,94,0.25);
}

.sw-cta-large:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(34,197,94,0.35);
}

/* ================================================================
   FASCIA 3 CONCETTI RAPIDI
   ================================================================ */
.sw-quick-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.sw-quick-pill {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 40px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* ================================================================
   SEZIONI SCREENSHOT ALTERNATE
   ================================================================ */
.sw-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
}

.sw-feature-row {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.sw-feature-row.sw-reverse {
    flex-direction: row-reverse;
}

.sw-feature-text {
    flex: 1 1 320px;
    max-width: 400px;
}

.sw-feature-eyebrow {
    color: #22c55e;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.sw-feature-title {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.sw-feature-text-body {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    line-height: 1.7;
}

.sw-phone {
    flex: 0 0 auto;
    width: 260px;
}

.sw-phone img {
    width: 100%;
    border-radius: 28px;
    border: 6px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sw-phone img:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(0,0,0,0.6);
}

/* ================================================================
   DIVISORE
   ================================================================ */
.sw-divider {
    max-width: 1000px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
}

/* ================================================================
   COME FUNZIONA (numerato - qui ha senso: è un processo reale)
   ================================================================ */
.sw-steps {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    scroll-margin-top: 40px;
}

.sw-step {
    flex: 1 1 220px;
    max-width: 260px;
    text-align: center;
}

.sw-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.4);
    color: #22c55e;
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 16px;
}

.sw-step-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sw-step-text {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.6;
}

/* ================================================================
   SEZIONE FINALE CTA + LEGALE
   ================================================================ */
.sw-final-section {
    max-width: 560px;
    margin: 0 auto;
    padding: 50px 20px 20px;
    text-align: center;
}

.sw-ios-note {
    margin-top: 14px;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

/* ================================================================
   CTA SECONDARIA (link leggero sotto il bottone hero)
   ================================================================ */
.sw-cta-secondary {
    display: inline-block;
    margin-top: 16px;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.sw-cta-secondary:hover {
    color: #22c55e;
    border-color: #22c55e;
}

/* ================================================================
   PERCHÉ SERWIN — griglia 4 card
   ================================================================ */
.sw-why-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.sw-why-heading {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 40px;
}

.sw-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sw-why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 26px 18px;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sw-why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34,197,94,0.35);
}

.sw-why-icon {
    font-size: 26px;
    margin-bottom: 14px;
    display: block;
}

.sw-why-card-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sw-why-card-text {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .sw-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .sw-why-grid {
        grid-template-columns: 1fr;
    }
    .sw-why-heading { font-size: 22px; }
}

.sw-legal-footer-copy.sw-copy-large {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 640px) {
    .sw-hero-title { font-size: 26px; }
    .sw-hero-subtitle { font-size: 14px; }
    .sw-feature-row, .sw-feature-row.sw-reverse {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .sw-feature-text { flex: 0 0 auto; max-width: 100%; }
    .sw-phone { width: 220px; }
    .sw-steps { gap: 28px; }
}

@media (min-width: 768px) {
    .sw-hero-title { font-size: 42px; }
    .sw-hero-subtitle { font-size: 18px; }
}