/* KaloNess website — the app's own identity: turquoise #12F2D6 + violet #7C5CFF on deep navy #020D16. */
:root {
  --bg: #020d16;
  --surface: #0c1a24;
  --surface-2: #122533;
  --line: rgb(255 255 255 / 0.09);
  --ink: #eef3f7;
  --mute: #a3aeba;
  --teal: #12f2d6;
  --violet: #7c5cff;
  --amber: #ffc145;
  --radius: 22px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.75 "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Readex Pro", "IBM Plex Sans Arabic", sans-serif; line-height: 1.3; margin: 0 0 12px; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgb(2 13 22 / 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 20px "Readex Pro", sans-serif; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--mute); }
.nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) { .nav { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 14px; font-weight: 700; border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: #031b1f; box-shadow: 0 12px 30px -12px rgb(18 242 214 / 0.7); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: rgb(255 255 255 / 0.04); }

/* Hero */
/* The glows spill softly past the hero; the page itself never scrolls sideways. */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding: 72px 0 40px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; z-index: -1; }
.hero::before { width: 520px; height: 520px; background: #007a6e; top: -160px; inset-inline-start: -120px; }
.hero::after { width: 460px; height: 460px; background: #3a1fa8; bottom: -180px; inset-inline-end: -100px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 700; }
.hero h1 .grad { background: linear-gradient(90deg, var(--teal), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--mute); max-width: 34em; margin: 0 0 26px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: #000; border: 1px solid rgb(255 255 255 / 0.2); color: #fff; min-width: 170px; }
.store small { display: block; font-size: 11px; color: #c9d1d9; line-height: 1.2; }
.store b { display: block; font-size: 16px; line-height: 1.3; }
.store svg { width: 26px; height: 26px; flex: none; }
.soon { font-size: 13px; color: var(--amber); margin-top: 12px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

/* Phone frames */
.phones { display: flex; justify-content: center; gap: 18px; }
.phone { width: 230px; aspect-ratio: 9 / 19; border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #22323f, #0e161e); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.15); flex: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.phones .phone:nth-child(2) { transform: translateY(36px); }
@media (max-width: 560px) { .phone { width: 170px; } .phones .phone:nth-child(2) { display: none; } }

/* Sections */
section { padding: 72px 0; }
.eyebrow { color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; margin-bottom: 8px; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-head p { color: var(--mute); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card p { color: var(--mute); margin: 0; font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: rgb(18 242 214 / 0.12); color: var(--teal); }
.icon.v { background: rgb(124 92 255 / 0.16); color: #a993ff; }
.icon svg { width: 24px; height: 24px; }

/* Showcase rows */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.show:last-child { margin-bottom: 0; }
.show.flip .show-text { order: 2; }
.show h3 { font-size: clamp(22px, 3vw, 30px); }
.show p { color: var(--mute); }
.show ul { padding-inline-start: 20px; color: var(--mute); margin: 0; }
.show li { margin: 6px 0; }
.show li::marker { color: var(--teal); }
@media (max-width: 860px) { .show { grid-template-columns: 1fr; gap: 28px; } .show.flip .show-text { order: 0; } }

/* Steps */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 20px; inset-inline-start: 24px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-weight: 700; font-size: 15px; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--mute); margin: 10px 0 0; }

/* CTA + footer */
.cta { text-align: center; background: linear-gradient(135deg, rgb(18 242 214 / 0.14), rgb(124 92 255 / 0.18)); border: 1px solid var(--line); border-radius: 28px; padding: 48px 24px; }
.cta h2 { font-size: clamp(26px, 3.6vw, 36px); }
.cta p { color: var(--mute); margin: 0 0 24px; }
.cta .stores { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--mute); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--mute); }
footer a:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 48px 20px 72px; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); }
.legal .updated { color: var(--mute); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 21px; margin-top: 34px; color: var(--teal); }
.legal p, .legal li { color: #d6dee5; }
.legal ul { padding-inline-start: 22px; }
.legal li { margin: 6px 0; }
.legal .note { background: rgb(255 193 69 / 0.08); border: 1px solid rgb(255 193 69 / 0.3); border-radius: 14px; padding: 14px 18px; }
.legal .note b { color: var(--amber); }
.fill { background: rgb(255 193 69 / 0.18); color: var(--amber); padding: 0 6px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: #fff; color: #111; }
  .top, footer { display: none; }
  .legal p, .legal li { color: #111; }
  .legal h2 { color: #00695c; }
}
