/* =========================================================
   homecursor.css — Design alternativo Microsoft365Specialist
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #0f5fd4;
  --blue-dark:  #0a3e8f;
  --blue-light: #e8f0fd;
  --accent:     #00b4d8;
  --text:       #1a1a2e;
  --muted:      #5a6275;
  --white:      #ffffff;
  --surface:    #f7f9fc;
  --border:     #e2e8f0;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(15,95,212,0.08);
  --shadow-lg:  0 12px 48px rgba(15,95,212,0.14);
  --font:       'Inter', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

/* ---- UTILITY ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.badge-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15,95,212,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue-light);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--text); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta { margin-left: 24px; }

/* ---- HERO ---- */
.hero {
  padding-top: 120px;
  padding-bottom: 0;
  background: linear-gradient(135deg, #0a3e8f 0%, #0f5fd4 60%, #00b4d8 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.hero-content { padding-bottom: 80px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}

.hero-trust-dots {
  display: flex;
}
.hero-trust-dots span {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: white;
  font-weight: 700;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 0;
  align-self: end;
}

.hero-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  transform: translateX(40px);
  opacity: 0;
  animation: slideIn 0.6s ease forwards;
}

.hero-card:nth-child(1) { animation-delay: 0.2s; }
.hero-card:nth-child(2) { animation-delay: 0.4s; }
.hero-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideIn {
  to { transform: translateX(0); opacity: 1; }
}

.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-card-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-card-text span {
  font-size: 0.8rem;
  opacity: 0.7;
}

.hero-wave {
  width: 100%;
  margin-bottom: -2px;
  display: block;
  margin-top: 40px;
}

/* ---- NUMERI ---- */
.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid var(--border);
}

.stat-item {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
  opacity: 0.7;
}

/* ---- SOLUZIONI ---- */
.solutions { background: var(--white); }

.solutions-intro {
  text-align: center;
  margin-bottom: 60px;
}
.solutions-intro .section-subtitle { margin: 0 auto; }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.sol-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  background: var(--white);
}

.sol-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.sol-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  color: var(--blue);
}

.sol-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  text-align: center;
}

.sol-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sol-card ul li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sol-card ul li::before {
  content: '→';
  color: var(--blue);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.solutions-cta {
  text-align: center;
}

/* ---- COME FUNZIONA ---- */
.how { background: var(--surface); }

.how-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: flex;
  gap: 20px;
  position: relative;
}

.how-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: -24px;
  width: 2px;
  background: var(--border);
}

.how-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.how-step-body {
  padding-bottom: 36px;
}

.how-step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.how-step-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.how-highlight {
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
  border-radius: 16px;
  padding: 48px 40px;
  color: white;
}

.how-highlight h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.how-highlight p {
  opacity: 0.85;
  margin-bottom: 28px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.how-highlight-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-highlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.how-highlight-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ---- CASI REALI ---- */
.cases { background: var(--white); }

.cases-intro {
  text-align: center;
  margin-bottom: 52px;
}
.cases-intro .section-subtitle { margin: 0 auto; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s ease;
}

.case-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.case-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  display: block;
}

.case-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.case-card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tool-chip {
  font-size: 0.75rem;
  padding: 3px 10px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50px;
  font-weight: 500;
}

.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 4px;
  transition: gap 0.2s;
}
.case-card-link:hover { gap: 10px; }

/* ---- CHI SONO ---- */
.about { background: var(--surface); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.7;
}

.about-certs {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cert-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
}

.cert-chip::before {
  content: '✓';
  width: 20px; height: 20px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.about-visual {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 20px;
  padding: 48px 40px;
  color: white;
}

.about-visual h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  opacity: 0.9;
}

.about-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.about-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.about-link:hover { background: rgba(255,255,255,0.18); }

/* ---- CTA FINALE ---- */
.final-cta {
  background: linear-gradient(135deg, #0a3e8f 0%, #0f5fd4 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(0,180,216,0.15);
}

.final-cta::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.final-cta-inner { position: relative; z-index: 1; }

.final-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.final-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---- FOOTER ---- */
.footer {
  background: #0d1117;
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .how-intro { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .solutions-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .cases-grid { grid-template-columns: 1fr; }
  .about-certs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
}

/* ---- AUTH PAGES ---- */
.auth-shell {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a3e8f 0%, #0f5fd4 60%, #00b4d8 100%);
  position: relative;
  overflow: hidden;
}

.auth-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-wrap {
  position: relative;
  z-index: 1;
  padding: 108px 0 60px;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.auth-panel,
.auth-card {
  border-radius: 20px;
  overflow: hidden;
}

.auth-panel {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 36px;
  color: var(--white);
}

.auth-panel h1 {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
}

.auth-panel p {
  color: rgba(255,255,255,0.8);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.auth-bullets {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.auth-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}

.auth-bullets li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.auth-note {
  margin-top: 26px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.68);
}

.auth-card {
  background: #ffffff;
  border: 1px solid rgba(15,95,212,0.12);
  box-shadow: var(--shadow-lg);
  padding: 34px;
}

.auth-card h2 {
  font-size: 1.5rem;
  color: var(--blue-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-card .auth-subtitle {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  border: 1px solid #dbe6f3;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: #ffffff;
  outline: none;
}

.field input:focus {
  border-color: rgba(15,95,212,0.6);
  box-shadow: 0 0 0 4px rgba(15,95,212,0.12);
}

.input-with-button {
  display: grid;
  grid-template-columns: 1fr 52px;
}

.input-with-button input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.toggle-btn {
  border: 1px solid #dbe6f3;
  border-left: none;
  background: #f8fbff;
  color: var(--blue);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  cursor: pointer;
}

.field-help {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
}

.checkbox-row input {
  margin-top: 4px;
}

.checkbox-row label {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.checkbox-row a,
.auth-switch a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.auth-submit {
  width: 100%;
  justify-content: center;
}

.alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.alert-danger {
  background: rgba(239,68,68,0.1);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.2);
}

.alert-success {
  background: rgba(16,185,129,0.1);
  color: #0f766e;
  border: 1px solid rgba(16,185,129,0.2);
}

.d-none {
  display: none !important;
}

.invalid-feedback {
  display: none;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #b91c1c;
}

.was-validated .field input:invalid ~ .invalid-feedback,
.was-validated .field textarea:invalid ~ .invalid-feedback {
  display: block;
}

.was-validated .field input:invalid,
.was-validated .field textarea:invalid {
  border-color: #ef4444;
}

.was-validated .field input:valid,
.was-validated .field textarea:valid {
  border-color: #dbe6f3;
}

.checkbox-field {
  margin-bottom: 12px;
}

.checkbox-field .invalid-feedback {
  margin-left: 28px;
}

.was-validated .checkbox-field:has(input:invalid) .invalid-feedback {
  display: block;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  color: var(--blue-dark);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.96rem;
}

.legal-content ul {
  margin: 10px 0 16px 20px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.legal-back {
  margin-top: 36px;
}

.legal-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .auth-row {
    grid-template-columns: 1fr;
  }
  .auth-wrap {
    padding: 90px 0 42px;
  }
  .auth-panel,
  .auth-card {
    padding: 24px;
  }
}

/* ---- CATALOGO PROMPT ---- */
.catalog-page {
  background: var(--surface);
}

.catalog-hero {
  padding: 92px 0 28px;
  background: linear-gradient(135deg, #0a3e8f 0%, #0f5fd4 100%);
  color: var(--white);
}

.catalog-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.catalog-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.catalog-hero p {
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  font-size: 0.98rem;
}

.catalog-hero .section-label {
  color: rgba(255,255,255,0.75);
}

.catalog-user-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-welcome {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.catalog-welcome i {
  font-size: 1.3rem;
}

.catalog-logout {
  background: rgba(255,255,255,0.95) !important;
  border-color: transparent !important;
  color: var(--blue-dark) !important;
  font-weight: 600;
}

.catalog-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
}

.filter-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.catalog-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.95);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.catalog-select:focus {
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.15);
}

.catalog-page .prompt-catalog {
  padding: 48px 0 72px;
  background: var(--surface);
}

.catalog-page .prompt-box {
  padding: 22px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 0;
  position: relative;
  height: 296px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.catalog-page .prompt-box.expanded {
  height: auto;
  min-height: 296px;
}

.catalog-page .prompt-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.catalog-page .prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.catalog-page .prompt-header h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.35;
}

.catalog-page .copy-btn {
  background: var(--blue);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  position: relative;
}

.catalog-page .copy-btn[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  white-space: nowrap;
  background: var(--blue-dark);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
}

.catalog-page .copy-btn:hover {
  background: var(--blue-dark);
}

.catalog-page .copy-btn::before {
  display: none;
}

.catalog-page .app-badge,
.catalog-page .model-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 4px;
}

.catalog-page .app-badge {
  background: var(--blue-light);
  color: var(--blue);
}

.catalog-page .model-badge {
  background: #e8f8fc;
  color: #0369a1;
}

.catalog-page .prompt-details {
  margin-bottom: 12px;
  flex-shrink: 0;
}

.catalog-page .prompt-content {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.catalog-page .prompt-preview {
  margin: 0;
  word-break: break-word;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
  flex: 1;
}

.catalog-page .prompt-preview-text {
  white-space: pre-wrap;
}

.catalog-page .prompt-preview-text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  white-space: normal;
}

.catalog-page .prompt-preview-action {
  display: block;
  flex-shrink: 0;
  line-height: 1.4;
}

.catalog-page .prompt-expand-inline {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: var(--blue);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.catalog-page .prompt-expand-inline:hover {
  color: var(--blue-dark);
}

.catalog-page .prompt-box.expanded .prompt-content {
  overflow: visible;
}

.catalog-page .pagination-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.catalog-page .pagination {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.catalog-page .page-item .page-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.catalog-page .page-item.active .page-link {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.catalog-page .page-item.disabled .page-link {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 768px) {
  .catalog-filters {
    grid-template-columns: 1fr;
  }
  .catalog-hero {
    padding-top: 84px;
  }
}

/* ---- PAGINE INTERNE ---- */
.inner-page {
  background: var(--white);
}

.page-hero {
  padding: 92px 0 48px;
  background: linear-gradient(135deg, #0a3e8f 0%, #0f5fd4 100%);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
}

.case-page .page-hero p {
  color: #ffffff;
}

.page-hero .section-label {
  color: rgba(255,255,255,0.75);
}

.page-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.bg-surface {
  background: var(--surface);
}

.text-center-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.text-center-block p {
  color: var(--muted);
  margin-bottom: 14px;
}

.text-center-block.section-intro-block {
  text-align: left;
}

.text-center-block.section-intro-block .section-label,
.text-center-block.section-intro-block .section-title {
  text-align: center;
}

/* Offer cards (soluzioni) */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.offer-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.offer-card-featured {
  border-color: rgba(15,95,212,0.35);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.offer-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.offer-card .offer-icon {
  margin: 0 auto 16px;
}

.offer-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 8px;
  text-align: center;
}

.offer-payoff {
  font-weight: 600;
  color: var(--blue);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.offer-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.offer-features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  flex-grow: 1;
}

.offer-features li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.offer-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.offer-price {
  font-style: italic;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.offer-pack-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.offer-pack-item {
  background: var(--blue-light);
  border: 1px solid rgba(15,95,212,0.12);
  border-radius: 12px;
  padding: 12px 14px;
}

.offer-pack-item strong {
  display: block;
  color: var(--blue-dark);
  font-size: 0.92rem;
}

.offer-pack-item span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 2px;
}

.offer-pack-item em {
  display: block;
  margin-top: 6px;
  font-style: italic;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
}

.offer-card-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.offer-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 760px;
  margin: 32px auto 0;
  line-height: 1.7;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.included-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.included-card .offer-icon {
  margin: 0 auto 14px;
}

.included-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.included-card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.process-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.1rem;
}

.process-card-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.process-card-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.info-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}

.info-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.info-box p {
  color: var(--muted);
  margin-bottom: 12px;
}

/* Come lavoro — fasi dettaglio */
.phase-stack {
  display: grid;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.phase-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.phase-card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.phase-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.phase-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.phase-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.phase-tagline {
  color: var(--muted);
  font-size: 0.92rem;
}

.phase-card > p {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.phase-output {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.phase-output h4 {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.phase-output ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phase-output li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.phase-output li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.timeline-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 48px;
}

.timeline-step {
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.timeline-step:hover {
  border-color: rgba(15,95,212,0.35);
  box-shadow: var(--shadow);
}

.timeline-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.timeline-step-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
}

.timeline-step-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-dark);
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--blue-dark);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--blue);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-num {
  color: var(--blue);
  font-weight: 800;
  min-width: 24px;
}

.faq-body {
  padding: 0 20px 18px 56px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-body p {
  margin-bottom: 10px;
}

.faq-body ul {
  margin: 8px 0 10px 18px;
}

.faq-body li {
  margin-bottom: 4px;
}

/* Tutorials */
.tutorials-page .tutorials-catalog {
  padding: 48px 0 72px;
  background: var(--surface);
}

.tutorials-page .tutorial-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tutorials-page .tutorial-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.tutorials-page .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.tutorials-page .video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tutorials-page .tutorial-content {
  padding: 18px 20px 20px;
}

.tutorials-page .tutorial-content h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.tutorials-page .tutorial-content p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.tutorials-page .tutorial-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
}

.tutorials-page .tutorial-category {
  background: var(--blue-light);
  color: var(--blue);
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 600;
}

.tutorials-page .tutorial-date {
  color: var(--muted);
}

.tutorials-page .pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.tutorials-page .pagination {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.tutorials-page .page-item .page-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.tutorials-page .page-item.active .page-link {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.tutorials-page .page-item.disabled .page-link {
  opacity: 0.45;
  pointer-events: none;
}

/* Casi reali — compat legacy */
.case-page .section {
  padding: 64px 0;
}

.case-page .sections-bg {
  background: var(--surface);
}

.case-page .section-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.case-page #esigenze > .container > .section-header,
.case-page #risultati > .container > .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.case-page #esigenze > .container > .section-header p,
.case-page #risultati > .container > .section-header p {
  margin-left: auto;
  margin-right: auto;
}

.case-page .case-recognition-box h2,
.case-page .case-tools-title {
  text-align: center;
}

.case-page .section-header p {
  color: var(--muted);
}

.case-page .content-box,
.case-page .case-block,
.case-page .case-need-card,
.case-page .case-result-card,
.case-page .case-recognition-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.case-page .case-need-card,
.case-page .case-result-card {
  text-align: center;
}

.case-page .case-need-card p,
.case-page .case-result-card p,
.case-page p {
  color: var(--muted);
}

.case-page .case-result-card h3,
.case-page .case-block h3 {
  color: var(--blue-dark);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.case-page .case-need-icon,
.case-page .case-result-icon {
  color: var(--blue);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.case-page .case-client-logo {
  display: block;
  max-height: 72px;
  margin: 0 auto 12px;
}

.case-page .case-intro .case-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  margin: 0 auto;
}

.case-page .case-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
}

.case-page .case-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.case-page .case-checklist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--muted);
}

.case-page .case-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.case-page .case-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
}

.case-page .case-highlight {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  color: var(--blue-dark);
  font-weight: 600;
}

.case-page .case-tools-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.case-page .case-tool-badge {
  background: var(--blue-light);
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

.case-page .btn-get-started,
.case-page .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  background: var(--blue);
  color: var(--white);
  border: none;
  transition: all 0.2s ease;
}

.case-page .btn-get-started:hover,
.case-page .cta-btn:hover {
  background: var(--blue-dark);
}

@media (max-width: 960px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .offer-grid,
  .included-grid,
  .process-row,
  .timeline-row,
  .pain-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding-top: 84px;
  }
}

/* ---- LANDING SEO ---- */
.pain-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.use-case-grid {
  grid-template-columns: repeat(2, 1fr);
}

.pain-card,
.use-case-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.pain-card {
  text-align: center;
}

.pain-card h3,
.use-case-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.pain-card p,
.use-case-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.pain-card i {
  color: var(--blue);
  font-size: 1.3rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.use-case-card i {
  color: var(--blue);
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: block;
}

.landing-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  max-width: 760px;
}

.landing-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.landing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.landing-links {
  text-align: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.landing-links a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.landing-links a:hover {
  text-decoration: underline;
}
