/* ============================================================
   AiA Landing Page Stylesheet
   Matches main site fonts, colors, and style
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #343541;
  --bg-main: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --fg-primary: #111827;
  --fg-secondary: #6b7280;
  --accent: #343541;
  --accent-hover: #55576c;

  --max-width: 1100px;
  --radius-lg: 1rem;
  --radius-md: .75rem;
  --radius-sm: .5rem;
  --font-body: system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg-main);
  color: var(--fg-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { color: var(--fg-secondary); }

strong { color: var(--fg-primary); }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.section-note {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  color: var(--fg-secondary);
}

/* ============================================================
   Navigation
   ============================================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 1000;
}

.top-logo {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--fg-secondary);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color .15s;
}

.nav-links a:hover {
  color: var(--fg-primary);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  transition: background .15s, transform .1s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
  color: var(--fg-primary);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-main);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-alt) 100%);
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--fg-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .15s;
}

.btn-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 53, 65, 0.25);
}

/* ============================================================
   Results Grid (Why Us section)
   ============================================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.result-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.result-highlight {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .5rem;
}

.result-label {
  color: var(--fg-secondary);
  font-size: 1rem;
}

/* ============================================================
   Features Grid (What Makes Us Different)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: .75rem;
  color: var(--fg-primary);
}

.feature-card p {
  font-size: .95rem;
}

/* ============================================================
   Examples List
   ============================================================ */
.examples-list {
  max-width: 700px;
  margin: 0 auto;
}

.example-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.example-item:last-child {
  border-bottom: none;
}

.example-bullet {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.example-item p {
  font-size: 1.05rem;
  color: var(--fg-primary);
}

/* ============================================================
   Security Grid
   ============================================================ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.security-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-weight: 500;
  color: var(--fg-primary);
}

.security-icon {
  font-size: 1.5rem;
}

/* ============================================================
   Process Timeline
   ============================================================ */
.process-timeline {
  max-width: 700px;
  margin: 2rem auto 0;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 48px;
  width: 2px;
  height: calc(100% - 16px);
  background: var(--border-strong);
}

.step-number {
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: .5rem;
}

.step-content p {
  font-size: .95rem;
}

/* ============================================================
   Tech Badges
   ============================================================ */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.5rem;
}

.tech-badge {
  background: var(--bg-main);
  border: 1px solid var(--border-strong);
  border-radius: 2rem;
  padding: .5rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--fg-primary);
}

/* ============================================================
   CTA Section (Booking)
   ============================================================ */
.section-cta {
  background: var(--bg-main);
  padding: 4rem 0 2rem;
}

.cta-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.cta-list {
  max-width: 500px;
  margin: 0 auto 1.5rem;
  list-style: none;
}

.cta-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .75rem;
  color: var(--fg-primary);
  font-size: 1.05rem;
}

.cta-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.cta-sub {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Calendly widget container */
.calendly-inline-widget {
  margin: 0 auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--fg-secondary);
  font-size: 1rem;
  margin-bottom: .5rem;
}

.footer-copyright {
  color: var(--fg-secondary);
  font-size: .85rem;
}

/* ============================================================
   Responsive Adjustments
   ============================================================ */
@media (max-width: 600px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: auto;
    padding: 8rem 1rem 4rem;
  }

  .hero-sub {
    font-size: 1.1rem;
  }

  .btn-cta {
    padding: .875rem 2rem;
    font-size: 1rem;
  }

  .results-grid,
  .features-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    gap: 1rem;
  }

  .process-step:not(:last-child)::after {
    left: 18px;
  }

  .step-number {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}
