/* ============================================================
   ELEGANT, CRISP MODERN SAAS TYPOGRAPHY & DESIGN SYSTEM
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #07080F;
  --card: #0E1022;
  --card-hover: #13162C;
  --line: rgba(255, 255, 255, 0.08);
  --line-light: rgba(255, 255, 255, 0.15);
  
  --ink: #FFFFFF;
  --ink-heading: #F8FAFC;
  --ink-soft: #94A3B8;
  --ink-muted: #64748B;
  
  --teal: #8B5CF6;
  --teal-dk: #7C3AED;
  --teal-tint: rgba(139, 92, 246, 0.14);
  
  --gold: #E5A93C;
  --gold-dk: #D99B26;
  
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-stretch: 100% !important;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg);
}

body {
  font-family: var(--font-body) !important;
  background-color: var(--bg);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Typography Hierarchy ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  color: var(--ink-heading);
  text-transform: none;
  font-stretch: 100% !important;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.1 !important;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.35 !important;
  margin-bottom: 10px;
}

h4 {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
}

p, span, a, input, select, textarea, button {
  font-family: var(--font-body) !important;
  font-stretch: 100% !important;
}

p {
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Layout Containers */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 92px 0; }
@media (max-width: 640px) { section { padding: 60px 0; } }

.band { background: #0B0C17; }
.band-dark {
  background: #04050A;
  color: #CBD5E1;
}
.band-dark h2, .band-dark h3 { color: #FFFFFF; }
.band-dark p { color: #94A3B8; }
.band-teal { 
  background: linear-gradient(135deg, #191638 0%, #0D0F22 100%); 
  color: #E2E8F0; 
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-teal h2, .band-teal h3 { color: #FFFFFF; }
.band-teal p { color: #CBD5E1; }

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(7, 8, 15, 0.88);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.brand .mark {
  width: 32px; 
  height: 32px; 
  flex: none;
  object-fit: contain;
  border-radius: 7px;
  filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.4));
}

.brand-name {
  font-family: var(--font-display) !important;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.brand-name span {
  color: var(--teal);
  font-weight: 600;
}

nav.primary {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

nav.primary a {
  color: #94A3B8;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
  text-decoration: none;
}

nav.primary a:hover { color: #FFFFFF; text-decoration: none; }

.nav-cta {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 14px rgba(139, 92, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: -0.01em;
}

.nav-cta:hover { 
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.6); 
  text-decoration: none; 
}

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 9999px;
  font-family: var(--font-display) !important;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { 
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); 
  color: #fff !important; 
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-primary:hover { 
  background: var(--teal-dk);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.55);
}

.btn-gold { 
  background: var(--gold); 
  color: #05060A !important; 
  box-shadow: 0 4px 18px rgba(229, 169, 60, 0.35);
  font-weight: 700;
}

.btn-gold:hover { background: var(--gold-dk); }

.btn-outline { 
  background: rgba(255, 255, 255, 0.03); 
  border-color: var(--line); 
  color: #E2E8F0 !important; 
  backdrop-filter: blur(8px);
}

.btn-outline:hover { 
  background: var(--card); 
  border-color: var(--teal); 
  color: #fff !important; 
}

.btn-outline-light { 
  background: transparent; 
  border-color: rgba(255, 255, 255, 0.25); 
  color: #fff !important; 
}

.btn-outline-light:hover { 
  background: #fff; 
  color: #07080F !important; 
}

.btn-lg { padding: 15px 32px; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  top: -180px; right: -160px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.24) 0%, rgba(124, 58, 237, 0.05) 45%, rgba(7, 8, 15, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-clean-center {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow-plain {
  color: var(--gold);
  font-family: var(--font-display) !important;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 auto 20px auto;
  max-width: 22ch;
}

.hero p.lede {
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  max-width: 650px;
  margin: 0 auto 32px auto;
  line-height: 1.62;
  color: #94A3B8;
  font-weight: 400;
}

.hero-ctas { 
  display: flex; 
  gap: 14px; 
  flex-wrap: wrap; 
  justify-content: center;
  margin-top: 10px; 
}

.hero-trust {
  margin-top: 24px;
  font-size: 0.88rem;
  color: #64748B;
}

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--line-light);
  transform: translateY(-2px);
}

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.icon-teal { background: var(--teal-tint); color: var(--teal); }
.icon-gold { background: rgba(229, 169, 60, 0.12); color: var(--gold); }

.section-head { 
  max-width: 660px; 
  margin-bottom: 52px; 
}

.section-head.center { 
  margin-left: auto; 
  margin-right: auto; 
  text-align: center; 
}

.section-head p {
  font-size: 1.05rem;
}

/* ---------- Steps (How it Works) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-left: 0; }
.step-num {
  font-family: var(--font-display) !important;
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 24px;
  align-items: end;
}

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

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 30px;
}

.price-card.featured {
  background: linear-gradient(180deg, #161836 0%, #0E1022 100%);
  color: #fff;
  border: 1px solid var(--teal);
  padding: 44px 34px;
  transform: translateY(-12px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(139, 92, 246, 0.2);
  position: relative;
}

.price-card.featured h3, .price-card.featured .price-amt { color: #fff; }
.price-card.featured p, .price-card.featured li { color: #CBD5E1; }

.badge-pop {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #04050A;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 18px;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(229, 169, 60, 0.35);
  white-space: nowrap;
}

.price-strike { text-decoration: line-through; opacity: 0.6; font-size: 1rem; }

.price-amt { 
  font-family: var(--font-display) !important; 
  font-size: 2.75rem; 
  font-weight: 800; 
  letter-spacing: -0.03em;
  margin: 8px 0 2px;
}

.price-period { font-size: 0.95rem; color: var(--ink-soft); }
.price-card.featured .price-period { color: #CBD5E1; }

ul.feature-list { list-style: none; padding: 0; margin: 24px 0 28px; }
ul.feature-list li { padding-left: 26px; position: relative; margin-bottom: 12px; font-size: 0.96rem; line-height: 1.5; }
ul.feature-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-weight: 700;
}

.price-card.featured .btn-primary { 
  background: var(--gold); 
  color: #04050A !important; 
  box-shadow: 0 4px 18px rgba(229, 169, 60, 0.4);
}
.price-card.featured .btn-primary:hover { background: var(--gold-dk); }

/* ---------- Table ---------- */
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.95rem;
  border: 1px solid var(--line);
}

table.compare th, table.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

table.compare th:first-child, table.compare td:first-child { text-align: left; }
table.compare thead th {
  background: #0B0C17;
  color: #FFFFFF;
  font-weight: 600;
}

table.compare thead th.adilo-col { background: var(--teal-dk); color: #fff; }
table.compare tbody td.adilo-col { background: rgba(139, 92, 246, 0.08); font-weight: 600; color: #fff; }
.table-scroll { overflow-x: auto; }

/* ---------- FAQ ---------- */
details.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
  transition: border-color 0.15s ease;
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display) !important;
  font-size: 1.05rem;
  list-style: none;
  color: #FFFFFF;
}

details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 1.3rem;
}

details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { margin-top: 12px; line-height: 1.6; }

/* ---------- Footer ---------- */
footer.site {
  background: #04050A;
  color: #94A3B8;
  padding: 68px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

footer.site h4 { 
  color: #fff; 
  font-size: 0.95rem; 
  font-family: var(--font-display) !important; 
  font-weight: 600; 
  margin-bottom: 16px; 
}

footer.site a { 
  color: #94A3B8; 
  display: block; 
  margin-bottom: 10px; 
  font-size: 0.93rem; 
  text-decoration: none; 
}

footer.site a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.text-white { color: #fff; }
.small { font-size: 0.88rem; }

.tag {
  display: inline-block;
  background: var(--teal-tint);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Product Showcase Container (Hero Preview) ---------- */
.hero-showcase {
  max-width: 1060px;
  margin: 48px auto 10px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.3) 0%, rgba(16, 19, 35, 0.8) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 50px -10px rgba(139, 92, 246, 0.3);
}

.hero-showcase-inner {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1E2340;
  background: var(--card);
}

.hero-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 880px) {
  header.site {
    position: relative !important;
    z-index: 99999 !important;
  }

  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    z-index: 100002 !important;
    background: var(--teal);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    pointer-events: auto !important;
  }

  header.site nav.primary {
    display: none !important;
  }

  header.site nav.primary.is-active {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #0B0C17 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 24px !important;
    gap: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8) !important;
    z-index: 100001 !important;
  }

  header.site nav.primary.is-active a {
    display: block !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  header.site nav.primary.is-active .nav-cta {
    margin-top: 10px !important;
    text-align: center !important;
    background: #E5A93C !important;
    color: #07080F !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
  }
}

/* ---------- FLOATING COOKIE POPUP MODAL ---------- */
#cookieBanner {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  max-width: 440px !important;
  width: calc(100% - 48px) !important;
  background: rgba(14, 16, 34, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 16px !important;
  padding: 20px 24px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 20px rgba(139, 92, 246, 0.15) !important;
  z-index: 9999999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

#cookieBanner p,
#cookieBanner .cookie-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  color: #94A3B8 !important;
  margin: 0 !important;
}

#cookieBanner a {
  color: #F8FAFC !important;
  text-decoration: underline !important;
}

#cookieBanner .cookie-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-top: 4px !important;
}

#cookieBanner button,
#cookieBanner .cookie-btn {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border: 1px solid transparent !important;
  transition: all 0.15s ease !important;
}

#cookieBanner #cookieAccept,
#cookieBanner .cookie-btn-accept {
  background: #8B5CF6 !important;
  color: #FFFFFF !important;
}

#cookieBanner #cookieAccept:hover,
#cookieBanner .cookie-btn-accept:hover {
  background: #7C3AED !important;
}

#cookieBanner #cookieDecline,
#cookieBanner .cookie-btn-decline {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #94A3B8 !important;
}

#cookieBanner #cookieDecline:hover,
#cookieBanner .cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #FFFFFF !important;
}

@media (max-width: 600px) {
  #cookieBanner {
    bottom: 16px !important;
    right: 16px !important;
    left: 16px !important;
    width: auto !important;
    padding: 18px 20px !important;
  }
}