:root {
  --navy-950: #070d1c;
  --navy-900: #0a1530;
  --navy-800: #102044;
  --navy-700: #162a56;
  --navy-600: #1e3670;
  --accent: #f0a12a;
  --accent-hover: #ffb347;
  --accent-pressed: #d68c16;
  --accent-soft: rgba(240, 161, 42, 0.14);
  --accent-glow: rgba(240, 161, 42, 0.38);
  --white: #ffffff;
  --text: #f3f6fc;
  --text-muted: #b7c3d8;
  --border: rgba(255, 255, 255, 0.1);
  --card: #0f1c38;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --container: 1120px;
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --space-section: clamp(4.5rem, 9vw, 7.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--accent);
  color: var(--navy-950);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2.5rem, 760px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 13, 28, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-brand img {
  width: 40px;
  height: 42px;
  border-radius: 50%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--navy-800);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy-950);
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-primary:active {
  background: var(--accent-pressed);
  transform: none;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  font-size: 1.02rem;
}

.btn-nav {
  white-space: nowrap;
}

.hero {
  position: relative;
  padding: 3.5rem 0 5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% auto auto 40%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(240, 161, 42, 0.16), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 16ch;
}

.lede {
  margin-top: 1rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--accent);
  font-weight: 600;
}

.hero-body {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.hero-pills li {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.hero-logo-wrap {
  position: relative;
}

.hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  z-index: -1;
  filter: blur(8px);
}

.hero-logo {
  width: min(280px, 70vw);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.flow {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}

.flow-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.9rem;
  min-width: 132px;
  flex: 1;
  display: grid;
  gap: 0.15rem;
}

.flow-item-accent {
  border-color: rgba(240, 161, 42, 0.45);
  box-shadow: 0 0 0 1px var(--accent-soft), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.flow-icon {
  font-size: 1.1rem;
}

.flow-bell {
  display: inline-block;
  animation: ring 3.8s ease-in-out infinite;
  transform-origin: top center;
}

.flow-label {
  font-weight: 700;
  font-size: 0.92rem;
}

.flow-detail {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.flow-arrow {
  width: 18px;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--accent);
}

.section {
  padding: var(--space-section) 0;
}

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 22ch;
}

.section-intro {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

.card-grid-3 {
  grid-template-columns: 1fr;
}

.card-grid-4 {
  grid-template-columns: 1fr;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 161, 42, 0.35);
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--text-muted);
}

.how {
  background: linear-gradient(180deg, rgba(16, 32, 68, 0.45), transparent);
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

.step {
  position: relative;
}

.step-num {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.step-example {
  margin-top: 0.9rem;
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  font-weight: 600;
}

.mini-notif {
  margin-top: 0.9rem;
  background: #121c2f;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  display: grid;
  gap: 0.15rem;
}

.mini-notif-app {
  font-size: 0.72rem;
  color: #6ea8ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mini-notif-title {
  font-weight: 700;
}

.mini-notif-body {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section-cta {
  margin-top: 2.25rem;
}

.example {
  background:
    radial-gradient(circle at 80% 20%, rgba(240, 161, 42, 0.08), transparent 30%),
    var(--navy-950);
}

.example-label {
  margin-top: 1.1rem;
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tg-frame {
  margin-top: 1.25rem;
  max-width: 520px;
  background: #0e1621;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.tg-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #17212b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tg-topbar img {
  width: 36px;
  height: 37px;
  border-radius: 50%;
}

.tg-channel {
  font-weight: 700;
  font-size: 0.95rem;
}

.tg-meta {
  color: #8ea0b5;
  font-size: 0.78rem;
}

.tg-bubble {
  margin: 1rem;
  background: #182533;
  border-radius: 16px 16px 16px 6px;
  padding: 1.15rem 1.1rem 1.25rem;
}

.tg-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.tg-stats {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0;
}

.tg-stats div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}

.tg-stats dt {
  color: var(--text-muted);
  font-weight: 500;
}

.tg-stats dd {
  margin: 0;
  font-weight: 800;
  color: var(--accent);
}

.tg-direction {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  color: var(--text-muted);
}

.tg-direction span {
  color: var(--white);
  font-weight: 700;
}

.tg-rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 161, 42, 0.55), transparent);
  margin: 1.1rem 0;
}

.tg-bubble h3 {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  margin: 1rem 0 0.4rem;
  color: var(--accent);
}

.tg-bubble p {
  color: #d5deea;
  font-size: 0.95rem;
}

.example-tagline {
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.chain {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
}

.chain li:not(.chain-arrow) {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-weight: 700;
  text-align: center;
}

.chain-arrow {
  height: 22px;
  position: relative;
}

.chain-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 14px;
  background: var(--accent);
  transform: translateX(-50%);
}

.chain-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--accent);
}

.disclaimer {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 12px 12px 0;
  color: var(--text);
  max-width: 70ch;
}

.free-panel,
.final-panel {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 161, 42, 0.16), transparent 50%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
}

.free-panel h2,
.final-panel h2 {
  max-width: none;
  margin-inline: auto;
}

.free-panel p,
.final-panel p {
  margin: 1rem auto 1.5rem;
  max-width: 46ch;
  color: var(--text-muted);
}

.free-note {
  margin-top: 1rem !important;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.final-logo {
  width: 96px;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: 0;
  color: var(--white);
  text-align: left;
  font: inherit;
  font-weight: 700;
  padding: 1.05rem 1.15rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(225deg);
}

.faq-panel {
  padding: 0 1.15rem 1.1rem;
  color: var(--text-muted);
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-brand p {
  margin-top: 0.7rem;
  max-width: 36ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-disclaimer,
.footer-copy {
  font-size: 0.88rem;
}

.footer-copy {
  margin-top: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 700px) {
  .card-grid-3,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .chain {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .chain li:not(.chain-arrow) {
    flex: 1 1 140px;
  }

  .chain-arrow {
    width: 28px;
    height: auto;
    flex: 0 0 28px;
  }

  .chain-arrow::before {
    left: 0;
    top: 50%;
    width: 16px;
    height: 2px;
    transform: translateY(-50%);
  }

  .chain-arrow::after {
    left: auto;
    right: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--accent);
    border-top-color: transparent;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    min-height: calc(88vh - var(--header-h));
  }

  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .flow {
    flex-wrap: nowrap;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: rgba(10, 21, 48, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 1rem;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.2rem;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0.2rem;
    min-height: 44px;
  }

  .btn-nav {
    width: 100%;
  }

  .flow-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes ring {
  0%,
  85%,
  100% {
    transform: rotate(0deg);
  }

  88% {
    transform: rotate(14deg);
  }

  91% {
    transform: rotate(-12deg);
  }

  94% {
    transform: rotate(8deg);
  }

  97% {
    transform: rotate(-4deg);
  }
}
