:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(12, 74, 110, 0.18);
  --shadow-lg: 0 30px 60px -25px rgba(12, 74, 110, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #ffffff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover), color .2s var(--ease-hover);
  text-decoration: none;
  line-height: 1;
}
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(14, 165, 233, 0.5);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(14, 165, 233, 0.55); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.5);
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(249, 115, 22, 0.55); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-neutral-dark);
  border-color: rgba(12, 74, 110, 0.18);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { color: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 249, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(12, 74, 110, 0.08);
  transition: background .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.site-header.scrolled { background: rgba(240, 249, 255, 0.92); box-shadow: 0 6px 24px -12px rgba(12, 74, 110, 0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 36px;
  padding: 8px 6px;
  background: transparent;
  border: 1px solid rgba(12, 74, 110, 0.18);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(240, 249, 255, 0.98);
  backdrop-filter: blur(16px);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: .5rem;
  border-bottom: 1px solid rgba(12, 74, 110, 0.08);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  padding: .6rem 0;
  position: relative;
}
.primary-nav a.is-current { color: var(--color-primary); }
.primary-nav .nav-cta { color: #fff; margin-top: .5rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    gap: 2rem;
    align-items: center;
    border: none;
    backdrop-filter: none;
  }
  .primary-nav a { padding: 0; }
  .primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease-hover);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a.is-current::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Hero === */
.hero-saas {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 3rem;
  background: linear-gradient(160deg, #F0F9FF 0%, #E0F2FE 60%, #BAE6FD 100%);
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.14), rgba(249, 115, 22, 0) 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-inner h1 { max-width: 22ch; margin-inline: auto; margin-bottom: 1.25rem; }
.hero-inner .lede {
  font-size: 1.125rem;
  max-width: 56ch;
  margin: 0 auto 1.75rem;
  color: rgba(12, 74, 110, 0.82);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero-visual {
  margin: 2rem auto 0;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.5);
  background: #fff;
}
.hero-visual img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  justify-content: center;
  margin-top: 2rem;
  font-size: .85rem;
  color: rgba(12, 74, 110, 0.65);
  font-family: var(--font-heading);
  font-weight: 500;
}
@media (min-width: 768px) {
  .hero-saas { padding-block: 6rem 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-tinted { background: linear-gradient(180deg, #F0F9FF 0%, #ffffff 100%); }
.section-head { text-align: left; max-width: 60ch; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: rgba(12, 74, 110, 0.75); font-size: 1.05rem; }
@media (min-width: 768px) {
  .section { padding-block: 5.5rem; }
}

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

.card {
  background: #fff;
  border: 1px solid rgba(12, 74, 110, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p { color: rgba(12, 74, 110, 0.78); margin: 0; font-size: .97rem; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(249, 115, 22, 0.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Quote === */
.quote {
  margin: 0;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(249, 115, 22, 0.05));
  border: 1px solid rgba(12, 74, 110, 0.08);
  text-align: center;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin-bottom: 1rem;
}
.quote cite {
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  font-size: .95rem;
}

/* === CTA band === */
.cta-band {
  padding-block: 4rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(240, 249, 255, 0.9); max-width: 55ch; margin: 0 auto 1.75rem; }

/* === Pricing === */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 74, 110, 0.12);
  background: var(--color-neutral-light);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .75rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  letter-spacing: .04em;
}
.pricing-card__plan { font-size: 1.2rem; margin-bottom: .25rem; color: var(--color-primary); }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; margin: 0 0 .25rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: rgba(12, 74, 110, 0.78); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.pricing-card__features li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; color: rgba(12, 74, 110, 0.85); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff;
  border: 1px solid rgba(12, 74, 110, 0.1);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease-hover);
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform .2s var(--ease-hover);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .85rem 0 0; color: rgba(12, 74, 110, 0.8); }

/* === Contact === */
.contact-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-info h2 { margin-top: 0; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-list strong { display: block; color: var(--color-primary); font-family: var(--font-heading); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .15rem; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 74, 110, 0.1);
  box-shadow: var(--shadow-sm);
}
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(12, 74, 110, 0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--color-neutral-dark);
  font-weight: 400;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: .6rem;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: .85rem;
  color: rgba(12, 74, 110, 0.8);
  line-height: 1.5;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.contact-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 74, 110, 0.1);
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
}
.contact-card p { margin-bottom: 1.5rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 249, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(240, 249, 255, 0.12);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.footer-tagline { margin-top: 1rem; color: rgba(240, 249, 255, 0.7); font-size: .95rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; }
.footer-nav h3, .footer-contact h3 { color: #fff; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-nav a, .footer-contact a { color: rgba(240, 249, 255, 0.75); padding: .3rem 0; font-size: .95rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-accent); }
.footer-contact address { font-style: normal; line-height: 1.7; font-size: .95rem; color: rgba(240, 249, 255, 0.75); }
.footer-legal-links { margin-top: 1rem; font-size: .85rem; }
.footer-legal-links a { color: rgba(240, 249, 255, 0.6); }
.footer-bottom { padding-top: 1.5rem; text-align: center; font-size: .85rem; color: rgba(240, 249, 255, 0.55); }

/* === 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.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }
