:root {
  --bg: #07111f;
  --bg-soft: #0d1b2a;
  --panel: #101f30;
  --panel-strong: #14263d;
  --primary: #4f8cff;
  --primary-strong: #2f6df6;
  --accent: #7ee7d1;
  --text: #edf4ff;
  --muted: #a8b9d2;
  --border: rgba(255,255,255,0.08);
  --success: #37d39a;
  --warning: #f7b955;
  --danger: #ff6b6b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background: linear-gradient(180deg, #07111f 0%, #0d1729 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(7, 17, 31, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255,255,255,0.08);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #08131d;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.hero-app-badge {
  width: 90px;
  height: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.hero-app-badge img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  flex-wrap: wrap;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: white;
  box-shadow: 0 18px 36px rgba(79, 140, 255, 0.35);
}

.button.secondary {
  border-color: var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.button:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 72px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(126, 231, 209, 0.08);
  color: var(--accent);
  border: 1px solid rgba(126, 231, 209, 0.15);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 0.94rem;
}

.meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 18px var(--success);
}

.phone-card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(19, 34, 51, 0.9), rgba(11, 20, 31, 0.9));
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.phone-screen {
  background: linear-gradient(180deg, #0d2238 0%, #0a1b2d 100%);
  border-radius: 28px;
  padding: 18px 18px 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.dots {
  display: flex;
  gap: 8px;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dots span:nth-child(1) { background: #ff5f57; }
.dots span:nth-child(2) { background: #febc2e; }
.dots span:nth-child(3) { background: #28c840; }

.doc-bar {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 14px;
}

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.file-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.file-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(79, 140, 255, 0.15);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.status {
  font-size: 0.8rem;
  color: var(--success);
  background: rgba(55, 211, 154, 0.08);
  border: 1px solid rgba(55, 211, 154, 0.2);
  padding: 6px 10px;
  border-radius: 999px;
}

.redactions {
  display: grid;
  gap: 12px;
}

.redaction-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}

.redaction-item .label {
  color: var(--muted);
  font-size: 0.86rem;
}

.redaction-item .value {
  font-weight: 700;
}

.redaction-item .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 107, 107, 0.12);
  color: var(--danger);
  font-weight: 800;
}

section {
  padding: 28px 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 700px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: rgba(16, 31, 48, 0.88);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(79, 140, 255, 0.12);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

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

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  border-radius: 20px;
  padding: 22px 18px;
}

.step-number {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step h4 {
  margin: 10px 0 8px;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta {
  padding: 40px 0 90px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(79,140,255,0.15), rgba(126,231,209,0.1));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-box h3 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 2vw, 2.5rem);
  letter-spacing: -0.04em;
}

.cta-box p {
  margin: 0;
  color: var(--muted);
}

.footer {
  padding: 32px 0 60px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 54px 0 16px;
}

.page-hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
}

.policy-shell,
.terms-shell {
  padding: 0 0 80px;
}

.article {
  background: rgba(16, 31, 48, 0.85);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px 24px;
}

.article h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.article h3 {
  margin-top: 2em;
  font-size: 1.1rem;
}

.article p,
.article li {
  color: var(--muted);
}

.article ul {
  padding-left: 1.2rem;
}

.article strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-grid,
  .features,
  .workflow {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }
}
