/* ── Reset & base ────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:   #5B8FE0;
  --brand-d: #1a2a52;
  --accent:  #0b74de;
  --accent-l:#6FA8FF;
  --slate:   #444;
  --muted:   #6b6b6b;
  --border:  #e6e6e6;
  --bg:      #f7f7f9;
  --white:   #ffffff;
}

body.landing {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--slate);
  line-height: 1.6;
}

/* ── Nav ─────────────────────────────────────────────────────────────────────── */

.land-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: var(--brand-d);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.land-brand {
  font-family: 'Segoe UI', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #6FA8FF;
  letter-spacing: -0.01em;
}

.land-brand span { color: #5B8FE0; }

.land-brand-ie {
  color: #8A8A8A !important;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.7;
}

.land-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.land-nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s;
}

.land-nav-links a:hover { color: var(--white); }

.land-nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 8px 20px;
  border-radius: 8px;
}

.land-nav-cta:hover { background: #0960b8 !important; }

/* Hamburger — hidden on desktop */
.land-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.land-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.land-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.land-hamburger.is-open span:nth-child(2) { opacity: 0; }
.land-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────────────────────── */

.land-hero {
  background: linear-gradient(135deg, #0d1b3e 0%, #162d5a 55%, #1e3a8a 100%);
  padding: 100px 5% 90px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.land-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(111,168,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Brand expand/contract animation ─────────────────────────────────────── */

.land-hero-brand-anim {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Segoe UI', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  user-select: none;
}

.brand-anim-prop {
  color: #6FA8FF;
}

.brand-anim-desk {
  color: #5B8FE0;
}

.brand-anim-erty {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  color: rgba(255,255,255,0.7);
  vertical-align: baseline;
  transition: none;
}

.brand-anim-erty.is-animating {
  animation: erty-reveal var(--anim-duration, 5s) ease-in-out forwards;
}

.brand-anim-ie {
  color: #8A8A8A;
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 2px;
  vertical-align: baseline;
  opacity: 0.7;
}

.brand-anim-tagline {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
  line-height: 1.4;
}

@keyframes erty-reveal {
  0%   { max-width: 0;              opacity: 0; }
  18%  { max-width: var(--erty-w);  opacity: 1; }
  72%  { max-width: var(--erty-w);  opacity: 1; }
  90%  { max-width: 0;              opacity: 0; }
  100% { max-width: 0;              opacity: 0; }
}

.land-hero-badge {
  display: inline-block;
  background: rgba(111,168,255,0.15);
  border: 1px solid rgba(111,168,255,0.35);
  color: var(--accent-l);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.land-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.land-hero h1 em {
  font-style: normal;
  color: var(--accent-l);
}

.land-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto 40px;
}

.land-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.land-btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.land-btn-primary:hover {
  background: #0960b8;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11,116,222,0.3);
}

.land-btn-secondary {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all 0.15s;
  cursor: pointer;
  font-family: inherit;
}

.land-btn-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.land-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.land-hero-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-l);
}

.land-hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Section shared styles ───────────────────────────────────────────────────── */

.land-section {
  padding: 80px 5%;
}

.land-section-alt { background: var(--bg); }

.land-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.land-section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.land-section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #222;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.land-section-header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Features grid ───────────────────────────────────────────────────────────── */

.land-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.land-feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.2s;
}

.land-feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(11,116,222,0.1);
  transform: translateY(-2px);
}

.land-feature-highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, #e6f4ff 0%, #fff 100%);
}

.land-feature-highlight .land-feature-icon {
  font-size: 2.4rem;
}

.land-feature-highlight h3 {
  color: var(--accent);
  font-size: 1.05rem;
}

.land-feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.land-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.land-feature-card p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── How it works ────────────────────────────────────────────────────────────── */

.land-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.land-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.land-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.land-step p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Pricing ─────────────────────────────────────────────────────────────────── */

.land-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}

.land-plan {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.2s;
}

.land-plan:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.land-plan.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(11,116,222,0.15);
  transform: translateY(-4px);
}

.land-plan.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(11,116,222,0.2);
}

.land-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.land-plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.land-plan-price {
  display: none;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.land-plan-price.active {
  display: flex;
}
/* Free plan has no toggle — always show */
.land-plan:not(.featured) .land-plan-price {
  display: flex;
}

.land-plan-price-toggle {
  display: flex;
  background: rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
  margin-bottom: 14px;
}
.land-interval-btn {
  flex: 1;
  padding: 6px 2px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.land-interval-btn:hover { color: #222; }
.land-interval-btn.active {
  background: #fff;
  color: #222;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.featured .land-interval-btn.active {
  background: #fff;
  color: var(--cta);
}

.land-plan-savings {
  width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cta);
  margin-top: 2px;
}

.land-plan-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.land-plan-amount {
  font-size: 2.8rem;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.04em;
  line-height: 1;
}

.land-plan-period {
  font-size: 0.82rem;
  color: var(--muted);
}

.land-plan-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 12px 0 24px;
  min-height: 40px;
}

.land-plan-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}

.land-plan-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.land-plan-features li {
  font-size: 0.87rem;
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.land-plan-features li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.land-plan-features li.muted {
  color: var(--muted);
}

.land-plan-features li.muted::before {
  content: "\2013";
  color: var(--border);
}

.land-plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.15s;
}

.land-plan-btn.outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--slate);
}

.land-plan-btn.outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.land-plan-btn.solid {
  background: var(--accent);
  color: var(--white);
}

.land-plan-btn.solid:hover {
  background: #0960b8;
  box-shadow: 0 4px 14px rgba(11,116,222,0.3);
}

/* ── CTA Banner ──────────────────────────────────────────────────────────────── */

.land-cta {
  background: linear-gradient(135deg, #0d1b3e 0%, #1e3a8a 100%);
  padding: 80px 5%;
  text-align: center;
  color: var(--white);
}

.land-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.land-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */

.land-footer {
  background: #0d1b3e;
  padding: 32px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.land-footer-brand {
  font-family: 'Segoe UI', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #6FA8FF;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.land-footer-brand span { color: #5B8FE0; }

.land-footer-links {
  display: flex;
  gap: 24px;
}

.land-footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.land-footer-links a:hover { color: rgba(255,255,255,0.85); }

.land-footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ── Pain Validation ─────────────────────────────────────────────────────────── */

.land-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.land-pain-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}

.land-pain-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.land-pain-card p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}

.land-pain-cta {
  text-align: center;
  margin-top: 36px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

/* ── Trust / Social Proof ────────────────────────────────────────────────────── */

.land-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.land-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.land-trust-icon {
  font-size: 2rem;
}

.land-trust-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.45;
}

/* ── Cost Comparison ─────────────────────────────────────────────────────────── */

.land-compare-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.land-compare-card {
  flex: 1;
  min-width: 260px;
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
}

.land-compare-them {
  background: var(--white);
  border: 1.5px solid var(--border);
}

.land-compare-us {
  background: linear-gradient(135deg, #e6f4ff 0%, #fff 100%);
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(11,116,222,0.1);
}

.land-compare-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.land-compare-price {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.land-compare-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.land-compare-detail {
  font-size: 0.85rem;
  color: var(--muted);
}

.land-compare-vs {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Compare context ────────────────────────────────────────────────────────── */

.land-compare-context {
  max-width: 620px;
  margin: 36px auto 0;
  text-align: center;
}

.land-compare-context p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 10px;
}

.land-compare-only {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem !important;
}

/* ── Plan note ───────────────────────────────────────────────────────────────── */

.land-plan-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ── Pain grid 3-column ─────────────────────────────────────────────────────── */

.land-pain-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .land-hamburger { display: flex; }

  .land-nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--brand-d);
    flex-direction: column;
    padding: 16px 5% 24px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .land-nav-links.is-open { display: flex; }

  .land-nav-links a {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .land-nav-links a:last-child { border-bottom: none; }

  .land-nav-cta {
    margin-top: 12px;
    text-align: center;
    display: block;
    padding: 14px 20px !important;
    border-radius: 10px;
  }

  .land-hero { padding: 64px 5% 56px; }
  .land-hero-stats { gap: 28px; }
  .land-footer { flex-direction: column; text-align: center; }
  .land-footer-links { justify-content: center; }

  /* Pain grid — stack on mobile */
  .land-pain-grid-3 {
    grid-template-columns: 1fr;
  }

  /* Cost comparison — stack vertically with centered vs badge */
  .land-compare-grid {
    flex-direction: column;
    gap: 0;
  }

  .land-compare-card {
    min-width: unset;
    width: 100%;
  }

  .land-compare-vs {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -12px auto;
    position: relative;
    z-index: 1;
  }
}
