/* Nudgr AI - Premium Dark Coaching Platform */
:root {
  --bg: #000000;
  --surface: #0d0d0d;
  --surface2: #141414;
  --border: #1e1e1e;
  --accent: #39E6E6;
  --accent-dim: rgba(57, 230, 230, 0.15);
  --accent-glow: rgba(57, 230, 230, 0.3);
  --text: #ffffff;
  --text-2: #BFBFBF;
  --text-3: #666666;
  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.15);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --red: #ef4444;
  --red-dim: rgba(239, 68, 68, 0.15);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 { font-family: 'Syne', sans-serif; }

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(20px);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

/* Section base */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 560px;
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 60px 100px;
  align-items: center;
  min-height: 90vh;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 48px;
}
.hero-stats { display: flex; gap: 40px; }
.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label { font-size: 12px; color: var(--text-3); }

/* Dashboard mockup */
.dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(57,230,230,0.05), 0 40px 80px rgba(0,0,0,0.5);
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.dash-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; }
.dash-meta { font-size: 12px; color: var(--text-3); }
.dash-tabs { display: flex; padding: 8px 16px; gap: 4px; border-bottom: 1px solid var(--border); }
.dash-tab { padding: 6px 12px; font-size: 12px; color: var(--text-3); border-radius: 6px; cursor: pointer; }
.dash-tab.active { background: var(--surface2); color: var(--text); font-weight: 500; }
.client-list { padding: 12px; }
.client-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
  transition: background 0.2s;
}
.client-row:hover { background: var(--surface2); }
.client-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.client-info { flex: 1; min-width: 0; }
.client-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-plan { font-size: 11px; color: var(--text-3); }
.status { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.status.green { background: var(--green-dim); color: var(--green); }
.status.green .status-dot { background: var(--green); }
.status.amber { background: var(--amber-dim); color: var(--amber); }
.status.amber .status-dot { background: var(--amber); animation: pulse-dot 1.5s infinite; }
.status.red { background: var(--red-dim); color: var(--red); }
.status.red .status-dot { background: var(--red); animation: pulse-dot 1s infinite; }
.dash-alert {
  margin: 0 12px 12px;
  background: var(--red-dim);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white; flex-shrink: 0;
}
.alert-text { font-size: 12px; line-height: 1.5; }
.alert-text strong { color: var(--red); }
.alert-link { color: var(--accent); text-decoration: none; margin-left: 8px; }

/* WhatsApp notification */
.hero-right { position: relative; }
.hero-notif {
  position: absolute;
  bottom: -20px;
  right: 0;
  transform: translateX(20px);
  z-index: 10;
}
.notif-whatsapp {
  background: #111b21;
  border-radius: 12px;
  padding: 14px 16px;
  width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  border: 1px solid #1f2c34;
}
.wa-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.wa-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #000; }
.wa-name { font-size: 13px; font-weight: 600; flex: 1; }
.wa-time { font-size: 11px; color: #8696a0; }
.wa-bubble { display: flex; flex-direction: column; gap: 4px; }
.wa-msg { font-size: 12px; line-height: 1.5; color: #e9edef; }
.wa-tip { background: #005c4b; border-radius: 6px; padding: 8px 10px; font-size: 11px; }

/* ===== HOW IT WORKS ===== */
.howitworks { padding: 100px 60px; border-top: 1px solid var(--border); }
.integrations { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 60px; }
.int-badge { background: var(--surface2); border: 1px solid var(--border); color: var(--text-2); font-size: 13px; padding: 7px 16px; border-radius: 100px; transition: border-color 0.2s, color 0.2s; }
.int-badge:hover { border-color: var(--accent); color: var(--accent); }
.workflow { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; gap: 0; align-items: start; margin: 60px 0; }
.workflow-step { padding: 0 10px; }
.step-num { font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; color: var(--border); margin-bottom: 12px; }
.step-title { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-body { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.workflow-connector { height: 2px; background: var(--border); align-self: center; margin: 40px 0; }

/* Phone mock */
.checkin-mock { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-top: 60px; }
.mock-label { font-size: 14px; color: var(--text-3); grid-column: 1 / -1; margin-bottom: -30px; }
.mock-phone { display: flex; justify-content: center; }
.phone-frame {
  width: 220px;
  background: #111b21;
  border-radius: 28px;
  padding: 14px 10px 10px;
  border: 2px solid #1f2c34;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
}
.phone-notch { width: 80px; height: 20px; background: #111b21; border-radius: 0 0 12px 12px; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border-bottom: 1px solid #1f2c34; }
.phone-screen { padding-top: 16px; }
.ps-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 0 4px; }
.ps-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #000; }
.ps-name { font-size: 12px; font-weight: 600; flex: 1; }
.ps-time { font-size: 10px; color: #8696a0; }
.ps-msgs { display: flex; flex-direction: column; gap: 4px; }
.ps-msg { font-size: 11px; line-height: 1.5; color: #e9edef; padding: 6px 8px; border-radius: 6px; }
.ps-msg-1 { background: #1f2c34; }
.ps-msg-2 { background: #005c4b; }
.ps-msg-3 { background: #1f2c34; }
.mock-meta { display: flex; flex-direction: column; gap: 24px; }
.mock-stat { font-family: 'Syne', sans-serif; font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; }
.mock-stat-label { font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* ===== AI STACK ===== */
.ai-stack { padding: 100px 60px; border-top: 1px solid var(--border); }
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 50px; }
.stack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.stack-card:hover { border-color: var(--accent-glow); box-shadow: 0 0 30px rgba(57,230,230,0.05); }
.stack-card-main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--surface), #0a1a1a);
  border-color: rgba(57,230,230,0.2);
}
.stack-card-main:hover { border-color: var(--accent); box-shadow: 0 0 50px rgba(57,230,230,0.1); }
.stack-icon { width: 40px; height: 40px; background: var(--accent-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.stack-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.stack-title { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.stack-body { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }
.stack-features { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-feat { background: var(--surface2); border: 1px solid var(--border); font-size: 11px; color: var(--text-2); padding: 4px 10px; border-radius: 100px; }

/* ===== RISK ENGINE ===== */
.risk-engine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 100px 60px;
  border-top: 1px solid var(--border);
  align-items: start;
}
.risk-indicators { display: flex; flex-direction: column; gap: 10px; margin: 30px 0; }
.risk-row { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; }
.risk-status { display: flex; align-items: center; gap: 12px; }
.risk-status .status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-label { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; min-width: 50px; }
.status-desc { font-size: 13px; color: var(--text-2); }
.green-s .status-dot { background: var(--green); }
.green-s .status-label { color: var(--green); }
.amber-s .status-dot { background: var(--amber); animation: pulse-dot 1.5s infinite; }
.amber-s .status-label { color: var(--amber); }
.red-s .status-dot { background: var(--red); animation: pulse-dot 0.8s infinite; }
.red-s .status-label { color: var(--red); }
.red-alert {
  background: var(--red-dim);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}
.red-header { font-size: 11px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.triggers { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
.trigger { font-size: 12px; color: var(--text-2); padding: 6px 10px; background: var(--surface); border-radius: 6px; }
.red-action { font-size: 12px; color: var(--text-2); line-height: 1.6; }
.red-action strong { color: var(--red); }

/* Risk dashboard */
.risk-dash { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.rd-title { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 20px; }
.rd-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.rd-bar-row { display: flex; align-items: center; gap: 12px; }
.rd-label { font-size: 11px; color: var(--text-3); width: 28px; }
.rd-bar { flex: 1; height: 8px; background: var(--surface2); border-radius: 100px; overflow: hidden; }
.rd-fill { height: 100%; border-radius: 100px; }
.green-fill { background: linear-gradient(90deg, #16a34a, #22c55e); }
.amber-fill { background: linear-gradient(90deg, #d97706, #f59e0b); }
.rd-summary { display: flex; gap: 20px; border-top: 1px solid var(--border); padding-top: 16px; }
.rd-s-item { display: flex; align-items: baseline; gap: 6px; }
.rd-s-num { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; }
.rd-s-lbl { font-size: 11px; color: var(--text-3); }
.green-t { color: var(--green); }
.amber-t { color: var(--amber); }
.red-t { color: var(--red); }

/* Corporate panel */
.corporate-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.cp-title { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.cp-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.cp-val { font-weight: 600; color: var(--text); font-family: 'Syne', sans-serif; }
.cp-down { color: var(--green); }
.cp-disclaimer { font-size: 11px; color: var(--text-3); margin-top: 12px; line-height: 1.5; }

/* ===== CLOSING ===== */
.closing { padding: 100px 60px; border-top: 1px solid var(--border); }
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.closing-headline { font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.closing-body { font-size: 17px; color: var(--text-2); line-height: 1.65; margin-bottom: 50px; }
.closing-pillars { display: flex; flex-direction: column; gap: 16px; margin-bottom: 60px; text-align: left; max-width: 540px; margin-left: auto; margin-right: auto; }
.pillar { display: flex; align-items: flex-start; gap: 16px; }
.pillar-icon { width: 40px; height: 40px; background: var(--accent-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pillar-text { font-size: 15px; color: var(--text-2); line-height: 1.5; padding-top: 8px; }

/* Pricing */
.pricing-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.pricing-grid { display: flex; justify-content: center; gap: 16px; }
.price-tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  min-width: 140px;
}
.price-tier-featured { border-color: var(--accent-glow); background: linear-gradient(135deg, var(--surface), #0a1a1a); }
.pt-name { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-3); margin-bottom: 8px; }
.pt-price { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: var(--text); }
.pt-price span { font-size: 14px; color: var(--text-3); font-weight: 400; }
.pt-limit { font-size: 12px; color: var(--text-3); margin-top: 6px; }

/* ===== FOOTER ===== */
.footer { padding: 40px 60px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: 'Syne', sans-serif; font-weight: 700; }
.footer-tagline { font-size: 13px; color: var(--text-3); flex: 1; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-3); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-2); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 60px 30px; }
  .hero-right { display: none; }
  .howitworks, .ai-stack, .risk-engine, .closing, .footer { padding: 60px 30px; }
  .workflow { grid-template-columns: 1fr; gap: 30px; }
  .workflow-connector { display: none; }
  .stack-grid { grid-template-columns: 1fr; }
  .stack-card-main { grid-column: auto; }
  .checkin-mock { grid-template-columns: 1fr; }
  .risk-engine { grid-template-columns: 1fr; }
  .pricing-grid { flex-direction: column; align-items: center; }
  .nav { padding: 16px 24px; }
  .footer-inner { flex-wrap: wrap; }
}

/* Subtle gradient background for hero */
.hero { position: relative; }
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(57,230,230,0.04) 0%, transparent 70%);
  pointer-events: none;
}
