:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(22, 78, 99, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(22, 78, 99, 0.18);
  --shadow-lg: 0 20px 60px -20px rgba(22, 78, 99, 0.28);
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(22, 78, 99, 0.12);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: #ffffff; line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; margin: 0 0 0.6em; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 0.75rem; }
.band-tint { background: linear-gradient(180deg, #ffffff, var(--color-neutral-light)); }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.75); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.site-header.scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 6px 24px -12px rgba(22,78,99,0.15); border-bottom-color: var(--border); }
.nav-inner { max-width: 1180px; margin-inline: auto; padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 0.4rem; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; }
.primary-nav a { position: relative; color: var(--color-neutral-dark); font-weight: 500; font-size: 0.95rem; padding: 0.4rem 0; text-decoration: none; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: 0.5rem 1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; gap: 0.4rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.4rem; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 10px 30px -10px rgba(8,145,178,0.55); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(8,145,178,0.65); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* === Hero (saas-spotlight) === */
.hero { position: relative; padding: 4rem 1.25rem 3rem; background: linear-gradient(135deg, rgba(8,145,178,0.06), rgba(34,211,238,0.10)); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(34,197,94,0.12), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; max-width: 1080px; margin-inline: auto; text-align: center; }
.hero h1 { margin-bottom: 1rem; }
.hero-sub { max-width: 60ch; margin: 0 auto 1.75rem; font-size: 1.15rem; color: var(--muted); }
.hero-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-visual { margin-top: 1.5rem; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16/9; object-fit: cover; }
.hero-compact { padding-bottom: 1.5rem; }
.hero-compact .hero-visual { display: none; }
@media (min-width: 768px) { .hero { padding: 6rem 1.25rem 4rem; } }

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 0.75rem; }
.card p { margin: 0; color: var(--muted); }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(8,145,178,0.12), rgba(34,211,238,0.16)); color: var(--color-primary); }

/* === Testimonial === */
.testimonial { margin: 0 auto; padding: 2rem; background: linear-gradient(135deg, var(--color-neutral-light), #fff); border-left: 4px solid var(--color-primary); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); margin-bottom: 1rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 3.5rem 1.25rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0 auto 1.5rem; }
.cta-band .btn-primary { background: #fff; color: var(--color-primary); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 2.25rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--color-neutral-light); box-shadow: var(--shadow-sm); }
.pricing-card--featured { border: 2px solid var(--color-accent); background: #fff; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card__badge { position: absolute; top: -12px; right: 20px; background: var(--color-accent); color: #fff; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.pricing-card__plan { margin: 0 0 0.5rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 0.75rem; font-family: var(--font-heading); }
.pricing-card__lede { color: var(--muted); margin: 0 0 1.25rem; font-size: 0.98rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.95rem; color: var(--text); }
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; background: #fff; margin-bottom: 0.75rem; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 600; cursor: pointer; color: var(--color-neutral-dark); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-primary); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 0.75rem; color: var(--muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.contact-form label { display: flex; flex-direction: column; font-weight: 500; font-size: 0.95rem; color: var(--color-neutral-dark); gap: 0.4rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { padding: 0.75rem 0.9rem; border: 1px solid var(--border); border-radius: 10px; font: inherit; color: var(--text); background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3rem 1.25rem 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.35rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer .logo img { height: 60px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.copyright { text-align: center; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* === Reveal (scroll animation) === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner a { color: var(--color-secondary); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { flex: 1 1 auto; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); font: inherit; font-size: 0.9rem; cursor: pointer; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; padding: 0.5rem 1rem; border-radius: 999px; border: 0; background: var(--color-secondary); color: var(--color-neutral-dark); font-weight: 600; cursor: pointer; }
