/* ============================================================
       Modern-minimal design system with WhatsApp green accent
       ============================================================ */
    :root {
      --bg: oklch(99% 0.002 240);
      --surface: oklch(100% 0 0);
      --fg: oklch(18% 0.012 250);
      --muted: oklch(54% 0.012 250);
      --border: oklch(92% 0.005 250);
      --accent: oklch(75% 0.19 145);
      /* WhatsApp green */

      --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
      --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;

      --gap-sm: 1rem;
      --gap-md: 2rem;
      --gap-lg: 4rem;
      --gap-xl: 6rem;

      --radius: 8px;
      --max-width: 680px;
    }

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

    body {
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      color: var(--fg);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
    }

    h1,
    h2,
    h3 {
      font-family: var(--font-display);
      line-height: 1.2;
      letter-spacing: -0.02em;
    }

    h1 {
      font-size: clamp(32px, 6vw, 48px);
      font-weight: 600;
    }

    h2 {
      font-size: clamp(24px, 4vw, 32px);
      font-weight: 600;
    }

    h3 {
      font-size: 20px;
      font-weight: 600;
    }

    p {
      max-width: 65ch;
    }

    a {
      color: var(--accent);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    /* Layout containers */
    .container {
      max-width: var(--max-width);
      margin-inline: auto;
      padding-inline: 1.5rem;
    }

    .container--wide {
      max-width: 1200px;
    }

    section {
      padding-block: var(--gap-md);
    }

    section.spacious {
      padding-block: var(--gap-lg);
    }

    /* Hero */
    .hero {
      text-align: start;
      padding-block: var(--gap-xl);
    }

    .hero h1 {
      margin-bottom: 1rem;
    }

    .hero p {
      font-size: 18px;
      color: var(--muted);
      margin-bottom: 2rem;
    }

    .cta-primary {
      display: inline-block;
      background: var(--accent);
      color: var(--surface);
      padding: 12px 24px;
      border-radius: var(--radius);
      font-weight: 500;
      font-size: 16px;
      border: none;
      cursor: pointer;
      transition: opacity 0.2s;
    }

    .cta-primary:hover {
      opacity: 0.9;
      text-decoration: none;
    }

    /* Problema section */
    .problema {
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .problema h2 {
      margin-bottom: 1.5rem;
    }

    .problema ul {
      list-style: none;
      display: grid;
      gap: 1rem;
    }

    .problema li {
      padding-inline-start: 2rem;
      position: relative;
    }

    .problema li::before {
      content: '×';
      position: absolute;
      inset-inline-start: 0;
      font-size: 24px;
      color: var(--muted);
      font-weight: 300;
    }

    /* Soluzione */
    .soluzione h2 {
      margin-bottom: 1.5rem;
    }

    .steps {
      display: grid;
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .step {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 1rem;
      align-items: start;
    }

    .step-number {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--accent);
      color: var(--surface);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      flex-shrink: 0;
    }

    .step-content h3 {
      margin-bottom: 0.5rem;
    }

    .step-content p {
      color: var(--muted);
      font-size: 15px;
    }

    /* Demo chat WhatsApp */
    .demo {
      background: var(--surface);
      padding-block: var(--gap-lg);
    }

    .demo h2 {
      text-align: center;
      margin-bottom: 2rem;
    }

    .chat-mockup {
      max-width: 400px;
      margin-inline: auto;
      background: #e5ddd5;
      /* WhatsApp beige background */
      border-radius: 12px;
      padding: 1.5rem 1rem;
      box-shadow: 0 2px 8px oklch(0% 0 0 / 0.08);
    }

    .chat-bubble {
      margin-bottom: 0.75rem;
      display: flex;
      flex-direction: column;
    }

    .chat-bubble--user {
      align-items: flex-end;
    }

    .chat-bubble--bot {
      align-items: flex-start;
    }

    .bubble {
      max-width: 75%;
      padding: 8px 12px;
      border-radius: 8px;
      font-size: 14px;
      line-height: 1.4;
      position: relative;
    }

    .chat-bubble--user .bubble {
      background: #ffffff;
      color: #000000;
      border-bottom-end-radius: 2px;
    }

    .chat-bubble--bot .bubble {
      background: #dcf8c6;
      /* WhatsApp green bubble */
      color: #000000;
      border-bottom-start-radius: 2px;
    }

    .bubble-meta {
      font-size: 11px;
      color: #667781;
      margin-top: 2px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .chat-bubble--user .bubble-meta {
      justify-content: flex-end;
    }

    .check-mark {
      color: #53bdeb;
      font-size: 14px;
      line-height: 1;
    }

    /* Cosa include */
    .cosa-include h2 {
      margin-bottom: 1.5rem;
    }

    .deliverables {
      display: grid;
      gap: 1rem;
      margin-top: 2rem;
    }

    .deliverable {
      padding-inline-start: 2rem;
      position: relative;
    }

    .deliverable::before {
      content: '✓';
      position: absolute;
      inset-inline-start: 0;
      color: var(--accent);
      font-weight: 600;
    }

    /* FAQ */
    .faq h2 {
      margin-bottom: 2rem;
    }

    .faq-list {
      display: grid;
      gap: 1.5rem;
    }

    .faq-item h3 {
      margin-bottom: 0.5rem;
    }

    .faq-item p {
      color: var(--muted);
      font-size: 15px;
    }

    /* Form CTA */
    .form-cta {
      background: var(--surface);
      padding-block: var(--gap-lg);
    }

    .form-cta h2 {
      text-align: center;
      margin-bottom: 0.5rem;
    }

    .form-cta .subtitle {
      text-align: center;
      color: var(--muted);
      margin-bottom: 2rem;
    }

    form {
      max-width: 500px;
      margin-inline: auto;
      display: grid;
      gap: 1rem;
    }

    .form-group {
      display: grid;
      gap: 0.5rem;
    }

    label {
      font-size: 14px;
      font-weight: 500;
    }

    input {
      padding: 10px 12px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      font-family: var(--font-body);
      font-size: 16px;
      background: var(--surface);
      color: var(--fg);
    }

    input:focus {
      outline: none;
      border-color: var(--accent);
    }

    .thank-you {
      display: none;
      text-align: center;
      padding: 2rem;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      max-width: 500px;
      margin-inline: auto;
    }

    .thank-you.visible {
      display: block;
    }

    .thank-you h3 {
      color: var(--accent);
      margin-bottom: 0.5rem;
    }

    /* Footer */
    footer {
      padding-block: 2rem;
      text-align: center;
      font-size: 14px;
      color: var(--muted);
      border-top: 1px solid var(--border);
    }

    footer a {
      color: var(--muted);
      margin-inline: 1rem;
    }

    /* Responsive */
    @media (min-width: 768px) {
      .steps {
        grid-template-columns: repeat(3, 1fr);
      }

      .step {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .step-number {
        margin-inline: auto;
      }

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

      .faq-list {
        grid-template-columns: 1fr;
      }
    }

    /* Cookie Banner */
    .cookie-banner {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding: 1.5rem;
      box-shadow: 0 -4px 12px oklch(0% 0 0 / 0.1);
      z-index: 9999;
      display: none;
      flex-direction: column;
      gap: 1rem;
      transform: translateY(100%);
      transition: transform 0.3s ease;
    }
    .cookie-banner.visible {
      transform: translateY(0);
    }
    .cookie-banner-content {
      max-width: var(--max-width);
      margin-inline: auto;
      width: 100%;
    }
    .cookie-banner-text {
      font-size: 14px;
      margin-bottom: 1rem;
      color: var(--fg);
    }
    .cookie-banner-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .btn-cookie {
      padding: 8px 16px;
      border-radius: var(--radius);
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--fg);
      transition: opacity 0.2s;
    }
    .btn-cookie.primary {
      background: var(--accent);
      color: var(--surface);
      border-color: var(--accent);
    }
    .btn-cookie:hover {
      opacity: 0.9;
    }
