/* ==========================================================
   KANOOPA - Premium Design System v2.0
   Modern, Conversion-Optimized, AI-Search-Ready
   ========================================================== */

:root {
  --color-bg: #0A0A0F;
  --color-bg-2: #11111A;
  --color-bg-3: #1A1A26;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-2: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --color-text: #FFFFFF;
  --color-text-muted: #B8B8C8;
  --color-text-dim: #7A7A8E;
  --color-primary: #F5A623;
  --color-primary-dark: #D88E0F;
  --color-primary-light: #FFB940;
  --color-accent: #FF8A1F;
  --color-success: #25D366;
  --color-whatsapp: #25D366;
  --gradient-primary: linear-gradient(135deg, #F5A623 0%, #FF8A1F 100%);
  --gradient-dark: linear-gradient(180deg, #0A0A0F 0%, #11111A 100%);
  --gradient-hero: radial-gradient(ellipse at top right, rgba(245,166,35,0.18), transparent 50%), radial-gradient(ellipse at bottom left, rgba(255,138,31,0.10), transparent 50%), linear-gradient(180deg, #0A0A0F 0%, #11111A 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 40px rgba(245,166,35,0.25);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1240px;
  --container-narrow: 960px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Fallback for when CSS hasn't loaded yet - hide content flash */
.no-js { visibility: hidden; }
.js-ready { visibility: visible; }

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); margin-bottom: 0.9rem; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 0.7rem; }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); margin-bottom: 0.6rem; }
p { margin-bottom: 1rem; color: var(--color-text-muted); }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--color-primary);
  padding: 0.45rem 0.95rem; border-radius: 100px;
  background: rgba(245, 166, 35, 0.10);
  border: 1px solid rgba(245, 166, 35, 0.25);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }

/* ============== LAYOUT ============== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; position: relative; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============== HEADER / NAV ============== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h); z-index: 100;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--color-border);
  border-radius: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  transition: all 0.3s var(--ease);
  will-change: transform, background;
	padding-top: 12px;
}
.site-header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  border-color: var(--color-border-strong);
}
@media (max-width: 980px) {
  .site-header { margin: 0; width: 100%; border-radius: 0; top: 0; left: 0; right: 0; }
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 0.5rem; flex-wrap: nowrap; padding: 0 1.5rem; }
.nav-wrap .nav-center { display: flex; align-items: center; justify-content: center; flex: 1; }
.brand-logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.25rem; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.02em; flex-shrink: 0; }
.brand-logo img { height: 45px; width: auto; display: block; object-fit: contain; }
.brand-logo .word { color: var(--color-text); }
.brand-logo .word span { color: var(--color-primary); }
.nav-menu { display: flex; align-items: center; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { list-style: none; position: relative; }
.nav-menu a, .nav-menu .nav-trigger {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.95rem; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; color: var(--color-text-muted);
  transition: all 0.2s var(--ease);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-menu a:hover, .nav-menu .nav-trigger:hover { color: var(--color-text); background: var(--color-surface); }
.nav-menu .has-dropdown > .nav-trigger::after {
  content: ''; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s var(--ease);
  display: inline-block;
}
.nav-menu .has-dropdown:hover > .nav-trigger::after,
.nav-menu .has-dropdown.open > .nav-trigger::after { transform: rotate(225deg) translateY(-2px); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 280px; padding: 0.6rem;
  background: rgba(20, 20, 28, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.25s var(--ease);
  z-index: 99;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-decoration: none;
}
.dropdown a:hover { background: rgba(245,166,35,0.10); color: var(--color-primary); }
.dropdown-section-title {
  padding: 0.4rem 0.85rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--color-primary);
}

/* ============== MEGA MENU (Services) ============== */
.dropdown.mega { padding: 1.5rem 1.75rem 1.25rem; }
.mega-columns { display: flex; flex-direction: column; gap: 0; }
.mega-col + .mega-col { margin-top: 0.5rem; }
.mega-footer {
  margin-top: 1.25rem; padding-top: 1.1rem;
  border-top: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.mega-tagline { font-size: 0.82rem; color: var(--color-text-dim); }
.dropdown a.mega-all-btn {
  display: inline-flex !important; align-items: center; gap: 0.4rem;
  background: var(--gradient-primary) !important;
  color: #0A0A0F !important; font-weight: 700;
  padding: 0.65rem 1.3rem !important; border-radius: 100px !important;
  font-size: 0.85rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(245,166,35,0.28);
  transition: all 0.25s var(--ease);
}
.dropdown a.mega-all-btn:hover {
  background: var(--gradient-primary) !important;
  transform: translateY(-1px); box-shadow: 0 10px 26px rgba(245,166,35,0.4); color: #0A0A0F !important;
}
@media (min-width: 981px) {
  .dropdown.mega {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 50%;
    min-width: 0;
    width: min(900px, 94vw);
    transform: translateX(-50%) translateY(-8px);
  }
  .has-dropdown:hover .dropdown.mega,
  .has-dropdown:focus-within .dropdown.mega,
  .has-dropdown.open .dropdown.mega { transform: translateX(-50%) translateY(0); }
  .mega-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 0 1.75rem;
  }
  .mega-col + .mega-col { margin-top: 0; }
  .mega-footer { grid-column: 1 / -1; }
  .mega-col a { white-space: nowrap; }
}
.nav-cta {
  background: var(--gradient-primary);
  color: #0A0A0F !important; font-weight: 700 !important;
  padding: 0.6rem 1.2rem !important; border-radius: 100px !important;
  box-shadow: 0 6px 20px rgba(245,166,35,0.3);
  transition: all 0.25s var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(245,166,35,0.45); color: #0A0A0F !important; }
.nav-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.mobile-only-cta { display: none; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.95rem; color: var(--color-text); font-weight: 600; font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--color-primary); }
.menu-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--color-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--color-text); position: relative; display: block; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--color-text);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.6rem; font-size: 0.95rem; font-weight: 700;
  border-radius: 100px; cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  font-family: inherit;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: var(--gradient-primary); color: #0A0A0F;
  box-shadow: 0 8px 24px rgba(245,166,35,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245,166,35,0.5); color: #0A0A0F; }
.btn-secondary {
  background: var(--color-surface-2); color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  text-decoration: none;
}
.btn-secondary:hover { background: var(--color-surface); border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost { color: var(--color-primary); padding: 0.6rem 1rem; text-decoration: none; }
.btn-ghost:hover { color: var(--color-primary-light); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ============== HERO ============== */
.hero {
  position: relative; padding: calc(var(--header-h) + 3.5rem) 0 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245,166,35,0.08) 0%, transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255,138,31,0.06) 0%, transparent 35%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 3rem; align-items: center; position: relative; z-index: 2;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.05; }
.hero-sub { font-size: 1.15rem; color: var(--color-text-muted); margin: 1.25rem 0 1.75rem; max-width: 580px; }
.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hero-trust { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; color: var(--color-text-dim); font-size: 0.88rem; }
.hero-trust-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust-item svg { color: var(--color-primary); }
.hero-visual { position: relative; }
.hero-image-wrap {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--color-bg-3);
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-overlay {
  position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  background: rgba(10, 10, 15, 0.75); backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.85rem;
}
.hero-image-overlay .dot { width: 10px; height: 10px; background: var(--color-success); border-radius: 50%; box-shadow: 0 0 12px var(--color-success); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-image-overlay small { font-size: 0.82rem; color: var(--color-text-muted); }
.hero-image-overlay strong { font-size: 0.95rem; color: var(--color-text); display: block; }

/* ============== PAGE HERO (sub-pages) ============== */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); max-width: 900px; margin: 0.5rem auto 1rem; }
.page-hero-sub { font-size: 1.1rem; max-width: 720px; margin: 0 auto 2rem; color: var(--color-text-muted); }
.breadcrumb {
  display: flex; justify-content: center; gap: 0.4rem;
  font-size: 0.85rem; color: var(--color-text-dim); margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { color: var(--color-text-dim); opacity: 0.5; }

/* ============== CARDS ============== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: rgba(245,166,35,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius); margin-bottom: 1.25rem;
  color: var(--color-primary);
}
.card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; margin-bottom: 1rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--color-primary); font-weight: 600; font-size: 0.9rem;
}
.card-link:hover { gap: 0.7rem; color: var(--color-primary-light); }
.card-glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--color-border);
}
.card-feature {
  background: linear-gradient(160deg, rgba(245,166,35,0.06), rgba(255,255,255,0.02));
  border-color: rgba(245,166,35,0.18);
}

/* ============== TEAM ============== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.team-card:hover {
  border-color: rgba(245,166,35,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-photo {
  width: 96px; height: 96px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(245,166,35,0.3);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.team-role {
  display: block;
  font-size: 0.78rem; font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.team-card p { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.team-social { display: flex; align-items: center; justify-content: center; gap: 0.6rem; }
.team-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all 0.2s var(--ease);
}
.team-social a:hover { color: var(--color-primary); border-color: rgba(245,166,35,0.35); background: rgba(245,166,35,0.10); }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* ============== FORMS ============== */
.form-card {
  background: rgba(20,20,28,0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.form-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--color-text); }
.form-card .form-sub { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { position: relative; display: block; }
.field label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--color-text-muted); margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text); font-family: inherit; font-size: 0.95rem;
  transition: all 0.2s var(--ease);
  display: block;
  box-sizing: border-box;
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  background: rgba(245,166,35,0.05);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}
.field input:invalid:not(:placeholder-shown) {
  border-color: rgba(239, 68, 68, 0.5);
}
.field input:valid:not(:placeholder-shown) {
  border-color: rgba(37, 211, 102, 0.3);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8B8C8' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 18px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field select option { background: var(--color-bg-2); color: var(--color-text); }
.form-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
.form-trust { font-size: 0.78rem; color: var(--color-text-dim); display: flex; align-items: center; gap: 0.4rem; }

/* ============== TRUST / STATS ============== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center; padding: 1.75rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.stat-num {
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; line-height: 1;
}
.stat-label { font-size: 0.88rem; color: var(--color-text-muted); margin-top: 0.4rem; }

.logos-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2.5rem; padding: 2rem 0;
  opacity: 0.7;
}
.logos-strip span {
  font-size: 0.95rem; font-weight: 700; color: var(--color-text-dim);
  letter-spacing: 0.04em;
}

/* ============== TESTIMONIALS ============== */
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: -10px; left: 18px;
  font-size: 5rem; color: var(--color-primary); opacity: 0.4;
  font-family: serif; line-height: 1;
}
.testimonial-text { font-size: 0.98rem; color: var(--color-text); margin: 1rem 0 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #0A0A0F;
}
.testimonial-meta strong { display: block; font-size: 0.92rem; }
.testimonial-meta span { font-size: 0.82rem; color: var(--color-text-dim); }
.stars { color: var(--color-primary); letter-spacing: 1px; font-size: 0.9rem; }

/* ============== FAQ ============== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all 0.2s var(--ease);
}
.faq-item.open { border-color: rgba(245,166,35,0.35); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.2rem 1.5rem;
  font-size: 1.02rem; font-weight: 600; text-align: left;
  color: var(--color-text);
}
.faq-q::after {
  content: '+'; font-size: 1.6rem; font-weight: 300;
  color: var(--color-primary); transition: transform 0.25s var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; padding: 0 1.5rem;
  color: var(--color-text-muted); transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 1.5rem 1.4rem; }

/* ============== LOCATIONS SECTION (pre-footer) ============== */
.locations-section {
  padding: 4rem 0 3.5rem;
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.loc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) { .loc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
.loc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  text-align: center;
  white-space: nowrap;
}
.loc-btn:hover {
  background: rgba(245,166,35,0.10);
  border-color: rgba(245,166,35,0.4);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer-brand p { color: var(--color-text-muted); font-size: 0.9rem; max-width: 320px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all 0.2s var(--ease);
}
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #0A0A0F; transform: translateY(-2px); }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 1rem; color: var(--color-text); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--color-text-muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  margin-top: 3rem; padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: var(--color-text-dim); font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--color-primary); }

/* ============== STICKY MOBILE CTA ============== */
.sticky-cta {
  display: none;
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 95;
  background: rgba(20,20,28,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-strong);
  border-radius: 100px; padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  align-items: center; gap: 0.5rem;
}
.sticky-cta a {
  flex: 1; padding: 0.85rem 1rem;
  border-radius: 100px; text-align: center;
  font-size: 0.88rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.sticky-cta .sticky-call { background: var(--gradient-primary); color: #0A0A0F; }
.sticky-cta .sticky-form { background: var(--color-surface-2); color: var(--color-text); border: 1px solid var(--color-border); }
@media (max-width: 768px) { .sticky-cta { display: flex; } }

/* ============== AI CHAT WIDGET ============== */
.chat-launcher {
  position: fixed; bottom: 1.25rem; right: 1.25rem;
  width: 56px; height: 56px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #0A0A0F; font-weight: 700;
  box-shadow: 0 10px 28px rgba(245,166,35,0.4);
  cursor: pointer; z-index: 99;
  transition: all 0.25s var(--ease);
}
.chat-launcher:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 14px 36px rgba(245,166,35,0.55); }
.chat-launcher .chat-label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: #0A0A0F; color: #fff; padding: 0.5rem 0.85rem; border-radius: 8px;
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease);
  border: 1px solid var(--color-border-strong);
}
.chat-launcher:hover .chat-label { opacity: 1; }
@media (max-width: 768px) {
  .chat-launcher {
    display: flex;
    bottom: 5.5rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    z-index: 96;
  }
  .chat-launcher .chat-label { display: none; }
}

.chat-window {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 99;
  width: 380px; max-width: calc(100vw - 2rem);
  height: 560px; max-height: calc(100vh - 7rem);
  background: rgba(15, 15, 22, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden;
}
.chat-window.open { display: flex; animation: chatIn 0.3s var(--ease); }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.chat-head {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(245,166,35,0.12), rgba(255,138,31,0.06));
  border-bottom: 1px solid var(--color-border);
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #0A0A0F;
}
.chat-head strong { display: block; font-size: 0.95rem; }
.chat-head small { font-size: 0.78rem; color: var(--color-success); display: flex; align-items: center; gap: 0.3rem; }
.chat-head small::before { content: ''; width: 7px; height: 7px; background: var(--color-success); border-radius: 50%; box-shadow: 0 0 8px var(--color-success); }
.chat-close {
  margin-left: auto; width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-surface); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--color-text-muted);
}
.chat-close:hover { background: var(--color-surface-2); color: var(--color-text); }
.chat-body { flex: 1; padding: 1.25rem; overflow-y: auto; display: flex; flex-direction: column; gap: 0.85rem; }
.chat-msg { max-width: 88%; padding: 0.75rem 1rem; border-radius: 16px; font-size: 0.92rem; line-height: 1.45; }
.chat-msg.bot { background: var(--color-surface-2); border: 1px solid var(--color-border); border-bottom-left-radius: 4px; color: var(--color-text); }
.chat-msg.user { background: var(--gradient-primary); color: #0A0A0F; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500; }
.chat-msg.typing { font-style: italic; opacity: 0.7; }
.chat-msg.bot a { color: var(--color-primary); text-decoration: underline; font-weight: 600; }
.chat-msg.bot a:hover { color: var(--color-primary-light, var(--color-primary)); }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.chat-suggest button {
  font-size: 0.82rem; padding: 0.4rem 0.85rem;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 100px; color: var(--color-text-muted);
}
.chat-suggest button:hover { background: rgba(245,166,35,0.1); color: var(--color-primary); border-color: rgba(245,166,35,0.3); }
.chat-input {
  display: flex; gap: 0.5rem; padding: 0.85rem;
  border-top: 1px solid var(--color-border);
  background: rgba(10,10,15,0.6);
}
.chat-input input {
  flex: 1; padding: 0.7rem 0.95rem;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 100px; color: var(--color-text); font-size: 0.92rem;
}
.chat-input input:focus { outline: none; border-color: var(--color-primary); }
.chat-input button {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-primary); color: #0A0A0F;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.chat-input button:hover { transform: scale(1.05); }

/* ============== TOOL UI ============== */
.tool-card {
  background: rgba(20,20,28,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.tool-output {
  margin-top: 1.5rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--color-text);
  white-space: pre-wrap; word-break: break-all;
  max-height: 480px; overflow-y: auto;
}
.tool-output.hidden { display: none; }
.tool-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

.audit-score-ring {
  width: 180px; height: 180px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; position: relative;
  background: conic-gradient(var(--color-primary) 0deg, var(--color-surface) 0deg);
  margin: 0 auto 1.5rem;
}
.audit-score-ring::before {
  content: ''; position: absolute; inset: 12px;
  background: var(--color-bg-2); border-radius: 50%;
}
.audit-score-ring .score-text {
  position: relative; font-size: 2.5rem; font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.audit-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; border-bottom: 1px solid var(--color-border);
}
.audit-row:last-child { border-bottom: none; }
.audit-row h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.audit-row p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }
.audit-status {
  font-size: 0.78rem; font-weight: 700; padding: 0.35rem 0.85rem;
  border-radius: 100px;
}
.audit-status.pass { background: rgba(37,211,102,0.15); color: var(--color-success); }
.audit-status.warn { background: rgba(245,166,35,0.15); color: var(--color-primary); }
.audit-status.fail { background: rgba(239,68,68,0.15); color: #EF4444; }

/* ============== CTA BANNER ============== */
.cta-banner {
  background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(255,138,31,0.08));
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(245,166,35,0.15), transparent 50%);
}
.cta-banner h2 { position: relative; z-index: 1; }
.cta-banner p { position: relative; z-index: 1; max-width: 640px; margin: 0 auto 1.5rem; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ============== UTILITIES ============== */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.divider { height: 1px; background: var(--color-border); margin: 3rem 0; }

/* ============== SCROLL ANIMATIONS ============== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============== MOBILE NAV ============== */
@media (max-width: 980px) {
  .nav-menu, .nav-phone, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-menu.open {
    display: flex !important; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(15,15,22,0.98); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem; gap: 0.3rem;
    border-bottom: 1px solid var(--color-border);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    align-items: stretch;
  }
  .nav-menu.open > li { width: 100%; }
  .nav-menu.open a, .nav-menu.open .nav-trigger {
    width: 100%; justify-content: space-between; padding: 0.85rem 1rem;
    text-align: left;
  }
  .nav-menu.open .dropdown {
    display: none;
    position: static; opacity: 1; visibility: visible;
    transform: none;
    background: rgba(255,255,255,0.03); border: none;
    box-shadow: none; padding: 0.4rem 0 0.4rem 1rem;
    max-height: none;
  }
  .nav-menu.open .has-dropdown.open > .dropdown {
    display: block;
  }
  .nav-menu.open .nav-cta { justify-content: center; width: 100%; }
  .mobile-only-cta { display: block; margin-top: 0.5rem; }
  .nav-menu.open .dropdown a { padding: 0.6rem 0.85rem; }
  .nav-menu.open .mega-footer { flex-direction: column; align-items: stretch; }
  .nav-menu.open .mega-all-btn { justify-content: center; padding: 0.85rem 1rem; }
}

/* ============== KEYFRAMES ============== */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-anim { animation: float 4s ease-in-out infinite; }

/* ============== PRINT / PDF EXPORT ============== */
/* Default printing (e.g. Ctrl+P on a normal page): just hide chrome. */
@media print {
  .site-header, .site-footer, .sticky-cta, .chat-launcher, .chat-window { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, h4 { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* PDF report export: triggered by the "Download PDF" button on tool
   pages. #pdf-print-frame is built on the fly with the tool's output
   and is the ONLY thing visible when printing in this mode - the rest
   of the page (including the tool's own on-screen styling) is hidden.
   None of this affects normal browsing; it only applies while
   .pdf-export-mode is on <body>, which is removed right after print. */
#pdf-print-frame { display: none; }
.pdf-export-mode #pdf-print-frame { display: block; }
@media print {
  .pdf-export-mode .site-header,
  .pdf-export-mode .site-footer,
  .pdf-export-mode .sticky-cta,
  .pdf-export-mode .chat-launcher,
  .pdf-export-mode .chat-window,
  .pdf-export-mode main,
  .pdf-export-mode body > section,
  .pdf-export-mode body > div:not(#pdf-print-frame) { display: none !important; }
  .pdf-export-mode #pdf-print-frame { display: block !important; }
  .pdf-export-mode body { background: #fff; }
}
.pdf-report {
  background: #fff; color: #1a1a26;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 760px; margin: 0 auto; padding: 0;
}
.pdf-report-head {
  display: flex; align-items: center; gap: 1rem;
  border-bottom: 3px solid #F5A623; padding-bottom: 1rem; margin-bottom: 1.5rem;
}
.pdf-logo { height: 36px; width: auto; }
.pdf-report-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.pdf-report-meta strong { font-size: 1.15rem; color: #0A0A0F; }
.pdf-report-meta span { font-size: 0.8rem; color: #555; }
.pdf-report-body { font-size: 0.92rem; line-height: 1.6; color: #1a1a26; }
.pdf-report-body h3, .pdf-report-body h4 { color: #0A0A0F; }
.pdf-report-body p { color: #333; }
.pdf-report-body .audit-row { border-bottom: 1px solid #ddd; }
.pdf-report-body .audit-status { border: 1px solid #ccc; }
.pdf-report-body .audit-status.pass { background: #e8f9ee; color: #128a3e; }
.pdf-report-body .audit-status.warn { background: #fff3e0; color: #b06b00; }
.pdf-report-body .audit-status.fail { background: #fdeaea; color: #c0392b; }
.pdf-report-body .audit-score-ring { background: none !important; border: 6px solid #F5A623; }
.pdf-report-body .audit-score-ring::before { background: #fff; }
.pdf-report-body .score-text { -webkit-text-fill-color: #0A0A0F !important; background: none !important; color: #0A0A0F; }
.pdf-report-body a { color: #b06b00; }
.pdf-report-body .cta-banner { display: none; } /* sales CTA omitted from the saved PDF */
.pdf-code-block {
  background: #f4f4f6; border: 1px solid #ddd; border-radius: 8px;
  padding: 1rem; font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.8rem; line-height: 1.5; color: #1a1a26;
  white-space: pre-wrap; word-break: break-word;
}
.pdf-report-foot {
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #ddd;
  font-size: 0.78rem; color: #777; text-align: center;
}
@page { margin: 18mm 14mm; }

/* ============== ACCESSIBILITY ============== */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Better focus for form fields */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.25);
}

/* Skip to content link */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--color-primary); color: #0A0A0F;
  padding: 0.5rem 1rem; z-index: 200;
  font-weight: 700; border-radius: 0 0 8px 0;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* Image fallback styling */
/*img { background: var(--color-bg-3); }*/

/* Smooth color transitions on hover for all interactive */
a, button, .card, .btn { transition: all 0.25s var(--ease); }
