/* ==========================================================================
   Skipzzy — brand stylesheet
   Design tokens, layout system, and components for the marketing site.
   ========================================================================== */

:root {
  --ink: #10101a;
  --ink-soft: #4a4a5c;
  --paper: #ffffff;
  --paper-soft: #f6f4ff;
  --line: #e7e4f5;

  --brand: #6c4cff;
  --brand-dark: #4f31e0;
  --brand-tint: #efeaff;
  --lime: #c8ff4d;
  --lime-dark: #a3e022;
  --coral: #ff6b8b;

  --shadow-sm: 0 2px 10px rgba(16, 16, 26, 0.06);
  --shadow-md: 0 12px 30px rgba(16, 16, 26, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 16, 26, 0.16);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --container: 1180px;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}
p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px 7px 8px;
  border-radius: var(--radius-pill);
  background: var(--brand-tint);
  color: var(--brand-dark);
}
.eyebrow .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-md); }
.btn-lime {
  background: var(--lime);
  color: var(--ink);
}
.btn-lime:hover { background: var(--lime-dark); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand span.zzy { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* mobile drawer */
.mobile-panel {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: #fff;
  z-index: 99;
  padding: 28px 24px;
  overflow-y: auto;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block;
  padding: 16px 0;
  font-size: 19px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-panel .btn { margin-top: 24px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 60px;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  opacity: 0.55;
}
.blob-1 { width: 480px; height: 480px; background: var(--brand-tint); top: -180px; right: -140px; }
.blob-2 { width: 360px; height: 360px; background: #fff3d6; bottom: -120px; left: -100px; opacity: 0.7; }

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin: 20px 0 18px;
}
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline svg {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 14px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 30px;
}

.pincode-form {
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 8px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  max-width: 460px;
}
.pincode-form input {
  border: none;
  outline: none;
  flex: 1;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  min-width: 0;
}
.pincode-form button { flex-shrink: 0; }

.hero-cta-row { display: flex; gap: 12px; margin-top: 26px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.hero-stats .stat-num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
}
.hero-stats .stat-label { font-size: 13px; color: var(--ink-soft); }

/* ---------- phone mockup ---------- */
.phone {
  width: 290px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 8px;
  background: #000;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.phone-screen {
  background: var(--paper-soft);
  border-radius: 30px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px 6px;
  font-size: 12px;
  font-weight: 600;
}
.phone-app-bar {
  padding: 6px 18px 14px;
}
.phone-app-bar .greet { font-size: 12px; color: var(--ink-soft); }
.phone-app-bar .eta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  margin-top: 2px;
}
.phone-app-bar .eta .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-dark);
  box-shadow: 0 0 0 0 rgba(163, 224, 34, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(163, 224, 34, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(163, 224, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(163, 224, 34, 0); }
}
.phone-search {
  margin: 0 18px 14px;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.phone-banner {
  margin: 0 18px 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 12px;
}
.phone-banner b { font-family: var(--font-head); font-size: 15px; display: block; margin-bottom: 4px; }
.phone-grid {
  flex: 1;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.phone-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.phone-card .emoji { font-size: 22px; }
.phone-card .name { font-size: 12px; font-weight: 600; margin-top: 8px; }
.phone-card .price { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.phone-cart {
  margin: 14px 18px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 13px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.phone-cart span.lime { color: var(--lime); }

/* floating chips on hero visual */
.hero-visual { position: relative; }
.float-chip {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
}
.float-chip.chip-1 { top: 8%; left: -30px; animation-delay: 0s; }
.float-chip.chip-2 { bottom: 12%; right: -24px; animation-delay: 1.4s; }
.float-chip .ico { font-size: 18px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- marquee ---------- */
.marquee-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll-left 26s linear infinite;
}
.marquee-track span {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.marquee-track span::after { content: "•"; color: var(--lime); margin-left: 36px; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- section shell ---------- */
section { padding: 96px 0; }
.section-head {
  max-width: 620px;
  margin: 0 0 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-top: 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.step {
  background: var(--paper-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.step .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ---------- categories bento ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--paper-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 1px solid transparent;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: #fff;
  border-color: var(--line);
}
.cat-card .emoji {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.cat-card h4 { font-size: 16px; margin-bottom: 4px; }
.cat-card p { font-size: 13px; color: var(--ink-soft); }

/* ---------- features bento ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.feat-card {
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.feat-card.big { grid-column: span 4; background: var(--ink); color: #fff; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.feat-card.tall { grid-column: span 2; background: var(--brand); color: #fff; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.feat-card.small { grid-column: span 3; background: var(--paper-soft); min-height: 220px; }
.feat-card h3 { font-size: 22px; margin-bottom: 10px; }
.feat-card p { font-size: 14.5px; opacity: 0.85; }
.feat-card.small p { color: var(--ink-soft); opacity: 1; }
.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feat-card.small .feat-icon { background: #fff; box-shadow: var(--shadow-sm); }
.feat-card.big .feat-icon { background: var(--lime); color: var(--ink); }

/* ---------- app cta ---------- */
.app-cta {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.app-cta::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--brand);
  filter: blur(100px);
  opacity: 0.5;
  top: -140px;
  right: -80px;
}
.app-cta-content { position: relative; z-index: 1; max-width: 480px; }
.app-cta h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 16px 0 14px; }
.app-cta p { color: rgba(255, 255, 255, 0.75); font-size: 16px; margin-bottom: 28px; }
.app-cta .phone { position: relative; z-index: 1; transform: scale(0.85); margin: -40px -10px; }

/* ---------- testimonials ---------- */
.testi-scroller {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.testi-scroller::-webkit-scrollbar { height: 6px; }
.testi-scroller::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
.testi-card {
  scroll-snap-align: start;
  flex: 0 0 340px;
  background: var(--paper-soft);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testi-stars { color: var(--lime-dark); font-size: 15px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p.quote { font-size: 15.5px; line-height: 1.6; margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
}
.testi-person .name { font-weight: 600; font-size: 14px; }
.testi-person .role { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- final cta banner ---------- */
.cta-banner {
  text-align: center;
  padding: 0 0 20px;
}
.cta-banner .inner {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: var(--radius-lg);
  padding: 80px 24px;
  color: #fff;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(30px, 4.4vw, 46px); max-width: 700px; margin: 0 auto 16px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); font-size: 17px; margin-bottom: 32px; }
.cta-banner .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer {
  padding: 72px 0 0;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand p { color: var(--ink-soft); font-size: 14.5px; margin: 16px 0 22px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.footer-col h5 { font-family: var(--font-head); font-size: 14px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--ink-soft); font-size: 14.5px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.footer-bottom .legal { display: flex; gap: 22px; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card.big, .feat-card.tall, .feat-card.small { grid-column: span 2; }
  .app-cta { grid-template-columns: 1fr; text-align: center; padding: 56px 32px; }
  .app-cta-content { max-width: none; margin: 0 auto; }
  .app-cta .phone { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .pincode-form { flex-direction: column; border-radius: var(--radius-md); }
  .pincode-form .btn { width: 100%; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .feat-card.big, .feat-card.tall, .feat-card.small { grid-column: span 2; }
  .app-cta { margin: 0 12px; }
  .cta-banner .inner { margin: 0 12px; padding: 56px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
