/* =========================================================
   Caranea – Design System
   ========================================================= */

:root {
  /* Brand colors (sampled from logo) */
  --c-teal: #1b7394;
  --c-teal-light: #2a95bc;
  --c-coral: #f1575f;
  --c-coral-light: #f57b81;
  --c-gold: #eed37f;
  --c-gold-dark: #d9b84f;

  /* Neutrals */
  --c-navy-900: #12121c;
  --c-navy-800: #191926;
  --c-navy-700: #21212f;
  --c-navy-600: #2b2b3c;
  --c-ink: #1a1a24;
  --c-white: #ffffff;
  --c-paper: #f8f8fb;
  --c-paper-alt: #f1f1f6;
  --c-border: #e5e5ee;
  --c-text: #33333f;
  --c-text-muted: #6c6c7c;
  --c-text-inverse: #f4f4f9;
  --c-text-inverse-muted: #b7b7c8;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(18, 18, 28, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 18, 28, 0.10);
  --shadow-lg: 0 20px 48px rgba(18, 18, 28, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1180px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--c-text-muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 700px) {
  section { padding: 56px 0; }
}

.section-dark { background: var(--c-navy-900); color: var(--c-text-inverse); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--c-white); }
.section-dark p { color: var(--c-text-inverse-muted); }
.section-alt { background: var(--c-paper-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-coral);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-coral);
  display: inline-block;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.96rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--c-coral), var(--c-coral-light));
  color: var(--c-white);
  box-shadow: 0 10px 24px rgba(241, 87, 95, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(241, 87, 95, 0.4); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.28);
  color: var(--c-white);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--c-border);
  color: var(--c-ink);
}
.btn-outline:hover { border-color: var(--c-teal); color: var(--c-teal); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 18, 28, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--c-text-inverse-muted);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--c-white); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--c-navy-900);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-140%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 15% -10%, rgba(27,115,148,0.35), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(241,87,95,0.25), transparent 55%),
              radial-gradient(700px 500px at 60% 100%, rgba(238,211,127,0.14), transparent 60%),
              var(--c-navy-900);
  color: var(--c-white);
  overflow: hidden;
  padding: 110px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 85%, rgba(241,87,95,0.35) 0, transparent 6%),
    radial-gradient(circle at 18% 92%, rgba(238,211,127,0.3) 0, transparent 5%),
    radial-gradient(circle at 30% 80%, rgba(27,115,148,0.3) 0, transparent 7%),
    radial-gradient(circle at 42% 95%, rgba(241,87,95,0.25) 0, transparent 4%),
    radial-gradient(circle at 55% 88%, rgba(238,211,127,0.25) 0, transparent 5%),
    radial-gradient(circle at 68% 96%, rgba(27,115,148,0.25) 0, transparent 6%),
    radial-gradient(circle at 80% 86%, rgba(241,87,95,0.2) 0, transparent 5%),
    radial-gradient(circle at 92% 92%, rgba(238,211,127,0.2) 0, transparent 4%);
  filter: blur(18px);
  opacity: 0.8;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 { color: var(--c-white); margin-bottom: 20px; }
.hero .lede {
  font-size: 1.18rem;
  color: var(--c-text-inverse-muted);
  max-width: 600px;
  margin: 0 auto 34px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--c-text-inverse-muted);
  font-size: 0.85rem;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); display: inline-block; }

/* =========================================================
   Cards / Grids
   ========================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.icon-badge.teal { background: rgba(27,115,148,0.12); color: var(--c-teal); }
.icon-badge.coral { background: rgba(241,87,95,0.12); color: var(--c-coral); }
.icon-badge.gold { background: rgba(238,211,127,0.25); color: var(--c-gold-dark); }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(27,115,148,0.14);
  color: var(--c-teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  margin-top: 2px;
}

/* Target audience pills */
.audience-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.audience-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--c-text-inverse);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
}

/* =========================================================
   Phone / App mock
   ========================================================= */
.phone-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.phone {
  width: 216px;
  background: var(--c-navy-800);
  border: 6px solid var(--c-navy-700);
  border-radius: 32px;
  padding: 16px 14px;
  box-shadow: var(--shadow-lg);
  color: var(--c-white);
}
.phone .phone-status { font-size: 0.62rem; color: var(--c-text-inverse-muted); display: flex; justify-content: space-between; margin-bottom: 14px; }
.phone .phone-logo { display: flex; justify-content: center; margin-bottom: 10px; }
.phone .phone-logo img { height: 30px; }
.phone h4 { text-align: center; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-white); margin-bottom: 16px; }
.phone .phone-timer { text-align: center; font-size: 1.7rem; font-weight: 800; margin: 18px 0; }
.phone .phone-field { background: rgba(255,255,255,0.06); border-radius: 8px; padding: 8px 10px; font-size: 0.7rem; color: var(--c-text-inverse-muted); margin-bottom: 8px; }
.phone .phone-btn { background: var(--c-white); color: var(--c-ink); text-align: center; padding: 9px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; margin-bottom: 8px; }
.phone .phone-btn.outline { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: var(--c-white); }
.phone .phone-meta { font-size: 0.68rem; color: var(--c-text-inverse-muted); line-height: 1.5; margin-bottom: 10px; }
.phone .phone-meta b { color: var(--c-white); }

/* =========================================================
   Pricing
   ========================================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--c-coral);
  box-shadow: 0 20px 44px rgba(241,87,95,0.18);
  transform: translateY(-6px);
}
.price-card .badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--c-coral);
  color: var(--c-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.price-card .tier-name { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-text-muted); margin-bottom: 10px; }
.price-card .tier-price { font-size: 2.4rem; font-weight: 800; color: var(--c-ink); margin-bottom: 2px; }
.price-card .tier-unit { font-size: 0.85rem; color: var(--c-text-muted); margin-bottom: 22px; }
.price-card .feature-list { margin-bottom: 26px; flex: 1; }

/* Table (comparison) */
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 14px 16px; border-bottom: 1px solid var(--c-border); text-align: center; }
table.compare th:first-child, table.compare td:first-child { text-align: left; color: var(--c-text); }
table.compare thead th { color: var(--c-ink); font-size: 0.95rem; }
table.compare .yes { color: var(--c-teal); font-weight: 700; }
table.compare .no { color: #c7c7d3; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--c-navy-900), var(--c-navy-800));
  color: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 85% 0%, rgba(241,87,95,0.35), transparent 60%),
              radial-gradient(400px 240px at 5% 100%, rgba(27,115,148,0.35), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--c-white); }
.cta-band p { color: var(--c-text-inverse-muted); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--c-navy-900);
  color: var(--c-text-inverse-muted);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 44px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--c-white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--c-text-inverse-muted); font-size: 0.92rem; transition: color .15s ease; }
.footer-grid a:hover { color: var(--c-white); }
.footer-brand img { height: 28px; margin-bottom: 14px; }
.footer-brand p { max-width: 260px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-bottom ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.footer-bottom a:hover { color: var(--c-white); }

/* =========================================================
   Misc utility
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 0.85rem; }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(238,211,127,0.25);
  color: var(--c-gold-dark);
  margin-bottom: 10px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step .num {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.legal h2 { margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal p, .legal li { color: var(--c-text); }
.legal { max-width: 780px; margin: 0 auto; }

.notice-box {
  background: rgba(238,211,127,0.16);
  border: 1px solid rgba(217,184,79,0.4);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--c-text);
  margin: 24px 0;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

.contact-form {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--c-ink); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--c-paper);
  color: var(--c-ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(27,115,148,0.14);
}
.form-note { font-size: 0.78rem; color: var(--c-text-muted); margin-top: 14px; }
.form-status { font-size: 0.88rem; margin-top: 14px; display: none; }
.form-status.visible { display: block; }
