/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:    #5BAEFF;
  --accent-2:  #7AFFC8;
  --accent-3:  #2BC5A8;
  --gradient-top:    #0E3A45;
  --gradient-mid:    #07252E;
  --gradient-bottom: #02101A;
  --surface:  rgba(91,174,255,0.08);
  --border:   rgba(91,174,255,0.18);
  --text:     #ffffff;
  --text-dim: rgba(255,255,255,0.55);
  --text-muted: rgba(255,255,255,0.35);
  --nav-h: 68px;
  --max-w: 1100px;
  --radius: 20px;
  --radius-sm: 12px;
}

html { scroll-behavior: smooth; background-color: #0E3A45; overscroll-behavior-y: none; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--gradient-top) 0%, var(--gradient-mid) 45%, var(--gradient-bottom) 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ─── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(91,174,255,0.4); border-radius: 3px; }

/* ─── UTILITIES ─────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700; line-height: 1.15; color: var(--text);
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 14px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(91,174,255,0.40);
}
.btn--primary:hover { box-shadow: 0 12px 40px rgba(122,255,200,0.45); }

.btn--ghost {
  background: rgba(91,174,255,0.10);
  color: var(--accent-2);
  border: 1px solid rgba(91,174,255,0.25);
}
.btn--ghost:hover { background: rgba(91,174,255,0.18); }

/* ─── NAV ───────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: var(--nav-h);
  background: rgba(7, 37, 46, 0.92);
  border-bottom: 1px solid rgba(91,174,255,0.12);
  position: sticky; top: 0; z-index: 999;
  backdrop-filter: blur(16px);
}

.nav-back {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--text-dim); transition: color 0.2s;
}
.nav-back:hover { color: #fff; }

.nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(91,174,255,0.25);
  background: rgba(91,174,255,0.10);
  color: var(--accent-2); transition: all 0.2s;
}
.nav-btn:hover { background: rgba(91,174,255,0.20); color: #fff; }

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(90px);
  pointer-events: none; opacity: 0.28;
}
.hero__glow--center {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #5BAEFF 0%, transparent 70%);
  top: -80px; left: 50%; transform: translateX(-50%);
}
.hero__glow--left {
  width: 360px; height: 360px;
  background: #2BC5A8;
  top: 40px; left: -120px;
}
.hero__glow--right {
  width: 300px; height: 300px;
  background: #7AFFC8;
  top: 120px; right: -100px;
}

.hero__badge {
  display: inline-block; padding: 5px 14px; border-radius: 20px;
  background: rgba(122,255,200,0.12); border: 1px solid rgba(122,255,200,0.3);
  font-size: 12px; font-weight: 600; color: var(--accent-2);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 20px; max-width: 760px;
}

.hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-dim); line-height: 1.65;
  max-width: 560px; margin-bottom: 36px;
}

.hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 56px;
}

.hero__icon-wrap {
  width: 120px; height: 120px; border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(91,174,255,0.45);
  margin: 0 auto 16px;
  border: 1px solid rgba(91,174,255,0.25);
}
.hero__icon-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Hero screenshots row */
.hero__screens {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 16px; margin-top: 16px;
  padding: 0 16px;
}
.hero__screen-wrap {
  width: 140px; border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  border: 1px solid rgba(91,174,255,0.18);
  transform: perspective(600px) rotateY(6deg) translateY(12px);
  transition: transform 0.3s;
  background: rgba(91,174,255,0.05);
}
.hero__screen-wrap--center {
  width: 160px;
  transform: perspective(600px) rotateY(0deg) translateY(0px);
  z-index: 2;
  box-shadow: 0 28px 70px rgba(91,174,255,0.35);
}
.hero__screen-wrap:last-child {
  transform: perspective(600px) rotateY(-6deg) translateY(12px);
}
.hero__screen-wrap img { width: 100%; display: block; }

.hero__screen-placeholder {
  aspect-ratio: 9/19;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 11px;
  background: linear-gradient(160deg, rgba(91,174,255,0.10) 0%, rgba(43,197,168,0.05) 100%);
  text-align: center; padding: 12px;
}

@media (max-width: 480px) {
  .hero__screens { gap: 10px; }
  .hero__screen-wrap { width: 100px; }
  .hero__screen-wrap--center { width: 116px; }
}

/* ─── FEATURES ──────────────────────────────────────────────────── */
.features {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px 80px;
}

.features__intro {
  text-align: center; margin-bottom: 64px;
}
.features__intro .section-title { margin-top: 8px; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; margin-bottom: 80px;
}
.feature--right { direction: rtl; }
.feature--right > * { direction: ltr; }

.feature__num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em;
  color: var(--accent-2); text-transform: uppercase; margin-bottom: 12px;
}
.feature__title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700;
  line-height: 1.2; margin-bottom: 14px;
}
.feature__desc  { color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; }

.feature__list  { display: flex; flex-direction: column; gap: 8px; }
.feature__list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-dim);
}
.feature__list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2); flex-shrink: 0;
}

.feature__shot { display: flex; justify-content: center; }
.feature__shot-wrap {
  width: 240px; border-radius: 36px; overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(91,174,255,0.18);
  background: rgba(91,174,255,0.05);
}
.feature__shot-wrap--wide {
  width: min(100%, 420px);
  border-radius: 28px;
}
.feature__shot-wrap img { width: 100%; display: block; }

.feature__shot-placeholder {
  aspect-ratio: 9/19;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 13px;
  background: linear-gradient(160deg, rgba(91,174,255,0.10) 0%, rgba(43,197,168,0.05) 100%);
  text-align: center; padding: 24px;
}

/* ─── ABOUT CARD ────────────────────────────────────────────────── */
.about { padding: 0 24px 80px; }
.about__card {
  position: relative; overflow: hidden;
  max-width: 780px; margin: 0 auto;
  background: rgba(91,174,255,0.07);
  border: 1px solid rgba(91,174,255,0.18);
  border-radius: 28px; padding: 56px 48px;
  text-align: center;
}
.about__glow {
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(122,255,200,0.30) 0%, transparent 70%);
  top: -100px; left: 50%; transform: translateX(-50%);
  pointer-events: none; filter: blur(30px);
}
.about__icon { font-size: 32px; margin-bottom: 20px; }
.about__title {
  font-size: clamp(24px, 3.5vw, 38px); font-weight: 700;
  line-height: 1.2; margin-bottom: 16px;
}
.about__text {
  color: var(--text-dim); line-height: 1.75;
  font-size: 16px; max-width: 580px; margin: 0 auto 36px;
}
.about__stats {
  display: flex; justify-content: center; gap: 48px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.about__stat { text-align: center; }
.about__stat-num {
  display: block; font-size: 36px; font-weight: 800;
  color: var(--accent-2); line-height: 1;
}
.about__stat-label {
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}

/* ─── FEATURE GRID ──────────────────────────────────────────────── */
.appdesc { max-width: var(--max-w); margin: 0 auto; padding: 0 24px 80px; }
.appdesc__head { text-align: center; margin-bottom: 56px; }
.appdesc__lead {
  color: var(--text-dim); font-size: 16px; line-height: 1.7;
  max-width: 540px; margin: 20px auto 0;
}

.appdesc__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 48px;
}

.appdesc__card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 24px;
  transition: transform 0.3s, border-color 0.3s;
}
.appdesc__card:hover {
  transform: translateY(-4px);
  border-color: rgba(122,255,200,0.35);
}
.appdesc__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(122,255,200,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2); margin-bottom: 16px;
}
.appdesc__card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.appdesc__card-text  { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

.appdesc__premium {
  background: linear-gradient(135deg, rgba(91,174,255,0.12) 0%, rgba(43,197,168,0.08) 100%);
  border: 1px solid rgba(91,174,255,0.22);
  border-radius: 20px; padding: 36px 32px; text-align: center;
}
.appdesc__premium-badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 16px;
}
.appdesc__premium-title { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.appdesc__premium-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 24px; max-width: 480px; margin: 0 auto 20px;
  text-align: left;
}
.appdesc__feat {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-dim);
}
.appdesc__feat svg { color: var(--accent-2); flex-shrink: 0; }
.appdesc__free { font-size: 13px; color: var(--text-muted); }

/* ─── COLOR LEGEND ──────────────────────────────────────────────── */
.legend { max-width: var(--max-w); margin: 0 auto; padding: 0 24px 80px; }
.legend__head { text-align: center; margin-bottom: 36px; }
.legend__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.legend__card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.legend__card:hover { transform: translateY(-4px); }
.legend__dot {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.4);
}
.legend__dot--safe   { background: linear-gradient(135deg,#3DDC97,#1BAE76); box-shadow: 0 8px 26px rgba(61,220,151,0.45); }
.legend__dot--warn   { background: linear-gradient(135deg,#FFC93C,#E69D00); box-shadow: 0 8px 26px rgba(255,201,60,0.45); }
.legend__dot--danger { background: linear-gradient(135deg,#FF5C66,#D8222F); box-shadow: 0 8px 26px rgba(255,92,102,0.45); }

.legend__title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.legend__desc  { font-size: 13px; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 640px) {
  .legend__grid { grid-template-columns: 1fr; }
}

/* ─── APP STORE DESCRIPTION ─────────────────────────────────────── */
.storedesc { padding: 0 24px 80px; }
.storedesc__inner { max-width: var(--max-w); margin: 0 auto; }
.storedesc__inner > .section-title { margin-top: 8px; margin-bottom: 0; }

.storedesc__lead {
  color: var(--text-dim); font-size: 17px; line-height: 1.7;
  max-width: 640px; margin: 20px 0 52px;
}
.storedesc__lead strong { color: var(--text); }

.storedesc__blocks {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 52px;
}

.storedesc__block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.storedesc__block:hover {
  border-color: rgba(122,255,200,0.35);
  transform: translateY(-3px);
}

.storedesc__block-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.storedesc__block-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(122,255,200,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
}
.storedesc__block-title {
  font-size: 16px; font-weight: 700; color: var(--text);
}

.storedesc__list { display: flex; flex-direction: column; gap: 8px; }
.storedesc__list li {
  font-size: 14px; color: var(--text-dim); line-height: 1.55;
  padding-left: 14px; position: relative;
}
.storedesc__list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2);
}
.storedesc__list strong { color: var(--text); }

.storedesc__tagline {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(91,174,255,0.10) 0%, rgba(43,197,168,0.06) 100%);
  border: 1px solid rgba(91,174,255,0.20);
  border-radius: 24px;
}
.storedesc__tagline p {
  font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.4;
}
.storedesc__tagline p strong { color: var(--accent-2); }
.storedesc__cta-sub {
  font-size: 15px !important; font-weight: 400 !important;
  color: var(--text-dim) !important; margin-top: 8px;
}

@media (max-width: 640px) {
  .storedesc__blocks { grid-template-columns: 1fr; }
  .storedesc__tagline { padding: 32px 20px; }
  .storedesc__tagline p { font-size: 18px; }
}

/* ─── WHERE IT HELPS — categories ───────────────────────────────── */
.usecases {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin: 36px 0 52px;
}
.usecase {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 22px 18px;
  transition: transform 0.3s, border-color 0.3s;
}
.usecase:hover { transform: translateY(-3px); border-color: rgba(122,255,200,0.35); }
.usecase__icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(91,174,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 12px;
}
.usecase__title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.usecase__text  { font-size: 12.5px; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 900px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .usecases { grid-template-columns: 1fr; } }

/* ─── HOW IT WORKS — steps ──────────────────────────────────────── */
.howto {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 36px 0 52px;
}
.howto__step {
  background: linear-gradient(160deg, rgba(91,174,255,0.10) 0%, rgba(43,197,168,0.05) 100%);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 22px;
  position: relative;
}
.howto__num {
  position: absolute; top: 18px; right: 22px;
  font-size: 38px; font-weight: 800; line-height: 1;
  color: rgba(122,255,200,0.18);
}
.howto__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; padding-right: 36px; }
.howto__text  { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }

@media (max-width: 768px) { .howto { grid-template-columns: 1fr; } }

/* ─── AUDIENCE — pills row ──────────────────────────────────────── */
.audience {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin: 28px auto 0;
  max-width: 720px;
}
.audience__pill {
  padding: 8px 16px; border-radius: 30px;
  font-size: 13px; font-weight: 500;
  background: rgba(91,174,255,0.10);
  border: 1px solid rgba(91,174,255,0.22);
  color: var(--text-dim);
}

/* ─── SUPPORT ───────────────────────────────────────────────────── */
.support { padding: 0 24px 80px; }
.support__inner {
  max-width: 560px; margin: 0 auto; text-align: center;
}
.support__sub {
  color: var(--text-dim); line-height: 1.65;
  margin: 16px 0 36px; font-size: 15px;
}
.support__form { text-align: left; }
.form__group   { margin-bottom: 20px; }
.form__label   { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; }
.form__input {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(91,174,255,0.2);
  border-radius: 12px; color: #fff; font-size: 15px;
  font-family: inherit; outline: none;
  transition: border-color 0.2s;
}
.form__input:focus { border-color: rgba(122,255,200,0.5); }
.form__textarea   { resize: vertical; min-height: 120px; }
.form__submit     { width: 100%; justify-content: center; }
.form__success    {
  display: none; align-items: center; gap: 10px;
  justify-content: center; margin-top: 16px;
  color: var(--accent-2); font-size: 15px; font-weight: 600;
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(91,174,255,0.12);
  padding: 28px 32px;
}
.footer__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer__brand { display: flex; flex-direction: column; gap: 4px; }
.footer__logo  { font-size: 16px; font-weight: 700; color: var(--accent-2); }
.footer__copy  { font-size: 12px; color: var(--text-muted); }
.footer__links { display: flex; gap: 20px; }
.footer__link  {
  font-size: 13px; color: var(--text-muted);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--accent-2); }

/* ─── PRIVACY PAGE ──────────────────────────────────────────────── */
.privacy-page {
  max-width: 720px; margin: 0 auto;
  padding: 60px 24px 80px;
}
.privacy-page h1 {
  font-size: clamp(28px, 5vw, 44px); font-weight: 800;
  margin-bottom: 8px;
}
.privacy-page .updated {
  color: var(--text-muted); font-size: 13px; margin-bottom: 36px;
}
.privacy-page p   { color: var(--text-dim); line-height: 1.75; margin-bottom: 16px; }
.privacy-page h2  {
  font-size: 20px; font-weight: 700;
  margin: 36px 0 12px; color: var(--text);
}
.privacy-page ul  { padding-left: 4px; margin-bottom: 16px; }
.privacy-page li  {
  color: var(--text-dim); line-height: 1.7;
  padding: 4px 0 4px 16px; position: relative; font-size: 15px;
}
.privacy-page li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-2);
}
.privacy-page a   { color: var(--accent-2); text-decoration: underline; }
.privacy-page strong { color: var(--text); }

/* ─── REVEAL ANIMATION ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay  { transition-delay: 0.15s; }

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .feature { grid-template-columns: 1fr; }
  .feature--right { direction: ltr; }
  .feature__shot { order: -1; }
  .appdesc__grid { grid-template-columns: 1fr 1fr; }
  .appdesc__premium-grid { grid-template-columns: 1fr; }
  .nav { padding: 0 16px; }
}
@media (max-width: 480px) {
  .hero { padding: 60px 16px 40px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .appdesc__grid { grid-template-columns: 1fr; }
  .about__card { padding: 36px 20px; }
  .about__stats { gap: 28px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}
