/* ============================================================
   DAKHANA PORTAL — LANDING PAGE
   Reuses --ink/--paper/--stamp-red tokens from css/style.css
   for brand consistency with the app itself.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* style.css sets html,body { height:100% } for the app's fixed-viewport layout —
   override it here since the landing page is a long, normally-scrolling page
   (without this, position:sticky on .nav only "sticks" within that first
   100vh and then scrolls away, instead of staying pinned the whole way down). */
html, body { height: auto; min-height: 100%; }
body { margin: 0; background: var(--paper); color: var(--text-on-paper); font-family: var(--font-body); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
@media (max-width: 640px) { section { padding: 56px 0; } }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; }
a { text-decoration: none; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); border-bottom: 1px solid var(--line-soft);
}
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { color: var(--text-on-ink); font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.nav-brand .mark { color: var(--stamp-red); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-muted-on-ink); font-size: 14px; }
.nav-links a:hover { color: var(--text-on-ink); }
.nav-cta { background: var(--stamp-red); color: #fff !important; padding: 9px 18px; border-radius: 6px; font-weight: 600; }
.nav-mobile-toggle { display: none; }
@media (max-width: 720px) {
  .nav-links-desktop { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* ---------- HERO ---------- */
.hero {
  background: var(--ink); color: var(--text-on-ink);
  padding: 90px 0 100px;
  position: relative; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  color: var(--amber); border: 1px solid var(--amber); border-radius: 20px; padding: 4px 14px; margin-bottom: 18px;
}
.hero h1 { font-size: 46px; letter-spacing: -0.01em; }
@media (max-width: 640px) { .hero h1 { font-size: 32px; } }
.hero p.sub { font-size: 17px; color: var(--text-muted-on-ink); max-width: 480px; margin: 20px 0 30px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--stamp-red); color: #fff; padding: 13px 26px; border-radius: 6px;
  font-weight: 600; font-size: 15px; display: inline-block; border: none; cursor: pointer;
}
.btn-secondary {
  background: transparent; color: var(--text-on-ink); padding: 13px 26px; border-radius: 6px;
  font-weight: 600; font-size: 15px; border: 1px solid var(--line-soft); display: inline-block; cursor: pointer;
}

/* The signature element: a rotated postal stamp badge with perforated edges */
.stamp-badge {
  width: 240px; height: 240px; margin: 0 auto;
  background: var(--paper); border-radius: 4px;
  transform: rotate(-6deg);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  -webkit-mask-image: radial-gradient(circle 5px at 0 0, transparent 5px, black 5.5px);
}
.stamp-badge::before {
  content: ''; position: absolute; inset: 0; border-radius: 4px;
  background-image:
    radial-gradient(circle 5px, transparent 4px, var(--paper) 5px);
  background-size: 20px 20px;
  background-position: -10px -10px;
  pointer-events: none;
}
.stamp-inner { border: 1.5px dashed var(--stamp-red); width: 85%; height: 85%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; }
.stamp-inner .vpp { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--stamp-red); letter-spacing: 0.05em; }
.stamp-inner .country { font-family: var(--font-mono); font-size: 10px; color: var(--text-on-paper); margin-top: 6px; letter-spacing: 0.1em; }
.stamp-inner .figure { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--text-on-paper); margin: 8px 0; }
.stamp-inner .sub-label { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted-on-paper); }

/* ---------- SECTION HEADERS ---------- */
.section-head { max-width: 560px; margin-bottom: 44px; }
.section-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--stamp-red); text-transform: uppercase; margin-bottom: 10px; display: block; }
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--text-muted-on-paper); font-size: 15.5px; margin-top: 12px; line-height: 1.6; }

/* ---------- FEATURES ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; }
.feature-card .icon { font-size: 26px; margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted-on-paper); line-height: 1.55; margin: 0; }

/* ---------- HOW IT WORKS ---------- */
.steps { display: flex; flex-direction: column; }
.step-row { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-soft); }
.step-row:last-child { border-bottom: 1px solid var(--line-soft); }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--stamp-red); padding-top: 3px; }
.step-row h3 { font-size: 17px; margin-bottom: 4px; }
.step-row p { font-size: 14px; color: var(--text-muted-on-paper); margin: 0; line-height: 1.55; }

/* ---------- DEMO VIDEO ---------- */
.video-frame {
  aspect-ratio: 16/9; background: var(--ink); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  color: var(--text-muted-on-ink);
}
.video-frame .play-mark { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--amber); display: flex; align-items: center; justify-content: center; color: var(--amber); font-size: 22px; }

/* ---------- PRICING ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: #fff; border: 1.5px solid var(--line-soft); border-radius: var(--radius); padding: 32px; }
.price-card.featured { border-color: var(--stamp-red); position: relative; }
.price-card .badge { position: absolute; top: -12px; right: 24px; background: var(--stamp-red); color: #fff; font-size: 11px; padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.price-card .plan-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-muted-on-paper); text-transform: uppercase; }
.price-card .amount { font-family: var(--font-display); font-size: 40px; font-weight: 700; margin: 10px 0; }
.price-card .amount .period { font-size: 14px; color: var(--text-muted-on-paper); font-family: var(--font-body); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0; }
.price-card li { font-size: 14px; padding: 7px 0; display: flex; gap: 8px; }
.price-card li::before { content: '✓'; color: var(--ledger-green); font-weight: 700; }

/* ---------- TESTIMONIALS (placeholder) ---------- */
.testimonial-placeholder {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 44px; text-align: center;
  color: var(--text-muted-on-paper);
}

/* ---------- COMPANY ---------- */
.company-section { background: var(--ink); color: var(--text-on-ink); }
.company-section .section-head p { color: var(--text-muted-on-ink); }
.company-section .section-eyebrow { color: var(--amber); }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form .fg { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 13px; margin-bottom: 6px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--line-soft); border-radius: 6px; padding: 10px 12px; font-family: var(--font-body); font-size: 14px;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-info-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; }
.contact-info-card .row { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--text-muted-on-ink); padding: 40px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer a { color: var(--text-muted-on-ink); }
.footer a:hover { color: var(--text-on-ink); }
.footer-links { display: flex; gap: 20px; }
