/* === Tokens === */
:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #476A82;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 12px 40px rgba(12, 74, 110, 0.10);
  --shadow-lg: 0 30px 60px -20px rgba(12, 74, 110, 0.30);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: 4rem; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }

/* === Logo === */
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(240, 249, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 6px 24px rgba(12, 74, 110, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500; position: relative; padding-block: .25rem;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: 0;
  cursor: pointer; padding: .5rem; width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.primary-nav.is-open {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem;
}
.primary-nav.is-open a { padding-block: .75rem; border-bottom: 1px solid var(--color-border); }
.primary-nav.is-open a:last-child { border-bottom: 0; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; padding: 0; background: transparent; border: 0; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body);
  border: 0; cursor: pointer; text-decoration: none; font-size: 1rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.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.6); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(14, 165, 233, 0.7); }
.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.6); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* === Hero split === */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.10), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(56, 189, 248, 0.18), transparent 55%),
    linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%);
  padding-block: 3.5rem;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero-single { text-align: center; }
.hero-single .cta-row { justify-content: center; }

@media (min-width: 900px) {
  .hero { padding-block: 6rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero-visual img { aspect-ratio: 4/5; }
}

/* === Intro paragraphs === */
.intro h2 { text-align: center; }
.intro p { font-size: 1.075rem; color: var(--color-muted); text-align: center; }

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

/* === Cards === */
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.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.14), rgba(56, 189, 248, 0.14));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial-section {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(249, 115, 22, 0.04));
  border-radius: var(--radius-xl); margin: 3rem auto; padding-block: 3rem;
}
.testimonial { margin: 0; text-align: center; }
.testimonial p {
  font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--color-neutral-dark); line-height: 1.4; margin-bottom: 1.25rem;
}
.testimonial cite { font-style: normal; color: var(--color-muted); font-weight: 500; }

/* === Contact band on About === */
.contact-band { text-align: center; }
.contact-band p { font-size: 1.05rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band {
  margin: 4rem 1.25rem; padding: 3.5rem 1.5rem; border-radius: var(--radius-xl);
  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.35), transparent 50%);
  pointer-events: none;
}
.cta-band h2, .cta-band p { color: #fff; position: relative; }
.cta-band p { opacity: .9; max-width: 52ch; margin-inline: auto; }
.cta-band .btn { position: relative; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative; padding: 2.25rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); background: var(--color-neutral-light);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border-color: var(--color-accent); border-width: 2px;
  background: #ffffff; box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  letter-spacing: .04em;
}
.pricing-card__plan { margin: 0 0 .5rem; color: var(--color-neutral-dark); }
.pricing-card__price {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 .5rem;
}
.pricing-card__lede { color: var(--color-muted); margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pricing-card__features li { display: flex; gap: .5rem; padding-block: .5rem; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.pricing-card__features li:last-child { border-bottom: 0; }
.pricing-card__features span { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; }

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

/* === Contact form === */
.contact-form-section { background: var(--color-neutral-light); border-radius: var(--radius-xl); margin: 3rem 1.25rem; padding: 3rem 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--color-text); transition: border .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 0; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); margin-top: 4rem; padding-block: 3rem 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.footer-logo img { filter: brightness(0) invert(1); height: 56px; }
.site-footer h4 { color: #fff; margin: 0 0 1rem; font-size: 1rem; }
.site-footer a { color: var(--color-neutral-light); display: block; padding-block: .3rem; }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address a { display: inline; padding: 0; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.legal-links a { display: inline; padding: 0; }
.tagline { color: rgba(240, 249, 255, 0.7); margin-top: .5rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(240, 249, 255, 0.15); font-size: .85rem; color: rgba(240, 249, 255, 0.6); }

/* === 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-md);
  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: .95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .9rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(240, 249, 255, 0.3); }
.cookie-banner__actions .btn-ghost:hover { border-color: var(--color-secondary); color: var(--color-secondary); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

/* === Reveal === */
.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; }
  * { animation: none !important; transition: none !important; }
}
