/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1a3a6b;
  --navy-dark:   #0f2348;
  --blue:        #1d6fa4;
  --sky:         #2196c4;
  --sky-light:   #e8f4fb;
  --accent:      #0ea5e9;
  --white:       #ffffff;
  --off-white:   #f4f8fc;
  --gray-light:  #e2edf5;
  --gray:        #8ba5be;
  --text:        #1e2d3d;
  --text-light:  #4a6180;

  --radius:      10px;
  --shadow:      0 4px 24px rgba(26,58,107,0.10);
  --shadow-lg:   0 12px 40px rgba(26,58,107,0.16);
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { line-height: 1.75; color: var(--text-light); }

.section-tag {
  display: inline-block;
  background: var(--sky-light);
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow var(--transition);
}
nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img { height: 46px; width: auto; }
.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--navy-dark) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a5276 100%);
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 70% 40%, rgba(14,165,233,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Grid dots */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero-sub { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 40px; max-width: 500px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(14,165,233,0.4);
}
.btn-primary:hover { background: #0284c7; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(14,165,233,0.5); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ===== HERO ILLUSTRATION ===== */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-card-wrap {
  position: relative;
  width: 440px;
  max-width: 100%;
}

.hero-illustration {
  width: 100%;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.35));
}

/* Floating stats */
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(26,58,107,0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}
.float-badge.top-left  { top: -10px; left: -20px; animation-delay: 0s; }
.float-badge.bot-right { bottom: 10px; right: -20px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon { font-size: 1.4rem; }
.float-text strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.float-text span { font-size: 0.75rem; color: var(--text-light); }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--off-white);
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-light);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
}
.trust-item svg { color: var(--sky); flex-shrink: 0; }

/* ===== MISSION ===== */
.mission {
  background: var(--white);
  text-align: center;
}
.mission .container { max-width: 800px; }
.mission h2 { color: var(--navy); margin-bottom: 20px; }
.mission p { font-size: 1.1rem; }
.mission-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  padding: 28px 40px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  min-width: 160px;
}
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 6px; font-weight: 500; }

/* ===== FEATURES ===== */
.features { background: var(--off-white); }
.features-header { text-align: center; margin-bottom: 60px; }
.features-header h2 { color: var(--navy); margin-bottom: 12px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 60px; height: 60px;
  background: var(--sky-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-icon svg { width: 28px; height: 28px; color: var(--sky); }

.feature-card h3 { color: var(--navy); margin-bottom: 12px; }
.feature-list {
  list-style: none;
  margin-top: 20px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.feature-list li::before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  background: var(--sky-light);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%232196c4' d='M6.5 11.5L3 8l1-1 2.5 2.5 5-5 1 1z'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ===== HOW IT WORKS ===== */
.how { background: var(--white); }
.how-header { text-align: center; margin-bottom: 64px; }
.how-header h2 { color: var(--navy); margin-bottom: 12px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--navy));
  opacity: 0.25;
}

.step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(26,58,107,0.3);
}
.step h3 { color: var(--navy); margin-bottom: 10px; }
.step p { font-size: 0.9rem; }

/* ===== AI SECTION ===== */
.ai-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 500px at 80% 50%, rgba(14,165,233,0.15) 0%, transparent 70%);
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-content h2 { color: var(--white); margin-bottom: 20px; }
.ai-content p { color: rgba(255,255,255,0.75); margin-bottom: 32px; }

.ai-capabilities {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-cap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px 20px;
}
.ai-cap-icon {
  width: 36px; height: 36px;
  background: rgba(14,165,233,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.ai-cap-text strong { display: block; color: var(--white); font-size: 0.92rem; }
.ai-cap-text span { color: rgba(255,255,255,0.6); font-size: 0.83rem; }

/* Chat mockup */
.chat-mockup {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.chat-header {
  background: var(--navy);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--sky));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.chat-header-text strong { display: block; color: var(--white); font-size: 0.9rem; }
.chat-header-text span { color: rgba(255,255,255,0.6); font-size: 0.75rem; }
.chat-status { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; margin-left: auto; }

.chat-body { padding: 20px; background: var(--off-white); display: flex; flex-direction: column; gap: 14px; }

.chat-bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.55;
}
.chat-bubble.user {
  background: var(--navy);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-bubble.ami {
  background: var(--white);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.bubble-sender { font-size: 0.72rem; color: var(--gray); margin-bottom: 4px; font-weight: 600; }

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
}
.chat-input-bar input {
  flex: 1;
  border: 1px solid var(--gray-light);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.83rem;
  outline: none;
  color: var(--text-light);
  background: var(--off-white);
}
.chat-send {
  width: 36px; height: 36px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.9rem;
}

/* ===== FOUNDERS ===== */
.founders { background: var(--off-white); }
.founders-header { text-align: center; margin-bottom: 56px; }
.founders-header h2 { color: var(--navy); margin-bottom: 12px; }

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.founder-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  text-align: center;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
}
.founder-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-light), var(--gray-light));
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(26,58,107,0.15);
  overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-initials { font-size: 2rem; font-weight: 700; color: var(--navy); }
.founder-card h3 { color: var(--navy); margin-bottom: 4px; }
.founder-title { color: var(--sky); font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; }
.founder-card p { font-size: 0.88rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--sky) 50%, var(--blue) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; }
.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.75; max-width: 300px; margin-top: 14px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.footer-logo img { height: 38px; }
.footer-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.footer-logo-text span { color: var(--accent); }

.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 18px; font-weight: 600; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-disclaimer {
  font-size: 0.78rem;
  margin-top: 24px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  line-height: 1.65;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .ai-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; max-width: 400px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .trust-inner { gap: 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow);
  }
}
