/* ============================================
   angajuu — Midnight & Cream Design System
   MOBILE-FIRST: base styles = mobile, min-width queries = larger screens
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

/* --- Tokens --- */
:root {
  --navy: #0D1B2A;
  --navy-light: #111F30;
  --navy-deep: #091520;
  --cream: #F5F0EB;
  --cream-card: #FEFCFA;
  --cream-border: #E0DBD5;
  --cream-text: #3D3832;
  --cream-dim: #7A746D;
  --teal: #1FB6A6;
  --teal-hover: #1AA396;
  --teal-dim: rgba(31,182,166,0.5);
  --teal-glow: rgba(31,182,166,0.08);
  --teal-cream: #159085;
  --warn: #FFB400;
  --success: #28c840;
  --danger: #ff5f57;
  --text: rgba(255,255,255,0.85);
  --text-dim: rgba(255,255,255,0.45);
  --text-faint: rgba(255,255,255,0.25);
  --border: rgba(255,255,255,0.06);
  --surface: rgba(255,255,255,0.03);
  --section-pad: 48px;
  --container-pad: 16px;
  --container-max: 960px;
  --nav-h: 56px;
}
@media (min-width: 768px) {
  :root { --section-pad: 80px; --container-pad: 24px; }
  body { font-size: 15px; }
}

/* --- Layout --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
section { padding: var(--section-pad) 0; position: relative; overflow: hidden; }

/* --- Typography --- */
h1, h2, h3 { font-weight: 800; }
h1 { font-size: 28px; letter-spacing: -0.5px; line-height: 1.12; }
h2 { font-size: 24px; letter-spacing: -0.3px; line-height: 1.15; }
h3 { font-size: 18px; letter-spacing: -0.2px; line-height: 1.2; }
@media (min-width: 768px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
}
.label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.subtitle { font-size: 14px; line-height: 1.6; color: var(--text-dim); }
@media (min-width: 768px) { .subtitle { font-size: 16px; } }
.text-center { text-align: center; }
.teal { color: var(--teal); }

/* --- Dot Grid --- */
.dot-grid {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}
@media (min-width: 768px) { .dot-grid { background-size: 80px 80px; } }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal); color: var(--navy);
  padding: 12px 28px; border-radius: 6px;
  font-weight: 700; font-size: 14px; min-height: 44px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal-hover); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2); color: #fff;
  padding: 12px 28px; border-radius: 6px;
  font-weight: 600; font-size: 14px; min-height: 44px;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.4); }

/* --- Cards --- */
.glass-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.cream-card { background: var(--cream-card); border: 1px solid var(--cream-border); border-radius: 10px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

/* --- Scroll Reveal --- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* --- Animations --- */
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,42,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); height: var(--nav-h);
  display: flex; align-items: center;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo-icon { height: 28px; width: auto; display: block; }
.nav-wordmark { font-weight: 800; font-size: 16px; letter-spacing: -0.3px; }
.nav-links { display: none; gap: 24px; }
.nav-links a { color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-right .nav-cta { display: none; }
.lang-toggle {
  color: var(--text-dim); font-size: 13px; font-weight: 600;
  padding: 6px 10px; border: 1px solid var(--border); border-radius: 4px;
  min-height: 32px; transition: color 0.2s;
}
.lang-toggle:hover { color: var(--text); }
.mobile-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--text-dim); }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-right .nav-cta { display: inline-flex; padding: 8px 20px; font-size: 13px; min-height: 36px; }
  .mobile-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-size: 18px; font-weight: 600; color: var(--text-dim); }
.mobile-menu a:hover { color: var(--text); }
.mobile-close {
  position: absolute; top: 12px; right: 16px; font-size: 32px; color: var(--text-dim);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
}

/* ============================================
   HERO
   ============================================ */
.hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 0; background: var(--navy); }
@media (min-width: 768px) { .hero { padding-top: calc(var(--nav-h) + 60px); } }

.hero-disconnect { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 20px; }
.hero-col { text-align: center; min-width: 0; }
.hero-col-items { font-size: 14px; color: rgba(255,255,255,0.3); line-height: 2; }
.hero-divider { display: flex; flex-direction: row; align-items: center; }
.hero-divider-line-v { display: none; }
.hero-divider-line-h { width: 40px; height: 1px; background: linear-gradient(90deg, rgba(255,95,87,0.3), rgba(255,95,87,0.05)); }
.hero-divider-q { font-size: 18px; color: rgba(255,95,87,0.4); margin: 0 8px; }
.hero-subq { color: var(--text-faint); font-size: 13px; }
@media (min-width: 768px) {
  .hero-disconnect { flex-direction: row; justify-content: center; gap: 32px; }
  .hero-col { min-width: 200px; }
  .hero-col:first-child { text-align: right; }
  .hero-col:last-child { text-align: left; }
  .hero-col-items { font-size: 15px; }
  .hero-divider { flex-direction: column; padding-top: 8px; }
  .hero-divider-line-v { display: block; width: 1px; height: 80px; background: linear-gradient(180deg, rgba(255,95,87,0.3), rgba(255,95,87,0.05)); }
  .hero-divider-line-h { display: none; }
  .hero-divider-q { margin: 8px 0; }
}

.hero-bridge { display: flex; justify-content: center; align-items: center; height: 48px; }
.hero-bridge-inner { display: flex; align-items: center; gap: 10px; }
.hero-bridge-line { width: 32px; height: 1px; }
.hero-bridge-line--l { background: linear-gradient(90deg, transparent, var(--teal)); }
.hero-bridge-line--r { background: linear-gradient(90deg, var(--teal), transparent); }
.hero-bridge-label { color: var(--teal); opacity: 0.6; }

.hero-promise { background: linear-gradient(180deg, var(--navy), var(--navy-light)); padding: 40px 0 60px; position: relative; }
@media (min-width: 768px) { .hero-promise { padding: 40px 0 80px; } }
.hero-promise .hero-path { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-promise .container { position: relative; z-index: 1; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; align-items: center; }
@media (min-width: 480px) { .hero-ctas { flex-direction: row; justify-content: center; } }

/* ============================================
   REALITY (cream)
   ============================================ */
.reality { background: var(--cream); }
.reality h2, .reality .stats-num { color: var(--cream-text); }
.reality p, .reality .stats-label { color: var(--cream-dim); }

.chaos-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 32px; }
.chaos-card {
  background: var(--cream-card); border-radius: 8px; padding: 20px 16px; text-align: center;
  border: 1px solid var(--cream-border); box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.chaos-card:nth-child(1) { transform: rotate(-1.5deg); }
.chaos-card:nth-child(2) { transform: rotate(1deg); }
.chaos-card:nth-child(3) { transform: rotate(-0.5deg); }
.chaos-card:nth-child(4) { transform: rotate(1.5deg); }
.chaos-card-icon { margin-bottom: 8px; display: flex; justify-content: center; }
.chaos-card-icon svg { display: inline-block; }
.chaos-card-title { font-size: 13px; font-weight: 700; color: var(--cream-text); }
.chaos-card-sub { font-size: 11px; color: var(--cream-dim); margin-top: 2px; }
@media (min-width: 768px) {
  .chaos-cards { grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 640px; margin: 0 auto 40px; }
  .chaos-card { padding: 24px 20px; }
}

.stats-strip { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; border-top: 1px solid var(--cream-border); }
.stat { text-align: center; }
.stats-num { font-size: 28px; font-weight: 800; }
.stats-label { font-size: 12px; margin-top: 2px; }
.stats-divider { display: none; }
@media (min-width: 768px) {
  .stats-strip { flex-direction: row; justify-content: center; gap: 32px; padding-top: 32px; }
  .stats-divider { display: block; width: 1px; background: var(--cream-border); align-self: stretch; }
  .stats-num { font-size: 32px; }
}

/* ============================================
   JOURNEY STEPS
   ============================================ */
.journey-step { padding: 48px 0; position: relative; }
@media (min-width: 768px) { .journey-step { padding: 64px 0; } }
.journey-step--navy { background: var(--navy); }
.journey-step--navy-light { background: var(--navy-light); }

.step-layout { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 1; }
@media (min-width: 768px) {
  .step-layout { flex-direction: row; gap: 40px; align-items: center; }
  .step-layout--reverse { flex-direction: row-reverse; }
  .step-text { flex: 1; }
  .step-card { flex: 0 0 300px; }
}

.step-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 800; border: 1.5px solid; flex-shrink: 0;
}
.step-num--teal { color: var(--teal); border-color: rgba(31,182,166,0.5); }
.step-num--warn { color: var(--warn); border-color: rgba(255,180,0,0.5); }
.step-num--success { color: var(--success); border-color: rgba(40,200,64,0.5); }
.step-label--teal { color: var(--teal); }
.step-label--warn { color: var(--warn); }
.step-label--success { color: var(--success); }
.step-line { flex: 1; height: 1px; display: none; }
@media (min-width: 768px) { .step-line { display: block; } }
.step-line--teal { background: linear-gradient(90deg, rgba(31,182,166,0.3), transparent); }
.step-line--warn { background: linear-gradient(90deg, rgba(255,180,0,0.3), transparent); }
.step-line--success { background: linear-gradient(90deg, rgba(40,200,64,0.3), transparent); }
.step-desc { color: var(--text-dim); font-size: 14px; line-height: 1.7; margin-top: 12px; }

/* Card elements */
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
.req-notification { background: var(--teal-glow); border-left: 3px solid var(--teal); padding: 12px; border-radius: 0 6px 6px 0; }
.req-notification-title { font-size: 13px; font-weight: 700; }
.req-notification-meta { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.tag { display: inline-block; border-radius: 10px; padding: 3px 10px; font-size: 10px; }
.tag--teal { background: rgba(31,182,166,0.1); color: var(--teal); }
.tag--surface { background: var(--surface); color: var(--text-faint); }

.graph-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--surface); border-radius: 4px; margin-bottom: 6px; }
.graph-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.graph-name { font-size: 12px; color: var(--text-dim); flex: 1; }
.graph-link { font-size: 10px; color: var(--teal-dim); }

.cluster-box { background: var(--teal-glow); border: 1px solid rgba(31,182,166,0.15); border-radius: 6px; padding: 10px; margin-top: 12px; }
.cluster-title { font-size: 11px; color: var(--teal); font-weight: 600; }
.cluster-desc { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

.gap-alert { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.gap-dot { width: 16px; height: 16px; background: rgba(255,180,0,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; }
.gap-label { color: var(--warn); font-size: 12px; font-weight: 600; }
.gap-body { background: rgba(255,180,0,0.05); border-left: 3px solid var(--warn); padding: 12px; border-radius: 0 6px 6px 0; margin-bottom: 10px; }
.gap-body-title { font-size: 13px; font-weight: 700; }
.gap-body-meta { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.ai-hint { display: flex; align-items: center; gap: 6px; padding: 10px; background: rgba(31,182,166,0.04); border-radius: 6px; border: 1px solid rgba(31,182,166,0.1); }
.ai-hint-icon { font-size: 11px; color: var(--teal); }
.ai-hint-text { font-size: 11px; color: rgba(31,182,166,0.7); }

.delivery-row { margin-bottom: 12px; }
.delivery-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.delivery-name { font-size: 12px; color: var(--text-dim); }
.delivery-status { font-size: 11px; }
.delivery-status--shipped { color: var(--success); }
.delivery-status--progress { color: var(--teal); }
.delivery-status--planned { color: var(--warn); }
.delivery-track { background: var(--surface); border-radius: 3px; height: 5px; overflow: hidden; }
.delivery-fill { height: 100%; border-radius: 3px; width: 0; transition: width 1s ease-out; }
.delivery-fill--shipped { background: var(--success); }
.delivery-fill--progress { background: var(--teal); }
.delivery-fill--planned { background: var(--warn); }
.delivery-fill.animate { width: var(--fill); }
.delivery-summary { margin-top: 12px; font-size: 11px; color: rgba(40,200,64,0.7); }

/* ============================================
   INTELLIGENCE
   ============================================ */
.intelligence { background: var(--navy-deep); border-top: 1px solid var(--border); }
.intel-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) { .intel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .intel-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.intel-card { text-align: left; }
.intel-icon { margin-bottom: 10px; }
.intel-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.intel-desc { font-size: 12px; color: var(--text-dim); }

/* ============================================
   PERSONAS (cream)
   ============================================ */
.personas { background: var(--cream); }
.personas h2 { color: var(--cream-text); }
.persona-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }
.persona-icon { margin-bottom: 12px; }
.persona-quote { font-size: 15px; font-weight: 800; color: var(--cream-text); line-height: 1.3; margin-bottom: 8px; }
.persona-answer { font-size: 13px; color: var(--cream-dim); line-height: 1.6; margin-bottom: 12px; }
.persona-roles { display: flex; gap: 6px; flex-wrap: wrap; }
.role-tag { background: rgba(31,182,166,0.08); border: 1px solid rgba(31,182,166,0.2); border-radius: 12px; padding: 3px 10px; font-size: 10px; color: var(--teal-cream); font-weight: 600; }

/* ============================================
   INTEGRATIONS
   ============================================ */
.integrations { background: var(--navy); border-top: 1px solid var(--border); }
.integ-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .integ-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.integ-card { text-align: center; }
.integ-icon { margin-bottom: 10px; display: flex; justify-content: center; }
.integ-title { font-size: 14px; font-weight: 700; }
.integ-desc { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.trust-badges { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-faint); }
.trust-dot { color: var(--teal); }

/* ============================================
   PRICING
   ============================================ */
.pricing { background: var(--navy-light); }
.pricing-grid { display: flex; flex-direction: column; gap: 16px; align-items: center; }
@media (min-width: 768px) { .pricing-grid { flex-direction: row; justify-content: center; gap: 24px; } }
.price-card { border-radius: 12px; padding: 32px; width: 100%; max-width: 340px; text-align: left; }
.price-card--free { background: var(--surface); border: 1px solid var(--border); }
.price-card--premium { background: rgba(31,182,166,0.06); border: 1.5px solid rgba(31,182,166,0.3); position: relative; order: -1; }
@media (min-width: 768px) { .price-card--premium { order: 0; } .price-card { width: 300px; } }
.price-badge { position: absolute; top: -10px; right: 20px; background: var(--teal); color: var(--navy); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 10px; }
.price-tier { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.price-tier--teal { color: var(--teal); }
.price-amount { font-size: 36px; font-weight: 800; margin-bottom: 4px; }
.price-unit { font-size: 16px; font-weight: 500; color: var(--text-dim); }
.price-limit { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.price-features { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-dim); }

/* ============================================
   CTA
   ============================================ */
.cta-section { background: var(--navy); border-top: 1px solid var(--border); }
.cta-form { max-width: 400px; margin: 0 auto; }
.cta-input-row { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 480px) { .cta-input-row { flex-direction: row; } }
.cta-input {
  flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  padding: 12px 16px; color: #fff; font-size: 14px; outline: none; min-height: 44px; transition: border-color 0.2s;
}
.cta-input:focus { border-color: rgba(31,182,166,0.4); }
.cta-input::placeholder { color: var(--text-faint); }
.cta-submit { white-space: nowrap; min-height: 44px; }
.cta-fine { font-size: 11px; color: var(--text-faint); margin-top: 10px; text-align: center; }
.cta-form .success-msg { display: none; text-align: center; color: var(--success); font-weight: 600; font-size: 14px; padding: 16px 0; }
.cta-form.submitted .cta-input-row, .cta-form.submitted .cta-fine { display: none; }
.cta-form.submitted .success-msg { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--navy-deep); border-top: 1px solid var(--border); padding: 24px 0; }
.footer .container { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo-icon { height: 22px; width: auto; display: block; }
.footer-wordmark { font-weight: 700; font-size: 14px; color: var(--text-dim); }
.footer-links { font-size: 12px; color: var(--text-faint); }
.footer-links a { color: var(--text-faint); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-dim); }
@media (min-width: 768px) {
  .footer .container { flex-direction: row; justify-content: space-between; text-align: left; }
}
