/* ===========================================================
   Quiosque25 — Apple-inspired minimalist design system
   =========================================================== */

:root {
  --black: #1d1d1f;
  --gray: #86868b;
  --gray-light: #f5f5f7;
  --gray-line: #d2d2d7;
  --white: #ffffff;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-link: #2997ff;
  --accent: #6e56cf;
  --gradient: linear-gradient(135deg, #6e56cf 0%, #0071e3 50%, #00c4cc 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1024px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Inter", system-ui, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.47;
  letter-spacing: -0.01em;
  font-size: 17px;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
a:hover { opacity: 0.7; }

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

/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}
.section { padding: 110px 0; }
.section-sm { padding: 64px 0; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 48px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 19px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo:hover { opacity: 1; }
.nav-logo .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, #6e56cf, #0071e3);
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--black);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 980px;
  font-size: 14px;
}
.nav-cta:hover { background: var(--blue-hover); opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  padding: 12px 24px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { background: var(--blue-hover); opacity: 1; }
.btn:active { transform: scale(0.97); }
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--gray-line);
}
.btn-secondary:hover { background: var(--gray-light); }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding: 12px 4px;
}
.btn-ghost:hover { background: transparent; text-decoration: underline; }
.btn-arrow::after { content: " ›"; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 21px;
  font-weight: 600;
  background: linear-gradient(120deg, #6e56cf, #0071e3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.05; font-weight: 600; }

.hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 600;
  line-height: 1.02;
}
.hero .sub {
  font-size: clamp(21px, 3vw, 28px);
  color: var(--gray);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 18px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
h2.headline { font-size: clamp(34px, 5vw, 56px); }
.lead { font-size: clamp(19px, 2.4vw, 24px); color: var(--gray); font-weight: 400; }

.text-center { text-align: center; }
.muted { color: var(--gray); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 90px 0 70px;
  background: radial-gradient(120% 90% at 50% 0%, #f0ecff 0%, #fbfbfd 45%, #fff 100%);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 26px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.hero-actions .link-arrow { font-size: 17px; }
.link-arrow::after { content: " ›"; }

/* ---------- Visual / mock player ---------- */
.visual {
  margin: 56px auto 0;
  max-width: 720px;
  background: #0b0b0f;
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #fff;
  box-shadow: 0 40px 90px -30px rgba(40, 20, 90, 0.45);
  text-align: left;
}
.wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 90px;
  margin-bottom: 26px;
}
.wave span {
  flex: 1;
  background: linear-gradient(180deg, #9a7cff, #2997ff);
  border-radius: 4px;
  animation: pulse 1.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.result-row .label { color: #a1a1aa; font-size: 14px; }
.result-row .value { font-weight: 600; font-size: 17px; }
.tag {
  background: rgba(110, 86, 207, 0.25);
  color: #c4b5ff;
  padding: 4px 12px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
}
.confidence {
  height: 6px;
  width: 120px;
  background: rgba(255,255,255,0.12);
  border-radius: 980px;
  overflow: hidden;
}
.confidence i { display: block; height: 100%; background: linear-gradient(90deg,#9a7cff,#2997ff); }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 56px;
}
.card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); }
.card .ico {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: #fff;
  font-size: 24px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.2);
}
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 17px; }

.card.dark {
  background: #0b0b0f;
  color: #fff;
}
.card.dark p { color: #a1a1aa; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat .num {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #6e56cf, #0071e3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .cap { color: var(--gray); font-size: 16px; margin-top: 4px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 30px; margin-top: 56px; }
.step .n {
  font-size: 15px; font-weight: 600; color: var(--blue);
  letter-spacing: 0.02em;
}
.step h3 { font-size: 22px; margin: 10px 0 8px; }
.step p { color: var(--gray); }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 56px auto 0;
}
.plan {
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.18); }
.plan.featured {
  border-color: transparent;
  background: #0b0b0f;
  color: #fff;
  position: relative;
}
.plan.featured .price, .plan.featured h3 { color: #fff; }
.plan.featured .feat li { color: #d1d1d6; }
.badge {
  position: absolute; top: 22px; right: 22px;
  background: linear-gradient(135deg,#6e56cf,#0071e3);
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 980px;
  letter-spacing: 0.02em;
}
.plan h3 { font-size: 24px; margin-bottom: 6px; }
.plan .tagline { color: var(--gray); font-size: 15px; min-height: 42px; }
.plan.featured .tagline { color: #a1a1aa; }
.price { font-size: 56px; font-weight: 600; letter-spacing: -0.04em; margin: 18px 0 2px; }
.price small { font-size: 17px; font-weight: 400; color: var(--gray); letter-spacing: -0.01em; }
.plan .btn { margin: 26px 0; width: 100%; text-align: center; }
.plan.featured .btn { background: #fff; color: #0b0b0f; }
.plan.featured .btn:hover { background: #e8e8ed; }
.feat { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.feat li {
  font-size: 16px; color: #424245;
  padding-left: 28px; position: relative;
}
.feat li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 700;
}
.plan.featured .feat li::before { color: #6e9bff; }
.feat li.off { color: var(--gray-line); }
.feat li.off::before { content: "–"; color: var(--gray-line); }

.price-note {
  text-align: center; color: var(--gray); font-size: 14px;
  margin-top: 36px; max-width: 620px; margin-left: auto; margin-right: auto;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 48px auto 0; }
.faq details {
  border-bottom: 1px solid var(--gray-line);
  padding: 22px 0;
}
.faq summary {
  font-size: 20px; font-weight: 500; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--gray); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--gray); margin-top: 14px; font-size: 17px; max-width: 660px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(120% 140% at 50% 0%, #1a1340 0%, #0b0b0f 60%);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 80px 30px;
}
.cta-band h2 { font-size: clamp(32px, 5vw, 50px); }
.cta-band p { color: #a1a1aa; margin: 16px auto 32px; max-width: 520px; font-size: 19px; }
.cta-band .btn { background: #fff; color: #0b0b0f; }
.cta-band .btn:hover { background: #e8e8ed; }

/* ---------- Legal / long-form pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 70px 22px 100px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 8px; }
.legal .updated { color: var(--gray); font-size: 15px; margin-bottom: 44px; }
.legal h2 { font-size: 26px; margin: 44px 0 14px; }
.legal h3 { font-size: 20px; margin: 28px 0 10px; }
.legal p, .legal li { color: #424245; font-size: 17px; margin-bottom: 14px; line-height: 1.6; }
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--black); }
.legal .callout {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 24px 0;
}
.legal .callout p:last-child { margin-bottom: 0; }
.legal a { color: var(--blue); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.contact-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-card .ico { font-size: 26px; margin-bottom: 14px; }
.contact-card h3 { font-size: 20px; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 16px; color: var(--gray); }
.contact-card a { color: var(--blue); display: block; margin-top: 4px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-light);
  font-size: 12px;
  color: var(--gray);
  padding: 44px 0 36px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--gray-line);
}
.footer h4 { font-size: 12px; color: var(--black); margin-bottom: 12px; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer a { color: var(--gray); }
.footer a:hover { color: var(--black); }
.footer .bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1.5;
}
.footer .bottom .mor { max-width: 640px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 734px) {
  .nav-links { gap: 18px; }
  .nav-links li.hide-sm { display: none; }
  .section { padding: 80px 0; }
  .footer .bottom { flex-direction: column; }
}
