/* =====================================================================
   TOKPOS — Landing Page
   Siyati: motif "resi kès" (receipt/ticket) — hero a ak plan abònman yo
   parèt tankou vrè resi ki soti nan yon enprimant, paske se egzakteman
   sa TOKPOS fè pou biznis ou.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --navy: #17313a;
  --navy-deep: #0d2027;
  --teal: #38c9c2;
  --teal-dark: #1f8c86;
  --teal-light: #a8e8e3;
  --paper: #fbf7ee;
  --paper-line: #e4dcc8;
  --amber: #f5a623;
  --amber-dark: #c97e0f;
  --ink: #1f2b28;
  --muted: #5d6e6a;
  --muted-on-dark: #9fb3ae;
  --danger: #d64545;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-card: 14px;
  --shadow-soft: 0 20px 50px rgba(13, 32, 39, 0.16);
  --shadow-ticket: 0 24px 60px rgba(13, 32, 39, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--navy); letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--amber); display: inline-block; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 780px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
}

.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.section-head p { font-size: 17px; color: var(--muted); margin-top: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 9px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--amber); color: var(--navy-deep); box-shadow: 0 10px 26px rgba(245, 166, 35, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245, 166, 35, 0.45); }
.btn-ghost { background: transparent; color: var(--paper); border: 1.5px solid rgba(251,247,238,0.35); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--paper); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- Top nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 49, 58, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand .mark {
  width: 36px; height: 36px; border-radius: 8px; background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; color: var(--navy-deep); font-size: 14px;
}
.nav-brand .word { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--paper); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--muted-on-dark); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--paper); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; color: var(--paper); font-size: 26px; cursor: pointer; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
}
.nav-mobile {
  display: none; flex-direction: column; gap: 4px; background: var(--navy);
  padding: 10px 24px 22px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--muted-on-dark); text-decoration: none; padding: 12px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 15% -10%, rgba(56,201,194,0.25), transparent 60%), var(--navy);
  color: var(--paper);
  padding: 84px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.85fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .hero .container { grid-template-columns: 1fr; } .hero { padding: 56px 0 70px; text-align: left; } }

.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; color: var(--paper); }
.hero h1 .hl { color: var(--teal); }
.hero .lede { font-size: 18px; color: var(--muted-on-dark); margin-top: 20px; max-width: 480px; }
.hero .eyebrow { color: var(--teal-light); }
.hero .eyebrow::before { background: var(--amber); }

.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust span { font-size: 13.5px; color: var(--muted-on-dark); display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); }
.hero-trust span::before { content: '✓'; color: var(--teal); font-weight: 700; }

/* ---------- Receipt illustration (signature element) ---------- */
.receipt-wrap { display: flex; justify-content: center; }
.receipt {
  background: var(--paper);
  color: var(--ink);
  width: 100%; max-width: 340px;
  padding: 26px 22px 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: var(--shadow-ticket);
  transform: rotate(2deg);
  position: relative;
  clip-path: polygon(
    0% 1%, 3% 0%, 6% 1.5%, 9% 0%, 12% 1.5%, 15% 0%, 18% 1.5%, 21% 0%, 24% 1.5%, 27% 0%,
    30% 1.5%, 33% 0%, 36% 1.5%, 39% 0%, 42% 1.5%, 45% 0%, 48% 1.5%, 51% 0%, 54% 1.5%, 57% 0%,
    60% 1.5%, 63% 0%, 66% 1.5%, 69% 0%, 72% 1.5%, 75% 0%, 78% 1.5%, 81% 0%, 84% 1.5%, 87% 0%,
    90% 1.5%, 93% 0%, 96% 1.5%, 100% 0%,
    100% 97%, 97% 100%, 94% 98%, 91% 100%, 88% 98%, 85% 100%, 82% 98%, 79% 100%, 76% 98%, 73% 100%,
    70% 98%, 67% 100%, 64% 98%, 61% 100%, 58% 98%, 55% 100%, 52% 98%, 49% 100%, 46% 98%, 43% 100%,
    40% 98%, 37% 100%, 34% 98%, 31% 100%, 28% 98%, 25% 100%, 22% 98%, 19% 100%, 16% 98%, 13% 100%,
    10% 98%, 7% 100%, 4% 98%, 0% 100%
  );
}
.receipt-header { text-align: center; border-bottom: 1px dashed var(--paper-line); padding-bottom: 14px; margin-bottom: 14px; }
.receipt-header .biz { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.receipt-header .sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.receipt-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; opacity: 0; transform: translateY(6px); animation: receiptLine .5s ease forwards; }
.receipt-line .name { color: var(--ink); }
.receipt-line .check { color: var(--teal-dark); font-weight: 600; }
.receipt-total {
  border-top: 1px dashed var(--paper-line); margin-top: 12px; padding-top: 14px;
  display: flex; justify-content: space-between; align-items: baseline;
  opacity: 0; transform: translateY(6px); animation: receiptLine .5s ease forwards;
}
.receipt-total .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.receipt-total .value { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--teal-dark); }
.receipt-barcode { margin-top: 18px; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px); opacity: .82; }
.receipt-barcode + .receipt-code { text-align: center; font-size: 10px; color: var(--muted); margin-top: 6px; letter-spacing: .12em; }

@keyframes receiptLine { to { opacity: 1; transform: translateY(0); } }

/* ---------- How it works (legitimate sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 6px; }
.step .num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--teal-dark);
  border: 1.5px solid var(--teal); border-radius: 999px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step-arrow { display: none; }
@media (min-width: 781px) {
  .step:not(:last-child)::after {
    content: '→'; position: absolute; right: -24px; top: 8px; color: var(--paper-line); font-size: 22px;
  }
}

/* ---------- Feature tickets ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius-card);
  padding: 26px 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(56,201,194,0.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--teal-dark);
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Pricing (receipt-style cards) ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.plan-ticket {
  background: #fff; border: 1px solid var(--paper-line); border-radius: 4px;
  padding: 30px 26px 26px; position: relative; box-shadow: 0 10px 30px rgba(13,32,39,0.06);
}
.plan-ticket.featured { border: 1.5px solid var(--teal); box-shadow: var(--shadow-soft); transform: translateY(-10px); }
@media (max-width: 980px) { .plan-ticket.featured { transform: none; } }

.plan-stamp {
  position: absolute; top: -14px; right: 20px; transform: rotate(-8deg);
  border: 2px solid var(--amber); color: var(--amber-dark); font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 10px; border-radius: 6px;
  background: #fff;
}
.plan-name { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; }
.plan-price { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--navy); margin: 10px 0 2px; }
.plan-price .period { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--muted); }
.plan-tagline { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.plan-items { list-style: none; padding: 0; margin: 0 0 26px; border-top: 1px dashed var(--paper-line); padding-top: 18px; }
.plan-items li { display: flex; gap: 10px; font-size: 14px; padding: 7px 0; color: var(--ink); }
.plan-items li::before { content: '✓'; color: var(--teal-dark); font-weight: 700; flex-shrink: 0; }

/* ---------- Demo form ---------- */
.demo-section { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.demo-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 90% 10%, rgba(56,201,194,0.18), transparent 60%);
}
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; position: relative; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-section .eyebrow { color: var(--teal-light); }
.demo-section h2 { color: var(--paper); }
.demo-section .section-head p { color: var(--muted-on-dark); }

.demo-perks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 16px; }
.demo-perks li { display: flex; gap: 12px; font-size: 15px; color: var(--muted-on-dark); }
.demo-perks li .ic { color: var(--teal); flex-shrink: 0; }

.demo-form {
  background: var(--paper); color: var(--ink); border-radius: var(--radius-card);
  padding: 32px; box-shadow: var(--shadow-soft);
}
.demo-form h3 { font-size: 20px; margin-bottom: 4px; }
.demo-form .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--paper-line); border-radius: 8px;
  font-family: var(--font-body); font-size: 14.5px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal);
}
.field textarea { resize: vertical; min-height: 80px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-success { background: #e3f3e5; border: 1px solid #b7dfbd; color: #1a7a3d; padding: 16px 18px; border-radius: 10px; font-size: 14.5px; margin-bottom: 18px; }
.form-error { background: #fbe6e4; border: 1px solid #f0bcb7; color: #b5342d; padding: 16px 18px; border-radius: 10px; font-size: 14.5px; margin-bottom: 18px; }

/* ---------- Contact / Footer ---------- */
.contact-section { padding: 88px 0 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius-card); padding: 24px;
  display: flex; gap: 14px; align-items: flex-start;
}
.contact-card .ic { width: 40px; height: 40px; border-radius: 9px; background: rgba(56,201,194,0.12); display: flex; align-items: center; justify-content: center; color: var(--teal-dark); flex-shrink: 0; }
.contact-card h4 { font-size: 14.5px; margin-bottom: 5px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--muted); text-decoration: none; margin: 0; }
.contact-card a:hover { color: var(--teal-dark); }

.site-footer { background: var(--navy-deep); color: var(--muted-on-dark); margin-top: 90px; padding: 46px 0 26px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--muted-on-dark); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 12.5px; }

/* ---------- Photo konfyans (apre hero) ---------- */
.proof-section { padding: 0; }
.proof-photo-wrap {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-soft); max-width: 1000px; margin: 0 auto;
}
.proof-photo-wrap img { width: 100%; height: auto; display: block; }
.proof-caption {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  background: rgba(23, 49, 58, 0.82); backdrop-filter: blur(6px);
  color: var(--paper); padding: 16px 20px; border-radius: 12px;
  display: flex; align-items: center; gap: 14px; max-width: 460px;
}
.proof-caption .ic { color: var(--teal); flex-shrink: 0; }
.proof-caption p { margin: 0; font-size: 14px; line-height: 1.4; }
.proof-caption strong { display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 620px) {
  .proof-caption { position: static; margin-top: -8px; border-radius: 0 0 18px 18px; }
}

/* ---------- Materyèl konpatib ---------- */
.hardware-section { background: #fff; }
.hardware-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .hardware-grid { grid-template-columns: 1fr; } }
.hardware-photo { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); }
.hardware-photo img { width: 100%; height: auto; display: block; }
.hardware-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 18px; }
.hardware-list li { display: flex; gap: 14px; align-items: flex-start; }
.hardware-list .ic {
  width: 38px; height: 38px; border-radius: 9px; background: rgba(56,201,194,0.12);
  display: flex; align-items: center; justify-content: center; color: var(--teal-dark); flex-shrink: 0;
}
.hardware-list h4 { font-size: 15.5px; margin: 0 0 3px; font-family: var(--font-display); color: var(--navy); }
.hardware-list p { margin: 0; font-size: 14px; color: var(--muted); }
.hardware-note {
  margin-top: 22px; padding: 14px 16px; background: var(--paper); border: 1px dashed var(--paper-line);
  border-radius: 10px; font-size: 13.5px; color: var(--muted); font-family: var(--font-mono);
}
/* ---------- Wè l an aksyon (2 foto kòt kòt) ---------- */
.action-section { background: #fff; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 780px) { .action-grid { grid-template-columns: 1fr; } }
.action-card { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); position: relative; }
.action-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; }
.action-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(13,32,39,0.92) 0%, rgba(13,32,39,0.55) 60%, transparent 100%);
  color: var(--paper); padding: 20px 22px 18px;
}
.action-caption .tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 6px; display: block;
}
.action-caption h3 { color: var(--paper); font-size: 18px; margin-bottom: 4px; }
.action-caption p { color: var(--muted-on-dark); font-size: 13.5px; margin: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
