/* ============================================================
   A Social Solutions -- Master Stylesheet
   Premium agency-quality design system
   Covers ALL class names across ALL HTML files
   ============================================================ */

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

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  /* Colors */
  --navy: #053C5E;
  --navy-dark: #032840;
  --navy-deeper: #021c2e;
  --orange: #FF8900;
  --orange-hover: #e67a00;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E9ECEF;
  --mid-gray: #6C757D;
  --dark-gray: #343A40;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 20px rgba(5, 60, 94, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(5, 60, 94, 0.16);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-base: 350ms var(--ease-out);
  --transition-slow: 500ms var(--ease-in-out);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --nav-height: 80px;
}

/* ============================================================
   Modern CSS Reset
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-gray);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Utility Classes
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 15px rgba(255, 137, 0, 0.3);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 137, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-dark:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 60, 94, 0.3);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-submit {
  width: 100%;
  padding: 16px 32px;
}

/* ============================================================
   NAVIGATION -- Pattern A: .nav + .nav-inner
   Used by: index, ai-solutions, marketing, social-media,
            ada-compliance, web-design-seo
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled,
.nav.nav-solid {
  background: rgba(3, 40, 64, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: var(--nav-height);
}

/* ============================================================
   NAVIGATION -- Pattern B: .navbar
   Used by: contact, privacy, terms, refund
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(3, 40, 64, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar.nav-solid {
  background: rgba(3, 40, 64, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container,
.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ============================================================
   Nav Logo -- shared
   ============================================================ */
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
  display: inline-block;
}

.nav-logo span {
  color: var(--orange);
}

.nav-logo:hover {
  opacity: 0.9;
}

/* ============================================================
   Nav Links container -- shared by both patterns
   ============================================================ */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Direct link items in .nav-links (Pattern A) */
.nav-links > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links > a:hover {
  color: var(--white);
}

.nav-links > a:hover::after {
  transform: scaleX(1);
}

.nav-links > a.active {
  color: var(--orange);
}

.nav-links > a.active::after {
  transform: scaleX(1);
}

/* ============================================================
   Nav Link -- Pattern B (.nav-link class)
   Used by: contact, privacy, terms, refund
   ============================================================ */
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   Nav Item -- Pattern B dropdown wrapper
   Used by: contact, privacy, terms, refund
   ============================================================ */
.nav-item {
  position: relative;
}

/* Dropdown arrow (text-based &#9662;) -- Pattern B */
.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
  margin-top: 1px;
  display: inline-block;
}

.nav-item:hover .dropdown-arrow,
.nav-item.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* ============================================================
   Nav Dropdown -- Pattern A (.nav-dropdown wrapper)
   Used by: index, marketing, social-media, ada, web-design-seo,
            ai-solutions (hybrid), public-relations
   ============================================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown::after,
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Toggle button/link inside .nav-dropdown */
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Chevron SVG inside toggle -- Pattern A */
.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

/* SVG dropdown-arrow class (ai-solutions, social-media, PR) */
svg.dropdown-arrow {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.nav-dropdown:hover svg.dropdown-arrow {
  transform: rotate(180deg);
}

/* Utility dropdown in nav */
.nav-dropdown-utility {
  margin-left: 4px;
}

.nav-dropdown-toggle-utility {
  font-size: 0.8rem;
  padding: 8px 12px;
  opacity: 0.7;
}

.nav-dropdown-toggle-utility:hover {
  opacity: 1;
}

/* ============================================================
   Dropdown Menus -- BOTH patterns
   .nav-dropdown-menu (Pattern A) AND .dropdown-menu (Pattern B/C)
   ============================================================ */
.nav-dropdown-menu,
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 12px;
  transform: translateX(-50%) translateY(4px);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.nav-dropdown-menu::before,
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
}

/* Show on hover -- Pattern A */
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Show on hover -- Pattern B */
.nav-item:hover > .dropdown-menu,
.nav-item.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown links */
.nav-dropdown-menu a,
.dropdown-menu a,
.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-gray);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-dropdown-menu a::after,
.dropdown-menu a::after,
.dropdown-link::after {
  display: none !important;
}

.nav-dropdown-menu a:hover,
.dropdown-menu a:hover,
.dropdown-link:hover {
  color: var(--orange);
  background: var(--off-white);
  padding-left: 26px;
}

.nav-dropdown-menu a::before,
.dropdown-menu a::before,
.dropdown-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 60%;
  background: var(--orange);
  border-radius: 0 2px 2px 0;
  transition: width var(--transition-fast);
}

.nav-dropdown-menu a:hover::before,
.dropdown-menu a:hover::before,
.dropdown-link:hover::before {
  width: 3px;
}

/* ============================================================
   Nav CTA -- shared
   ============================================================ */
.nav-cta,
.nav-links > .nav-cta {
  margin-left: var(--space-sm);
}

.nav-cta .btn,
a.nav-cta {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* Prevent underline pseudo-element on CTA button */
a.btn.nav-cta::after {
  display: none !important;
}

/* ============================================================
   CRM utility links in nav (marketing, social-media)
   ============================================================ */
.nav-crm {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-crm a,
.crm-link {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-crm a:hover,
.crm-link:hover {
  color: var(--orange);
}

/* CRM bar (public-relations) */
.crm-bar {
  background: var(--navy-deeper);
  padding: 6px 0;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.crm-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.crm-bar a {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.crm-bar a:hover {
  color: var(--orange);
}

/* Utility bar (ai-solutions) */
.utility-bar {
  background: var(--navy-deeper);
  padding: 6px 0;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.utility-bar a {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.utility-bar a:hover {
  color: var(--orange);
}

/* ============================================================
   Hamburger -- shared
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

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

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

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

/* ============================================================
   Mobile Menu -- shared overlay
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 28, 46, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-xl);
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: all 400ms var(--ease-in-out);
  overflow-y: auto;
}

.mobile-menu.open,
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Direct link children in mobile menu */
.mobile-menu > a {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.mobile-menu > a:hover {
  color: var(--orange);
}

/* Mobile nav links container (Pattern B) */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
}

.mobile-nav-links > a {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.mobile-nav-links > a:hover {
  color: var(--orange);
}

/* Mobile nav link class */
.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  transition: color var(--transition-fast);
  display: block;
  text-align: center;
}

.mobile-nav-link:hover {
  color: var(--orange);
}

.mobile-nav-link.active {
  color: var(--orange);
}

/* Mobile menu sections (Pattern A - index, ada, web-design-seo) */
.mobile-menu-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}

.mobile-menu-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 4px;
}

.mobile-menu-cta {
  margin-top: var(--space-xl);
}

/* Mobile dropdown toggles (Pattern B - contact, privacy, terms, refund) */
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  padding: 8px 0;
  transition: color var(--transition-fast);
  width: 100%;
}

.mobile-dropdown-toggle:hover {
  color: var(--orange);
}

.mobile-dropdown-toggle .dropdown-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.mobile-dropdown-toggle.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mobile dropdown items (Pattern B) */
.mobile-dropdown-items {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: 8px;
}

.mobile-dropdown-items.open {
  display: flex;
}

.mobile-dropdown-items a {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.mobile-dropdown-items a:hover {
  color: var(--orange);
}

/* Mobile dropdown (social-media pattern) */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-dropdown .mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0 8px;
}

.mobile-dropdown .mobile-dropdown-menu.open {
  display: flex;
}

.mobile-dropdown .mobile-dropdown-menu a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.mobile-dropdown .mobile-dropdown-menu a:hover {
  color: var(--orange);
}

/* Mobile CRM links */
.mobile-crm-links,
.mobile-crm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}

.mobile-crm-links a,
.mobile-crm a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.mobile-crm-links a:hover,
.mobile-crm a:hover {
  color: var(--orange);
}

/* Mobile nav CTA */
.mobile-nav-cta {
  margin-top: var(--space-xl);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 50%, var(--navy-deeper) 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

.hero-home {
  min-height: 100vh;
}

.hero-sub {
  min-height: 50vh;
  padding-top: var(--nav-height);
}

/* Hero overlay (contact, privacy, terms, refund) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 137, 0, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(5, 60, 94, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: var(--space-xl);
}

.hero-content h1 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--orange);
  text-shadow: 0 0 40px rgba(255, 137, 0, 0.3), 0 0 80px rgba(255, 137, 0, 0.15);
}

.hero-content h1 span {
  color: var(--orange);
}

.hero-content p,
.hero-content .hero-sub,
.hero-subtitle,
.hero-sub-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

/* Hero sub-content (marketing) */
.hero-sub-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-sub-content h1 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-sub-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 137, 0, 0.12);
  border: 1px solid rgba(255, 137, 0, 0.25);
  border-radius: 100px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(255, 137, 0, 0.15), 0 0 40px rgba(255, 137, 0, 0.05);
  animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--orange);
  fill: none;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 137, 0, 0.15); }
  50% { box-shadow: 0 0 30px rgba(255, 137, 0, 0.25), 0 0 60px rgba(255, 137, 0, 0.1); }
}

/* Hero CTAs */
.hero-ctas,
.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* Glowing orb behind hero content */
.hero-home .hero-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 137, 0, 0.1) 0%, rgba(255, 137, 0, 0.03) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}

/* Drifting grid overlay */
.hero-home .hero-bg::after {
  content: '';
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Floating Geometric Shapes -- .hero-bg pattern */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(5, 60, 94, 0.8) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(255, 137, 0, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(2, 28, 46, 1) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,0.15), transparent),
    radial-gradient(2px 2px at 30% 60%, rgba(255,255,255,0.1), transparent),
    radial-gradient(1px 1px at 50% 30%, rgba(255,255,255,0.12), transparent),
    radial-gradient(2px 2px at 70% 80%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.1), transparent);
}

.hero-bg .hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.hero-bg .hero-shape-1,
.hero-bg .hero-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--orange);
  top: -150px;
  right: -150px;
}

.hero-bg .hero-shape-2,
.hero-bg .hero-shape:nth-child(2) {
  width: 300px;
  height: 300px;
  background: var(--orange);
  bottom: -80px;
  left: -80px;
  animation-delay: -3s;
  animation-duration: 10s;
}

.hero-bg .hero-shape-3,
.hero-bg .hero-shape:nth-child(3) {
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  top: 30%;
  left: 10%;
  animation-delay: -2s;
  animation-duration: 6s;
  background: transparent;
}

.hero-bg .hero-shape-4,
.hero-bg .hero-shape:nth-child(4) {
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255, 137, 0, 0.2);
  bottom: 15%;
  right: 10%;
  animation-delay: -4s;
  animation-duration: 7s;
  background: transparent;
}

.hero-bg .hero-shape-5 {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.04);
  top: 45%;
  left: 20%;
  animation-delay: -5s;
  animation-duration: 9s;
  border-radius: var(--radius-xl);
}

/* Floating shapes -- .hero-shapes pattern (contact, privacy, terms, refund) */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-shapes .hero-shape {
  position: absolute;
  border-radius: var(--radius-lg);
  opacity: 0.06;
}

.hero-shapes .hero-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  border: 2px solid var(--white);
  top: 10%;
  left: -5%;
  animation: float 8s ease-in-out infinite;
  transform: rotate(15deg);
}

.hero-shapes .hero-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  background: var(--orange);
  top: 60%;
  right: -3%;
  animation: float 10s ease-in-out infinite reverse;
  border-radius: var(--radius-2xl);
  transform: rotate(-20deg);
}

.hero-shapes .hero-shape:nth-child(3) {
  width: 120px;
  height: 120px;
  border: 2px solid var(--orange);
  top: 20%;
  right: 10%;
  animation: float 7s ease-in-out 1s infinite;
  border-radius: 50%;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  stroke: rgba(255, 255, 255, 0.5);
  transition: stroke 0.3s;
}

.scroll-indicator:hover svg {
  stroke: var(--orange);
}

.scroll-chevron {
  opacity: 0.5;
  stroke: var(--white);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   Stats Section -- BOTH .stats and .stats-bar
   ============================================================ */
.stats,
.stats-bar {
  background: var(--navy-deeper);
  padding: var(--space-3xl) 0;
  position: relative;
}

.stats::before,
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 137, 0, 0.3), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ============================================================
   Section Layouts
   ============================================================ */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy-dark) 40%, var(--navy) 100%);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-light {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-4xl);
}

.section-header h2 {
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--orange);
  border-radius: var(--radius-full);
}

.section-header p {
  color: var(--mid-gray);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: var(--space-xl);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* Section sub-elements */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--mid-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}

.section-description p {
  color: var(--mid-gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-dark .section-description p {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   Cards
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

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

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  color: inherit;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

.card:hover::before {
  transform: scaleX(1);
}

.card-icon,
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 137, 0, 0.1), rgba(5, 60, 94, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
  color: var(--orange);
}

.card-icon svg,
.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
}

.card h3 {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.card p {
  color: var(--mid-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   Feature Cards -- glassmorphism on dark backgrounds
   ============================================================ */
.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 137, 0, 0.2);
  transform: translateY(-4px);
}

.feature-card .feature-icon {
  background: rgba(255, 137, 0, 0.12);
}

.feature-card h4 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
}

/* ============================================================
   Why Content
   ============================================================ */
.why-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}

.why-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-dark .why-content p {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   Intro Content (social-media)
   ============================================================ */
.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  color: var(--mid-gray);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   Services Block -- Pattern A (index.html)
   .services-block, .services-visual, .services-content, .services-list
   ============================================================ */
.services-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: center;
  padding: var(--space-3xl) 0;
}

.services-block + .services-block {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.services-block.reversed {
  direction: rtl;
}

.services-block.reversed > * {
  direction: ltr;
}

.services-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-visual-inner {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(255, 137, 0, 0.05), rgba(5, 60, 94, 0.08));
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.services-visual-inner svg {
  width: 80px;
  height: 80px;
  stroke: var(--orange);
  margin-bottom: var(--space-lg);
}

.services-visual-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.services-content h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.services-content > p {
  color: var(--orange);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.services-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.services-list li svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  flex-shrink: 0;
}

/* ============================================================
   Service Block -- Pattern B (ai-solutions, marketing)
   .service-block, .service-block-text, .service-block-features
   ============================================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 40px 0;
}

.service-block + .service-block {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section-dark .service-block + .service-block {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.service-block-reverse,
.service-block.service-block-reverse {
  direction: rtl;
}

.service-block-reverse > *,
.service-block.service-block-reverse > * {
  direction: ltr;
}

.service-block-text h2,
.service-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-dark .service-block-text h2,
.section-dark .service-info h2 {
  color: var(--white);
}

.service-block-text h3 {
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.service-block-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.section-dark .service-block-text p {
  color: rgba(255, 255, 255, 0.6);
}

.service-block-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-block-content h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
}

.service-block-content p {
  color: var(--mid-gray);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

/* Service info (ai-solutions) */
.service-info .service-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.service-info .service-subtitle {
  font-size: 1.1rem;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 20px;
}

.service-info .service-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.section-dark .service-info .service-description {
  color: rgba(255, 255, 255, 0.6);
}

/* Service details cards (ai-solutions, marketing) */
.service-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-detail {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-dark .service-detail {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.service-detail:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.section-dark .service-detail:hover {
  border-color: rgba(255, 137, 0, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.service-detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 137, 0, 0.1);
  border: 1px solid rgba(255, 137, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-detail h4,
.service-detail-content h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.section-dark .service-detail h4,
.section-dark .service-detail-content h4 {
  color: var(--white);
}

.service-detail p,
.service-detail-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.section-dark .service-detail p,
.section-dark .service-detail-content p {
  color: rgba(255, 255, 255, 0.55);
}

/* Service features list */
.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.service-features li::before {
  content: '\2713';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 137, 0, 0.1);
  color: var(--orange);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pricing-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card-featured {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--orange);
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(255, 137, 0, 0.15), 0 0 80px rgba(255, 137, 0, 0.08);
  z-index: 2;
}

.pricing-card-featured:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 30px 80px rgba(255, 137, 0, 0.2), 0 0 100px rgba(255, 137, 0, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-hover));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 24px;
  border-radius: 0 0 10px 10px;
}

.pricing-plan {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.pricing-card-featured .pricing-plan {
  color: var(--orange);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
}

.pricing-commitment {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
}

.pricing-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

.pricing-card-featured .pricing-divider {
  background: rgba(255, 137, 0, 0.3);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  text-align: left;
}

.pricing-features li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8900' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-card .btn-primary {
  width: 100%;
  padding: 14px 28px;
  font-size: 0.95rem;
}

.pricing-card-featured .btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-hover));
  box-shadow: 0 4px 20px rgba(255, 137, 0, 0.4);
}

.pricing-card .btn-outline {
  width: 100%;
  padding: 14px 28px;
  font-size: 0.95rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.pricing-card .btn-outline:hover {
  border-color: var(--orange);
  background: rgba(255, 137, 0, 0.1);
  color: var(--orange);
}

/* ============================================================
   Contact Section
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.contact-info > p {
  color: var(--mid-gray);
  margin-bottom: var(--space-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 137, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
}

.contact-detail-text h4,
.contact-detail-text strong {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail-text p,
.contact-detail-text span,
.contact-detail-text a {
  color: var(--mid-gray);
  font-size: 0.9rem;
}

.contact-detail-text a:hover {
  color: var(--orange);
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--dark-gray);
  background: var(--off-white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 137, 0, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid-gray);
  opacity: 0.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-submit {
  margin-top: var(--space-sm);
}

.form-submit .btn {
  width: 100%;
}

/* Map placeholder */
.map-placeholder {
  background: var(--navy-dark);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 50%, #cc6e00 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-xl);
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn {
  position: relative;
  padding: 16px 40px;
  font-size: 1rem;
}

.cta-banner .btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
  font-weight: 700;
}

.cta-banner .btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-banner .btn-dark {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.cta-banner .btn-dark:hover {
  background: var(--navy-deeper);
  border-color: var(--navy-deeper);
}

/* CTA banner content wrapper (marketing) */
.cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner-content h2 {
  color: var(--white);
  margin-bottom: var(--space-xl);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy-deeper);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  font-size: 1.3rem;
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  margin-top: var(--space-md);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
  display: block;
  margin-bottom: 12px;
}

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

.footer-col span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  display: block;
  margin-bottom: 12px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.6);
  stroke: rgba(255, 255, 255, 0.6);
}

.footer-social a:hover svg {
  fill: var(--white);
  stroke: var(--white);
}

/* Sub-brands row */
.footer-subbrands {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-subbrands span {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.footer-subbrands a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.footer-subbrands a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--orange);
}

/* ============================================================
   Policy Pages
   ============================================================ */
.policy-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
}

.policy-content h1 {
  font-size: 2.4rem;
  margin-bottom: var(--space-md);
}

.policy-content .policy-date {
  color: var(--mid-gray);
  font-size: 0.9rem;
  margin-bottom: var(--space-3xl);
}

.policy-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
}

.policy-content h3 {
  font-size: 1.2rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.policy-content p {
  color: var(--mid-gray);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
}

.policy-content ul,
.policy-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.policy-content ul {
  list-style: disc;
}

.policy-content ol {
  list-style: decimal;
}

.policy-content li {
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.policy-content a {
  color: var(--orange);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.policy-content a:hover {
  color: var(--orange-hover);
}

/* ============================================================
   Fade-in Animations
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.fade-in.fade-in-left {
  transform: translateX(-30px);
}

.fade-in.fade-in-right {
  transform: translateX(30px);
}

.fade-in.visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger delay for card grids */
.card-grid .fade-in:nth-child(1) { transition-delay: 0ms; }
.card-grid .fade-in:nth-child(2) { transition-delay: 100ms; }
.card-grid .fade-in:nth-child(3) { transition-delay: 200ms; }
.card-grid .fade-in:nth-child(4) { transition-delay: 300ms; }
.card-grid .fade-in:nth-child(5) { transition-delay: 400ms; }
.card-grid .fade-in:nth-child(6) { transition-delay: 500ms; }

/* ============================================================
   Keyframe Animations
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); }
  25% { transform: translateY(-15px) rotate(var(--rotate, 0deg)); }
  50% { transform: translateY(-20px) rotate(var(--rotate, 0deg)); }
  75% { transform: translateY(-10px) rotate(var(--rotate, 0deg)); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Responsive -- 1200px
   ============================================================ */
@media (max-width: 1200px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .footer-grid {
    gap: var(--space-2xl);
  }

  .nav-crm {
    display: none;
  }
}

/* ============================================================
   Responsive -- 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid,
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

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

  .pricing-card-featured {
    transform: scale(1.02);
  }

  .pricing-card-featured:hover {
    transform: scale(1.02) translateY(-4px);
  }

  .service-block,
  .services-block {
    gap: var(--space-2xl);
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

/* ============================================================
   Responsive -- 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .section {
    padding: 70px 0;
  }

  /* Hide desktop nav links in BOTH patterns */
  .nav-links {
    display: none;
  }

  /* Also hide the standalone nav-cta wrapper (Pattern B) */
  .navbar .nav-cta,
  .nav > .nav-inner > .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-home {
    min-height: 90vh;
  }

  .hero-sub {
    min-height: 40vh;
  }

  .card-grid,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }

  .service-block,
  .services-block {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .service-block.reversed,
  .service-block-reverse,
  .service-block.service-block-reverse,
  .services-block.reversed {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .footer-subbrands {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-header {
    margin-bottom: var(--space-3xl);
  }

  .cta-banner {
    padding: 60px 0;
  }

  .utility-bar,
  .crm-bar {
    display: none;
  }
}

/* ============================================================
   Responsive -- 480px
   ============================================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: 50px 0;
  }

  .hero-content {
    padding: var(--space-md);
  }

  .hero-ctas,
  .hero-btns {
    flex-direction: column;
  }

  .hero-ctas .btn,
  .hero-btns .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .card {
    padding: var(--space-xl);
  }

  .contact-form {
    padding: var(--space-xl);
  }

  .cta-banner {
    padding: 50px 0;
  }

  .mobile-menu .mobile-nav-link,
  .mobile-menu .mobile-dropdown-toggle,
  .mobile-nav-links .mobile-nav-link {
    font-size: 1.1rem;
  }

  .service-detail {
    flex-direction: column;
    gap: 14px;
  }

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

/* ============================================================
   Form Success Message
   ============================================================ */
.form-success {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
