/* === Tokens === */
:root {
  --color-primary: #0D9488;
  --color-secondary: #2DD4BF;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0f2a2a;
  --color-muted: #4b6b6a;
  --color-border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(19, 78, 74, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(19, 78, 74, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(19, 78, 74, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
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-hover); }
a:hover { color: var(--color-neutral-dark); }
img { max-width: 100%; height: auto; display: block; }

/* === Layout === */
.container { max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section-tinted { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head .lead { color: var(--color-muted); font-size: 1.05rem; }
@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}

/* === Header / Nav (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 500;
  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-hover), border-color .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(240, 253, 250, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 24px -20px rgba(19, 78, 74, 0.25);
}
.nav-inner {
  max-width: 1180px; margin-inline: auto;
  padding: .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; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: .5rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease-hover), opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: rgba(240, 253, 250, 0.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-border); }
.primary-nav ul { list-style: none; margin: 0; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.primary-nav a { position: relative; display: inline-block; padding: .5rem 0; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-hover); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; background: transparent; border: 0; }
  .primary-nav ul { flex-direction: row; padding: 0; gap: 2rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  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-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(13, 148, 136, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 30px -12px rgba(13, 148, 136, 0.7); }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); color: var(--color-neutral-dark); }
.btn-accent {
  background: var(--color-accent); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(249, 115, 22, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 30px -12px rgba(249, 115, 22, 0.7); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero (saas-spotlight) === */
.hero {
  position: relative; overflow: hidden;
  padding: 4rem 1.25rem 3rem;
  background:
    radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.12), transparent 50%),
    linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(13, 148, 136, 0.08) 60%, transparent 100%),
    var(--color-neutral-light);
}
.hero-inner { max-width: 1080px; margin-inline: auto; text-align: center; }
.hero .eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; color: var(--color-primary); margin-bottom: 1rem; font-weight: 600; }
.hero h1 { max-width: 20ch; margin: 0 auto 1.25rem; }
.hero .lead { max-width: 52ch; margin: 0 auto 2rem; font-size: 1.15rem; color: var(--color-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero-visual { max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -40px; background: radial-gradient(circle at 50% 100%, rgba(45, 212, 191, 0.35), transparent 60%); z-index: -1; }
.hero-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-compact { padding-bottom: 3rem; }
.hero-compact .hero-inner { padding-bottom: 0; }
@media (min-width: 768px) {
  .hero { padding: 6rem 1.25rem 4rem; }
}

/* === Grid & Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid.grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.grid-3 { grid-template-columns: repeat(3, 1fr); } }
.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-hover), box-shadow .25s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(13, 148, 136, 0.15));
  color: var(--color-primary); margin-bottom: 1rem;
}
.icon-badge svg { width: 22px; height: 22px; }

/* === Testimonial === */
.testimonial { text-align: center; margin: 0; padding: 2rem 1rem; border-left: 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1rem; }
.testimonial cite { display: block; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  color: #fff; text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.35), transparent 50%),
    linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  padding: 4rem 1.25rem;
}
.cta-band h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin: 0 auto 1.75rem; }
.cta-band .btn-accent { background: #fff; color: var(--color-neutral-dark); }
.cta-band .btn-accent:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); }

/* === Pricing === */
.pricing-grid { align-items: stretch; }
.pricing-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 2.25rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  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); box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  padding: .35rem .75rem; border-radius: 999px;
  font-family: var(--font-heading); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.pricing-card__plan { margin-bottom: .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: .5rem; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: .5rem; padding: .4rem 0; align-items: flex-start; }
.pricing-card__features li span { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { width: 100%; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  transition: box-shadow .2s var(--ease-hover);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  font-family: var(--font-heading); font-size: 1.05rem;
  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; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 1rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.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: inherit; padding: .85rem 1rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.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; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; flex-shrink: 0; }
.contact-form .btn { align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(240, 253, 250, 0.85);
  padding: 3.5rem 0 1.5rem; margin-top: 0;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(240, 253, 250, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-grid .tagline { color: rgba(240, 253, 250, 0.7); margin-top: .5rem; }
.footer-grid address { font-style: normal; line-height: 1.75; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem !important; font-size: .9rem; }
.logo-footer img { filter: brightness(0) invert(1); }
.copyright { border-top: 1px solid rgba(240, 253, 250, 0.12); padding-top: 1.25rem; font-size: .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);
  border-radius: var(--radius-md); padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  max-width: 640px; 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 button {
  font: inherit; font-family: var(--font-heading); font-weight: 600; font-size: .85rem;
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid rgba(240, 253, 250, 0.3);
  background: transparent; color: var(--color-neutral-light);
  transition: background .2s, transform .2s;
}
.cookie-banner__actions button:hover { background: rgba(240, 253, 250, 0.1); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions [data-cookie-accept]:hover { background: var(--color-accent); transform: translateY(-1px); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.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;
  font: inherit; font-family: var(--font-heading); font-weight: 600; font-size: .85rem;
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  background: var(--color-secondary); color: var(--color-neutral-dark); border: 0;
}

/* === Reveal (scroll-in) === */
.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; }
  html { scroll-behavior: auto; }
}
