/* ============================================================
   THE WISE CPA — GLOBAL STYLESHEET
   Design system matches nil.playbook.cpa / playbook.cpa ecosystem
============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --color-navy:       #1e293b;
  --color-navy-deep:  #0f172a;
  --color-white:      #f8fafc;
  --color-sage:       #10b981;
  --color-blue:       #3b82f6;
  --color-blue-dark:  #2563eb;
  --color-blue-light: #60a5fa;
  --color-slate:      #64748b;
  --color-border:     #e2e8f0;
  --color-surface:    #ffffff;
  --color-teal:       #4ecdc4;
  --color-success:    #22c55e;
  --color-warning:    #f59e0b;
  --color-error:      #ef4444;
  --font-main:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius-sm:        6px;
  --radius-md:        12px;
  --radius-lg:        20px;
  --radius-xl:        16px;
  --shadow-sm:        0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:        0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:        0 20px 60px rgba(30,41,59,0.15), 0 8px 24px rgba(30,41,59,0.10);
  --shadow-blue:      0 8px 32px rgba(59,130,246,0.30);
  --nav-height:       68px;
  --transition:       0.25s ease;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
  scroll-behavior: smooth; 
  font-size: 16px;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font-main);
  background: var(--color-white);
  color: var(--color-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-main); border: none; background: none; }
ul { list-style: none; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

.hero-reveal {
  animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
  opacity: 0;
}
.hero-reveal-1 { animation-delay: 0.1s; }
.hero-reveal-2 { animation-delay: 0.25s; }
.hero-reveal-3 { animation-delay: 0.4s; }
.hero-reveal-4 { animation-delay: 0.55s; }
@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 14px;
}
.section-heading {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--color-slate);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.40);
}
.btn-white {
  background: #ffffff;
  color: var(--color-blue);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: #f0f7ff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}
.btn-outline:hover {
  background: #eff6ff;
}
.btn-solid-blue {
  background: var(--color-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-solid-blue:hover {
  background: var(--color-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(59,130,246,0.45);
}
.btn-navy {
  background: var(--color-navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--color-navy-deep);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ============================================================
   NAVIGATION
============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(248,250,252,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border);
}
#navbar.hero-overlap {
  background: transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  border-radius: 4px;
}
.nav-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}
#navbar.hero-overlap .nav-logo-text {
  color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-slate);
  transition: color var(--transition);
}
#navbar.hero-overlap .nav-links a {
  color: rgba(255,255,255,0.85);
}
.nav-links a:hover,
#navbar.hero-overlap .nav-links a:hover {
  color: var(--color-blue);
}
.nav-links a.active {
  color: var(--color-blue);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition);
}
#navbar.hero-overlap .nav-hamburger span {
  background: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 20px 24px 28px;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-navy);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   HERO SECTION (used on index.html)
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-pattern::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
}
.hero-pattern::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-shape {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(255,255,255,0.10);
}
.hero-shape-1 {
  width: 240px; height: 240px;
  top: 12%; right: 8%;
  transform: rotate(15deg);
  background: rgba(255,255,255,0.04);
}
.hero-shape-2 {
  width: 120px; height: 120px;
  bottom: 18%; right: 20%;
  transform: rotate(-8deg);
  background: rgba(255,255,255,0.04);
}
.hero-shape-3 {
  width: 80px; height: 80px;
  top: 30%; left: 5%;
  transform: rotate(22deg);
  background: rgba(255,255,255,0.05);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 80px 24px 40px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 38px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 18px 24px;
  margin-top: auto;
}
.hero-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.90);
  padding: 0 28px;
}
.hero-trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.20);
}
.hero-trust-icon {
  font-size: 16px;
}

/* ============================================================
   PAGE HERO (for interior pages)
============================================================ */
.page-hero {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
  padding: calc(var(--nav-height) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.page-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   SERVICE / FEATURE CARDS
============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}
.card-desc {
  font-size: 15px;
  color: var(--color-slate);
  line-height: 1.7;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
  margin-top: 16px;
  transition: gap var(--transition);
}
.card-link:hover {
  gap: 10px;
}
.card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue);
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 12px;
}

/* ============================================================
   INDUSTRY CARDS (horizontal scroll on mobile)
============================================================ */
.industry-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.industry-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-light);
}
.industry-icon {
  font-size: 36px;
  margin-bottom: 14px;
}
.industry-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.industry-desc {
  font-size: 13px;
  color: var(--color-slate);
  line-height: 1.5;
}

/* ============================================================
   WHY US / 3-COLUMN FEATURES
============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature-item {
  text-align: center;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.feature-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 15px;
  color: var(--color-slate);
  line-height: 1.7;
}

/* ============================================================
   FOUNDER / ABOUT SECTION
============================================================ */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.headshot-wrapper {
  width: 280px;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.headshot-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.founder-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-blue);
  margin-bottom: 20px;
}
.founder-bio {
  font-size: 15px;
  color: var(--color-slate);
  line-height: 1.75;
  margin-bottom: 24px;
}
.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-navy);
  font-weight: 500;
}
.credential-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ============================================================
   PLAYBOOK ECOSYSTEM BANNER
============================================================ */
.ecosystem-banner {
  padding: 100px 0;
  background: linear-gradient(145deg, #3b82f6 0%, #2563eb 60%, #1d4ed8 100%);
  position: relative;
  overflow: hidden;
}
.ecosystem-banner .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.ecosystem-header {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}
.ecosystem-header .section-label {
  color: rgba(255,255,255,0.7);
}
.ecosystem-header .section-heading {
  color: #fff;
}
.ecosystem-header .section-sub {
  color: rgba(255,255,255,0.82);
  margin: 0 auto;
}
.playbook-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.playbook-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.playbook-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.playbook-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.playbook-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.playbook-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.playbook-card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin-bottom: 16px;
}
.playbook-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: gap var(--transition);
}
.playbook-card-link:hover {
  gap: 10px;
}

/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(145deg, #3b82f6 0%, #2563eb 60%, #1d4ed8 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   NEWSLETTER SECTION
============================================================ */
.newsletter-section {
  padding: 80px 0;
  background: var(--color-surface);
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 28px auto 0;
}
.newsletter-input {
  flex: 1;
  padding: 13px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--color-navy);
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input:focus {
  border-color: var(--color-blue);
}
.newsletter-input::placeholder {
  color: var(--color-slate);
}

/* ============================================================
   FAQ SECTION
============================================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
}
.faq-question:hover {
  color: var(--color-blue);
}
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}
.faq-answer-inner {
  font-size: 15px;
  color: var(--color-slate);
  line-height: 1.75;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: rgba(255,255,255,0.80);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  border-radius: 4px;
}
.footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.80);
  transition: all var(--transition);
  font-size: 16px;
}
.footer-social a:hover {
  background: var(--color-blue);
  color: #fff;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.70);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.footer-legal a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-legal a:hover {
  color: #fff;
}
.footer-attribution {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-attribution a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-attribution a:hover {
  color: #fff;
}

/* ============================================================
   CONTACT FORM
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}
.form-input,
.form-select,
.form-textarea {
  padding: 13px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--color-navy);
  background: var(--color-surface);
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font-main);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-blue);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-booking-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: #f0f7ff;
  border-radius: var(--radius-md);
  padding: 36px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-info-item:last-child {
  border-bottom: none;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}
.contact-info-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 15px;
  color: var(--color-navy);
  font-weight: 500;
}
.contact-info-value a {
  color: var(--color-blue);
  transition: color var(--transition);
}
.contact-info-value a:hover {
  color: var(--color-blue-dark);
}

/* ============================================================
   PRICING CARDS
============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 2px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-blue);
  transform: translateY(-8px);
}
.pricing-card.featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 64px rgba(59,130,246,0.35);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 8px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.pricing-price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing-price-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-slate);
}
.pricing-target {
  font-size: 13.5px;
  color: var(--color-slate);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.5;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-navy);
  line-height: 1.5;
}
.pricing-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--color-blue);
}
.pricing-cta { width: 100%; justify-content: center; }

/* ============================================================
   PORTAL SECTION
============================================================ */
.portal-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portal-feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.portal-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.portal-feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.portal-feature-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.portal-feature-desc {
  font-size: 13px;
  color: var(--color-slate);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--color-navy);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
}
.testimonial-role {
  font-size: 13px;
  color: var(--color-slate);
  margin-top: 2px;
}

/* ============================================================
   RESPONSIVE DESIGN
============================================================ */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }
  
  .hero-content { padding: 60px 20px 30px; }
  .hero-headline { font-size: clamp(28px, 7vw, 42px); }
  .hero-trust-item { font-size: 12px; padding: 0 14px; }
  .hero-trust-divider { display: none; }
  .hero-trust-inner { gap: 8px; }
  
  .card-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-section { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .headshot-wrapper { margin: 0 auto; }
  .playbook-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .portal-features-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-scroll { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-booking-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-booking-grid iframe { height: 600px; }
  .newsletter-form { flex-direction: column; }
  
  .page-hero { padding: calc(var(--nav-height) + 40px) 0 40px; }

  .section-heading { font-size: clamp(24px, 5vw, 32px); }
}

@media (max-width: 480px) {
  .portal-features-grid { grid-template-columns: 1fr; }
  .industry-scroll { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
