/* =============================================
   NANOPHAST — styles.css
   White background, dark text, blue accents
   Font: DM Sans (matches mockup clean sans-serif)
============================================= */

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

:root {
  --navy:    #0A1628;
  --blue:    #2563EB;
  --blue-dk: #1d4ed8;
  --blue-lt: #3b82f6;
  --slate:   #64748B;
  --slate-lt:#94a3b8;
  --light:   #F8FAFC;
  --mid:     #f1f5f9;
  --white:   #ffffff;
  --border:  #e2e8f0;
  --green:   #10b981;
  --radius:  10px;
  --radius-lg: 16px;
  --shadow:  0 2px 16px rgba(10,22,40,0.07);
  --shadow-lg: 0 8px 40px rgba(10,22,40,0.13);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', 'Inter', sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--slate); }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.75rem;
}
.eyebrow.blue { color: var(--blue); }

.accent { color: var(--blue); }
.blue-text { color: var(--blue); }

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

/* --- NAV --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(10,22,40,0.08); }

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-dk) !important; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: var(--white);
  padding: 1.5rem 2rem;
  flex-direction: column; gap: 1.2rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 1rem; font-weight: 500;
  color: var(--navy); text-decoration: none;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); }
.btn-primary.large { padding: 0.9rem 2.2rem; font-size: 0.95rem; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  border: 1.5px solid var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
  padding: 100px 40px 80px;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-content { flex: 1; min-width: 300px; }
.hero-headline { color: var(--navy); margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.hero-sub { color: var(--slate); font-size: 1rem; max-width: 460px; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { flex: 1; min-width: 300px; display: flex; justify-content: center; }

/* --- PROBE COMPARE --- */
.probe-compare {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.probe-card {
  flex: 1;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.probe-card.probe-old { background: var(--white); }
.probe-card.probe-new { background: var(--light); }

.probe-img-wrap {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.probe-img {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
}

.probe-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}
.probe-cons, .probe-pros {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.4rem;
  text-align: left;
  width: 100%;
}
.probe-cons li, .probe-pros li {
  font-size: 0.8rem;
  padding-left: 1.2rem;
  position: relative;
  color: var(--slate);
}
.probe-cons li::before { content: '✕'; position: absolute; left: 0; color: #ef4444; font-size: 0.7rem; top: 0.1rem; }
.probe-pros li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-size: 0.75rem; top: 0.05rem; }

.vs-divider {
  display: flex; align-items: center; justify-content: center;
  width: 36px; flex-shrink: 0;
  background: var(--mid);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.vs-divider span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--slate-lt);
  writing-mode: vertical-rl;
}

/* --- HOW IT WORKS --- */
.how-it-works { background: var(--white); padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-sub { font-size: 1.02rem; }

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-circle-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--border);
  flex-shrink: 0;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card h3 { margin-bottom: 0.75rem; text-align: center; }
.card p { font-size: 0.93rem; text-align: center; }

/* --- PILOT --- */
.pilot { background: var(--navy); padding: 100px 0; }
.pilot .section-header h2 { color: var(--white); }
.pilot .section-sub { color: rgba(255,255,255,0.6); }
.pilot .eyebrow { color: var(--blue-lt); }

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pilot-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s;
}
.pilot-card:hover { border-color: rgba(37,99,235,0.5); }
.pilot-card h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  text-align: center;
  font-weight: 700;
}
.pilot-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.pilot-card li {
  font-size: 0.9rem;
  color: #93c5fd;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.5;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  margin-top: 1px;
}

.pilot-cta { text-align: center; }

/* --- ABOUT --- */
.about { background: var(--white); padding: 100px 0 60px; }
.about-inner {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
  margin-bottom: 5rem;
}
.about-text { flex: 1.2; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1rem; font-size: 0.97rem; }
blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1.25rem;
  margin-top: 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--navy);
}
blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate);
  font-style: normal;
}

.about-visual { flex: 0.8; display: flex; justify-content: center; }
.founder-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  width: 100%;
  max-width: 280px;
}
.founder-img-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--border);
  flex-shrink: 0;
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.founder-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.25rem; }
.founder-title { font-size: 0.85rem; color: var(--slate); margin-bottom: 1.25rem; }
.founder-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.founder-tags span {
  background: #e0e7ff;
  color: var(--blue-dk);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
}

.partners-wrap { padding-bottom: 40px; }
.partners-row { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1rem; }
.partner-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 80px;
  box-shadow: var(--shadow);
}
.partner-logo {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

/* --- CONTACT --- */
.contact { background: var(--light); padding: 100px 0; }
.contact-inner { display: flex; gap: 5rem; align-items: flex-start; }
.contact-left { flex: 1; }
.contact-left .eyebrow { color: var(--blue); }
.contact-left h2 { margin-bottom: 1rem; }
.contact-left > p { color: var(--slate); margin-bottom: 2rem; font-size: 0.97rem; }

.contact-logo-img { height: 28px; width: auto; display: block; margin-bottom: 0.35rem; }
.contact-tagline { font-size: 0.85rem; color: var(--slate); }

.contact-form { flex: 1.2; display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.req { color: var(--blue); }
.form-group input,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-lt); }

.checkbox-group .checkbox-label {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--slate);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; }

.contact-form .btn-primary { align-self: flex-start; margin-top: 0.5rem; }

.form-success {
  display: none;
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 500;
}
.form-success.visible { display: block; }

/* --- FOOTER --- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo-img { height: 26px; width: auto; display: block; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--slate); text-decoration: none; }
.footer-links a:hover { color: var(--navy); }
.footer-copy { font-size: 0.8rem; color: var(--slate-lt); }

/* --- SECTION DIVIDER --- */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.divider-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-lt);
  white-space: nowrap;
}

/* --- HERO ENTRANCE ANIMATION --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-content .eyebrow  { animation: fadeUp 0.6s ease both; animation-delay: 0.1s; opacity: 0; }
.hero-headline          { animation: fadeUp 0.6s ease both; animation-delay: 0.25s; opacity: 0; }
.hero-sub               { animation: fadeUp 0.6s ease both; animation-delay: 0.4s; opacity: 0; }
.hero-actions           { animation: fadeUp 0.6s ease both; animation-delay: 0.55s; opacity: 0; }
.hero-visual            { animation: fadeIn 0.8s ease both; animation-delay: 0.5s; opacity: 0; }

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* --- MICRO-INTERACTIONS --- */
.probe-card {
  transition: transform 0.25s ease;
}
.probe-card:hover {
  transform: translateY(-4px);
}
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 100px 24px 60px; }
  .hero-visual { width: 100%; }
  .probe-compare { max-width: 480px; margin: 0 auto; }
  .cards-row { grid-template-columns: 1fr; }
  .pilot-grid { grid-template-columns: 1fr; }
  .about-inner { flex-direction: column; gap: 2.5rem; }
  .contact-inner { flex-direction: column; gap: 2.5rem; }
  .specs-strip { padding: 2rem 1.5rem; }
  .spec-divider { display: none; }
}
@media (max-width: 640px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .how-it-works, .pilot, .about, .contact { padding: 70px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
}