:root {
  --color-primary: #0F766E;
  --color-secondary: #14B8A6;
  --color-accent: #0369A1;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0B2A28;
  --color-muted: #4A6B67;
  --color-border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --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);
  --radius: 16px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: #FFFFFF; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Header (glass nav) === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(240, 253, 250, 0.7); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--color-border); transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.site-header.scrolled { background: rgba(240, 253, 250, 0.92); box-shadow: var(--shadow-sm); }
.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; display: block; }
.nav-toggle { background: none; border: 0; color: var(--color-neutral-dark); padding: .5rem; cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: rgba(15, 118, 110, 0.08); }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); gap: .25rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .6rem .25rem; border-radius: 6px; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: .55rem 1rem; border-radius: 999px; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; background: none; padding: 0; border: 0; box-shadow: none; }
  .primary-nav a { padding: .25rem 0; }
  .primary-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; cursor: pointer; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; line-height: 1; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 8px 24px -12px rgba(15, 118, 110, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(15, 118, 110, 0.7); color: #fff; }
.btn-ghost { background: rgba(15, 118, 110, 0.08); color: var(--color-primary); }
.btn-ghost:hover { background: rgba(15, 118, 110, 0.15); transform: translateY(-2px); color: var(--color-primary); }
.btn-small { padding: .55rem 1rem; font-size: .875rem; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero === */
.hero-saas { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(20, 184, 166, 0.04)); }
.hero-saas::before { content: ''; position: absolute; top: -20%; right: -10%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(3, 105, 161, 0.14), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; text-align: center; }
.hero-inner h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 56ch; margin: 1.25rem auto 1.75rem; font-size: 1.15rem; color: var(--color-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero-visual { margin-top: 2rem; }
.hero-visual img { border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; object-fit: cover; }
.hero-compact { padding-block: 4rem 2rem; }
.hero-compact .hero-ctas { margin-bottom: 0; }

@media (min-width: 768px) {
  .hero-saas { padding-block: 6rem 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.1rem; }
.section-tinted { background: linear-gradient(180deg, var(--color-neutral-light), #fff); border-block: 1px solid var(--color-border); }

@media (min-width: 768px) {
  .section { padding-block: 5.5rem; }
}

/* === Split === */
.split { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
.split-visual img { border-radius: 20px; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

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

/* === Card === */
.card { background: #fff; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--color-border); 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 { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(135deg, rgba(15, 118, 110, 0.04), rgba(3, 105, 161, 0.04)); }
.testimonial { position: relative; text-align: center; margin: 0; padding: 2rem 1rem; }
.testimonial .quote-mark { color: var(--color-secondary); opacity: .35; margin-inline: auto; margin-bottom: 1rem; }
.testimonial p { font-size: 1.25rem; line-height: 1.55; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); max-width: 60ch; margin: 0 auto 1.25rem; }
.testimonial cite { display: block; font-style: normal; font-weight: 600; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; margin-block: 0; }
.cta-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(240, 253, 250, 0.85); margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--color-primary); box-shadow: 0 8px 24px -12px rgba(0,0,0,0.35); }
.cta-band .btn-primary:hover { background: var(--color-neutral-light); color: var(--color-primary); }
@media (min-width: 768px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}

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

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

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info address { font-style: normal; line-height: 1.9; margin-bottom: 1rem; }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .5rem; }
.contact-form label { font-weight: 500; font-size: .9rem; color: var(--color-neutral-dark); margin-top: .5rem; }
.contact-form input, .contact-form textarea { font-family: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: 1rem; align-self: flex-start; }
.form-consent { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .5rem; font-size: .85rem; font-weight: 400; color: var(--color-muted); margin-top: 1rem !important; }
.form-consent input { margin-top: .2rem; }

.contact-card { display: grid; grid-template-columns: 1fr; gap: 1.5rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); margin-bottom: 2rem; }
.contact-card h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); margin-bottom: .5rem; }
.contact-card address { font-style: normal; line-height: 1.7; }
@media (min-width: 768px) { .contact-card { grid-template-columns: repeat(3, 1fr); } }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 253, 250, 0.88); padding-block: 3.5rem 2rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer .tagline { color: rgba(240, 253, 250, 0.7); font-size: .95rem; margin-top: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer a { color: rgba(240, 253, 250, 0.88); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240, 253, 250, 0.15); }
.logo-footer img { filter: brightness(0) invert(1); }
.copyright { padding-top: 2rem; margin-top: 2.5rem; border-top: 1px solid rgba(240, 253, 250, 0.12); font-size: .85rem; color: rgba(240, 253, 250, 0.6); }
.copyright p { margin: 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }

/* === 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: 14px; 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: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn-primary { background: var(--color-accent); color: #fff; }
.cookie-banner .btn-ghost { background: rgba(240, 253, 250, 0.12); color: var(--color-neutral-light); }
.cookie-banner .btn-ghost:hover { background: rgba(240, 253, 250, 0.2); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(240, 253, 250, 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; }

/* === Scroll 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; }
  html { scroll-behavior: auto; }
}
