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

:root {
  --c-sky:      #0ea5e9;
  --c-sky-dark: #0284c7;
  --c-midnight: #0a1628;
  --c-deep:     #0f2044;
  --c-navy:     #162d55;
  --c-slate:    #334e78;
  --c-mist:     #a8c4e0;
  --c-white:    #f0f8ff;
  --c-accent:   #38bdf8;
  --c-gold:     #f59e0b;

  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--c-midnight);
  color: var(--c-white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Utility ────────────────────────────────────────────────── */
.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

/* ── HEADER ─────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 22, 40, 0.75);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--c-white);
}

.logo-text span { color: var(--c-sky); }

nav a {
  color: var(--c-mist);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover { color: var(--c-accent); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-sky) 0%, var(--c-sky-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--c-mist);
  border: 1px solid rgba(168, 196, 224, 0.3);
}

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

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  padding: 2.5rem 0;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: rgba(168, 196, 224, 0.5);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: rgba(168, 196, 224, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

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

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   INDEX PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(14, 165, 233, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(56, 189, 248, 0.10) 0%, transparent 50%),
    linear-gradient(160deg, var(--c-midnight) 0%, var(--c-deep) 60%, #0d2545 100%);
}

.cloud-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cloud-layer svg {
  position: absolute;
  opacity: 0.06;
}

.cloud-1 { top: 8%; left: -5%; width: 55%; animation: drift 28s linear infinite; }
.cloud-2 { top: 45%; right: -8%; width: 45%; animation: drift 22s linear infinite reverse; animation-delay: -6s; }
.cloud-3 { bottom: 12%; left: 15%; width: 35%; animation: drift 34s linear infinite; animation-delay: -12s; }

@keyframes drift {
  0%   { transform: translateX(0) translateY(0); }
  33%  { transform: translateX(2%) translateY(-1%); }
  66%  { transform: translateX(-1%) translateY(1.5%); }
  100% { transform: translateX(0) translateY(0); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--c-sky) 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--c-mist);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Dashboard mockup */
.hero-visual {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
}

.dashboard-frame {
  background: rgba(15, 32, 68, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.1),
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}

.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.dash-dot:nth-child(1) { background: #ef4444; }
.dash-dot:nth-child(2) { background: var(--c-gold); }
.dash-dot:nth-child(3) { background: #22c55e; }

.dash-title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--c-slate);
  letter-spacing: 0.05em;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.42rem;
  margin-bottom: 0.42rem;
}

.dash-stat {
  background: rgba(18, 30, 58, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 0.55rem 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.stat-icon {
  width: 24px; height: 24px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.stat-body { flex: 1; min-width: 0; }

.dash-stat-label {
  font-size: 0.57rem;
  color: rgba(168, 196, 224, 0.65);
  margin-bottom: 0.12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-stat-value {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.15;
}

.dash-stat-delta {
  font-size: 0.52rem;
  margin-top: 0.08rem;
}

.dash-chart {
  background: rgba(11, 20, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.42rem;
}

.chart-label {
  font-size: 0.6rem;
  color: var(--c-white);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

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

.dash-panel {
  background: rgba(11, 20, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 0.6rem 0.6rem 0.4rem;
}

.panel-label {
  font-size: 0.57rem;
  color: var(--c-white);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.donut-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.12rem 0.35rem;
  margin-top: 0.25rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  font-size: 0.48rem;
  color: rgba(168, 196, 224, 0.65);
}

.legend-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── VALUE PROPS ────────────────────────────────────────────── */
.features {
  padding: 6rem 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-sky);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 1rem;
}

.section-sub {
  text-align: center;
  color: var(--c-mist);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(15, 32, 68, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.icon-blue   { background: rgba(14, 165, 233, 0.15); }
.icon-teal   { background: rgba(20, 184, 166, 0.15); }
.icon-amber  { background: rgba(245, 158, 11, 0.15); }
.icon-purple { background: rgba(139, 92, 246, 0.15); }
.icon-green  { background: rgba(34, 197, 94, 0.15); }
.icon-red    { background: rgba(239, 68, 68, 0.15); }

.feature-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--c-white);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--c-mist);
  line-height: 1.65;
}

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.how {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.05) 50%, transparent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(1fr + 2rem);
  right: calc(1fr + 2rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
}

.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-accent);
  margin: 0 auto 1.2rem;
  background: rgba(14, 165, 233, 0.08);
}

.step h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--c-mist);
  line-height: 1.6;
}

/* ── NOTIFY / CTA ───────────────────────────────────────────── */
.notify {
  padding: 6rem 0;
  position: relative;
}

.notify::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.notify-card {
  background: linear-gradient(135deg, rgba(15, 32, 68, 0.9) 0%, rgba(10, 22, 40, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.notify-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.notify-card h2 { margin-bottom: 0.75rem; }

.notify-card p {
  color: var(--c-mist);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.notify-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.notify-form .field-full { grid-column: 1 / -1; }

.notify-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-mist);
  margin-bottom: 0.35rem;
}

.notify-label .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(168, 196, 224, 0.5);
  margin-left: 0.3rem;
}

.notify-input,
.notify-select,
.notify-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(22, 45, 85, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.notify-input::placeholder,
.notify-textarea::placeholder { color: rgba(168, 196, 224, 0.4); }

.notify-input:focus,
.notify-select:focus,
.notify-textarea:focus {
  border-color: var(--c-sky);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.notify-select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8c4e0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.notify-select option { background: #0f2044; color: var(--c-white); }

.notify-textarea { resize: vertical; min-height: 90px; }

.notify-submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

@media (max-width: 560px) {
  .notify-form { grid-template-columns: 1fr; }
  .notify-form .field-full { grid-column: 1; }
}

.notify-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(168, 196, 224, 0.6);
}

.notify-confirm {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #4ade80;
  font-weight: 600;
  font-size: 1rem;
}

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

/* ══════════════════════════════════════════════════════════════
   PRIVACY PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  padding: 120px 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 60%),
    linear-gradient(160deg, var(--c-midnight) 0%, var(--c-deep) 100%);
  pointer-events: none;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
  position: relative;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  position: relative;
}

.page-hero-meta {
  font-size: 0.9rem;
  color: rgba(168, 196, 224, 0.55);
  position: relative;
}

/* ── CONTENT ────────────────────────────────────────────────── */
.privacy-content {
  padding: 4rem 0 6rem;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 800px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .privacy-toc { display: none; }
}

.privacy-toc {
  position: sticky;
  top: 100px;
}

.toc-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-sky);
  margin-bottom: 0.75rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.toc-list a {
  display: block;
  padding: 0.35rem 0.6rem;
  font-size: 0.82rem;
  color: rgba(168, 196, 224, 0.6);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  border-radius: 0 4px 4px 0;
}

.toc-list a:hover {
  color: var(--c-accent);
  border-left-color: var(--c-accent);
}

.privacy-prose {
  max-width: 760px;
}

.privacy-prose section {
  margin-bottom: 3rem;
}

.privacy-prose h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  text-align: left;
}

.privacy-prose p {
  font-size: 0.95rem;
  color: var(--c-mist);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.privacy-prose p:last-child { margin-bottom: 0; }

.privacy-prose ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.privacy-prose ul li {
  font-size: 0.95rem;
  color: var(--c-mist);
  line-height: 1.65;
  padding-left: 1.3rem;
  position: relative;
}

.privacy-prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-sky);
  opacity: 0.7;
}

.privacy-prose a {
  color: var(--c-accent);
  text-decoration: none;
}

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

.callout {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-left: 3px solid var(--c-sky);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.callout p {
  margin-bottom: 0 !important;
  font-size: 0.92rem;
}
