:root {
  --bg: #0f0f10;
  --surface: #1a1a1c;
  --surface-elevated: #242426;
  --border: rgba(245, 245, 245, 0.08);
  --text: #f5f5f5;
  --text-secondary: rgba(245, 245, 245, 0.72);
  --text-tertiary: rgba(245, 245, 245, 0.48);
  --accent: #0a84ff; /* Real app blue accent */
  --accent-fg: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(15, 15, 16, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}

.btn-primary:hover {
  background: #339aff;
}


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

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(245, 245, 245, 0.2);
  background: rgba(245, 245, 245, 0.04);
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-tertiary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero .lead {
  margin: 0 auto 2rem;
  max-width: 38rem;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3.25rem;
}

.hero-visual {
  position: relative;
  margin: 0 auto;
  max-width: 920px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding: 1.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.mock-window {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.18);
}

.mock-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 280px;
}

.mock-sidebar {
  padding: 1rem 0.85rem;
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.mock-nav-item.active {
  background: rgba(10, 132, 255, 0.15);
  color: var(--accent);
  font-weight: 500;
}

.mock-main {
  padding: 1.25rem 1.5rem;
}

.mock-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mock-card {
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.mock-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.mock-card span {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

/* Features */
.section {
  padding: 3.5rem 0;
}

.section h2 {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.section .section-lead {
  margin: 0 auto 2.5rem;
  max-width: 34rem;
  text-align: center;
  color: var(--text-secondary);
}

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

.feature {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.feature:hover {
  border-color: rgba(245, 245, 245, 0.14);
  background: var(--surface-elevated);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(10, 132, 255, 0.1);
  margin-bottom: 0.9rem;
  color: var(--accent);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* CTA band */
.section-cta {
  padding-top: 1rem;
}

.cta-band {
  margin: 0 0 2rem;
  padding: 2.75rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.08) 0%, rgba(10, 132, 255, 0.02) 100%);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.75rem;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  color: var(--text-tertiary);
  font-size: 0.88rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.footer-brand-icon {
  width: 24px;
  height: 24px;
  opacity: 0.72;
  transition: opacity 0.15s ease;
  object-fit: contain;
}

.footer-brand:hover .footer-brand-icon {
  opacity: 1;
}

.footer-brand-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

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

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

/* Responsive */
@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-cards {
    grid-template-columns: 1fr;
  }

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

/* Legal Pages */
.legal-content {
  padding: 4rem 0 5rem;
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-line;
}

