/* ===== Tokens ===== */
:root {
  --ink: #0c1222;
  --ink-soft: #3d4556;
  --muted: #6b7280;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(12, 18, 34, 0.08);
  --surface: #f4f6fb;
  --card: #ffffff;
  --accent: #22d3ee;
  --accent-2: #a78bfa;
  --accent-deep: #0891b2;
  --hero-bg: #050a14;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 24px 80px rgba(5, 10, 20, 0.35);
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  left: 0.75rem;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Top bar ===== */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.top-bar__inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.top-bar__logo {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #93c5fd, #e0f2fe, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.top-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

.top-bar__link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.top-bar__link:hover {
  color: #fff;
}

.top-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #fff, #e0f2fe);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.25);
}

.top-bar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.35);
}

/* ===== Hero (home) ===== */
.page-home .hero {
  margin-top: -56px;
  padding: calc(4.5rem + 56px) 0 4.5rem;
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(34, 211, 238, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 40%, rgba(167, 139, 250, 0.12), transparent),
    linear-gradient(165deg, var(--hero-bg) 0%, #0f172a 55%, #111c33 100%);
  color: #e8edf7;
}

.hero__inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  max-width: min(22rem, 92vw);
  margin: 0 auto 1.25rem;
}

.hero__line {
  display: block;
  color: #f1f5f9;
}

.hero__gradient {
  display: block;
  margin-top: 0.12em;
  background: linear-gradient(105deg, #7dd3fc 0%, #a5b4fc 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtext {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(232, 237, 247, 0.75);
  max-width: 34rem;
  margin: 0 auto 2.5rem;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: center;
  text-align: left;
}

.hero__bullets {
  list-style: none;
  margin-bottom: 1.75rem;
}

.hero__bullets li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.75rem;
  color: rgba(232, 237, 247, 0.85);
  font-size: 1rem;
}

.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.hero__bullets a {
  color: var(--accent);
  text-decoration: underline;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 320px;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  background: linear-gradient(135deg, #fff 0%, #ecfeff 100%);
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(34, 211, 238, 0.3);
}

/* ===== Hero screenshot ===== */
.hero__visual {
  justify-self: end;
  margin: 0;
  max-width: min(440px, 100%);
  border-radius: 28px;
  overflow: hidden;
  line-height: 0;
  background: #0f1419;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.15),
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}

.hero__screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Sections ===== */
.section-inner {
  width: min(1080px, 90vw);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.showcase {
  padding: 4rem 0 4.5rem;
  background: linear-gradient(180deg, #e8edf5 0%, var(--surface) 55%, var(--surface) 100%);
}

.showcase__intro {
  text-align: center;
  max-width: 36rem;
  margin: -0.25rem auto 2.5rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
}

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
  align-items: start;
}

.showcase__card {
  margin: 0;
}

.showcase__frame {
  border-radius: 28px;
  overflow: hidden;
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 22px 48px rgba(15, 23, 42, 0.14);
  line-height: 0;
}

.showcase__frame img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.showcase__cap {
  margin-top: 1rem;
  padding: 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  line-height: 1.45;
  text-align: center;
}

.about {
  padding: 4.5rem 0;
  background: var(--card);
}

.about__text {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.12rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.features {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, var(--surface) 0%, #eef2f9 100%);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.1);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(167, 139, 250, 0.15));
  color: var(--accent-deep);
  margin-bottom: 1rem;
}

.feature-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--ink);
  color: #fff;
  margin-bottom: 0.75rem;
}

.feature-card__title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.feature-card__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== Footer ===== */
.footer {
  background: #080c14;
  color: #94a3b8;
  padding: 2.75rem 0;
  text-align: center;
}

.footer__inner {
  width: min(1080px, 90vw);
  margin: 0 auto;
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-bottom: 1rem;
}

.footer__links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: -0.02em;
}

.footer__links a:hover {
  color: #fff;
}

.footer__copy {
  font-size: 0.85rem;
  color: #64748b;
}

/* ===== Privacy page ===== */
.privacy-page {
  background: linear-gradient(180deg, #eef2f9 0%, #f8fafc 240px);
  min-height: 100vh;
  padding: 2rem 0 4rem;
}

.privacy-top {
  width: min(1080px, 92vw);
  margin: 0 auto 1.5rem;
}

.privacy-top a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-deep);
  text-decoration: none;
}

.privacy-top a:hover {
  text-decoration: underline;
}

.privacy-wrap {
  max-width: 860px;
  margin: 0 auto;
  width: min(860px, 92vw);
  background: #ffffff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 3rem 2.25rem;
}

.privacy-wrap h1 {
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.privacy-wrap > p:first-of-type {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.privacy-wrap h2 {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
  color: var(--ink);
  padding-top: 0.25rem;
}

.privacy-wrap h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.privacy-wrap p,
.privacy-wrap li {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.privacy-wrap p {
  margin-bottom: 1rem;
}

.privacy-wrap ul,
.privacy-wrap ol {
  margin: 0.75rem 0 1.25rem 1.35rem;
  padding-left: 0.6rem;
}

.privacy-wrap li {
  margin-bottom: 0.65rem;
}

.privacy-wrap a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-wrap a:hover {
  color: #0e7490;
}

.privacy-wrap strong {
  color: var(--ink);
}

.privacy-wrap h2:not(:first-of-type) {
  border-top: 1px solid #e8ecf4;
  padding-top: 2rem;
}

.privacy-wrap ol li::marker,
.privacy-wrap ul li::marker {
  color: var(--accent-deep);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .showcase__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__visual {
    justify-self: center;
    order: -1;
    max-width: min(380px, 88vw);
  }

  .hero__bullets {
    text-align: left;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .top-bar__link {
    display: none;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .privacy-page {
    padding: 1.5rem 0 3rem;
  }

  .privacy-wrap {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  .privacy-wrap h1 {
    font-size: 1.9rem;
  }

  .privacy-wrap h2 {
    font-size: 1.15rem;
  }

  .privacy-wrap p,
  .privacy-wrap li {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .privacy-wrap {
    padding: 1.4rem 1rem;
    border-radius: 18px;
  }

  .privacy-wrap h1 {
    font-size: 1.65rem;
  }

  .privacy-wrap h2 {
    font-size: 1.05rem;
  }

  .privacy-wrap p,
  .privacy-wrap li {
    font-size: 0.95rem;
  }

  .hero__visual {
    border-radius: 22px;
  }
}
