/* ------------------------------------------------------------
   Design tokens
------------------------------------------------------------ */
:root {
  --primary: #0c254a;
  --secondary: #2ccad6;
  --accent: #f96c04;
  --text: #19202a;
  --muted: #5b6475;
  --bg: #f4f7fb;
  --card: #ffffff;
  --border: #e2e8f0;
  --footer: #0c142a;
  --shadow: 0 10px 30px rgba(12, 37, 74, 0.08);
  --radius: 12px;
}

/* ------------------------------------------------------------
   Base styles
------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
p {
  margin: 0 0 0.75rem;
}
ul {
  margin: 0;
  padding: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ------------------------------------------------------------
   Layout helpers
------------------------------------------------------------ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--border);
}
.section h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 0.75rem;
}
.section p {
  max-width: 820px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.small {
  font-size: 0.95rem;
  color: var(--muted);
}
.badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}
main ol {
  padding-left: 1.1rem;
  color: var(--text);
}
main ol li {
  margin-bottom: 0.4rem;
}

/* ------------------------------------------------------------
   Announcement banner
------------------------------------------------------------ */
.announce-bar {
  display: none !important;
}

/* ------------------------------------------------------------
   Legacy header (used by AI Roadmap pages)
------------------------------------------------------------ */
header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo-nav-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 70px;
  width: auto;
}
.tag {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
nav a {
  color: var(--text);
  font-weight: 600;
  transition: color 0.18s;
}
nav a:hover {
  color: var(--accent);
}

/* Brochure overlay (legacy) */
.brochure-link {
  position: relative;
  display: block;
}
.brochure-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  border-radius: 8px;
}
.brochure-link:hover .brochure-overlay {
  opacity: 1;
}

/* ------------------------------------------------------------
   Buttons & links
------------------------------------------------------------ */
.btn,
.cta-main,
.login-button {
  display: inline-block;
  background: var(--secondary);
  color: #0b182c;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover,
.cta-main:hover,
.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(44, 202, 214, 0.25);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-link {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: underline;
}
.btn-outline {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}
.btn-outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.alt-cta {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* ------------------------------------------------------------
   General hero (legacy)
------------------------------------------------------------ */
.hero {
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
}
.hero-text {
  max-width: 780px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 12px;
}
.hero p {
  font-size: 1.05rem;
  color: var(--muted);
}
.hero-image {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* ------------------------------------------------------------
   Form styling (used by intake + contact)
------------------------------------------------------------ */
.card label {
  display: block;
  font-weight: 700;
  color: #111827;
}
.card input,
.card textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card textarea,
.contact-form textarea {
  resize: none;
  min-height: 100px;
}
.card input:focus,
.card textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(44, 202, 214, 0.25);
}
.form-section {
  margin-top: 6px;
}
.form-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 8px 0 12px;
}
.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
  transform-origin: 50% 50%;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ------------------------------------------------------------
   Pricing (legacy)
------------------------------------------------------------ */
.pricing {
  text-align: center;
  padding: 40px;
  background: #f6f9ff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 20px;
}
.pricing .price {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

/* ------------------------------------------------------------
   Contact modal (shared)
------------------------------------------------------------ */
.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}
.contact-modal {
  background: var(--card);
  padding: 28px;
  border-radius: 12px;
  max-width: 360px;
  width: 92%;
  text-align: center;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
}
.contact-modal h3 {
  margin-bottom: 18px;
  color: var(--text);
}
.contact-option {
  display: block;
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 10px;
  background: #f7f9fc;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  transition: background 0.18s, border-color 0.18s;
}
.contact-option:hover {
  background: #eef2f7;
  border-color: var(--secondary);
}
.contact-option-chat {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #0b182c;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}
.close-modal:hover {
  color: #e53e3e;
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
.footer,
.site-footer {
  padding: 32px 0 28px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.footer-legal a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.footer-legal a:hover,
.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.site-footer {
  background: var(--card);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.04);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   Marketing header (new pages)
------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(12, 37, 74, 0.08);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
}
.brand img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  font-weight: 700;
  color: var(--text);
  padding: 0.4rem 0.1rem;
}
.nav-links a[aria-current="page"] {
  color: var(--accent);
}
.nav-links .nav-cta {
  background: var(--secondary);
  color: #0b182c;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(44, 202, 214, 0.25);
}
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.6rem;
}
.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text);
  opacity: 0.8;
  transition: opacity 0.18s, transform 0.18s;
}
.nav-social a:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.nav-social svg {
  width: 18px;
  height: 18px;
}
.nav-links a[href="/website/airoadmap.html"],
nav a[href="/website/airoadmap.html"] {
  display: none !important;
}

/* ------------------------------------------------------------
   Landing hero
------------------------------------------------------------ */
.landing-hero {
  display: block;
  align-items: flex-start;
  gap: 0;
  padding: clamp(1.25rem, 3.5vw, 2.25rem) 0;
  position: relative;
  overflow: visible;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.landing-hero.container {
  max-width: 1180px;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
.landing-hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: clamp(0.5rem, 2vw, 1.2rem);
  width: clamp(280px, 40vw, 520px);
  height: clamp(280px, 40vw, 520px);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.8)), url('/website/hero-bg.png') center/cover no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: -1;
}
.landing-hero .hero-content {
  max-width: none;
  width: 100%;
  position: relative;
  z-index: 1;
}
.landing-hero .hero-visual {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.landing-hero .hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--secondary);
  font-size: 0.85rem;
  margin: 0 0 0.6rem;
}
.landing-hero .hero-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
}
.landing-hero .hero-body {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: none;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(12, 37, 74, 0.08);
}
.hero-visual {
  text-align: right;
}
.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 0.75rem;
}

/* ------------------------------------------------------------
   Trust row
------------------------------------------------------------ */
.trust-row {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.client-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
.trust-pill {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f8fbff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(12, 37, 74, 0.06);
}

/* ------------------------------------------------------------
   Services & app cards
------------------------------------------------------------ */
.services {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}
.section-lead {
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  max-width: 820px;
  margin: 0.1rem auto 1.8rem;
  text-align: center;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f8fa;
  display: grid;
  place-items: center;
  color: var(--secondary);
  font-weight: 800;
  font-size: 1rem;
}
.service-icon img {
  width: 26px;
  height: 26px;
  display: block;
}
.service-card h3 {
  margin: 0;
  color: var(--primary);
}
.service-card p {
  margin: 0;
  color: var(--muted);
}
.apps {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(2.2rem, 5vw, 3rem);
  margin: clamp(2rem, 5vw, 3rem) auto;
}
.app-cards .service-card {
  box-shadow: none;
}

/* ------------------------------------------------------------
   Testimonials
------------------------------------------------------------ */
.landing-testimonials {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}
.reviews-section {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.4rem;
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
}
.reviewer {
  font-weight: 800;
}
.stars {
  color: #f7b500;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.review-card p {
  margin: 0;
  color: var(--text);
}

/* ------------------------------------------------------------
   Contact CTA
------------------------------------------------------------ */
.contact-cta {
  background: linear-gradient(98deg, var(--secondary) 45%, var(--primary) 100%);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 1.8rem) 1.5rem;
  margin: clamp(1rem, 2.5vw, 1.5rem) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  align-items: start;
}
.contact-copy h2 {
  margin: 0 0 0.6rem;
  color: #fff;
}
.contact-copy p {
  color: rgba(255, 255, 255, 0.88);
}
.contact-details {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}
.contact-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-chip strong {
  color: #fff;
}
.contact-chip a {
  color: #fff;
  text-decoration: underline;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.contact-form {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-form label {
  color: #f1f5ff;
  font-weight: 700;
  font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
  border: none;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--primary);
  font-size: 1rem;
}
.contact-form button {
  align-self: flex-start;
}
.form-status {
  font-size: 0.95rem;
  margin-top: 0.3rem;
}
.social-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.social-inline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(12, 37, 74, 0.06);
  color: var(--text);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.social-inline a:hover {
  transform: translateY(-1px);
  background: rgba(44, 202, 214, 0.15);
  box-shadow: 0 6px 12px rgba(12, 37, 74, 0.12);
}
.social-inline svg {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------
   Page sections (about/services)
------------------------------------------------------------ */
.page-header {
  text-align: center;
  padding: clamp(2.3rem, 5vw, 3rem) 0 1.2rem;
}
.page-header h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 3.3vw, 2.6rem);
}
.page-header p {
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto;
}
.service-details,
.about-content {
  max-width: 980px;
  margin: 0 auto 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}
.service-details h2,
.about-content h2 {
  margin-top: 0;
  color: var(--primary);
}
.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.team-list li {
  background: #f4f7fd;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  justify-self: center;
  max-width: 320px;
}
.team-list img {
  border-radius: 50%;
  width: 76px;
  height: 76px;
  object-fit: cover;
  margin: 0 auto 0.8rem;
}

/* ------------------------------------------------------------
   Responsive
------------------------------------------------------------ */
@media (max-width: 880px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    width: 100%;
  }
  .hero-visual {
    text-align: left;
  }
}
@media (max-width: 768px) {
  .logo img {
    height: 56px;
  }
  .tag {
    font-size: 1.1rem;
  }
  .section {
    border-bottom: none;
  }
}
