/* ========================================
   AirFlo Sciences — Brand Stylesheet
   Dark chocolate + gold, luxury editorial
   ======================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* Playfair Display — serif, high-contrast, editorial (headlines) */
/* Inter — clean sans-serif (body) */

/* --- Variables --- */
:root {
  --black: #0C1014;
  --cream: #ECE8DB;
  --gold: #B8975A;
  --grey: #A9A598;
  --mid: #5A5A5A;
  --white: #F5F2EB;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* --- Body --- */
body {
  font-family: var(--font-mono);
  background: var(--black);
  color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* --- Background wave animation (airflow lines from business card) --- */
.wave-container {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wave-container canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.35;
}

/* --- Navigation --- */
nav {
  position: fixed; top: 0; width: 100%;
  background: rgba(12, 16, 20, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(184, 151, 90, 0.15);
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 4px;
}

.footer-brand .nav-logo .mark {
  width: 28px; height: 28px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  padding: 8px 16px;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%) scaleX(0);
  width: 60%; height: 1px; background: var(--gold);
  transition: transform var(--transition);
}
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-links a.active { color: var(--cream); }
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); background: var(--cream); }

/* --- Dropdown --- */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-dropdown > a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%) scaleX(0);
  width: 60%; height: 1px; background: var(--gold);
  transition: transform var(--transition);
}
.nav-dropdown > a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-dropdown:hover > a { color: var(--gold); }
.nav-dropdown:hover > a::after { transform: translateX(-50%) scaleX(1); }

.nav-dropdown .arrow {
  font-size: 0.55rem;
  color: var(--grey);
  transition: color var(--transition);
}
.nav-dropdown:hover .arrow { color: var(--gold); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: rgba(12, 16, 20, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 151, 90, 0.15);
  border-top: 2px solid var(--gold);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: all 0.25s ease;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--grey);
  text-decoration: none;
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.nav-dropdown-menu a:hover {
  color: var(--cream);
  background: rgba(184, 151, 90, 0.06);
  border-left-color: var(--gold);
}
.nav-dropdown-menu a small {
  display: block;
  font-size: 0.62rem;
  color: rgba(169, 165, 152, 0.6);
  margin-top: 2px;
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 8px 20px !important;
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--gold); color: var(--black) !important; }
.nav-cta::after { display: none; }

/* --- Mobile navigation --- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 28px;
  position: relative;
  cursor: pointer;
  z-index: 200;
}
.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 16, 20, 0.97);
  backdrop-filter: blur(10px);
  z-index: 150;
  padding: 80px 32px 32px;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-menu-overlay.open {
  pointer-events: auto;
  opacity: 1;
}

/* Close button on overlay */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.mobile-menu-close:hover,
.mobile-menu-close:active {
  opacity: 1;
}
.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}
.mobile-menu-overlay a {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(184, 151, 90, 0.08);
  transition: color 0.25s ease;
}
.mobile-menu-overlay a:active { color: var(--gold); }
.mobile-menu-overlay a.nav-cta {
  display: block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 24px;
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 2px;
}
.mobile-menu-overlay .mobile-dropdown {
  border-bottom: 1px solid rgba(184, 151, 90, 0.08);
}
.mobile-menu-overlay .mobile-dropdown > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
  cursor: pointer;
}
.mobile-menu-overlay .mobile-dropdown .arrow {
  font-size: 0.7rem;
  color: var(--grey);
  transition: color 0.25s ease;
}
.mobile-menu-overlay .mobile-dropdown.open > a .arrow {
  color: var(--gold);
}
.mobile-menu-overlay .mobile-dropdown .submenu {
  display: none;
  padding: 0;
}
.mobile-menu-overlay .mobile-dropdown.open .submenu {
  display: block;
}
.mobile-menu-overlay .mobile-dropdown .submenu a {
  font-size: 0.9rem;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(184, 151, 90, 0.05);
  border-left: 2px solid transparent;
  letter-spacing: 0.03em;
  color: rgba(169, 165, 152, 0.8);
}
.mobile-menu-overlay .mobile-dropdown .submenu a small {
  display: block;
  font-size: 0.72rem;
  color: rgba(169, 165, 152, 0.4);
  margin-top: 2px;
}

/* --- Hero --- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(184,151,90,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 60%, rgba(236,232,219,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 820px;
  text-align: center;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 20px;
}

.hero h1 .gold { color: var(--gold); }

.hero p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto 32px;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-radius: 2px;
}
.btn-primary:hover { background: #A07D45; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(184, 151, 90, 0.3);
  border-radius: 2px;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* --- Floating gold bar (from the card) --- */
.gold-bar {
  width: 80px; height: 4px;
  background: var(--gold);
  margin: 0 auto 16px;
}

/* --- Section base --- */
section { padding: 100px 48px; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--grey);
  max-width: 640px;
  line-height: 1.6;
}

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

/* --- Features section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.feature-card {
  padding: 0;
  border-top: 1px solid rgba(184, 151, 90, 0.15);
  padding-top: 32px;
}

.feature-icon {
  width: 48px; height: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--grey);
}

/* --- Stats strip --- */
.stats-strip {
  background: rgba(236, 232, 219, 0.04);
  border-top: 1px solid rgba(184, 151, 90, 0.1);
  border-bottom: 1px solid rgba(184, 151, 90, 0.1);
  padding: 80px 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--grey);
}

/* --- Process / Vision strip --- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.process-item {
  text-align: center;
  padding: 0 16px;
}

.process-item .number {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
  font-weight: 500;
}

.process-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.process-item p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.5;
}

/* --- About page --- */
.about-hero {
  min-height: 60vh;
  padding: 140px 48px 80px;
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.value-item {
  border-top: 1px solid rgba(184, 151, 90, 0.15);
  padding-top: 32px;
}

.value-item .value-word {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 12px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--grey);
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  background: rgba(236, 232, 219, 0.03);
  border: 1px solid rgba(184, 151, 90, 0.12);
  padding: 40px 32px;
  transition: all var(--transition);
}

.pricing-card:hover { border-color: var(--gold); }
.pricing-card.featured {
  border-color: var(--gold);
  position: relative;
}
.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute; top: -1px; right: 24px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  padding: 4px 12px;
}

.pricing-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  margin: 16px 0 4px;
}

.pricing-card .price span {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--grey);
}

.pricing-card .desc {
  font-size: 0.82rem;
  color: var(--grey);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-card ul li {
  font-size: 0.82rem;
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--grey);
}
.pricing-card ul li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 8px; height: 1px;
  background: var(--gold);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}

.contact-details {
  padding-right: 0;
}

.contact-details .detail {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(184, 151, 90, 0.1);
  padding-bottom: 24px;
}

.contact-details .detail:last-child { border-bottom: none; }

.contact-details .label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.contact-details .value {
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.contact-form {
  background: rgba(236, 232, 219, 0.03);
  border: 1px solid rgba(184, 151, 90, 0.12);
  padding: 40px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(12, 16, 20, 0.8);
  border: 1px solid rgba(184, 151, 90, 0.2);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--cream);
  border-radius: 2px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* --- Footer --- */
footer {
  border-top: 1px solid rgba(184, 151, 90, 0.1);
  padding: 80px 48px 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { font-size: 1rem; }
.footer-brand p {
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 16px;
  line-height: 1.5;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--grey);
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(184, 151, 90, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--grey);
}

.footer-privacy {
  color: var(--grey);
  text-decoration: none;
  margin-left: 24px;
  transition: color var(--transition);
}

.footer-privacy:hover {
  color: var(--gold);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.4rem; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .process { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none !important; }
  .mobile-toggle { display: block; }
  .mobile-menu-overlay {
    display: block;
    opacity: 0;
    pointer-events: none;
  }
  .mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
  .hero { padding: 100px 20px 60px; }
  .hero h1 { font-size: 1.8rem; }
  section { padding: 60px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.gold { color: var(--gold); }
.cream { color: var(--cream); }

/* --- Wavy background lines (from card) --- */
.wave-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.wave-line {
  position: absolute;
  left: -5%; width: 110%;
  height: 1px;
  background: rgba(184, 151, 90, 0.06);
}

/* --- Gold highlight box for Book a Demo --- */
.gold-highlight {
  border: 1px solid var(--gold);
  padding: 40px;
  background: rgba(12, 16, 20, 0.6);
  border-radius: 3px;
  position: relative;
}
.gold-highlight::before {
  content: '';
  position: absolute;
  top: -1px; left: 40px;
  width: 80px; height: 4px;
  background: var(--gold);
}
.gold-highlight .contact-grid {
  gap: 48px;
}