/* ============================================
   HaleAla.com — Fractional AI Operator
   Stylesheet v2.0
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Deep turquoise / Hawaiian ocean blue palette */
  --ocean-50: #E6F4FA;
  --ocean-100: #C4E7F5;
  --ocean-200: #89CFE8;
  --ocean-300: #3FB5D8;
  --ocean-400: #1E9EC5;
  --ocean-500: #0D84AB;
  --ocean-600: #096D8F;
  --ocean-700: #075873;
  --ocean-800: #054358;
  --ocean-900: #032F3E;

  --navy-900: #081A24;
  --navy-800: #0E2A38;
  --navy-700: #143D50;
  --navy-600: #1A5068;

  --text-primary: #0F2630;
  --text-secondary: #3A5F6F;
  --text-muted: #6A919F;

  --bg-white: #FFFFFF;
  --bg-light: #F2F9FC;
  --bg-alt: #E4F1F7;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

  --shadow-sm: 0 1px 3px rgba(8, 26, 36, 0.08);
  --shadow-md: 0 4px 12px rgba(8, 26, 36, 0.10);
  --shadow-lg: 0 8px 30px rgba(8, 26, 36, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ocean-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--ocean-800);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--ocean-500);
  color: #fff;
  border-color: var(--ocean-500);
}

.btn-primary:hover {
  background: var(--ocean-600);
  border-color: var(--ocean-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--ocean-500);
  border-color: var(--ocean-500);
}

.btn-outline:hover {
  background: var(--ocean-500);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--ocean-600);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--ocean-100);
  border-color: var(--ocean-100);
  color: var(--ocean-700);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-nav {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

/* --- Navigation --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* Use the smaller 'scrolled' padding by default so the navbar doesn't change size on scroll */
  padding: 0.6rem 0;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ocean-600);
  letter-spacing: -0.02em;
}

.logo span {
  font-weight: 400;
  opacity: 0.8;
}

#navbar.scrolled .logo {
  color: var(--ocean-600);
}

#navbar.scrolled .logo span {
  color: var(--ocean-400);
}

.nav-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ocean-500);
  border: 1px solid var(--ocean-300);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: all var(--transition);
  margin: 0 auto;
}

#navbar.scrolled .nav-pill {
  color: var(--ocean-500);
  border-color: var(--ocean-300);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Nav button: keep default button styling (no background override). Only control text color if needed elsewhere. */
.nav-links .btn-nav {
  /* keep default .btn-primary styling (no override) */
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: #fff;
}

#navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

#navbar.scrolled .nav-links a:hover {
  color: var(--ocean-500);
}

#navbar.scrolled .nav-links .btn-nav {
  background: var(--ocean-500);
  color: #fff;
  border-color: var(--ocean-500);
}

#navbar:not(.scrolled) .nav-links .btn-nav {
  color: var(--navy-900) !important;
  transition: color 160ms ease;
}
/* Landing state: only change the nav button text color to the pale corner blue; do not alter background */
#navbar:not(.scrolled) .nav-links .btn-nav {
  color: var(--ocean-50);
  transition: color 160ms ease;
}
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Make navbar white by default (landing state) while preserving scrolled tweaks */
#navbar {
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#navbar.scrolled .hamburger span {
  background: var(--text-primary);
}

/* --- Hero --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Restored gradient: start at a brighter ocean tone, blend to lighter cyan, finish at the pale ocean tint */
  background: linear-gradient(150deg, var(--ocean-500) 0%, var(--ocean-400) 60%, var(--ocean-50) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 1.5rem;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ocean-200);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(137, 207, 232, 0.35);
  border-radius: 50px;
}

#hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-familiar {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 100%;
  margin: 0 auto 3rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: left;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.hero-card-header i {
  font-size: 1.4rem;
  color: var(--ocean-200);
  flex-shrink: 0;
}

.hero-card-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-card-titles span {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.hero-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

@media (max-width: 768px) {
  .hero-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.hero-note {
  font-size: 1.15rem;
  color: var(--ocean-700);
  margin-top: 1.5rem;
  font-weight: 500;
}

/* Hero Waves */
.hero-waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
}

.hero-waves svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.hero-wave-1 {
  fill: rgba(255, 255, 255, 0.10);
  animation: waveMove 22s linear infinite;
}

.hero-wave-2 {
  fill: rgba(255, 255, 255, 0.18);
  animation: waveMove 16s linear infinite reverse;
}

.hero-wave-3 {
  fill: #ffffff;
  animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wave-1,
  .hero-wave-2,
  .hero-wave-3 {
    animation: none;
  }
  .hero-waves svg {
    width: 100%;
  }
}

/* --- Section Dividers (Wave) --- */
.wave-divider {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-divider.to-alt svg path {
  fill: var(--bg-alt);
}

.wave-divider.to-white svg path {
  fill: var(--bg-white);
}

.wave-divider.to-cta {
  background: var(--bg-alt);
}

.wave-divider.to-cta svg path {
  fill: #1A3B4A;
}

/* --- Cards Grid --- */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--ocean-100);
  color: var(--ocean-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  color: var(--text-primary);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
  padding: 1.75rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.service-item:hover {
  box-shadow: var(--shadow-md);
}

.service-item:last-child {
  grid-column: 1 / -1;
  max-width: 550px;
  justify-self: center;
  width: 100%;
}

.service-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--ocean-100);
  color: var(--ocean-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.service-text {
  display: contents;
}

.service-text h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.service-text p {
  font-size: 0.92rem;
  margin-bottom: 0;
  grid-column: 1 / -1;
  grid-row: 2;
}

/* --- Steps / How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--ocean-200);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ocean-500);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.92rem;
}

/* --- Pricing --- */
.pricing-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
  text-align: left;
}

/* Roster column */
.client-roster {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 0.35rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--ocean-200);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.roster-label {
  display: inline-block;
  background: var(--ocean-500);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin: 0 auto 0.75rem;
  align-self: center;
}

.roster-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-white);
  border: 1px solid var(--ocean-100);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.45rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.roster-card:hover {
  border-color: var(--ocean-300);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}

/* 2-col grid: logo col 1 spans rows 1-3, link icon row 4; text col 2 rows 1-3 */
.roster-card-inner {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto auto auto;
  column-gap: 0.6rem;
  row-gap: 0.1rem;
}

/* Col 1 rows 1-3: logo image */
.roster-logo-img {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 60px;
  max-height: 54px;
  object-fit: contain;
  align-self: center;
}

.roster-logo-img.roster-logo-lg {
  width: 90px;
  max-height: 80px;
  background: var(--ocean-800);
  border-radius: 6px;
  padding: 3px 5px;
}

/* Link icon — inline, sits next to company name via span */
.roster-link-icon {
  display: inline;
  color: var(--ocean-400);
  font-size: 0.6rem;
  margin-left: 0.3rem;
  vertical-align: middle;
}

/* Col 2, row 1: company name */
.roster-company-name {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-primary);
  align-self: end;
  line-height: 1.2;
}

/* Col 2, row 2: tagline */
.roster-tagline {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Col 2, row 3: location */
.roster-location {
  grid-column: 2;
  grid-row: 3;
  font-size: 0.68rem;
  color: var(--ocean-500);
  font-weight: 500;
  align-self: start;
  line-height: 1.3;
}

.roster-age-flag {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ocean-500);
  white-space: nowrap;
}

/* Open slots */
.roster-open {
  border-style: dashed;
  border-color: var(--ocean-200);
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: transparent;
}

.roster-open:hover {
  background: var(--ocean-50);
  border-style: solid;
}

.roster-open-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--ocean-500);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 50px;
}

.roster-open-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ocean-600);
}

.roster-open i {
  color: var(--ocean-400);
  font-size: 0.8rem;
}

/* Age gate modal */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.age-gate-overlay[hidden] {
  display: none;
}

.age-gate-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.age-gate-box h3 {
  margin-bottom: 1rem;
}

.age-gate-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Responsive: stack on small screens */
@media (max-width: 760px) {
  .pricing-wrapper {
    grid-template-columns: 1fr;
    max-width: 550px;
  }
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--ocean-200);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-badge {
  display: inline-block;
  background: var(--ocean-500);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.pricing-rate {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-rate span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--bg-alt);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--ocean-400);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-alt);
}

/* --- 5-Hour Workflow --- */
.five-hour-card {
  max-width: 480px;
  margin: 2rem auto 0;
  background: var(--bg-white);
  border: 2px solid var(--ocean-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.five-hour-badge {
  display: inline-block;
  background: var(--ocean-500);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.five-hour-rate {
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
}

.five-hour-was {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: #e03e3e;
  text-decoration-thickness: 2px;
}

.five-hour-now {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ocean-700);
}

.five-hour-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.five-hour-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  text-align: left;
}

.five-hour-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-alt);
  text-align: left;
}

.five-hour-features li:last-child {
  border-bottom: none;
}

.five-hour-features li i {
  color: var(--ocean-500);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.five-hour-features li > span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.five-hour-features li strong {
  font-size: 0.95rem;
  color: var(--text-heading);
  line-height: 1.3;
}

.fh-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.five-hour-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bg-alt);
}

/* --- How We Work --- */
.hww-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 860px) {
  .hww-grid {
    grid-template-columns: 1fr;
  }
}

.hww-card {
  background: var(--bg-white);
  border: 2px solid var(--ocean-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.hww-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--ocean-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean-600);
  font-size: 1.1rem;
}

.hww-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
  align-self: center;
}

.hww-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.hww-card p {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.hww-note {
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  border-top: 1px solid var(--bg-alt);
  padding-top: 0.65rem;
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

/* --- AI Warning Pill --- */
.ai-warning-pill {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  border: 2px solid #FFB74D;
  border-radius: 50px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ai-warning-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.ai-warning-pill i {
  color: #F57C00;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

@media (max-width: 640px) {
  .ai-warning-pill {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  .ai-warning-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .ai-warning-pill i {
    margin-top: 0;
  }
}

/* --- About --- */
.about-block {
  margin-bottom: 0;
}

.about-block.about-first {
  margin-bottom: 3rem;
}

.about-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.team-heading {
  margin-bottom: 3rem;
}

.team-logo {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.team-logo .team-ala {
  font-weight: 400;
  color: var(--ocean-400);
}

.team-logo .team-tagline {
  font-weight: 600;
  color: var(--ocean-500);
  font-size: inherit;
}

.about-first {
  margin-bottom: 3rem;
}

.about-divider {
  border: none;
  border-top: 1px solid var(--ocean-100);
  margin: 0.65rem 0 1rem;
}

/* Anonymous operator cards */
.anon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

.anon-card {
  background: var(--bg-primary);
  border: 1px solid var(--ocean-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

/* Override aspect-ratio on the photo wrap/photo for anon cards */

.anon-card .about-photo-wrap {
  aspect-ratio: unset;
  height: 150px;
  flex-shrink: 0;
}

.anon-card .about-photo {
  aspect-ratio: unset;
  height: 150px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

/* LinkedIn pill inside the image area for anon cards: match main pill size/placement */
.anon-card .about-linkedin {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  z-index: 10;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: var(--ocean-300);
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  line-height: 1;
  pointer-events: none;
}

.anon-silhouette {
  background: var(--ocean-50);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  position: relative;
  /* position anonymous silhouette so its bottom aligns with real photos */
  transform: translateY(0);
}

.anon-silhouette i {
  font-size: 6.5rem;
  color: var(--ocean-200);
  line-height: 1;
  /* shift the icon slightly down so head centers align with named photos */
  transform: translateY(8%);
}

/* Decorative 'arms' for anonymous silhouettes that cover the eye area. No facial features added. */
.anon-silhouette::before,
.anon-silhouette::after {
  content: "";
  position: absolute;
  top: 38%;
  width: 36%;
  height: 14%;
  background: var(--ocean-50);
  border-radius: 999px;
  box-shadow: inset 0 -2px rgba(0,0,0,0.02);
}
.anon-silhouette::before {
  left: -4%;
  transform: rotate(-16deg);
}
.anon-silhouette::after {
  right: -4%;
  transform: rotate(16deg);
}

.anon-card-body {
  padding: 0.25rem 0.75rem 1.25rem 0.625rem;
  flex: 1;
  overflow: hidden;
  font-size: 0.875rem;
}

.anon-name-row {
  margin-bottom: 0.6rem;
  /* push name/operator down slightly so LinkedIn pill doesn't overlap (add 4px total) */
  margin-top: calc(0.35rem + 4px);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ocean-100);
}

/* Line 1: Anonymous (left) · AI Operator (right) */
.anon-name-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.anon-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Keep name and operator on a single line; reduce font-size and show full name (no ellipsis) */
.anon-name {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-size: 0.88rem;
}

.anon-operator {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ocean-500);
  white-space: nowrap;
}

/* Ensure operator label doesn't wrap and stays visible */
.anon-operator {
  flex: 0 0 auto;
  margin-left: 0.5rem;
}

/* Line 2: Role centered */
.anon-role {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ocean-400);
  text-align: center;
  margin: 0.15rem 0 0;
  line-height: 1.2;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.about-linkedin {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: var(--ocean-300);
  z-index: 10;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  line-height: 1;
}

/* LinkedIn pill interaction: match main button hover (dark blue flip) for active links only */
.about-linkedin[ href ],
.about-linkedin[href] {
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.about-linkedin[href]:hover,
.about-linkedin[href]:focus {
  background: var(--ocean-600);
  color: #fff;
  transform: translateX(-50%) translateY(46%); /* slight lift */
  box-shadow: var(--shadow-md);
}

.about-linkedin[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.9;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Center location lines for anon cards (Operating From) */
.anon-card .location {
  text-align: center;
  margin-top: 0.4rem;
  font-weight: 600;
}

/* For anon cards, reframe using object-position so the image fills the area and the pill overlays the photo (no transform) */
.anon-card .about-photo img {
  object-position: center 12%;
  transform: none;
  transform-origin: center center;
}

.about-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--ocean-100);
  width: fit-content;
  min-width: 100%;
}

.about-text h3 {
  margin-bottom: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.about-title {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--ocean-500);
  margin-bottom: 0;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.credential-tag {
  display: inline-block;
  background: var(--ocean-50);
  color: var(--ocean-600);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  border: 1px solid var(--ocean-100);
}

/* --- FAQ --- */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--ocean-100);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.faq-question:hover {
  color: var(--ocean-500);
}

.faq-question i {
  font-size: 0.85rem;
  color: var(--ocean-400);
  transition: transform var(--transition);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 1.25rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: left;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* --- Final CTA --- */
#cta {
  background: linear-gradient(150deg, #081A24 0%, #0E3A4E 35%, #0D84AB 70%, #1E9EC5 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

#cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 550px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-contact {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--ocean-200);
}

.cta-contact a {
  color: var(--ocean-200);
}

.cta-contact a:hover {
  color: #fff;
}

/* --- Footer --- */
footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.5);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
}

footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .card-grid.three-col {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item:last-child {
    max-width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps::before {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo-col {
    max-width: 200px;
    margin: 0 auto;
  }

  .about-name-row {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .about-title {
    text-align: center;
  }

  .about-credentials {
    justify-content: center;
  }

  .anon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
  }

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

  .nav-links a {
    color: var(--text-primary) !important;
    font-size: 1.05rem;
  }

  .nav-links .btn-nav {
    color: #fff !important;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .nav-pill {
    display: none;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .hero-content {
    padding-top: 2rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3rem 0;
  }

  .btn-lg {
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .anon-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== AIElite page styles converted to global selectors ===== */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.hero {
  padding: 80px 0;
  background-color: var(--bg-white);
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-cyan);
  color: var(--text-primary);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.cta-button:hover {
  background-color: #0099cc;
}

.leaks-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.leaks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.leak-card {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: 4px;
  border-left: 4px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s;
}

.leak-card:hover {
  border-left-color: var(--accent-cyan);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.leak-card.selected {
  border-left-color: var(--accent-cyan);
  background-color: #f0fbff;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.leak-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.leak-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.form-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 48px;
  border-radius: 4px;
}

.selected-leak-display {
  background-color: #f0fbff;
  border-left: 4px solid var(--accent-cyan);
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 4px;
  display: none;
}

.selected-leak-display.show {
  display: block;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-button {
  width: 100%;
  padding: 14px;
  background-color: var(--accent-cyan);
  color: var(--text-primary);
  border: none;
  border-radius: 4px;
  font-weight: 600;
}

.form-message {
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 13px;
  display: none;
}

.form-message.success {
  background-color: #e8f5e9;
  color: #2e7d32;
  display: block;
}

.form-message.error {
  background-color: #ffebee;
  color: #c62828;
  display: block;
}

/* Helper classes to replace inline styles */
.form-help {
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
  font-size: 13px;
}

.opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  white-space: nowrap;
}

.opt-label {
  margin: 0;
}

.opt-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.opt-bold {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
}

.inline-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: normal;
  margin: 0;
  cursor: pointer;
  color: var(--text-primary);
}

.phone-row {
  display: flex;
  gap: 16px;
}

.flex-1 {
  flex: 1;
}

.phone-note {
  flex: 1;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-top: 2px;
}

.muted-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-light);
}

.footer-note {
  margin-top: 32px;
  font-size: 12px;
}

@media (max-width: 768px) {
  .leaks-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero h1 {
    font-size: 32px;
  }
}

