/* ===================================
   BEAUFORT AI — Website Styles
   Dark maritime tech aesthetic
   =================================== */

:root {
  --black: #0a0a0a;
  --dark: #111214;
  --dark2: #1a1d21;
  --border: #2a2d32;
  --text: #e8eaed;
  --muted: #8b949e;
  --accent: #3b82f6;
  --accent-green: #22c55e;
  --accent-amber: #f59e0b;
  --white: #ffffff;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.btn-nav {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px !important;
}
.btn-nav:hover { background: #2563eb !important; }
.btn-nav-dash {
  background: rgba(34,197,94,0.15) !important;
  border: 1px solid rgba(34,197,94,0.4) !important;
  color: #22c55e !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.btn-nav-dash:hover { background: rgba(34,197,94,0.25) !important; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.accent { color: var(--accent); }
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; align-items: center; margin-bottom: 64px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); }
.btn-ghost {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.hero-stat-div { width: 1px; height: 40px; background: var(--border); }

/* SECTIONS */
.section { padding: 100px 0; }
.section-dark { background: var(--dark); }
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

/* PROBLEM */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.problem-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}
.problem-card:hover { border-color: rgba(59,130,246,0.4); }
.problem-icon { font-size: 28px; margin-bottom: 16px; }
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.problem-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* HOW IT WORKS */
.how-grid {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.how-step {
  flex: 1;
  min-width: 220px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: rgba(59,130,246,0.3);
  margin-bottom: 16px;
  line-height: 1;
}
.how-step h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.how-step p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.how-arrow {
  font-size: 24px;
  color: var(--border);
  margin-top: 60px;
  flex-shrink: 0;
}

/* DP CALLOUT */
.dp-callout {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(59,130,246,0.03));
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 16px;
  padding: 40px;
}
.dp-callout-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.dp-callout-text { flex: 1; min-width: 280px; }
.dp-callout-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.dp-callout-text p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.dp-callout-text strong { color: var(--text); }
.dp-callout-stat { text-align: center; flex-shrink: 0; }
.big-stat {
  display: block;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.big-stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 160px;
  line-height: 1.4;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
}

/* DEMO CARD */
.demo-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
}
.demo-header {
  background: var(--dark2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.demo-dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-dot.green { background: #22c55e; }
.demo-dot.yellow { background: #f59e0b; }
.demo-dot.red { background: #ef4444; }
.demo-title { font-size: 12px; color: var(--muted); margin-left: 8px; font-family: var(--font-main); }
.demo-body { padding: 20px; }
.demo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(42,45,50,0.5);
  font-size: 13px;
}
.demo-row:last-of-type { border-bottom: none; }
.demo-label { color: var(--muted); }
.demo-value { color: var(--text); font-weight: 500; }
.green-text { color: var(--accent-green) !important; }
.accent-text { color: var(--accent) !important; }
.demo-divider { height: 1px; background: var(--border); margin: 12px 0; }
.demo-footer {
  font-size: 11px;
  color: rgba(139,148,158,0.5);
  text-align: right;
  margin-top: 16px;
  font-family: var(--font-main);
}

/* NASA SECTION */
.nasa-section { background: var(--black); }
.nasa-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) { .nasa-inner { grid-template-columns: 1fr; } }
.nasa-text h2 { margin-bottom: 20px; }
.nasa-text p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.nasa-stats { display: flex; flex-direction: column; gap: 32px; min-width: 180px; }
.nasa-stat { text-align: right; }
.nasa-stat .stat-num { font-size: 32px; }

/* CONTACT / WAITLIST */
.contact-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-inner h2 { margin-bottom: 16px; }
.contact-inner > p { color: var(--muted); margin-bottom: 40px; }
.waitlist-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.waitlist-form input {
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.waitlist-form input:focus { border-color: var(--accent); }
.waitlist-form input::placeholder { color: var(--muted); }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }
.contact-direct { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.contact-direct p { color: var(--muted); font-size: 14px; }
.contact-direct a { color: var(--accent); text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }

/* FOOTER */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-left { display: flex; align-items: center; gap: 16px; }
.footer-logo { height: 28px; width: auto; opacity: 0.7; }
.footer-left p { font-size: 13px; color: var(--muted); }
.footer-right { text-align: right; }
.footer-right p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .how-arrow { display: none; }
  .how-grid { flex-direction: column; }
  .hero-stat-div { display: none; }
  .dp-callout-inner { flex-direction: column; text-align: center; }
  .nasa-stat { text-align: left; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
}
