/* Calendapt · pàgines d'entrada per a Google (guies i landings). Mateix estil que la portada. */
  /* Disseny web 2: mateix estil que la portada (index.php) */
  .seo-landing { width: 100%; max-width: 1240px; margin: 0 auto; padding: 34px 20px 80px; }
  .seo-landing h1, .seo-landing h2, .seo-landing h3, .seo-landing summary { font-family: var(--display); }

  .glass-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  }

  /* Hero */
  .hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; margin-bottom: 70px; }
  .hero-content { background: none; border: 0; box-shadow: none; padding: 0; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    background: rgba(129, 140, 248, .14); border: 1px solid rgba(129, 140, 248, .35);
    color: #c7d2fe; font-size: .85rem; font-weight: 700;
  }
  .hero-title { margin: 20px 0 16px; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.07; letter-spacing: -.03em; color: var(--text); }
  .hero-title .grad { background: linear-gradient(90deg, #a5b4fc, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero-subtitle { margin: 0 0 22px; max-width: 600px; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
  .feature-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
  .pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 13px; border-radius: 999px;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--border-strong);
    color: var(--text); font-size: .85rem; font-weight: 600;
  }
  .cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn-seo {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 26px; border-radius: 999px;
    font-family: var(--display); font-weight: 700; text-decoration: none;
    transition: transform .15s ease, background .15s ease;
  }
  .btn-primary-seo { background: var(--brand); color: #fff; box-shadow: var(--brand-glow); }
  .btn-primary-seo:hover { transform: translateY(-1px); }
  .btn-secondary-seo { background: rgba(255, 255, 255, .06); border: 1px solid var(--border-strong); color: var(--text); }
  .btn-secondary-seo:hover { background: rgba(255, 255, 255, .1); }

  /* Targeta de mostra (com un mòbil) */
  .hero-visual { display: flex; justify-content: center; }
  .visual-card {
    width: 100%; max-width: 420px; padding: 18px;
    border-radius: 30px; background: var(--card);
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 80px rgba(79, 70, 229, .25);
  }
  .visual-header { display: flex; gap: 6px; padding: 2px 4px 14px; }
  .dot { width: 10px; height: 10px; border-radius: 50%; background: #f43f5e; }
  .dot:nth-child(2) { background: #f59e0b; }
  .dot:nth-child(3) { background: #2dd4bf; }
  .visual-content { display: flex; flex-direction: column; gap: 10px; }
  .mini-card {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 16px; border-radius: 18px;
    background: var(--card-raised); border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
  }
  .mini-card:nth-child(2) { border-left-color: var(--teal); }
  .mini-card:nth-child(3) { border-left-color: #f59e0b; }
  .mini-card:nth-child(4) { border-left-color: #f472b6; }
  .mini-title { font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--text); }
  .mini-desc { color: var(--muted); font-size: .82rem; }
  .mini-badge {
    flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--brand); color: #fff; font-weight: 800; font-size: .8rem;
  }

  /* Seccions */
  .section { margin-bottom: 64px; }
  .section-header { max-width: 860px; margin: 0 auto 28px; text-align: center; }
  .section-title { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; color: var(--text); }
  .section-subtitle { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
  .content-card { padding: 34px 36px; }
  .content-card h2 { margin: 0 0 14px; font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
  .content-card p { margin: 0 0 12px; color: #dcd9ec; line-height: 1.7; }
  .content-card p:last-child { margin-bottom: 0; }
  .content-card strong { color: var(--text); }

  .features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .feature-card { padding: 24px; transition: border-color .15s ease; }
  .feature-card:hover { border-color: rgba(129, 140, 248, .4); }
  .feature-icon {
    width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px;
    display: grid; place-items: center; font-size: 1.4rem;
    background: rgba(129, 140, 248, .14);
  }
  .feature-title { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; color: var(--text); }
  .feature-desc { margin: 0; color: var(--muted); line-height: 1.6; font-size: .94rem; }

  .screens-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .screen-card { padding: 12px 12px 18px; overflow: hidden; }
  .screen-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 16px; border: 1px solid var(--border); background: var(--card-raised); }
  .screen-card h3 { margin: 14px 8px 4px; font-size: 1.02rem; font-weight: 700; color: var(--text); }
  .screen-card p { margin: 0 8px; color: var(--muted); font-size: .9rem; line-height: 1.5; }

  .steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .step-card { padding: 26px 24px; }
  .step-number {
    width: 42px; height: 42px; margin-bottom: 14px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--brand); box-shadow: var(--brand-glow);
    color: #fff; font-family: var(--display); font-weight: 800;
  }
  .step-card h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; color: var(--text); }
  .step-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .94rem; }

  .faq-container { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
  .faq-container details { border-radius: 18px; box-shadow: none; }
  .faq-container summary {
    position: relative; list-style: none; cursor: pointer;
    padding: 18px 52px 18px 22px; font-weight: 700; font-size: 1rem; color: var(--text);
  }
  .faq-container summary::-webkit-details-marker { display: none; }
  .faq-container summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(129, 140, 248, .16); color: #c7d2fe; font-size: 1.1rem; line-height: 1;
  }
  .faq-container details[open] summary::after { content: "−"; }
  .faq-container details[open] { border-color: rgba(129, 140, 248, .35); }
  .faq-container details p { margin: 0; padding: 0 22px 18px; color: var(--muted); line-height: 1.65; }

  .final-cta {
    padding: 44px 32px; text-align: center;
    background:
      radial-gradient(600px 300px at 50% 0%, rgba(99, 102, 241, .3), transparent 70%),
      var(--card);
  }
  .final-cta h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; color: var(--text); }
  .final-cta p { max-width: 620px; margin: 0 auto 24px; color: var(--muted); line-height: 1.6; }
  .final-cta .cta-group { justify-content: center; }

  /* Aparició suau en fer scroll */
  .fade-in { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
  .fade-in.visible { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } }

  @media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; }
    .features-grid, .screens-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 620px) {
    .seo-landing { padding-top: 20px; }
    .features-grid, .screens-grid, .steps-grid { grid-template-columns: 1fr; }
    .content-card { padding: 24px 20px; }
    .final-cta { padding: 32px 20px; }
    .cta-group .btn-seo { flex: 1 1 100%; }
  }

  /* Ruta de navegació (Inici › pàgina) */
  .seo-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .84rem; color: var(--faint); }
  .seo-crumbs a { color: var(--muted); text-decoration: none; }
  .seo-crumbs a:hover { color: var(--text); }
  .seo-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--faint); }

  /* Guies: text llarg i llistes */
  .content-card ul, .content-card ol { margin: 0 0 12px; padding-left: 22px; color: #dcd9ec; line-height: 1.7; }
  .content-card li { margin: 4px 0; }
  .content-card h3 { margin: 18px 0 8px; font-size: 1.1rem; color: var(--text); }
  .seo-tip { margin: 14px 0 0; padding: 14px 16px; border-radius: 16px; background: rgba(129, 140, 248, .1); border: 1px solid rgba(129, 140, 248, .3); color: #dcd9ec; }
  .seo-tip strong { color: #c7d2fe; }

  /* Enllaços a altres guies */
  .seo-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
  .seo-related a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 16px 18px; border-radius: 18px; text-decoration: none;
    background: var(--card); border: 1px solid var(--border); color: var(--text); font-weight: 650;
  }
  .seo-related a:hover { border-color: rgba(129, 140, 248, .45); }
  .seo-related a span { color: var(--accent); }
