:root {
  --color-primary: #0D9488;
  --color-secondary: #14B8A6;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --ink: #0F2A28;
  --muted: #4B6663;
  --border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(15, 42, 40, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(15, 42, 40, 0.25);
  --radius: 16px;
  --radius-lg: 24px;
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); 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; }
h4 { font-size: 1rem; 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: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.14em; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }
.lede { color: var(--muted); font-size: 1.125rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(240, 253, 250, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(240, 253, 250, 0.92); box-shadow: 0 8px 30px -20px rgba(15, 42, 40, 0.25); border-bottom-color: var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; max-width: 1160px; margin: 0 auto; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: none; padding: 0.5rem; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-top: 1px solid var(--border); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.primary-nav a { display: inline-block; padding: 0.35rem 0; font-weight: 500; color: var(--color-neutral-dark); position: relative; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; padding: 0; background: transparent; border: none; box-shadow: none; }
  .primary-nav ul { flex-direction: row; gap: 1.75rem; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); box-shadow: 0 10px 30px -10px rgba(13, 148, 136, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(13, 148, 136, 0.6); color: var(--color-neutral-light); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--border); }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(19, 78, 74, 0.06); color: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(249, 115, 22, 0.65); color: #fff; }
.btn:focus-visible { outline: 3px solid rgba(249, 115, 22, 0.5); outline-offset: 3px; }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding: 4rem 0 3rem; }
.saas-hero { background: linear-gradient(180deg, rgba(20, 184, 166, 0.08), rgba(240, 253, 250, 0) 60%); }
.hero-glow { position: absolute; inset: -20% -10% auto -10%; height: 60%; background: radial-gradient(60% 60% at 50% 30%, rgba(249, 115, 22, 0.14), rgba(20, 184, 166, 0.10) 40%, transparent 70%); filter: blur(20px); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-inner h1 { max-width: 22ch; margin-inline: auto; }
.hero-inner .sub { color: var(--muted); font-size: 1.15rem; max-width: 56ch; margin: 1rem auto 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-visual { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.hero-visual::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 60px rgba(20, 184, 166, 0.15); pointer-events: none; }
.hero-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

@media (min-width: 900px) {
  .hero { padding: 6rem 0 4rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-tinted { background: linear-gradient(180deg, rgba(20, 184, 166, 0.06), rgba(240, 253, 250, 0)); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-figure { margin: 2.5rem 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.section-figure img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }

@media (min-width: 900px) { .section { padding: 6rem 0; } }

/* === Cards / Grid === */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { 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 .25s var(--ease), box-shadow .25s var(--ease); display: block; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-link { text-decoration: none; }
.card-link:hover { color: inherit; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(20, 184, 166, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Quote === */
.quote { border-left: 4px solid var(--color-accent); padding: 1.25rem 0 1.25rem 1.5rem; margin: 0; }
.quote p { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5; color: var(--color-neutral-dark); }
.quote cite { font-style: normal; color: var(--muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); padding: 4rem 0; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band .lede { color: rgba(240, 253, 250, 0.85); margin-bottom: 1.75rem; }
.cta-band .contact-line { color: rgba(240, 253, 250, 0.9); margin-bottom: 1.5rem; }
.cta-band .contact-line a { color: var(--color-neutral-light); text-decoration: underline; }

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

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; color: var(--color-neutral-dark); list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.25rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details 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); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.92rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--border); border-radius: 10px; background: var(--color-neutral-light); color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 253, 250, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: 0.75rem; }
.site-footer a { color: rgba(240, 253, 250, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.legal-links { flex-direction: row !important; gap: 1rem !important; margin-top: 1rem !important; flex-wrap: wrap; font-size: 0.9rem; }
.tagline { color: rgba(240, 253, 250, 0.75); font-size: 0.95rem; }
.logo-footer img { height: 64px; width: auto; filter: brightness(1.4); }
.site-footer address { font-style: normal; font-size: 0.92rem; line-height: 1.7; }
.copyright { text-align: center; margin: 2.5rem 0 0; font-size: 0.85rem; color: rgba(240, 253, 250, 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); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font: inherit; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(240, 253, 250, 0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-size: 0.9rem; }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner button:hover { background: rgba(240, 253, 250, 0.08); }
.cookie-banner button[data-cookie-accept]:hover { background: #ea6a10; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(240, 253, 250, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }

/* === Reveal motion === */
.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; } }
