/* ============================================================
   Sitiweb Italia – App Mobile Service
   Plugin CSS – scoped a .swi-app
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;700&display=swap');

/* ── RESET & BASE ───────────────────────────────────────── */
.swi-app *,
.swi-app *::before,
.swi-app *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.swi-app {
    --c-bg:        #071219;
    --c-surface:   #0d1e26;
    --c-surface2:  #132b38;
    --c-border:    rgba(255,255,255,0.08);
    --c-text:      #e2e8f0;
    --c-muted:     #7da8ba;
    --c-accent:    #175a6d;
    --c-accent2:   #0e3d4d;
    --c-accent-glow: rgba(23,90,109,0.30);
    --c-blue:      #3b82f6;
    --c-amber:     #f59e0b;
    --c-white:     #ffffff;
    --r-sm:        8px;
    --r-md:        14px;
    --r-lg:        22px;
    --r-xl:        32px;
    --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 60px rgba(23,90,109,0.15);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.swi-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
.swi-container--narrow {
    max-width: 760px;
}
.swi-section {
    padding: 96px 0;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.swi-app h1,
.swi-app h2,
.swi-app h3 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    line-height: 1.15;
}
.swi-gradient-text {
    background: linear-gradient(135deg, #175a6d 0%, #a8d8e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.swi-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-accent);
    background: rgba(23,90,109,0.1);
    border: 1px solid rgba(23,90,109,0.25);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
}
.swi-label--light {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}
.swi-section__header {
    text-align: center;
    margin-bottom: 60px;
}
.swi-section__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 14px;
}
.swi-section__sub {
    font-size: 17px;
    color: var(--c-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.swi-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all .22s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: none;
}
.swi-btn--primary {
    background: var(--c-accent);
    color: #fff;
    box-shadow: 0 0 0 0 var(--c-accent-glow);
}
.swi-btn--primary:hover {
    background: #175a6d;
    box-shadow: 0 0 30px var(--c-accent-glow);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.swi-btn--ghost {
    background: transparent;
    color: var(--c-text);
    border: 1.5px solid var(--c-border);
}
.swi-btn--ghost:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
    color: var(--c-white);
    text-decoration: none;
}
.swi-btn--large {
    padding: 18px 40px;
    font-size: 17px;
}

/* ── DOT BADGE ───────────────────────────────────────────── */
.swi-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 8px var(--c-accent);
    animation: swi-pulse 2s infinite;
}
@keyframes swi-pulse {
    0%,100% { box-shadow: 0 0 4px var(--c-accent); }
    50%      { box-shadow: 0 0 16px var(--c-accent); }
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.swi-hero {
    position: relative;
    padding: 110px 0 96px;
    overflow: hidden;
    background: var(--c-bg);
}
.swi-hero__bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(23,90,109,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,90,109,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.swi-hero__glow {
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 500px;
    background: radial-gradient(ellipse, rgba(23,90,109,0.14) 0%, transparent 70%);
    pointer-events: none;
}
.swi-hero .swi-container {
    position: relative;
    text-align: center;
}
.swi-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-accent);
    background: rgba(23,90,109,0.08);
    border: 1px solid rgba(23,90,109,0.2);
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}
.swi-hero__title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    color: var(--c-white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.swi-hero__sub {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--c-muted);
    max-width: 600px;
    margin: 0 auto 36px;
}
.swi-hero__cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.swi-hero__badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.swi-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-muted);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    padding: 8px 18px;
    border-radius: 100px;
}

/* ═══════════════════════════════════════════════════════════
   STEPS
═══════════════════════════════════════════════════════════ */
.swi-process { background: var(--c-surface); }
.swi-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    background: var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
}
.swi-step {
    background: var(--c-surface);
    padding: 36px 32px;
    position: relative;
    transition: background .2s;
}
.swi-step:hover { background: var(--c-surface2); }
.swi-step__num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    background: #175a6d;
    width: 48px; height: 48px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(23,90,109,0.45);
}
.swi-step__icon {
    width: 50px; height: 50px;
    background: rgba(23,90,109,0.35);
    border: 1.5px solid #175a6d;
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(23,90,109,0.35);
}
.swi-step__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 10px;
}
.swi-step__content p {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.7;
}
.swi-step__content strong { color: var(--c-accent); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   CASE STUDY
═══════════════════════════════════════════════════════════ */
.swi-case { background: var(--c-bg); }
.swi-case__inner {
    background: linear-gradient(135deg, var(--c-surface) 0%, #0e1b2e 100%);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 64px;
    overflow: hidden;
    position: relative;
}
.swi-case__inner::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(23,90,109,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.swi-case__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.swi-case__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-amber);
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.25);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.swi-case__title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: var(--c-white);
    margin-bottom: 20px;
}
.swi-case__desc {
    font-size: 16px;
    color: var(--c-muted);
    line-height: 1.75;
    margin-bottom: 28px;
}
.swi-case__desc strong { color: var(--c-text); font-weight: 600; }
.swi-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}
.swi-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.swi-feat-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}
.swi-features li div { display: flex; flex-direction: column; gap: 2px; }
.swi-features li strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
}
.swi-features li span {
    font-size: 13px;
    color: var(--c-muted);
}
.swi-case__stores {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.swi-store-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.swi-store-link--apple {
    background: #000;
    color: #fff;
    border: 1px solid #333;
}
.swi-store-link--apple:hover {
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.swi-store-link--google {
    background: var(--c-surface2);
    color: var(--c-text);
    border: 1px solid var(--c-border);
}
.swi-store-link--google:hover {
    border-color: rgba(255,255,255,0.2);
    color: var(--c-white);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Phone Mockup */
.swi-case__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swi-phone-mockup {
    width: 240px;
    background: #0d0d0d;
    border-radius: 34px;
    border: 2px solid #2a2a2a;
    padding: 12px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px #1a1a1a;
    position: relative;
    z-index: 1;
}
.swi-phone-mockup::before {
    content: '';
    display: block;
    width: 70px; height: 8px;
    background: #1a1a1a;
    border-radius: 100px;
    margin: 0 auto 10px;
}
.swi-phone-mockup__screen {
    background: #0f1923;
    border-radius: 22px;
    overflow: hidden;
}
.swi-phone-mockup__inner { padding: 16px; }
.swi-mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 12px;
}
.swi-mock-star { color: var(--c-amber); font-size: 12px; }
.swi-mock-map {
    position: relative;
    height: 140px;
    background: #0a1520;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}
.swi-mock-map__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(23,90,109,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,90,109,0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}
.swi-mock-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.swi-mock-pins { position: absolute; inset: 0; }
.swi-mock-pin {
    position: absolute;
    font-size: 18px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.swi-mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.swi-mock-stat {
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    padding: 8px 6px;
    text-align: center;
    display: flex; flex-direction: column; gap: 2px;
}
.swi-mock-stat__val {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-accent);
}
.swi-mock-stat__lab {
    font-size: 10px;
    color: var(--c-muted);
}
.swi-case__badge-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.swi-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--c-text);
    background: var(--c-surface2);
    border: 1px solid var(--c-border);
    border-radius: 100px;
    padding: 7px 14px;
    white-space: nowrap;
    box-shadow: var(--shadow-card);
}
.swi-floating-badge--1 { top: 20%; right: 0; }
.swi-floating-badge--2 { bottom: 20%; left: 0; }

/* ═══════════════════════════════════════════════════════════
   TECH STACK
═══════════════════════════════════════════════════════════ */
.swi-tech { background: var(--c-surface); }
.swi-tech__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.swi-tech__item {
    background: var(--c-surface2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 28px 20px;
    text-align: center;
    display: flex; flex-direction: column;
    align-items: center; gap: 10px;
    transition: border-color .2s, transform .2s;
}
.swi-tech__item:hover {
    border-color: rgba(23,90,109,0.35);
    transform: translateY(-3px);
}
.swi-tech__logo {
    width: 52px; height: 52px;
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 20px;
    font-family: 'Space Grotesk', sans-serif;
}
.swi-tech__logo--kotlin  { background: linear-gradient(135deg, #7B52FF, #C811E1); color: #fff; }
.swi-tech__logo--swift   { background: linear-gradient(135deg, #FF6B35, #FF4500); color: #fff; }
.swi-tech__logo--firebase{ background: linear-gradient(135deg, #FFCA28, #F57C00); color: #000; }
.swi-tech__logo--maps    { background: linear-gradient(135deg, #1A73E8, #00BCD4); color: #fff; }
.swi-tech__logo--ai      { background: linear-gradient(135deg, #175a6d, #175a6d); color: #fff; font-size: 14px; }
.swi-tech__logo--cloud   { background: linear-gradient(135deg, #4A90D9, #7B68EE); color: #fff; font-size: 22px; }
.swi-tech__item span {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
}
.swi-tech__item small {
    font-size: 11px;
    color: var(--c-muted);
}

/* ═══════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════ */
.swi-pricing { background: var(--c-bg); }
.swi-pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}
.swi-pricing__card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 36px 32px;
    position: relative;
    transition: border-color .2s;
}
.swi-pricing__card:hover { border-color: rgba(23,90,109,0.3); }
.swi-pricing__card--featured {
    border-color: rgba(23,90,109,0.4);
    background: linear-gradient(160deg, var(--c-surface2) 0%, #071e28 100%);
    box-shadow: 0 0 40px rgba(23,90,109,0.1);
}
.swi-pricing__badge {
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--c-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}
.swi-pricing__tier {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 10px;
}
.swi-pricing__desc {
    font-size: 14px;
    color: var(--c-muted);
    margin-bottom: 24px;
    min-height: 40px;
}
.swi-pricing__list {
    list-style: none;
    display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 24px;
}
.swi-pricing__list li {
    font-size: 14px;
    color: var(--c-text);
    padding-left: 20px;
    position: relative;
}
.swi-pricing__list li::before {
    content: '✓';
    position: absolute; left: 0;
    color: var(--c-accent);
    font-weight: 700;
}
.swi-pricing__time {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    padding: 8px 14px;
    display: inline-block;
}
.swi-pricing__note {
    text-align: center;
    font-size: 14px;
    color: var(--c-muted);
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.swi-faq { background: var(--c-surface); }
.swi-faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.swi-faq__item {
    background: var(--c-surface2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color .2s;
}
.swi-faq__item[open],
.swi-faq__item:hover { border-color: rgba(23,90,109,0.3); }
.swi-faq__q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    list-style: none;
    user-select: none;
    gap: 16px;
}
.swi-faq__q::-webkit-details-marker { display: none; }
.swi-faq__q:hover { color: var(--c-white); }
.swi-faq__arrow { flex-shrink: 0; color: var(--c-accent); transition: transform .25s; }
.swi-faq__item[open] .swi-faq__arrow { transform: rotate(180deg); }
.swi-faq__a {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════ */
.swi-cta { background: var(--c-bg); }
.swi-cta__box {
    background: linear-gradient(135deg, #0a2030 0%, #061219 100%);
    border: 1px solid rgba(23,90,109,0.25);
    border-radius: var(--r-xl);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.swi-cta__glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(23,90,109,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.swi-cta__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--c-white);
    margin-bottom: 18px;
    position: relative;
}
.swi-cta__sub {
    font-size: 17px;
    color: var(--c-muted);
    margin-bottom: 36px;
    position: relative;
}
.swi-cta .swi-btn--primary { position: relative; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .swi-case__grid { grid-template-columns: 1fr; }
    .swi-case__visual { display: none; }
    .swi-case__inner { padding: 40px 32px; }
}
/* ═══════════════════════════════════════════════════════════
   PREVIEW HOME  [app_mobile_preview]
═══════════════════════════════════════════════════════════ */
.swi-preview {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: #071219;
    border: 1px solid rgba(23,90,109,0.4);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.swi-preview__bg-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(23,90,109,0.25) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.6;
}
.swi-preview__bg-glow {
    position: absolute;
    top: -80px; right: 200px;
    width: 500px; height: 400px;
    background: radial-gradient(ellipse, rgba(23,90,109,0.2) 0%, transparent 65%);
    pointer-events: none;
}
.swi-preview__inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── Lato testo ── */
.swi-preview__left {
    padding: 56px 40px 56px 52px;
}
.swi-preview__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a8d8e3;
    background: rgba(23,90,109,0.2);
    border: 1px solid rgba(23,90,109,0.5);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
}
.swi-preview__tag-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #175a6d;
    box-shadow: 0 0 6px #175a6d;
    animation: swi-pulse 2s infinite;
}
.swi-preview__title {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.swi-preview__hl {
    color: #a8d8e3;
}
.swi-preview__desc {
    font-size: 15px;
    color: #7da8ba;
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 28px;
}

/* Checklist */
.swi-preview__checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.swi-preview__check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.swi-preview__check-icon {
    width: 22px; height: 22px;
    flex-shrink: 0;
    background: #175a6d;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
}
.swi-preview__check strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.3;
}
.swi-preview__check small {
    font-size: 12px;
    color: #7da8ba;
}

/* Actions */
.swi-preview__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.swi-preview__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #175a6d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 100px;
    transition: all .22s ease;
    box-shadow: 0 4px 20px rgba(23,90,109,0.5);
}
.swi-preview__cta:hover {
    background: #1e7a96;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(23,90,109,0.6);
    color: #fff;
    text-decoration: none;
}
.swi-preview__social-proof {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.swi-preview__stars {
    color: #f59e0b;
    font-size: 13px;
    letter-spacing: 1px;
}
.swi-preview__social-proof span {
    font-size: 11px;
    color: #7da8ba;
}

/* ── Lato iPhone ── */
.swi-preview__right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 36px 40px 0;
    height: 100%;
}
.swi-preview__phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* iPhone 15 frame */
.swi-preview__iphone {
    position: relative;
    width: 210px;
    background: linear-gradient(160deg, #1c1c1e 0%, #0a0a0a 100%);
    border-radius: 44px;
    border: 1.5px solid #3a3a3c;
    box-shadow:
        0 0 0 1px #000,
        0 32px 80px rgba(0,0,0,0.8),
        inset 0 1px 0 rgba(255,255,255,0.08);
    padding: 14px 10px 10px;
    z-index: 2;
}
.swi-preview__iphone-side {
    position: absolute;
    top: 80px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #3a3a3c, #2a2a2c);
}
.swi-preview__iphone-side--left  { left: -4px; height: 60px; }
.swi-preview__iphone-side--right { right: -4px; height: 80px; top: 100px; }
.swi-preview__iphone-btn {
    position: absolute;
    left: -4px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #3a3a3c, #2a2a2c);
}
.swi-preview__iphone-btn--vol1  { top: 80px;  height: 28px; }
.swi-preview__iphone-btn--vol2  { top: 116px; height: 28px; }
.swi-preview__iphone-btn--power { left: auto; right: -4px; top: 100px; height: 56px; }
.swi-preview__iphone-home {
    width: 90px; height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 100px;
    margin: 10px auto 0;
}

/* Schermo interno */
.swi-preview__iphone-inner {
    background: #071219;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
}

/* Dynamic Island */
.swi-preview__island {
    width: 80px; height: 24px;
    background: #000;
    border-radius: 100px;
    margin: 4px auto 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    position: relative;
    z-index: 5;
}
.swi-preview__island-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1.5px solid #333;
}

/* App content */
.swi-preview__app {
    padding: 0 10px 12px;
}
.swi-preview__statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    padding: 0 4px 8px;
}
.swi-preview__status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}
.swi-preview__appheader {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 7px 9px;
}
.swi-preview__appicon {
    font-size: 18px;
    line-height: 1;
}
.swi-preview__appname {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}
.swi-preview__apploc {
    font-size: 9px;
    color: #7da8ba;
}
.swi-preview__appscore {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
}
.swi-preview__mapbox {
    position: relative;
    height: 110px;
    background: #050e14;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(23,90,109,0.2);
}
.swi-preview__mapgrid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(23,90,109,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,90,109,0.15) 1px, transparent 1px);
    background-size: 18px 18px;
}
.swi-preview__route {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}
.swi-preview__pins {
    position: absolute; inset: 0;
}
.swi-preview__pins span {
    position: absolute;
    font-size: 13px;
    transform: translate(-50%,-50%);
    line-height: 1;
}
.swi-preview__map-badge {
    position: absolute;
    bottom: 6px; right: 6px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: rgba(23,90,109,0.85);
    padding: 3px 8px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
}
.swi-preview__stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px 6px;
    margin-bottom: 10px;
    text-align: center;
}
.swi-preview__stats div {
    display: flex; flex-direction: column; gap: 2px;
}
.swi-preview__stats-sep {
    width: 1px; height: 24px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.swi-preview__stats strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #a8d8e3;
}
.swi-preview__stats small {
    font-size: 9px;
    color: #7da8ba;
}
.swi-preview__bottomnav {
    display: flex;
    justify-content: space-around;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 8px 4px;
}
.swi-preview__navitem {
    font-size: 14px;
    opacity: 0.45;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 8px;
    transition: opacity .2s;
}
.swi-preview__navitem--active {
    opacity: 1;
    background: rgba(23,90,109,0.35);
}

/* Badge flottanti */
.swi-preview__fb {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
    background: #0d1e26;
    border: 1px solid rgba(23,90,109,0.45);
    border-radius: 100px;
    padding: 7px 13px;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    z-index: 3;
}
.swi-preview__fb--1 { top: 12%; right: -10px; }
.swi-preview__fb--2 { bottom: 22%; left: -10px; }
.swi-preview__fb--3 { bottom: 8%;  right: 0px; font-size: 10px; color: #a8d8e3; border-color: rgba(23,90,109,0.6); }

@media (max-width: 860px) {
    .swi-preview__inner { grid-template-columns: 1fr; }
    .swi-preview__right { display: none; }
    .swi-preview__left  { padding: 40px 28px; }
}

@media (max-width: 640px) {
    .swi-section { padding: 64px 0; }
    .swi-hero { padding: 72px 0 64px; }
    .swi-steps { grid-template-columns: 1fr; }
    .swi-hero__cta { flex-direction: column; align-items: center; }
    .swi-pricing__grid { grid-template-columns: 1fr; }
    .swi-tech__grid { grid-template-columns: repeat(3, 1fr); }
    .swi-cta__box { padding: 52px 24px; }
    .swi-case__inner { padding: 32px 24px; }
    .swi-case__stores { flex-direction: column; }
}
