@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-300.woff2') format('woff2');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2');
    font-weight: 800; font-style: normal; font-display: swap;
}


* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* ── Arrow — dark, glassy, rose accents + the logo's spectrum ──── */
    --bg-base: #0a0612;
    --bg-deep: #060410;
    --text-primary: #f3ecf0;
    --text-secondary: #c5b8c0;
    --text-muted: #968a92;
    /* Accent tokens keep their old names so components recolour at once. */
    --bordeaux: #e5447f;
    --bordeaux-bright: #34a2de;     /* primary accent — W's blue, deeper/serious */
    --purple: #8a2be2;
    --rose: #e5447f;
    --rose-deep: #2a7ec8;           /* deeper cobalt — chips / meta */
    --sage: #34a2de;
    --sage-light: rgba(52,162,222,0.16);
    /* The full Arrow logo spectrum — kept ONLY for the logo glows (bottom bar,
       hero logo, nav-sheet logo) + the nebula. */
    --logo-gradient: linear-gradient(100deg, #7b2ff7 0%, #d81b8c 21%, #e8451e 40%, #f2a800 57%, #4fb03a 76%, #1ca9e0 100%);
    /* The blue gradient from the W of the logo — text + buttons across the site. */
    --w-gradient: linear-gradient(125deg, #2bb6d4 0%, #1c86d0 50%, #134a96 100%);
    --arrow-soft: var(--w-gradient);      /* eyebrow text + comparison checks */
    --button-gradient: var(--w-gradient); /* small accents / icon-tile fallbacks */
    --surface: rgba(255,255,255,0.045);       /* glass card */
    --surface-hover: rgba(255,255,255,0.075);
    --border-soft: rgba(255,255,255,0.10);
    --border-medium: rgba(255,255,255,0.20);
    --shadow-card: 0 18px 44px -22px rgba(0,0,0,0.72);
    --glass-blur: blur(16px) saturate(140%);
    --font: 'Plus Jakarta Sans', sans-serif;
    --header-bg: rgba(12,7,20,0.62);
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background: var(--bg-base);
}

/* The Arrow nebula — drifting clouds painted from the logo's full spectrum
   (violet · magenta · rose · orange · gold · green · teal · blue). Each cloud
   blends two hues so none reads as a flat colour; `screen` blend makes overlaps
   bloom additively into new tones. GPU-cheap: only transform + opacity animate. */
.blush-glow {
    position: fixed;
    inset: -25% -15%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.blush-glow .neb {
    position: absolute;
    border-radius: 50%;
    filter: blur(16px);
    will-change: transform, opacity;
    mix-blend-mode: screen;
}
.neb-1 {   /* violet → magenta (top-left) */
    width: 72vw; height: 56vw; top: -14%; left: -8%;
    background:
        radial-gradient(ellipse at 38% 42%, rgba(123,47,247,0.46), rgba(123,47,247,0.10) 46%, transparent 70%),
        radial-gradient(ellipse at 64% 58%, rgba(216,27,140,0.34), transparent 60%);
    animation: neb-a 36s ease-in-out infinite alternate;
}
.neb-2 {   /* cobalt → teal (top-right) */
    width: 74vw; height: 60vw; top: -10%; right: -12%;
    background:
        radial-gradient(ellipse at 56% 46%, rgba(24,96,184,0.44), rgba(28,169,224,0.12) 48%, transparent 72%),
        radial-gradient(ellipse at 40% 60%, rgba(58,208,216,0.26), transparent 60%);
    animation: neb-b 44s ease-in-out infinite alternate;
}
.neb-3 {   /* rose → orange (bottom-left) */
    width: 66vw; height: 54vw; bottom: -18%; left: 2%;
    background:
        radial-gradient(ellipse at 46% 50%, rgba(229,68,127,0.40), rgba(232,69,30,0.13) 50%, transparent 72%),
        radial-gradient(ellipse at 66% 40%, rgba(216,27,140,0.24), transparent 62%);
    animation: neb-c 40s ease-in-out infinite alternate;
}
.neb-4 {   /* teal → green hint (bottom-right) */
    width: 56vw; height: 48vw; bottom: -14%; right: -8%;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(28,169,224,0.34), rgba(79,176,58,0.10) 50%, transparent 72%),
        radial-gradient(ellipse at 34% 56%, rgba(58,208,216,0.22), transparent 60%);
    animation: neb-d 52s ease-in-out infinite alternate;
}
.neb-5 {   /* gold → orange core (center) */
    width: 44vw; height: 36vw; top: 28%; left: 32%;
    filter: blur(26px);
    background:
        radial-gradient(ellipse at center, rgba(242,168,0,0.32), rgba(232,69,30,0.12) 46%, transparent 66%);
    animation: neb-e 48s ease-in-out infinite alternate;
}
.neb-6 {   /* emerald → teal wisp (upper-center) — adds spectral nuance */
    width: 48vw; height: 40vw; top: 6%; left: 24%;
    filter: blur(28px);
    background:
        radial-gradient(ellipse at center, rgba(79,176,58,0.20), rgba(58,208,216,0.08) 52%, transparent 70%);
    animation: neb-f 56s ease-in-out infinite alternate;
}
@keyframes neb-a { 0%{transform:translate3d(0,0,0) scale(1) rotate(0deg);opacity:.85} 100%{transform:translate3d(8vw,5vh,0) scale(1.2) rotate(10deg);opacity:1} }
@keyframes neb-b { 0%{transform:translate3d(0,0,0) scale(1.05) rotate(0deg);opacity:.75} 100%{transform:translate3d(-7vw,6vh,0) scale(1.25) rotate(-12deg);opacity:1} }
@keyframes neb-c { 0%{transform:translate3d(0,0,0) scale(.95);opacity:.6} 50%{transform:translate3d(5vw,-3vh,0) scale(1.15);opacity:1} 100%{transform:translate3d(-4vw,4vh,0) scale(1.05);opacity:.75} }
@keyframes neb-d { 0%{transform:translate3d(0,0,0) scale(1);opacity:.7} 100%{transform:translate3d(-6vw,-5vh,0) scale(1.22);opacity:1} }
@keyframes neb-e { 0%{transform:translate3d(0,0,0) scale(1);opacity:.55} 100%{transform:translate3d(6vw,4vh,0) scale(1.3);opacity:.9} }
@keyframes neb-f { 0%{transform:translate3d(0,0,0) scale(1) rotate(0deg);opacity:.5} 100%{transform:translate3d(5vw,-4vh,0) scale(1.2) rotate(8deg);opacity:.8} }
@media (prefers-reduced-motion: reduce) { .blush-glow .neb { animation: none; } }

/* Starfield — a faint scatter of stars; a few twinkle/glow now and then. */
.stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 8% 14%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 17% 42%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 24% 78%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1.5px 1.5px at 33% 22%, rgba(255,255,255,0.55), transparent),
        radial-gradient(1px 1px at 41% 58%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 49% 12%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 57% 84%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 63% 34%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 71% 66%, rgba(255,255,255,0.55), transparent),
        radial-gradient(1.5px 1.5px at 78% 20%, rgba(255,255,255,0.75), transparent),
        radial-gradient(1px 1px at 84% 50%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 91% 76%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 95% 30%, rgba(255,255,255,0.5), transparent);
    background-repeat: no-repeat;
    animation: stars-fade 7s ease-in-out infinite alternate;
}
.stars::before,
.stars::after {       /* a couple of brighter stars that bloom occasionally */
    content: '';
    position: absolute;
    width: 2px; height: 2px;
    border-radius: 50%;
    background: #fff;
}
.stars::before {
    top: 26%; left: 68%;
    box-shadow: 0 0 8px 2px rgba(255,255,255,0.85), 0 0 20px 5px rgba(58,208,216,0.5);
    animation: star-twinkle 5.5s ease-in-out infinite;
}
.stars::after {
    top: 70%; left: 22%;
    box-shadow: 0 0 8px 2px rgba(255,255,255,0.8), 0 0 22px 6px rgba(28,169,224,0.5);
    animation: star-twinkle 6.5s ease-in-out 2s infinite;
}
@keyframes stars-fade  { 0%,100% { opacity: 0.55; } 50% { opacity: 0.85; } }
@keyframes star-twinkle { 0%,85%,100% { opacity: 0.25; transform: scale(0.8); } 92% { opacity: 1; transform: scale(1.4); } }
@media (prefers-reduced-motion: reduce) { .stars, .stars::before, .stars::after { animation: none; } }

body {
    font-family: var(--font);
    background-color: transparent;
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}

html {
    background-color: var(--bg-base);
    scroll-behavior: smooth;
}

/* ═══════════════════════════════════════════════════════════════════
   CANVAS BACKGROUND — tamed, stable across HTMX navigation
   ═══════════════════════════════════════════════════════════════════ */

#bg-wrap {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
#bg-canvas {
    width: 100%;
    height: 100%;
    opacity: var(--canvas-opacity, 0.22);
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER — horizontal, sticky, one line
   ═══════════════════════════════════════════════════════════════════ */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 64px;
    border-bottom: 1px solid var(--border-soft);
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-logo {
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}
.site-logo img {
    height: 32px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.site-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
    position: relative;
    padding: 2px 0;
    white-space: nowrap;
}
.site-nav a:hover  { opacity: 1; color: var(--bordeaux-bright); }
.site-nav a.active { opacity: 1; color: var(--bordeaux-bright); }
.site-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0; right: 0;
    height: 1px;
    background: var(--bordeaux-bright);
    opacity: 0.6;
}

/* Language switch — desktop header */
.lang-switch {
    display: flex;
    gap: 1px;
    margin-left: 1.25rem;
    padding: 3px;
    border-radius: 9px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    flex-shrink: 0;
}
.lang-switch a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
.lang-switch a:hover { color: var(--bordeaux-bright); }
.lang-switch a.active { color: #fff; background: var(--button-gradient); }

/* Language switch — inside the mobile bottom sheet */
.sheet-lang { display: none; gap: 0.6rem; margin-top: 1.4rem; }
.sheet-lang a {
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border-soft);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}
.sheet-lang a.active { color: #fff; background: var(--button-gradient); border-color: transparent; }

/* Full-width bottom bar + upward glass sheet — mobile only (shown ≤1100px).
   On mobile the top header disappears entirely; navigation lives in the band. */
.nav-launcher,
.nav-backdrop,
.nav-sheet { display: none; }

/* The glass sheet that slides up from the bottom band */
.nav-sheet {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 130;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    max-height: 84dvh;                 /* never run off the top of the screen */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.85rem 1.4rem calc(6.2rem + env(safe-area-inset-bottom));
    background: #0c0816;
    border-top: 1px solid var(--border-soft);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -22px 54px -26px rgba(0,0,0,0.7);
    transform: translateY(100%);
    will-change: transform;
    transition: transform 0.32s cubic-bezier(0.32,0.72,0,1);
}
.nav-sheet::before {
    content: '';
    width: 42px; height: 4px;
    border-radius: 3px;
    background: rgba(255,255,255,0.22);
    margin-bottom: 0.9rem;
    flex-shrink: 0;
}
/* Logo at the top of the sheet, glowing — echoes the bottom bar. */
.nav-sheet-logo {
    position: relative;
    display: block;
    line-height: 0;
    margin: 0.4rem 0 1.1rem;
    flex-shrink: 0;
}
.nav-sheet-logo img { position: relative; height: 24px; width: auto; }
.nav-sheet-logo::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 150%; height: 280%;
    transform: translate(-50%, -50%);
    background: var(--logo-gradient);
    filter: blur(26px);
    opacity: 0.32;
    border-radius: 50%;
    pointer-events: none;
}
.nav-sheet.open { transform: translateY(0); }

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6,4,12,0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: opacity;
    transition: opacity 0.32s cubic-bezier(0.32,0.72,0,1), visibility 0.32s;
}
.nav-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }

/* Full-width bottom band — taller, with a centred Arrow logo. The logo-spectrum
   edge glows; tapping the bar (the logo) opens the menu sheet. */
.nav-launcher {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 140;                 /* above the sheet (130) so the logo stays tappable when open */
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom));
    background: #0b0712;        /* solid so the nebula can't bleed through as colour patches */
    border: none;
    border-top: 1px solid var(--border-soft);
    cursor: pointer;
    overflow: hidden;
}
.nav-launcher::before {        /* glowing logo-spectrum line on the top edge */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--logo-gradient);
    opacity: 0.9;
}
.nav-launcher-glow {           /* soft radial halo behind the logo — fades out, no edges */
    position: absolute;
    top: 50%; left: 50%;
    width: 58%; height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side,
        rgba(28,134,208,0.5) 0%, rgba(123,47,247,0.24) 48%, transparent 76%);
    filter: blur(12px);
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.25s;
}
.nav-launcher:hover .nav-launcher-glow,
.nav-launcher.open  .nav-launcher-glow { opacity: 0.6; }
.nav-launcher img {
    height: 40px;
    width: auto;
    position: relative;
    pointer-events: none;
    transition: transform 0.25s;
}
.nav-launcher.open img { transform: scale(0.92); }

/* NO top bar anywhere — navigation lives entirely in the bottom band, on every
   viewport. The big hero logo handles branding at the top. */
.site-header { display: none; }
.nav-launcher { display: flex; }
.nav-backdrop { display: block; }
.nav-sheet    { display: flex; }
.sheet-lang   { display: flex; justify-content: center; }
body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
.back-to-top { display: none; }

/* Menu as a 2-column grid of glass icon-tiles. */
.nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
    max-width: 440px;
}
.nav-grid a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 0.7rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.15;
    transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.nav-grid a:hover,
.nav-grid a:active { background: var(--surface-hover); border-color: var(--border-medium); }
.nav-grid a.active { color: var(--bordeaux-bright); border-color: var(--border-medium); }
.nav-grid .nav-ico {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--bordeaux-bright);
}

/* ═══════════════════════════════════════════════════════════════════
   GIOCHI STRIP
   ═══════════════════════════════════════════════════════════════════ */

.giochi-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding: 0.75rem 2rem;
    background: rgba(107,45,78,0.14);
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.84rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    line-height: 1.5;
    text-align: center;
}
.giochi-strip strong { font-weight: 600; color: var(--bordeaux-bright); }
.giochi-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--bordeaux-bright);
    flex-shrink: 0;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(199,104,144,0.5);
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.35; transform: scale(0.75); }
}

/* ═══════════════════════════════════════════════════════════════════
   LANDING — HERO: typographic, value proposition + CTA
   ═══════════════════════════════════════════════════════════════════ */

.hero {
    max-width: 820px;
    margin: 0 auto;
    padding: 5.5rem 2rem 4.5rem;
    text-align: center;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    background: var(--arrow-soft);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(1.3rem, 2.8vw, 1.75rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.005em;
    max-width: 620px;
    margin: 0 auto 2.25rem;
    /* Brushed-silver / chrome text — a soft metallic sheen, not flat white. */
    background: linear-gradient(176deg, #ffffff 0%, #dfe4ec 38%, #aab2c2 56%, #f2f5fa 78%, #c9d0db 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.35));
}
.hero-sub {
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.25rem;
}
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}
.hero-trust {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

/* Secondary (outline) CTA — pairs with the gradient .cta-button */
.cta-button.secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    box-shadow: none;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.cta-button.secondary:hover {
    background: var(--surface-hover);
    border-color: var(--bordeaux-bright);
    filter: none;
    box-shadow: 0 10px 26px -12px rgba(58,208,216,0.4);
}

@media (max-width: 700px) {
    .hero { padding: 3.5rem 1.25rem 3rem; }
    .hero-cta-row .cta-button { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION HEADLINES — readable title under each small eyebrow
   ═══════════════════════════════════════════════════════════════════ */

.section-headline {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-top: -1.25rem;
    margin-bottom: 1.75rem;
    text-align: left;
}
#come-funziona-teaser .section-headline,
.cta-final .section-headline { text-align: center; }

/* ── Chi c'è dietro — compressed trust block ───────────────────── */
.chi-section { text-align: left; }
.chi-section p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.85rem;
}
.chi-section p:last-child { margin-bottom: 0; }
.chi-section strong { color: var(--text-primary); font-weight: 600; }

@media (max-width: 700px) {
    .section-headline { font-size: 1.25rem; }
}

/* ── Hero pipeline (infra → design → seo, connected) ───────────── */
.pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2.75rem;
}
.pipe-node {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}
.pipe-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--button-gradient);
}
.pipe-link {
    width: 26px; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--rose), var(--rose-deep));
    opacity: 0.6;
}
@media (max-width: 520px) { .pipe-link { width: 16px; } .pipe-node { padding: 0.5rem 0.85rem; font-size: 0.78rem; } }

/* ── Pillars — the full stack, icon cards ──────────────────────── */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: left;
}
.pillar {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pillar:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px -22px rgba(24,96,184,0.42);
    border-color: var(--border-medium);
}
.pillar-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    border-radius: 14px;
    margin-bottom: 1rem;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 10px 26px -10px rgba(28,169,224,0.5), 0 6px 18px -10px rgba(28,169,224,0.32), 0 4px 14px -8px rgba(58,208,216,0.3);
}
.pillar-ico svg { width: 25px; height: 25px; }
.pillar h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.pillar p  { font-size: 0.92rem; font-weight: 400; color: var(--text-secondary); line-height: 1.6; margin: 0; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ── VS — typical agency vs Arrow ──────────────────────────────── */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; }
.vs-col {
    border-radius: 16px;
    padding: 1.5rem 1.4rem;
    border: 1px solid var(--border-soft);
}
.vs-them { background: #f6f3f4; }
.vs-us {
    background: linear-gradient(165deg, #fff0f6, #ffe3ee);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-card);
}
.vs-head {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 1rem;
}
.vs-them .vs-head { color: var(--text-muted); }
.vs-us .vs-head   { color: var(--rose-deep); }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.vs-col li {
    position: relative;
    padding-left: 1.7rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
}
.vs-them li { color: var(--text-muted); }
.vs-them li::before {
    content: '✕';
    position: absolute; left: 0; top: 0;
    color: #b9a9af;
    font-weight: 700;
    font-size: 0.85rem;
}
.vs-us li { color: var(--text-primary); font-weight: 500; }
.vs-us li::before {
    content: '✓';
    position: absolute; left: 0; top: 0;
    color: var(--rose-deep);
    font-weight: 800;
    font-size: 0.9rem;
}
@media (max-width: 560px) { .vs-grid { grid-template-columns: 1fr; } }

/* ── Tutto incluso — icon-bullet grid ──────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    text-align: left;
}
.feature {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
}
.feature-ico {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    box-shadow: 0 6px 16px -8px rgba(28,169,224,0.42), 0 4px 12px -9px rgba(28,169,224,0.3);
}
.feature-ico svg { width: 19px; height: 19px; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .feature-grid { grid-template-columns: 1fr; } }

/* ── Showcase sections (websites / web apps) ───────────────────── */
.showcase-sub {
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: -1rem 0 1.5rem;
}
.bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1.4rem;
    text-align: left;
}
.bullets li {
    position: relative;
    padding-left: 1.7rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}
.bullets li::before {
    content: '✓';
    position: absolute; left: 0; top: 0;
    color: var(--rose-deep);
    font-weight: 800;
    font-size: 0.9rem;
}
@media (max-width: 560px) { .bullets { grid-template-columns: 1fr; } }

/* Proof cards — recent portfolio work */
.proof-row { margin-top: 2rem; }
.proof-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    text-align: left;
}
.proof-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.proof-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s, box-shadow 0.2s;
}
.proof-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -20px rgba(24,96,184,0.4); }
.proof-media { display: block; height: 124px; overflow: hidden; }
.proof-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proof-body { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.85rem 1rem; }
.proof-body strong { font-size: 0.92rem; color: var(--text-primary); }
.proof-visit { font-size: 0.78rem; font-weight: 700; color: var(--rose-deep); white-space: nowrap; }
@media (max-width: 460px) { .proof-cards { grid-template-columns: 1fr; } }

/* ── Dal blog + audit ──────────────────────────────────────────── */
.blog-audit-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; text-align: left; }
.posts-col { display: flex; flex-direction: column; gap: 0.8rem; }
.post-card {
    display: block;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.post-card:hover { transform: translateY(-2px); border-color: var(--border-medium); box-shadow: 0 18px 40px -20px rgba(24,96,184,0.38); }
.post-cat {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--rose-deep);
    background: var(--sage-light);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.6rem;
}
.post-title { display: block; font-size: 1.02rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; margin-bottom: 0.35rem; }
.post-excerpt { display: block; font-size: 0.88rem; font-weight: 400; color: var(--text-secondary); line-height: 1.55; margin-bottom: 0.6rem; }
.post-meta { font-size: 0.78rem; font-weight: 600; color: var(--rose-deep); }
.posts-empty { color: var(--text-muted); font-size: 0.92rem; padding: 1rem 0; }
.audit-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    background: linear-gradient(165deg, rgba(229,68,127,0.16), rgba(28,169,224,0.12));
    border: 1px solid var(--border-medium);
    border-radius: 16px;
    padding: 1.4rem 1.4rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform 0.2s, box-shadow 0.2s;
}
.audit-card:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -18px rgba(28,169,224,0.5); }
.audit-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0.85rem;
    color: #fff;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 10px 24px -10px rgba(28,169,224,0.5), 0 6px 16px -10px rgba(28,169,224,0.32);
}
.audit-ico svg { width: 22px; height: 22px; }
.audit-card strong { font-size: 1.02rem; color: var(--text-primary); line-height: 1.3; margin-bottom: 0.5rem; }
.audit-body { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 0.9rem; }
.audit-cta { font-size: 0.82rem; font-weight: 700; color: var(--rose-deep); }
@media (max-width: 620px) { .blog-audit-grid { grid-template-columns: 1fr; } }

/* ── Appuntamento — booking CTA block ──────────────────────────── */
.appt-section { padding-top: 1rem; }
.appt-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(28,169,224,0.18) 0%, rgba(24,96,184,0.16) 100%);
    border: 1px solid var(--border-medium);
    border-radius: 22px;
    padding: 2.75rem 2rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    text-align: center;
}
.appt-card::before {          /* logo-spectrum glow line on top */
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--w-gradient); opacity: 0.85;
}
.appt-eyebrow {
    display: block;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.22em; color: var(--bordeaux-bright); margin-bottom: 1rem;
}
.appt-headline {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
    color: var(--text-primary); margin-bottom: 1rem; text-transform: none;
    opacity: 1;
}
.appt-sub {
    font-size: 1.02rem; font-weight: 400; color: var(--text-secondary);
    line-height: 1.6; max-width: 480px; margin: 0 auto 1.75rem;
}
.appt-note { display: block; margin-top: 1rem; font-size: 0.82rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════
   LANDING — PYRAMID BOTTOM: homepage sections
   ═══════════════════════════════════════════════════════════════════ */

section {
    padding: 3rem 2rem;
    max-width: 680px;
    margin: 0 auto;
}

section h2 {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    background: var(--arrow-soft);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    margin-bottom: 2rem;
}

/* ── Servizi cards ─────────────────────────────────────────────── */
.servizi-stack { display: flex; flex-direction: column; gap: 1rem; }

.servizio-card {
    display: block;
    text-decoration: none;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.6rem 1.7rem 1.4rem;
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.servizio-card:hover {
    border-color: var(--border-medium);
    background: var(--surface-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -20px rgba(24,96,184,0.4);
}
.servizio-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.servizio-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.005em;
    margin: 0;
}
.servizio-card p {
    font-size: 0.97rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
}
/* Price is plain information — not a badge, not a selling point. */
.prezzo {
    display: inline-block;
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.card-arrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bordeaux-bright);
    letter-spacing: 0.05em;
    opacity: 0.85;
    transition: opacity 0.15s, transform 0.15s;
}
.servizio-card:hover .card-arrow { opacity: 1; transform: translateX(3px); }

/* ── Perché grid ──────────────────────────────────────────────── */
.perche-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    text-align: left;
}
.perche-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.2s, background 0.2s;
}
.perche-card:hover { border-color: var(--border-medium); background: var(--surface-hover); }
.perche-card-body h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}
.perche-card-body p {
    font-size: 0.86rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 460px) { .perche-grid { grid-template-columns: 1fr; } }

/* ── Come funziona teaser ─────────────────────────────────────── */
#come-funziona-teaser { text-align: center; }
.teaser-lede {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
    font-style: italic;
}
.section-more { text-align: center; margin-top: 1.75rem; font-size: 0.9rem; }

/* ── Inline links ────────────────────────────────────────────── */
/* Glass pill links — fill with the logo spectrum on hover (replaces the old
   underline-with-arrow text links). */
.inline-link {
    display: inline-block;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    padding: 0.7rem 1.45rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border-medium);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s, color 0.18s, background 0.18s;
}
.inline-link:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.11);
    box-shadow: 0 12px 32px -12px rgba(28,169,224,0.55), 0 8px 22px -12px rgba(28,169,224,0.34), 0 5px 16px -10px rgba(58,208,216,0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════════════ */

#contatti p,
#contatti-landing p {
    margin-bottom: 1.75rem;
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

form { display: flex; flex-direction: column; gap: 0.9rem; text-align: left; }

form input,
form textarea {
    font-family: var(--font);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    line-height: 1.5;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
form input:focus,
form textarea:focus { border-color: var(--sage); background: var(--surface-hover); }
form input::placeholder,
form textarea::placeholder { color: var(--text-muted); font-weight: 300; }

form button,
.cta-button {
    position: relative;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.95rem 2.25rem;
    background: rgba(255,255,255,0.07);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 11px;
    cursor: pointer;
    align-self: center;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    /* soft multi-colour arrow glow — like the bottom bar */
    box-shadow: 0 12px 38px -10px rgba(28,169,224,0.6), 0 10px 30px -12px rgba(28,169,224,0.42), 0 6px 20px -10px rgba(232,69,30,0.3), 0 4px 16px -8px rgba(58,208,216,0.35);
}
form button::after,
.cta-button::after {           /* thin arrow-spectrum edge along the bottom */
    content: '';
    position: absolute;
    left: 9%; right: 9%; bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--w-gradient);
    opacity: 0.95;
}
.cta-button.secondary::after { display: none; }
form button:hover,
.cta-button:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.11);
    box-shadow: 0 16px 44px -12px rgba(28,169,224,0.62), 0 10px 30px -12px rgba(28,169,224,0.4), 0 6px 20px -10px rgba(58,208,216,0.34);
}

.form-success {
    background: var(--sage-light);
    border: 1px solid rgba(138,180,162,0.3);
    border-radius: 10px;
    padding: 1.5rem;
    color: var(--sage);
    font-weight: 600;
    text-align: center;
}
.form-error {
    background: rgba(107,45,78,0.15);
    border: 1px solid rgba(199,104,144,0.3);
    border-radius: 10px;
    padding: 1.5rem;
    color: var(--bordeaux-bright);
    font-weight: 600;
    text-align: center;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    text-align: left;
    margin-top: 0.3rem;
}
.consent-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px; height: 16px;
    flex-shrink: 0;
    accent-color: var(--bordeaux-bright);
}
.consent-label a { color: var(--bordeaux-bright); text-decoration: underline; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════
   SUBPAGE LAYOUT
   ═══════════════════════════════════════════════════════════════════ */

.page {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    text-align: left;
}

.page-hero {
    padding: 2.75rem 0 2.25rem;
    border-bottom: 1px solid var(--border-soft);
    text-align: center;
}
.page-hero h1 {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.005em;
    color: var(--text-primary);
    margin-bottom: 0.9rem;
    line-height: 1.2;
}
.page-lede {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.55;
    max-width: 540px;
    margin: 0 auto 0.7rem;
}
.page-sub {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
    font-style: italic;
}
@media (min-width: 768px) {
    .page-hero h1 { font-size: 2.4rem; }
    .page-lede    { font-size: 1.2rem; }
}

/* ── Page blocks ──────────────────────────────────────────────── */
.page-block {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-soft);
    max-width: none;
    margin: 0;
}
.page-block:last-child { border-bottom: none; }

.page-block h2 {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bordeaux-bright);
    margin-bottom: 1.5rem;
    opacity: 0.85;
    text-align: left;
}
.page-block p {
    font-size: 0.96rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 0.85rem;
}
.page-block p:last-child { margin-bottom: 0; }
.page-block em { font-style: italic; color: var(--text-primary); }

/* ── Human block — pyramid middle layer on inner pages ────────── */
.page-block.page-human {
    border-bottom: 1px solid var(--border-soft);
}
.page-block.page-human p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 0.85rem;
}
.page-block.page-human p:last-child { margin-bottom: 0; }
.page-block.page-human strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Include list ─────────────────────────────────────────────── */
.include-list { display: flex; flex-direction: column; gap: 1rem; }
.include-item {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color 0.2s, background 0.2s;
}
.include-item:hover { border-color: var(--border-medium); background: var(--surface-hover); }
.include-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}
.include-item p {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}
.include-item.emphasis { border-color: rgba(199,104,144,0.28); background: rgba(107,45,78,0.08); }
.include-item.emphasis h3 { color: var(--bordeaux-bright); }
.include-item.emphasis p  { color: var(--text-primary); }

/* ── Price block ──────────────────────────────────────────────── */
.price-block {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.4rem 1.3rem;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    margin-bottom: 1.25rem;
}
.price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    line-height: 1.4;
}
.price-amount { font-size: 1.6rem; font-weight: 700; color: var(--sage); letter-spacing: -0.01em; }
.price-unit   { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.price-detail { font-size: 0.88rem; font-weight: 300; color: var(--text-secondary); }
.price-footnote { font-size: 0.85rem; font-style: italic; color: var(--text-muted) !important; line-height: 1.7; }

@media (min-width: 768px) { .price-amount { font-size: 1.9rem; } }

/* ── Negative list ────────────────────────────────────────────── */
.negative-list { font-size: 0.95rem !important; line-height: 1.9 !important; }
.negative-line { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; text-align: left; margin-top: -1rem; }

/* ── Page CTA ─────────────────────────────────────────────────── */
.page-cta { text-align: center; }
.page-cta h2 { text-align: center; }
.page-cta p  { max-width: 460px; margin: 0 auto 1.5rem; text-align: center; }
.page-cta .cta-button { margin-top: 0.5rem; }

/* ═══════════════════════════════════════════════════════════════════
   PERCHÉ — manifesto
   ═══════════════════════════════════════════════════════════════════ */

.manifesto p { font-size: 1rem; line-height: 1.85; color: var(--text-primary); }
.manifesto p strong { color: var(--bordeaux-bright); font-weight: 700; }

/* ── Tech details expandable ──────────────────────────────────── */
.tech-details {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    margin-bottom: 0.6rem;
    overflow: hidden;
    transition: border-color 0.2s;
}
.tech-details:hover { border-color: var(--border-medium); }
.tech-details[open] { border-color: rgba(199,104,144,0.25); }
.tech-details summary {
    padding: 0.95rem 1.2rem;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
    position: relative;
    transition: background 0.15s;
}
.tech-details summary::-webkit-details-marker { display: none; }
.tech-details summary::after {
    content: '+';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bordeaux-bright);
    font-weight: 300;
    font-size: 1.25rem;
}
.tech-details[open] summary::after { content: '−'; }
.tech-details summary:hover { background: var(--surface-hover); }
.tech-body {
    padding: 0.4rem 1.2rem 1.2rem;
    border-top: 1px solid var(--border-soft);
}
.tech-body p { font-size: 0.88rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 0.75rem; }
.tech-body p:last-child { margin-bottom: 0; }
.tech-body strong { color: var(--text-primary); font-weight: 700; }
.tech-body code {
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    background: rgba(199,104,144,0.1);
    padding: 0.1em 0.35em;
    border-radius: 3px;
    color: var(--bordeaux-bright);
}

/* ═══════════════════════════════════════════════════════════════════
   COME FUNZIONA — steps
   ═══════════════════════════════════════════════════════════════════ */

.steps-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.step-item {
    display: flex;
    gap: 1.1rem;
    padding: 1.25rem 1.3rem;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color 0.2s, background 0.2s;
}
.step-item:hover { border-color: var(--border-medium); background: var(--surface-hover); }
.step-num {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 8px 20px -10px rgba(28,169,224,0.5), 0 5px 14px -10px rgba(28,169,224,0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 2px 12px rgba(107,45,78,0.35);
}
.step-body { flex: 1; min-width: 0; }
.step-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.45rem; }
.step-body p  { font-size: 0.93rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; margin-bottom: 0.6rem; }
.step-body p:last-child { margin-bottom: 0; }
.step-callout { font-style: italic; color: var(--bordeaux-bright) !important; font-weight: 400; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER + BACK-TO-TOP
   ═══════════════════════════════════════════════════════════════════ */

footer {
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.75;
    padding: 2rem 2rem 2.5rem;
    border-top: 1px solid var(--border-soft);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-align: center;
    max-width: 720px;
    margin: 2rem auto 0;
}
footer p { margin-bottom: 0.4rem; }
footer p:last-child { margin-bottom: 0; }
footer a { color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
footer a:hover { color: var(--bordeaux-bright); }

.back-to-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.86);
    border: 1px solid var(--border-medium);
    box-shadow: 0 8px 24px -12px rgba(24,96,184,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s;
    text-decoration: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top img { height: 16px; width: auto; opacity: 0.65; }
.back-to-top:hover img { opacity: 0.95; }

/* ═══════════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════════ */

.legal-section { max-width: 720px; margin: 0 auto; padding: 3rem 2rem 4rem; text-align: left; }
.legal-section h1 { font-size: 1.7rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.legal-meta { font-size: 0.8rem; color: var(--bordeaux-bright); letter-spacing: 0.06em; margin-bottom: 2.25rem; opacity: 0.85; }
.legal-section h2 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bordeaux-bright);
    margin-top: 1.75rem;
    margin-bottom: 0.7rem;
    opacity: 0.9;
}
.legal-section p { font-size: 0.9rem; font-weight: 300; color: var(--text-secondary); line-height: 1.8; margin-bottom: 0.7rem; }
.legal-section strong { font-weight: 600; color: var(--text-primary); }
.legal-section code {
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    background: rgba(199,104,144,0.1);
    padding: 0.1em 0.35em;
    border-radius: 3px;
    color: var(--bordeaux-bright);
}
.back-link {
    display: inline-block;
    margin-top: 2.5rem;
    color: var(--bordeaux-bright);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}
.back-link:hover { color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════════════════
   REDESIGN v2 — glowing hero logo + Perché comparison grid
   ═══════════════════════════════════════════════════════════════════ */

/* Big Arrow logo at the top of the hero, with its own colours glowing behind. */
.hero-logo {
    position: relative;
    display: inline-block;
    line-height: 0;
    margin-bottom: 1.75rem;
}
.hero-logo img {
    position: relative;
    height: 70px;
    width: auto;
    max-width: 84vw;
}
.hero-logo-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 135%; height: 240%;
    transform: translate(-50%, -50%);
    background: var(--logo-gradient);
    filter: blur(48px);
    opacity: 0.42;
    border-radius: 50%;
    pointer-events: none;
    animation: logo-pulse 6s ease-in-out infinite alternate;
}
@keyframes logo-pulse {
    0%   { opacity: 0.30; transform: translate(-50%, -50%) scale(0.94); }
    100% { opacity: 0.50; transform: translate(-50%, -50%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .hero-logo-glow { animation: none; } }
@media (max-width: 700px) { .hero-logo img { height: 54px; } }

/* Perché Arrow — Standard vs Arrow comparison grid (glassy, Arrow column lit). */
.compare {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border-soft);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.compare-row {
    display: grid;
    grid-template-columns: 1fr 84px 84px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem;
    background: rgba(20,12,30,0.55);
    text-align: left;
}
.compare-feat { font-size: 0.9rem; font-weight: 500; color: var(--text-primary); line-height: 1.3; }
.compare-std, .compare-arrow { text-align: center; }
.compare-arrow { background: rgba(229,68,127,0.07); border-radius: 8px; }

.compare-head .compare-std,
.compare-head .compare-arrow {
    font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.compare-head .compare-std { color: var(--text-muted); }
.compare-head .compare-arrow { display: flex; align-items: center; justify-content: center; padding: 2px 0; }
.compare-head .compare-arrow img { height: 15px; width: auto; }
.compare-row:not(.compare-head) .compare-std::before {
    content: '✕'; color: var(--text-muted); font-weight: 700; font-size: 0.95rem; opacity: 0.55;
}
.compare-row:not(.compare-head) .compare-arrow::before {
    content: '✓'; font-weight: 800; font-size: 1.05rem;
    background: var(--arrow-soft);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
@media (max-width: 480px) {
    .compare-row { grid-template-columns: 1fr 52px 52px; padding: 0.8rem 0.85rem; }
    .compare-feat { font-size: 0.84rem; }
}
