:root {
    /* Luce: gli stessi valori di src/app.css (spec landing § 3) */
    --bg-dark: #050607;
    --bg-darker: #030304;
    --bg-card: var(--glass-bg);
    --primary: #3bbd27;
    --primary-hover: #34a822;
    --accent-ink: #06180a;
    --accent-tint: rgba(59, 189, 39, 0.12);
    --accent-ring: rgba(59, 189, 39, 0.4);
    --text-primary: #f2f2f4;
    --text-secondary: #9a9aa3;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.045);
    --glass-bg-strong: rgba(20, 21, 24, 0.78);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    --shadow-float: 0 24px 60px rgba(0, 0, 0, 0.55);
    --stage-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.025) 100%), #050607;
    --radius-sm: 9px;
    --radius-md: 11px;
    --radius-lg: 16px;
    --radius-xl: 18px;
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-logo: 'Azonix', 'Outfit', sans-serif; /* Fallback for Azonix if not embedded */
}


/* Reset & BaseStyles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

/* Utility Classes */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    max-width: 1200px;
}

.text-center { text-align: center; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-10 { margin-top: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.text-lg { font-size: 1.125rem; }
.text-light { color: var(--text-secondary); }
.text-primary-color { color: var(--primary); }
.highlight-bold { font-weight: 700; color: #fff; font-size: 1.25rem; }

h1, h2, h3, h4, .headline, .section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Key words inside the running text (translations/*.json): <strong> lifts
   them out of the grey copy, <strong class="hl"> adds the brand green — at
   most one per block, for the promise the block makes. */
strong {
    font-weight: 700;
    color: var(--text-primary);
}
strong.hl {
    color: var(--primary);
}

/* Header */

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: clamp(40px, 8vw, 68px); 
    max-height: 85%; 
    width: auto;
    object-fit: contain;
    padding: 8px 0;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}



.btn-large {
    padding: 16px 32px;
    font-size: 1.5rem;
    width: 100%;
    max-width: 380px;
}


.micro-proof {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    opacity: 0.8;
}

/* HERO SECTION */
.hero {
    padding-top: 120px;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Glow */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(60,189,40,0.15) 0%, rgba(18,18,18,0) 70%);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.headline {
    font-size: 4rem;
    letter-spacing: -0.02em;
}

.hero-reinforcement {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin: 0.5rem auto 1rem;
    max-width: 700px;
    font-weight: 400;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.cta-wrapper {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-1, .hero-img-2 {
    width: 95%;
    max-width: 1000px;
    height: auto;
    aspect-ratio: 1520 / 750;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

/* VIDEO DEMO */
.video-section {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(60, 189, 40, 0.1);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    /* The clip and its poster are 1280×800 (16:10): a 16:9 frame squashed the
       poster and let the video jump to letterboxed on play. */
    aspect-ratio: 1280 / 800;
    display: block;
    background: #000;
}

.video-wrapper video::cue {
    color: #ffffff;
    background: rgba(30, 120, 20, 0.85);
    font-family: var(--font-body);
    font-size: 1.1em;
}

.video-cta {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .video-wrapper {
        border-radius: 8px;
    }
}

/* PAIN POINTS */
.pain-points {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem auto 2rem;
    max-width: 800px;
    flex-wrap: wrap;
}

.pain-point {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.pain-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.pain-points-stacked {
    flex-direction: column;
    align-items: stretch;
    max-width: 640px;
}

.problem-solution {
    margin-top: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.pain-points-stacked .pain-point {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .pain-points {
        flex-direction: column;
        align-items: stretch;
    }
    .pain-point {
        justify-content: center;
        text-align: center;
    }
}

/* MECHANISM */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.steps-cta {
    margin-top: 2.5rem;
}

.step-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(60, 189, 40, 0.25);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* DIFFERENZIATORE */
.differentiator-highlight {
    background: linear-gradient(90deg, transparent, rgba(60,189,40,0.2), transparent);
    padding: 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.25rem;
    color: #fff;
    border-top: 1px solid rgba(60,189,40,0.5);
    border-bottom: 1px solid rgba(60,189,40,0.5);
}

/* Three pillars below the differentiator: ✓ Voice / ✓ Video / ✓ Audio.
   A horizontal row on desktop, wraps gracefully on narrow screens. */
.diff-pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2.25rem;
    margin: 2rem 0 0.5rem;
}
.diff-pillar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.92);
}
.diff-pillar::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1;
}

/* Compact trust badges below the pricing cards: Stripe, GDPR, free minutes,
   no-expiry. Wraps to 2 lines on narrow viewports without breaking the rhythm. */
.trust-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.75rem;
    margin: 0.5rem 0 1.25rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.trust-block span {
    white-space: nowrap;
}

/* AUDIENCE GRID */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.audience-item {
    background: transparent;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.icon-placeholder {
    margin-bottom: 1rem;
    opacity: 0.7;
    color: var(--primary);
}

.audience-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.audience-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* FEATURES
   2/3 + 1/3 split: the image gets the visual weight, the cards stack on the right.
   Image displays at its natural aspect ratio (no cover-cropping) — when more cards
   are added the cards column grows in height and the image just sits centered. */
.features-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.features-side-img {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.features-side-img .feature-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.features-side-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.features-side-cards .featureCard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem 1.75rem;
}

.blob-shadow {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 60px rgba(60, 189, 40, 0.2);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.featureCard {
    padding: 1.5rem;
    background: rgba(36, 36, 36, 0.3);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.featureCard:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
    transform: translateY(-5px);
}

.featureCard h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.featureCard p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: #fff;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.pricing-card .minutes {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-card .price .rate {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-card .description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(60, 189, 40, 0.15);
    background: rgba(36, 36, 36, 0.8);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-footer p {
    color: var(--text-secondary);
}

/* FAQ */
.faq-accordion {
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* FOOTER */
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
}

.fade-in-up.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.pulse {
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 10px rgba(60, 189, 40, 0.4); }
    to { box-shadow: 0 0 30px rgba(80, 210, 50, 0.8); }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .headline { font-size: 3rem; }
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .headline { font-size: 2.5rem; }
    .subheadline { font-size: 1.1rem; }
    .hero { padding-top: 100px; }
    .section-title { font-size: 2rem; }

    .features-split { grid-template-columns: 1fr; gap: 1.5rem; }
    .features-side-img .feature-img { max-width: 400px; margin: 0 auto; }
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-wrapper {
        width: 100%;
        position: sticky;
        bottom: 20px;
        z-index: 50;
    }
    
    .btn-large {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .micro-proof { display: none; } /* Hide on mobile if sticky to save space */
    
    .hero-image-wrapper { 
        flex-direction: column; 
        gap: 1.5rem;
    }
    .hero-img-1, .hero-img-2 {
        width: 100%;
    }
}

/* ─── Language Switcher ───────────────────────────────── */
.lang-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-current:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #1e1e1e;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 6px 0;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 200;
    max-height: 320px;
    overflow-y: auto;
}

.lang-switcher.open .lang-dropdown {
    display: block;
    animation: dropIn 0.15s ease-out;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.15s ease;
}

.lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.lang-dropdown a.active {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .lang-current span {
        display: none;
    }
    .lang-current {
        padding: 6px 8px;
    }
}

/* ─── Footer: «Guides» row (landing and guides) ───────── */
.footer-guides {
    margin-top: 0.75rem;
    line-height: 1.9;
}

.footer-guides-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-right: 0.5rem;
}

.footer-guides a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-guides a:hover {
    color: #fff;
}

.footer-guides a[aria-current="page"] {
    color: var(--primary);
}

/* ─── Footer: directory badges (landing and guides) ───── */
/* Height only: the width/height attributes give the ratio, so the box is
   reserved before the lazy image loads. */
.footer-badges {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}

.footer-badges-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-badges a {
    display: inline-flex;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.footer-badges a:hover {
    opacity: 1;
}

.footer-badges img {
    height: 36px;
    width: auto;
}

/* ─── Guides (guide-template.html) ────────────────────── */
/* A reading column of 720 px, same dark theme and font as the landing. */

.logo-link {
    display: flex;
    align-items: center;
}

.guide-main {
    padding: 120px 0 5rem;
}

.guide {
    max-width: calc(720px + 48px);
    margin: 0 auto;
    padding: 0 24px;
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(250, 250, 250, 0.9);
    overflow-wrap: break-word;
}

.guide h1 {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.guide h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-top: 3.5rem;
    margin-bottom: 1rem;
}

.guide h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--text-primary);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.guide p {
    margin-bottom: 1.25rem;
}

.guide strong {
    color: #fff;
    font-weight: 600;
}

.guide a:not(.btn) {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.guide a:not(.btn):hover {
    color: #fff;
}

/* Anchors land below the fixed header. */
.guide-section,
.guide-faq {
    scroll-margin-top: 96px;
}

.guide-byline {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.guide-header {
    margin-bottom: 2rem;
}

.guide-intro p {
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* Lists */
.guide ul,
.guide ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.guide li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.guide li::marker {
    color: var(--primary);
}

.guide ol > li::marker {
    font-weight: 600;
}

/* Figures: never wider than the column, never stretched. */
.guide-figure {
    margin: 2rem 0;
}

.guide-figure img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

/* Width only: the width/height attributes keep the box reserved before a lazy
   image loads; width: auto or max-height would collapse or distort it. */
.guide-figure--portrait img {
    max-width: min(100%, 300px);
}

@media (max-width: 480px) {
    .guide-figure--portrait img {
        max-width: min(100%, 260px);
    }
}

.guide-figure--portrait figcaption {
    text-align: center;
}

.guide-figure figcaption {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Tip box */
.guide-tip {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(60, 189, 40, 0.35);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    background: rgba(60, 189, 40, 0.08);
}

.guide .guide-tip p {
    margin: 0;
}

/* Table of contents */
.guide-toc {
    margin: 2rem 0 0.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    font-size: 1rem;
    line-height: 1.6;
}

.guide .guide-toc-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.guide .guide-toc ol {
    margin: 0;
}

.guide .guide-toc li {
    margin-bottom: 0.25rem;
}

.guide .guide-toc a {
    color: var(--text-secondary);
    text-decoration: none;
}

.guide .guide-toc a:hover {
    color: var(--primary);
}

/* FAQ: always open, no accordion */
.guide-faq-item {
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--border-color);
}

.guide-faq-item:last-child {
    border-bottom: 0;
}

.guide-faq-item p {
    color: var(--text-secondary);
}

/* Final call to action */
.guide-cta {
    margin-top: 4rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(60, 189, 40, 0.4);
    border-radius: 16px;
    background: radial-gradient(circle at 50% 0%, rgba(60, 189, 40, 0.16), rgba(36, 36, 36, 0.6) 70%);
    box-shadow: 0 0 40px rgba(60, 189, 40, 0.1);
}

.guide .guide-cta h2 {
    margin-top: 0;
}

.guide .guide-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.guide-cta .btn-large {
    font-size: 1.25rem;
}

/* Phone: 16 px side margins, nothing wider than the screen. */
@media (max-width: 768px) {
    .guide-page .container {
        padding: 0 16px;
    }

    .guide-main {
        padding-top: 100px;
    }

    .guide {
        padding: 0 16px;
        font-size: 1.0625rem;
    }

    .guide h1 {
        font-size: 2rem;
    }

    .guide h2 {
        font-size: 1.5rem;
        margin-top: 2.75rem;
    }

    .guide-intro p {
        font-size: 1.125rem;
    }

    .guide-toc {
        padding: 1rem 1.25rem;
    }

    .guide-figure img {
        border-radius: 8px;
    }

    .guide-cta {
        padding: 2rem 1.25rem;
    }

    .guide-cta .btn-large {
        font-size: 1.1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Luce (14/10/2026): il vestito dell'app 2.2 sulla landing.
   Un livello in coda: stessa specificità, vince per ordine.
   ═══════════════════════════════════════════════════════════════ */
.luce-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-inner), var(--shadow-float);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
}

.luce-glass-strong {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-inner), 0 18px 50px rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
}

/* La testata: barra flottante, 14 px dal bordo, centrata; niente Aurora qui */
.site-header {
    position: fixed;
    top: 14px;
    left: 18px;
    right: 18px;
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    height: 58px;
    border-radius: var(--radius-xl);
    border-bottom: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    z-index: 100;
}

.header-inner {
    height: 58px;
    padding: 0 10px 0 20px;
}

.lang-current {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
}

.lang-dropdown {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-inner), 0 18px 50px rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
}

/* Pulsanti: gradiente verde, testo scuro, anello e alone come Avvia */
.btn {
    border-radius: var(--radius-md);
}

.btn-primary {
    background: linear-gradient(180deg, #4ad334 0%, var(--primary) 55%, #33a521 100%);
    color: var(--accent-ink);
    border: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(59, 189, 39, 0.45), 0 0 28px rgba(59, 189, 39, 0.35), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #4ad334 0%, var(--primary) 55%, #33a521 100%);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(59, 189, 39, 0.6), 0 0 44px rgba(59, 189, 39, 0.5), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.btn-large {
    border-radius: 14px;
}

/* Solo il CTA dell'hero respira, come Avvia nell'app */
.hero .btn-primary {
    animation: luce-glow 3.2s ease-in-out infinite;
}

@keyframes luce-glow {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(59, 189, 39, 0.45), 0 0 28px rgba(59, 189, 39, 0.35), 0 12px 30px rgba(0, 0, 0, 0.4); }
    50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(59, 189, 39, 0.55), 0 0 40px rgba(59, 189, 39, 0.5), 0 12px 30px rgba(0, 0, 0, 0.4); }
}

/* Sezioni: un velo e un filo, niente blur */
.glass-bg {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* Card di vetro (blur solo sui prezzi) */
.step-card,
.featureCard,
.testimonial-card,
.faq-item,
.pain-point,
.audience-item,
.diff-pillar {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-inner);
}

/* FAQ: erano una lista con i divisori (testo a filo, nessun margine); come
   card di vetro vogliono il respiro dentro e lo spazio fra l'una e l'altra */
.faq-accordion {
    border-top: none;
    display: grid;
    gap: 10px;
}

.faq-question {
    padding: 18px 20px;
    gap: 16px;
}

.faq-answer p {
    padding: 0 20px 18px;
}

.faq-item.active {
    border-color: rgba(59, 189, 39, 0.35);
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-inner), var(--shadow-float);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.hero::before {
    background: radial-gradient(closest-side, rgba(59, 189, 39, 0.16), rgba(59, 189, 39, 0));
    filter: blur(40px);
}

.site-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

@media (max-width: 640px) {
    .site-header {
        top: 10px;
        left: 12px;
        right: 12px;
    }
}

/* Senza backdrop-filter il vetro diventa opaco, nient'altro cambia */
/* ─── Hero A: la barra viva, il palco, il telefono (spec landing § 4) ─── */
.hero-product-wrap {
    position: relative;
    max-width: 1200px;
    margin: 54px auto 0;
    /* Room below the stage for the phone, which hangs 110 px past it */
    padding: 0 24px 110px;
}

.hero-product {
    position: relative;
    font-family: var(--font-body);
    color: var(--text-primary);
}

.hero-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 9px 0 20px;
    border-radius: var(--radius-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-inner), var(--shadow-float);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    overflow: hidden;
    isolation: isolate;
}

/* L'Aurora: gli stessi numeri di AppHeader.svelte (test hero 6) */
.hero-bar-light {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.hero-bar-light-a {
    left: -140px;
    top: -150px;
    width: 450px;
    height: 194px;
    background: radial-gradient(closest-side, rgba(59, 189, 39, 0.36), rgba(59, 189, 39, 0));
    filter: blur(26px);
    animation: hero-aurora-a 18s ease-in-out infinite alternate;
}

.hero-bar-light-b {
    right: -120px;
    top: -130px;
    width: 369px;
    height: 176px;
    background: radial-gradient(closest-side, rgba(59, 189, 39, 0.26), rgba(59, 189, 39, 0));
    filter: blur(28px);
    animation: hero-aurora-b 24s ease-in-out infinite alternate;
}

@keyframes hero-aurora-a {
    from { transform: translate(0, 0); }
    to { transform: translate(620px, 30px); }
}

@keyframes hero-aurora-b {
    from { transform: translate(0, 0); }
    to { transform: translate(-560px, 24px); }
}

.hero-bar-logo {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 24px;
}

.hero-bar-logo img {
    height: 23px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(59, 189, 39, 0.25));
}

.hero-bar-nav {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    color: #c2c2c9;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1;
}

.hero-btn-help {
    color: var(--primary);
    font-weight: 700;
    font-size: 19px;
}

.hero-btn-active {
    color: var(--primary);
    background: var(--accent-tint);
    border-color: var(--accent-ring);
}

.hero-btn-lang {
    width: auto;
    padding: 0 10px;
}

.hero-lang-code {
    text-transform: uppercase;
}

.hero-sep {
    width: 1px;
    height: 22px;
    background: var(--glass-border);
    margin: 0 6px;
}

.hero-start {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    margin-left: 6px;
    padding: 0 20px 0 15px;
    border-radius: 12px;
    background: linear-gradient(180deg, #4ad334 0%, var(--primary) 55%, #33a521 100%);
    color: var(--accent-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    animation: luce-glow 3.2s ease-in-out infinite;
}

.hero-script-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 36px;
    /* The stats stay clear of the phone on the right */
    padding: 10px 250px 0 8px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.hero-script-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-right: auto;
}

.hero-script-stats {
    font-variant-numeric: tabular-nums;
}

.hero-stage {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    height: 330px;
    background: var(--stage-bg);
    border-top: 1px solid var(--glass-border);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0) 100%);
}

.hero-stage::before {
    content: '';
    position: absolute;
    left: 20%;
    right: 20%;
    top: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(59, 189, 39, 0), rgba(59, 189, 39, 0.7), rgba(59, 189, 39, 0));
}

.hero-stage-text {
    margin: 0;
    padding: 30px 10% 0;
    font-size: 40px;
    line-height: 1.6;
    color: #fff;
    text-align: left;
}

.hero-cue {
    color: var(--primary);
}

.hero-phone {
    position: absolute;
    right: 18px;
    bottom: 0;
    z-index: 3;
    width: 220px;
    height: 476px;
    padding: 9px;
    border-radius: 34px;
    background: #0c0d10;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 60px rgba(59, 189, 39, 0.12);
    box-sizing: border-box;
}

.hero-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #000;
}

.hero-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1100px) {
    .hero-bar-nav { gap: 3px; }
    .hero-script-stats { display: none; }
    .hero-stage-text { font-size: 32px; }
}

@media (max-width: 760px) {
    .hero-bar,
    .hero-script-row,
    .hero-stage {
        display: none;
    }
    .hero-product-wrap {
        display: flex;
        justify-content: center;
        min-height: 630px;
        margin-top: 36px;
        /* The phone is in the flow here: no room reserved below the stage */
        padding-bottom: 0;
    }
    .hero-phone {
        position: relative;
        right: auto;
        bottom: auto;
        width: 280px;
        height: 606px;
    }
}

/* Il clip: cornice di vetro come il resto (spec landing § 6) */
.video-wrapper {
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-inner), var(--shadow-float);
    overflow: hidden;
}

/* ─── Ultime parole: i ripieghi. Stanno in fondo perché vincono per ordine
   (stessa specificità delle regole sopra): tutto ciò che anima o usa il
   vetro deve stare PRIMA di qui (test vestito 5). ─── */
@supports not (backdrop-filter: blur(1px)) {
    :root {
        --glass-bg: rgba(20, 21, 24, 0.94);
        --glass-bg-strong: rgba(20, 21, 24, 0.96);
    }
}

/* Con movimento ridotto Aurora e respiri stanno fermi */
@media (prefers-reduced-motion: reduce) {
    .hero .btn-primary,
    .hero-bar-light,
    .hero-start,
    .pulse,
    .fade-in-up {
        animation: none;
    }
}
