:root {
  --navy: #0B0F2E;
  --indigo: #008CDF;
  --indigo-dark: #0072B8;
  --coral: #FA6446;
  --paper: #F6F6FB;
  --white: #FFFFFF;
  --ink: #4B4F63;
  --ink-light: #7A7E90;
  --line: #E2E2EE;
  --card: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin: 0;
}

p { color: var(--ink); margin: 0 0 1em; max-width: 62ch; }

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; display: block; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 246, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
}
.brand img { height: 30px; width: auto; }

nav.main-nav {
  display: flex;
  gap: 36px;
}
nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--indigo); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.link-login {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover { background: #E5502F; }
.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 3.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero p.lead {
  font-size: 1.2rem;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 0.88rem; color: var(--ink-light); }

/* ---------- Sections generic ---------- */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: 2.3rem; margin-bottom: 16px; }
.section-head p { font-size: 1.08rem; }

.dark-section {
  background: var(--navy);
  color: var(--white);
}
.dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section p { color: #C7CAE8; }

/* ---------- Feature rows (alternating) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: none; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-text h3 { font-size: 1.7rem; margin-bottom: 14px; }
.feature-text p { font-size: 1.03rem; }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.98rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.feature-visual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Steps (legitimately sequential) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step .step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { font-size: 0.98rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--indigo);
  box-shadow: 0 20px 40px -20px rgba(80, 70, 220, 0.35);
  transform: translateY(-8px);
}
.plan-name { font-size: 1.1rem; font-weight: 600; color: var(--ink-light); margin-bottom: 10px; }
.plan-price { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.plan-price span { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500; color: var(--ink-light); }
.plan-desc { font-size: 0.92rem; color: var(--ink-light); margin-bottom: 24px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 28px; flex-grow: 1; }
.plan-list li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--ink);
}
.plan-list li:first-child { border-top: none; }

/* ---------- Comparison table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.compare-table th {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  background: var(--navy);
  color: var(--white);
}
.compare-table td { color: var(--ink); }
.compare-table td:first-child { font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.check { color: var(--indigo); font-weight: 700; }
.dash { color: var(--ink-light); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--coral);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 14px; font-size: 1rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  border-radius: 20px;
  padding: 64px 56px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); font-size: 2rem; max-width: 20ch; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 18px;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card a.big-link { font-size: 1.3rem; font-weight: 700; color: var(--indigo); }
form.contact-form input, form.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 16px;
  background: var(--white);
}
form.contact-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #A9ADD1;
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 26px; width: auto; }
.footer-brand span { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--white); font-size: 1.15rem; }
footer h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 14px; font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; font-size: 0.92rem; }
footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 20px 50px -12px rgba(11, 27, 43, 0.45);
  z-index: 200;
  display: none;
}
.cookie-banner.show { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cookie-banner p { color: #C7CAE8; font-size: 0.9rem; margin: 0; max-width: none; flex: 1 1 320px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 9px 18px; font-size: 0.88rem; white-space: nowrap; }

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 0.98rem; max-width: 72ch; }
.legal-content ul { padding-left: 22px; margin: 0 0 1em; }
.legal-updated { color: var(--ink-light); font-size: 0.88rem; margin-bottom: 40px; }

@media (max-width: 900px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
}

/* ---------- Slideshow ---------- */
.slideshow {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 460px;
  background: var(--navy);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 36px;
  background: linear-gradient(0deg, rgba(11,27,43,0.88) 0%, rgba(11,27,43,0.35) 60%, rgba(11,27,43,0) 100%);
}
.slide-caption p {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  max-width: none;
}
.slide-dots {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slide-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.slide-dot.active { background: #fff; transform: scale(1.2); }
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11,27,43,0.45);
  border: none;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.slide-arrow:hover { background: rgba(11,27,43,0.75); }
.slide-arrow.prev { left: 20px; }
.slide-arrow.next { right: 20px; }

.hero-photo {
  border-radius: 16px;
  overflow: hidden;
  height: 420px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .slideshow { height: 320px; }
  .hero-photo { height: 280px; }
  .slide-caption p { font-size: 1.05rem; }
}

@media (max-width: 900px) {
  .hero-grid, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-text, .feature-row.reverse .feature-visual { order: unset; }
  .steps, .pricing-grid { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero h1 { font-size: 2.2rem; }
  .cta-banner { flex-direction: column; text-align: left; }

  .nav-row { padding: 14px 20px; flex-wrap: wrap; }
  .nav-toggle { display: block; order: 3; }
  .nav-actions { gap: 12px; }
  .nav-actions .btn { padding: 9px 16px; font-size: 0.88rem; }
  nav.main-nav {
    display: none;
    width: 100%;
    order: 10;
    flex-direction: column;
    gap: 0;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--line);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 10px 0; }
}

/* ---------- Full-bleed hero slideshow ---------- */
.hero-slideshow {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: var(--navy);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slideshow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,27,43,0.92) 0%, rgba(11,27,43,0.72) 38%, rgba(11,27,43,0.25) 68%, rgba(11,27,43,0.15) 100%);
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
}
.hero-overlay-inner {
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: 24px;
  max-width: 640px;
}
.hero-overlay h1 {
  color: #fff;
  font-size: 3.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  max-width: 16ch;
}
.hero-overlay .lead {
  color: #E4E6F5;
  font-size: 1.2rem;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-note-light { color: #B9BEE0; }
.btn-outline-light {
  border: 1.5px solid #fff;
  color: #fff;
}
.btn-outline-light:hover { background: #fff; color: var(--navy); }

.hero-dots {
  position: absolute;
  left: 32px;
  bottom: 28px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dots .slide-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.hero-dots .slide-dot.active { background: #fff; transform: scale(1.2); }

@media (max-width: 900px) {
  .hero-slideshow { height: 560px; }
  .hero-overlay-inner { padding-left: 20px; padding-right: 20px; }
  .hero-overlay h1 { font-size: 2.1rem; max-width: 14ch; }
  .hero-overlay .lead { font-size: 1rem; }
}

/* ---------- Revenue calculator ---------- */
.calc-section { background: var(--navy); color: #fff; }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.calc-inputs label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #C7CAE8;
  margin-bottom: 8px;
}
.calc-field { margin-bottom: 22px; }
.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--coral);
}
.calc-field input[type="number"] {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-top: 8px;
}
.calc-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #fff;
  float: right;
}
.calc-results {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 32px;
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.calc-result-row:last-of-type { border-bottom: none; }
.calc-result-label { color: #C7CAE8; font-size: 0.95rem; }
.calc-result-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.calc-result-value.highlight { color: #4FD1A5; }
.calc-cta { margin-top: 24px; text-align: center; }

@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Photo-filled feature visuals ---------- */
.feature-visual.photo {
  padding: 0;
  overflow: hidden;
  height: 280px;
  min-height: 0;
}
.feature-visual.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
