/* ===== PHENOMENA FONT ===== */
@font-face {
  font-family: 'Phenomena';
  src: url('fonts/phenomena/Phenomena-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Phenomena';
  src: url('fonts/phenomena/Phenomena-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Phenomena';
  src: url('fonts/phenomena/Phenomena-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Phenomena';
  src: url('fonts/phenomena/Phenomena-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Phenomena';
  src: url('fonts/phenomena/Phenomena-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Phenomena';
  src: url('fonts/phenomena/Phenomena-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Phenomena';
  src: url('fonts/phenomena/Phenomena-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ===== CSS RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --carolina-blue: #4B9CD3;
  --carolina-blue-light: #7ABDE4;
  --carolina-blue-dark: #2d7ab5;
  --carolina-blue-glow: rgba(75, 156, 211, 0.25);
  --carolina-blue-glow-strong: rgba(75, 156, 211, 0.5);
  --white: #ffffff;
  --white-80: rgba(255,255,255,0.85);
  --white-50: rgba(255,255,255,0.5);
  --white-20: rgba(255,255,255,0.12);
  --dark-bg: #090c12;
  --dark-surface: #0e1420;
  --dark-card: #111827;
  --dark-card-hover: #162035;
  --dark-border: rgba(75, 156, 211, 0.18);
  --font-body: 'Phenomena', sans-serif;
  --font-display: 'Phenomena', sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-blue: 0 0 40px rgba(75, 156, 211, 0.2), 0 0 80px rgba(75, 156, 211, 0.08);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--dark-bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: var(--carolina-blue); color: #fff; }

/* ===== CANVAS ===== */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--carolina-blue), var(--carolina-blue-dark));
  color: #fff;
  box-shadow: 0 4px 24px rgba(75, 156, 211, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(75, 156, 211, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--dark-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--carolina-blue);
  color: var(--carolina-blue);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--carolina-blue-glow);
}

.btn-large { padding: 18px 44px; font-size: 17px; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 24px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide navbar off-screen when scrolling down */
#navbar.nav-hidden {
  transform: translateY(-110%);
}

#navbar.scrolled {
  background: transparent;
  padding: 14px 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
}
.logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
}
.logo-accent { color: var(--carolina-blue); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  color: var(--white-80);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--carolina-blue);
  background: var(--carolina-blue-glow);
}

.nav-cta {
  background: linear-gradient(135deg, var(--carolina-blue), var(--carolina-blue-dark));
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(75, 156, 211, 0.35);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(75, 156, 211, 0.55);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--dark-border);
  margin-top: 12px;
}
.mobile-menu a {
  color: var(--white-80);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--white-20);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--carolina-blue); }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Animated gradient background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(75, 156, 211, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(75, 156, 211, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(75, 156, 211, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-floating-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--carolina-blue);
  top: -200px; left: -150px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--carolina-blue-light);
  bottom: -100px; right: -100px;
  animation: orbFloat2 15s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px;
  background: var(--carolina-blue-dark);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -40px) scale(1.05); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Anti-gravity floating words */
.float-word {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 100px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(75, 156, 211, 0.15);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  user-select: none;
}
.fw-1 { top: 15%; left: 5%; font-size: clamp(40px, 6vw, 80px); }
.fw-2 { top: 70%; right: 5%; font-size: clamp(44px, 7vw, 90px); }
.fw-3 { top: 40%; right: 8%; font-size: clamp(36px, 5vw, 72px); }
.fw-4 { bottom: 20%; left: 8%; font-size: clamp(32px, 4.5vw, 64px); }
.fw-5 { top: 25%; left: 55%; font-size: clamp(28px, 4vw, 56px); }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-badge {
  display: inline-block;
  background: rgba(75, 156, 211, 0.12);
  border: 1px solid rgba(75, 156, 211, 0.3);
  color: var(--carolina-blue-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: titleReveal 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) { animation-delay: 0.25s; }
.hero-title-line:nth-child(3) { animation-delay: 0.4s; }

@keyframes titleReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-title .accent { color: var(--carolina-blue); }

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--white-80);
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeUp 0.9s 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero-subtitle strong { color: var(--carolina-blue-light); }

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.scroll-indicator span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-50);
}
.scroll-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, var(--carolina-blue), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ===== STATS ===== */
.stats-section {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  position: relative;
  z-index: 2;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  color: var(--carolina-blue);
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--carolina-blue), var(--carolina-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--dark-border);
  flex-shrink: 0;
}

/* "We Bring In" header + caption */
.stats-intro {
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--carolina-blue);
  margin-bottom: 20px;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.stats-caption {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--white-50);
  margin-top: 16px;
  letter-spacing: 0.5px;
}

/* ===== SECTIONS SHARED ===== */
.about-section,
.services-section,
.contact-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--carolina-blue);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.section-title .accent { color: var(--carolina-blue); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-subtitle {
  font-size: 18px;
  color: var(--white-80);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about-section { background: var(--dark-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--white-80);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
}
.about-text .btn { margin-top: 8px; }

.about-visual { position: relative; }

.about-card-stack {
  position: relative;
  height: 320px;
}

.about-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 20px 28px;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}
.about-card:hover {
  border-color: var(--carolina-blue);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.ac-icon { font-size: 28px; }
.ac-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}

.ac-1 { top: 0; left: 0; right: 0; }
.ac-2 { top: 95px; left: 20px; right: 0; }
.ac-3 { top: 190px; left: 40px; right: 0; }
.ac-4 { top: 285px; left: 60px; right: 0; }

.about-card-stack {
  position: relative;
  height: 400px;
}

.about-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--carolina-blue-glow-strong), transparent);
  bottom: -40px; right: -40px;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

/* ===== SERVICES ===== */
.services-section { background: var(--dark-surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  border-color: var(--carolina-blue);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), var(--shadow-blue);
  background: var(--dark-card-hover);
}

.sc-hover-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, var(--carolina-blue), var(--carolina-blue-light));
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 0 var(--radius);
}
.service-card:hover .sc-hover-line { width: 100%; }

.sc-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--carolina-blue);
  opacity: 0.6;
  margin-bottom: 20px;
}

.sc-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(75, 156, 211, 0.1);
  border: 1px solid rgba(75, 156, 211, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .sc-icon-wrap {
  background: rgba(75, 156, 211, 0.2);
  box-shadow: 0 0 20px var(--carolina-blue-glow);
}
.sc-icon { font-size: 26px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  color: var(--white-80);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sc-tags span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--carolina-blue-light);
  background: rgba(75, 156, 211, 0.1);
  border: 1px solid rgba(75, 156, 211, 0.2);
  padding: 4px 12px;
  border-radius: 50px;
}

/* ===== AUDIT CTA ===== */
.audit-section {
  background: var(--dark-bg);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.audit-bg-particles { position: absolute; inset: 0; pointer-events: none; }
.ap {
  position: absolute;
  border-radius: 50%;
  background: var(--carolina-blue);
  opacity: 0.08;
  filter: blur(60px);
}
.ap-1 { width: 500px; height: 500px; top: -100px; left: -100px; animation: apFloat 14s ease-in-out infinite; }
.ap-2 { width: 350px; height: 350px; bottom: -80px; right: -80px; animation: apFloat 11s ease-in-out infinite reverse; }
.ap-3 { width: 250px; height: 250px; top: 50%; left: 40%; animation: apFloat 9s ease-in-out infinite 2s; }
.ap-4 { width: 180px; height: 180px; bottom: 10%; left: 20%; animation: apFloat 12s ease-in-out infinite 1s; }

@keyframes apFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.audit-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(75, 156, 211, 0.12);
  border: 1px solid rgba(75, 156, 211, 0.3);
  color: var(--carolina-blue-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.audit-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.audit-subtitle {
  font-size: 18px;
  color: var(--white-80);
  line-height: 1.7;
  margin-bottom: 40px;
}

.audit-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--white-50);
}

/* ===== CONTACT ===== */
.contact-section { background: var(--dark-surface); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
}

.contact-audit-cta {
  text-align: center;
  margin-top: 48px;
}

.contact-audit-note {
  font-size: 0.9rem;
  color: var(--white-50);
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--carolina-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.contact-icon { font-size: 32px; margin-bottom: 12px; }
.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white-50);
  margin-bottom: 10px;
  font-weight: 600;
}
.contact-value {
  color: var(--carolina-blue-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  word-break: break-all;
}
.contact-value:hover { color: var(--white); }

/* ===== FOOTER ===== */
#footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 48px 24px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
}

.footer-tagline {
  color: var(--white-50);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--white-50);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--carolina-blue); }

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 13px;
}

/* ===== SATURN SCENE – 3D LAPTOP + IRON MAN RINGS ===== */
.saturn-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;   /* zero-size anchor; children use own dimensions */
  z-index: 1;
  pointer-events: none;
}

/* ── LAPTOP – REALISTIC ──────────────────────────────── */

/* Outer wrapper: 3D pivot point, floating animation */
.laptop {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -58%) rotateX(20deg) rotateY(0deg);
  transform-style: preserve-3d;
  perspective: 1200px;
  width: 280px;
  animation: laptopFloat 6s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes laptopFloat {
  0%, 100% { transform: translate(-50%, -58%) rotateX(20deg) rotateY(0deg) translateY(0px); }
  50%       { transform: translate(-50%, -58%) rotateX(20deg) rotateY(0deg) translateY(-14px); }
}

/* Spin + close triggered by .spinning class added via JS */
.laptop.spinning {
  animation: laptopSpinClose 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}
@keyframes laptopSpinClose {
  0%   { transform: translate(-50%,-58%) rotateX(20deg) rotateY(0deg)   translateY(0px);   }
  25%  { transform: translate(-50%,-58%) rotateX(20deg) rotateY(180deg) translateY(-20px); }
  55%  { transform: translate(-50%,-58%) rotateX(20deg) rotateY(400deg) translateY(-30px); }
  80%  { transform: translate(-50%,-58%) rotateX(20deg) rotateY(680deg) translateY(-20px); }
  100% { transform: translate(-50%,-58%) rotateX(20deg) rotateY(720deg) translateY(0px);   }
}

/* Resume float after spin done, added by JS */
.laptop.floating {
  animation: laptopFloat 6s ease-in-out infinite !important;
}

/* ── LID ───────────────────────────────────────────── */
.laptop-lid {
  position: relative;
  width: 280px;
  transform-style: preserve-3d;
  transform-origin: bottom center;
  /* lid starts open at ~110deg (rotateX = 0 means open from our base plane) */
}

/* Lid closing animation */
.laptop-lid.closing {
  animation: lidClose 2.0s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes lidClose {
  0%   { transform: rotateX(0deg);   }
  60%  { transform: rotateX(0deg);   }
  100% { transform: rotateX(-90deg); }
}
.laptop-lid.open-again {
  animation: lidOpen 0.8s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}
@keyframes lidOpen {
  from { transform: rotateX(-90deg); }
  to   { transform: rotateX(0deg);   }
}

/* Lid back (the aluminum outside when closed) */
.lid-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #2a2a2e 0%, #1c1c1f 40%, #28282c 100%);
  border-radius: 12px 12px 4px 4px;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 0 rgba(255,255,255,0.08) inset, 0 0 30px rgba(75,156,211,0.15);
}

.lid-logo-mark {
  width: 28px; height: 28px;
  background: radial-gradient(circle, rgba(75,156,211,0.5) 0%, rgba(75,156,211,0) 70%);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(75,156,211,0.6);
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.2); }
}

/* Lid face (inside) */
.lid-face {
  width: 280px;
  height: 178px;
  background: linear-gradient(160deg, #111418 0%, #0a0e13 100%);
  border-radius: 10px 10px 2px 2px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 8px #1e2126,
    0 0 0 9px rgba(255,255,255,0.05),
    0 0 40px rgba(75,156,211,0.2);
  overflow: hidden;
}

.lid-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  background: #111418;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 12px 8px;
  gap: 6px;
}

/* Camera */
.lid-camera {
  display: flex;
  justify-content: center;
  width: 100%;
}
.lid-camera-dot {
  width: 5px; height: 5px;
  background: #1e2126;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 4px rgba(75,156,211,0.4);
}

/* Screen glass */
.lid-screen {
  flex: 1;
  width: 100%;
  background: linear-gradient(160deg, #071220 0%, #030a16 100%);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Mac-style topbar */
.screen-topbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.stb-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
}
.stb-red    { background: #ff5f57; }
.stb-yellow { background: #febc2e; }
.stb-green  { background: #28c840; }
.stb-urlbar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  margin-left: 4px;
}

/* Screen body with sidebar */
.screen-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.screen-sidebar {
  width: 28px;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 4px;
  flex-shrink: 0;
}
.ssb-item {
  height: 5px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  width: 100%;
}
.ssb-item.active {
  background: rgba(75,156,211,0.7);
  box-shadow: 0 0 6px rgba(75,156,211,0.5);
}

/* Main screen content */
.screen-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  overflow: hidden;
}
.sm-header {
  height: 7px;
  background: linear-gradient(to right, rgba(75,156,211,0.8), rgba(75,156,211,0.2));
  border-radius: 2px;
  width: 60%;
  margin-bottom: 2px;
}
.sm-line {
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.sl-a { width: 90%; }
.sl-b { width: 75%; opacity: 0.7; }
.sl-c { width: 55%; opacity: 0.5; }
.sl-d { width: 80%; opacity: 0.6; }

.sm-card {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(75,156,211,0.1);
  border: 1px solid rgba(75,156,211,0.2);
  border-radius: 3px;
  padding: 4px 5px;
  margin: 2px 0;
}
.sm-card-dot {
  width: 6px; height: 6px;
  background: var(--carolina-blue);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--carolina-blue);
  flex-shrink: 0;
  animation: screenPulse 2.4s ease-in-out infinite;
}
.sm-card-bar {
  flex: 1;
  height: 3px;
  background: rgba(75,156,211,0.5);
  border-radius: 2px;
}

@keyframes screenPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.screen-glow-inner {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at 50% 30%, rgba(75,156,211,0.15), transparent 70%);
  pointer-events: none;
}

/* ── HINGE ─────────────────────────────────────────── */
.laptop-hinge {
  width: 280px;
  height: 6px;
  background: linear-gradient(to right, #111, rgba(255,255,255,0.12) 30%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.12) 70%, #111);
  position: relative;
}
.hinge-strip {
  position: absolute;
  top: 0; left: 10px; right: 10px;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(75,156,211,0.4), transparent);
}

/* ── BASE ──────────────────────────────────────────── */
.laptop-base {
  width: 280px;
  border-radius: 2px 2px 10px 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.7), 0 0 15px rgba(75,156,211,0.1);
  overflow: hidden;
}

.base-surface {
  background: linear-gradient(170deg, #252528 0%, #1c1c1f 60%, #212124 100%);
  padding: 8px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Function keys */
.kb-fn-row {
  display: flex;
  gap: 3px;
  justify-content: center;
  margin-bottom: 2px;
}
.kb-fn-key {
  flex: 1;
  height: 5px;
  background: linear-gradient(145deg, #333336, #2a2a2d);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.6), 0 -1px 0 rgba(255,255,255,0.06);
}

/* Main key rows */
.kb-row {
  display: flex;
  gap: 2.5px;
  align-items: center;
  justify-content: center;
}
.kb-key {
  height: 11px;
  width: 16px;
  background: linear-gradient(145deg, #38383c, #2d2d30);
  border-radius: 2px;
  box-shadow: 0 1.5px 0 rgba(0,0,0,0.7), 0 -0.5px 0 rgba(255,255,255,0.08);
  flex-shrink: 0;
}
/* Special key widths */
.kb-key.wide   { width: 26px; }
.kb-key.wide2  { width: 24px; }
.kb-key.caps   { width: 22px; }
.kb-key.enter  { width: 22px; }
.kb-key.shift-l { width: 28px; }
.kb-key.shift-r { width: 30px; }
.kb-key.ctrl-key { width: 16px; }
.kb-key.opt-key  { width: 20px; }
.kb-key.cmd-key  { width: 22px; }
.kb-key.space-key { flex: 1; max-width: 80px; }
.kb-key.arr-up, .kb-key.arr-dn { width: 13px; height: 5px; }

.kb-arrow-cluster {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Trackpad */
.kb-trackpad {
  margin: 4px auto 0;
  width: 90px;
  height: 22px;
  background: linear-gradient(145deg, #2f2f32, #262629);
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 1px 0 rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trackpad-inner {
  width: 80%;
  height: 60%;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
}

/* Base bottom (rubber feet visible at edge) */
.base-bottom {
  height: 8px;
  background: linear-gradient(180deg, #1c1c1f 0%, #141416 100%);
  display: flex;
  align-items: center;
  padding: 0 20px;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.3);
}
.rubber-foot {
  width: 12px; height: 3px;
  background: #0a0a0b;
  border-radius: 2px;
}



/* ── ORBITAL RINGS (Iron Man burst) ────────────────── */
.saturn-ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  border: 2px solid rgba(75,156,211,0.0);
  box-shadow: none;
  transform: translate(-50%, -50%) scale(0) rotateX(72deg);
  transform-origin: center center;
  opacity: 0;
  transition: none;   /* JS controls via class */
  will-change: transform, opacity;
}

/* Sizes before explosion (collapsed at center) */
.ring-1 { width: 260px; height: 90px;  border-width: 2.5px; }
.ring-2 { width: 380px; height: 130px; border-width: 2px;   }
.ring-3 { width: 520px; height: 175px; border-width: 1.5px; }
.ring-4 { width: 680px; height: 225px; border-width: 1px;   }

/* Exploded state – added by JS */
.saturn-scene.exploded .ring-1 {
  animation: ringExplode1 1.4s cubic-bezier(0.12, 0.9, 0.4, 1) 0.0s forwards;
}
.saturn-scene.exploded .ring-2 {
  animation: ringExplode2 1.6s cubic-bezier(0.12, 0.9, 0.4, 1) 0.12s forwards;
}
.saturn-scene.exploded .ring-3 {
  animation: ringExplode3 1.8s cubic-bezier(0.12, 0.9, 0.4, 1) 0.24s forwards;
}
.saturn-scene.exploded .ring-4 {
  animation: ringExplode4 2.0s cubic-bezier(0.12, 0.9, 0.4, 1) 0.36s forwards;
}

/* After explode, rings stay in orbit */
.saturn-scene.settled .ring-1 {
  animation: ringOrbit1 9s linear infinite;
}
.saturn-scene.settled .ring-2 {
  animation: ringOrbit2 13s linear infinite reverse;
}
.saturn-scene.settled .ring-3 {
  animation: ringOrbit3 18s linear infinite;
}
.saturn-scene.settled .ring-4 {
  animation: ringOrbit4 24s linear infinite reverse;
}

@keyframes ringExplode1 {
  0%   { transform: translate(-50%,-50%) scale(0)   rotateX(72deg); opacity: 0; border-color: rgba(75,156,211,0); box-shadow: none; }
  15%  { opacity: 1; border-color: rgba(75,156,211,1); box-shadow: 0 0 40px 8px rgba(75,156,211,0.9), inset 0 0 20px rgba(75,156,211,0.4); }
  60%  { transform: translate(-50%,-50%) scale(1)   rotateX(72deg); opacity: 0.85; }
  100% { transform: translate(-50%,-50%) scale(1)   rotateX(72deg); opacity: 0.55; border-color: rgba(75,156,211,0.55); box-shadow: 0 0 20px 4px rgba(75,156,211,0.4); }
}
@keyframes ringExplode2 {
  0%   { transform: translate(-50%,-50%) scale(0)   rotateX(68deg); opacity: 0; border-color: rgba(75,156,211,0); box-shadow: none; }
  18%  { opacity: 1; border-color: rgba(75,156,211,0.9); box-shadow: 0 0 35px 6px rgba(75,156,211,0.8); }
  60%  { transform: translate(-50%,-50%) scale(1)   rotateX(68deg); opacity: 0.8; }
  100% { transform: translate(-50%,-50%) scale(1)   rotateX(68deg); opacity: 0.45; border-color: rgba(75,156,211,0.45); box-shadow: 0 0 16px 3px rgba(75,156,211,0.3); }
}
@keyframes ringExplode3 {
  0%   { transform: translate(-50%,-50%) scale(0)   rotateX(65deg); opacity: 0; border-color: rgba(75,156,211,0); box-shadow: none; }
  20%  { opacity: 0.9; border-color: rgba(75,156,211,0.8); box-shadow: 0 0 30px 5px rgba(75,156,211,0.7); }
  60%  { transform: translate(-50%,-50%) scale(1)   rotateX(65deg); opacity: 0.7; }
  100% { transform: translate(-50%,-50%) scale(1)   rotateX(65deg); opacity: 0.35; border-color: rgba(75,156,211,0.35); box-shadow: 0 0 12px 2px rgba(75,156,211,0.2); }
}
@keyframes ringExplode4 {
  0%   { transform: translate(-50%,-50%) scale(0)   rotateX(62deg); opacity: 0; border-color: rgba(75,156,211,0); box-shadow: none; }
  22%  { opacity: 0.8; border-color: rgba(75,156,211,0.7); box-shadow: 0 0 24px 4px rgba(75,156,211,0.6); }
  60%  { transform: translate(-50%,-50%) scale(1)   rotateX(62deg); opacity: 0.6; }
  100% { transform: translate(-50%,-50%) scale(1)   rotateX(62deg); opacity: 0.25; border-color: rgba(75,156,211,0.25); box-shadow: 0 0 10px 2px rgba(75,156,211,0.15); }
}

/* Slow continuous orbit after explosion settles */
@keyframes ringOrbit1 {
  0%   { transform: translate(-50%,-50%) scale(1) rotateX(72deg) rotateZ(0deg); opacity: 0.55; }
  50%  { opacity: 0.35; }
  100% { transform: translate(-50%,-50%) scale(1) rotateX(72deg) rotateZ(360deg); opacity: 0.55; }
}
@keyframes ringOrbit2 {
  0%   { transform: translate(-50%,-50%) scale(1) rotateX(68deg) rotateZ(0deg); opacity: 0.45; }
  50%  { opacity: 0.25; }
  100% { transform: translate(-50%,-50%) scale(1) rotateX(68deg) rotateZ(360deg); opacity: 0.45; }
}
@keyframes ringOrbit3 {
  0%   { transform: translate(-50%,-50%) scale(1) rotateX(65deg) rotateZ(0deg); opacity: 0.35; }
  50%  { opacity: 0.18; }
  100% { transform: translate(-50%,-50%) scale(1) rotateX(65deg) rotateZ(360deg); opacity: 0.35; }
}
@keyframes ringOrbit4 {
  0%   { transform: translate(-50%,-50%) scale(1) rotateX(62deg) rotateZ(0deg); opacity: 0.25; }
  50%  { opacity: 0.1; }
  100% { transform: translate(-50%,-50%) scale(1) rotateX(62deg) rotateZ(360deg); opacity: 0.25; }
}

/* ── SHOCKWAVE DOTS ─────────────────────────────────── */
.orbit-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--carolina-blue);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 10px var(--carolina-blue);
}
.saturn-scene.exploded .od-1 {
  animation: dotBlast 1.2s 0.05s cubic-bezier(0, 0.9, 0.3, 1) forwards;
}
.saturn-scene.exploded .od-2 {
  animation: dotBlast 1.4s 0.18s cubic-bezier(0, 0.9, 0.3, 1) forwards;
}

@keyframes dotBlast {
  0%   { transform: translate(-50%, -50%) scale(0) translate(0, 0); opacity: 1; }
  60%  { opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1) translate(220px, -80px); opacity: 0; }
}

/* ── FLASH BURST on explosion ───────────────────────── */
.saturn-scene::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75,156,211,0.7) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: none;
}
.saturn-scene.exploded::after {
  animation: flashBurst 0.8s 0s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}
@keyframes flashBurst {
  0%   { transform: translate(-50%,-50%) scale(0);   opacity: 0.9; }
  40%  { opacity: 0.6; }
  100% { transform: translate(-50%,-50%) scale(2.5); opacity: 0; }
}

/* ===== SCROLL REVEAL ANIMATIONS (BIDIRECTIONAL) ===== */

/* Section-level wrapper: out by default */
.scroll-section {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
/* Visible state — added/removed by JS */
.scroll-section.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Scrolled past (exit upward) */
.scroll-section.exit-up {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inner element reveals (still one-directional for sub-elements) */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-card {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-card { transform: translateY(40px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-card.revealed {
  opacity: 1;
  transform: none;
}

/* Stagger for cards */
.reveal-card[data-index="0"] { transition-delay: 0s; }
.reveal-card[data-index="1"] { transition-delay: 0.12s; }
.reveal-card[data-index="2"] { transition-delay: 0.24s; }
.reveal-card[data-index="3"] { transition-delay: 0.36s; }


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid,
  .contact-grid--two { grid-template-columns: 1fr; max-width: 400px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .stat-divider { display: none; }
  .stats-inner { gap: 0; }
  .stat-item { min-width: 50%; }
}

@media (max-width: 600px) {
  #hero { padding: 100px 16px 60px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .about-card-stack { height: 260px; }
  .ac-2 { top: 88px; }
  .ac-3 { top: 176px; }
  .float-word { display: none; }
  .stat-item { min-width: 100%; }
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
  background: var(--dark-surface);
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--carolina-blue), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.problem-card:hover {
  border-color: rgba(75, 156, 211, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(75,156,211,0.08);
}

.problem-card:hover::before { opacity: 1; }

.problem-number {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(75, 156, 211, 0.18);
  line-height: 1;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.problem-card p {
  font-size: 15px;
  color: var(--white-80);
  line-height: 1.78;
}

/* ===== PROCESS SECTION ===== */
.process-section {
  background: var(--dark-bg);
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 64px;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-step {
  position: relative;
  padding: 44px 28px 36px;
  background: var(--dark-card);
  border-right: 1px solid var(--dark-border);
  transition: var(--transition);
}

.process-step:last-child { border-right: none; }

.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--carolina-blue), var(--carolina-blue-light));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-step:hover {
  background: var(--dark-card-hover);
}

.process-step:hover::before { opacity: 1; }

.ps-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--carolina-blue), var(--carolina-blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.process-step:hover .ps-number { opacity: 0.7; }

.ps-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.ps-content p {
  font-size: 14px;
  color: var(--white-80);
  line-height: 1.75;
}

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

.process-cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--white-50);
  letter-spacing: 0.2px;
}

/* ===== AUDIT VALUE PILL ===== */
.audit-value-pill {
  display: inline-block;
  background: rgba(75, 156, 211, 0.08);
  border: 1px solid rgba(75, 156, 211, 0.22);
  color: var(--white-80);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: var(--dark-surface);
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--dark-border);
  background: var(--dark-card);
  transition: background 0.3s ease;
}

.faq-item:last-child { border-bottom: none; }
.faq-item.open { background: var(--dark-card-hover); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.faq-item.open .faq-question span { color: var(--carolina-blue); }

.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: rgba(75, 156, 211, 0.08);
  border: 1px solid rgba(75, 156, 211, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--carolina-blue);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: rgba(75, 156, 211, 0.18);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer-inner {
  padding: 0 28px 26px;
  font-size: 15px;
  color: var(--white-80);
  line-height: 1.8;
  border-top: 1px solid rgba(75, 156, 211, 0.08);
  padding-top: 16px;
}

/* ===== SVG ICON HELPERS ===== */
.ac-icon-svg {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--carolina-blue);
  flex-shrink: 0;
}

.contact-icon-svg {
  margin-bottom: 14px;
  color: var(--carolina-blue);
  display: flex;
  justify-content: center;
}

.sc-svg-icon {
  color: var(--carolina-blue);
  transition: color 0.3s ease;
}

.service-card:hover .sc-svg-icon { color: var(--carolina-blue-light); }

/* ===== RESPONSIVE — NEW SECTIONS ===== */
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius-sm);
  }
  .process-step { border-right: none; border-bottom: 1px solid var(--dark-border); }
  .process-step:nth-child(odd) { border-right: 1px solid var(--dark-border); }
  .process-step:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .problem-section,
  .process-section,
  .faq-section { padding: 72px 0; }
  .problem-grid { gap: 16px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--dark-border); }
  .process-step:nth-child(odd) { border-right: none; }
  .process-step:last-child { border-bottom: none; }
  .process-step { padding: 32px 24px; }
  .faq-question { padding: 20px 20px; }
  .faq-question span { font-size: 15px; }
  .faq-answer-inner { padding: 14px 20px 22px; }
  .audit-value-pill { font-size: 12px; padding: 7px 16px; }
}

/* ===== CONSISTENCY IS KING CHART ===== */
.consistency-section {
  padding: 120px 0;
  background: var(--dark-bg);
}

.cik-legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cik-legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white-50);
}

.cik-line {
  width: 28px;
  height: 3px;
  border-radius: 4px;
}

.cik-line-websters { background: var(--carolina-blue); }

.cik-line-diy {
  background: none;
  height: 0;
  border-top: 3px dashed #4a6a90;
}

.cik-chart-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 32px 28px 24px;
}

.cik-chart-card canvas { width: 100% !important; }

.cik-pills {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cik-pill {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 40px;
  padding: 10px 22px;
  text-align: center;
}

.cik-pill.highlight { border-color: rgba(75,156,211,0.4); }

.cik-pill-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--carolina-blue);
  line-height: 1;
}

.cik-pill-label {
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white-50);
  margin-top: 4px;
}

.cik-footnote {
  text-align: center;
  margin-top: 22px;
  font-size: 0.63rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.8;
}

.cik-value-banner {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--dark-card) 0%, rgba(75,156,211,0.07) 100%);
  border: 1px solid rgba(75,156,211,0.28);
  border-radius: var(--radius);
  padding: 56px 40px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cik-value-banner::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 160px;
  background: radial-gradient(ellipse, rgba(75,156,211,0.12), transparent 70%);
  pointer-events: none;
}

.cvb-bg-number {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 900;
  color: rgba(75,156,211,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.cvb-eyebrow {
  position: relative;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--carolina-blue);
  margin-bottom: 16px;
  font-weight: 600;
}

.cvb-headline {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
}

.cvb-headline span { color: var(--carolina-blue); }

.cvb-body {
  position: relative;
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  color: var(--white-80);
  line-height: 1.75;
}

.cvb-body strong {
  color: var(--carolina-blue);
  font-weight: 700;
}

@media (max-width: 600px) {
  .consistency-section { padding: 72px 0; }
  .cik-pills { gap: 10px; }
  .cik-pill { padding: 8px 16px; }
  .cik-pill-val { font-size: 1.4rem; }
  .cik-chart-card { padding: 20px 12px 16px; }
  .cik-value-banner { padding: 40px 24px 36px; }
  .cvb-body { font-size: 0.95rem; }
}

/* ===== CLIENT LOGO MARQUEE ===== */
.clients-section {
  background: var(--dark-bg);
  padding: 100px 0 60px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  /* Fade edges for a polished look */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

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

.logo-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 72px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.4s ease;
  text-decoration: none;
}

.logo-marquee-item img {
  height: 56px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.8);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.logo-marquee-item:hover {
  background: rgba(75, 156, 211, 0.06);
  box-shadow: 0 0 24px rgba(75, 156, 211, 0.15);
}

.logo-marquee-item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.08);
}

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

/* Responsive: smaller logos on mobile */
@media (max-width: 600px) {
  .clients-section { padding: 72px 0 40px; }
  .logo-marquee-track { gap: 36px; }
  .logo-marquee-item { height: 56px; }
  .logo-marquee-item img { height: 42px; max-width: 100px; }
}

/* ===== FOUNDER PROOF LINE ===== */
.founder-proof-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(75, 156, 211, 0.08);
  border: 1px solid rgba(75, 156, 211, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--white-80);
  line-height: 1.6;
  margin-bottom: 28px;
}

.founder-proof-line svg {
  color: var(--carolina-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== EMAIL OPT-IN ===== */
.optin-section {
  background: var(--dark-surface);
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.optin-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.optin-badge {
  display: inline-block;
  background: rgba(75, 156, 211, 0.12);
  border: 1px solid rgba(75, 156, 211, 0.3);
  color: var(--carolina-blue-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.optin-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.optin-title .accent { color: var(--carolina-blue); }

.optin-sub {
  font-size: 17px;
  color: var(--white-80);
  line-height: 1.7;
  margin-bottom: 36px;
}

.optin-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 16px;
}

.optin-input {
  flex: 1;
  padding: 14px 18px;
  background: var(--dark-card);
  border: 1.5px solid var(--dark-border);
  border-radius: 50px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

.optin-input::placeholder { color: var(--white-50); }
.optin-input:focus { border-color: var(--carolina-blue); }

.optin-btn { border-radius: 50px; white-space: nowrap; }

.optin-note {
  font-size: 13px;
  color: var(--white-50);
}

/* ===== CONTACT MAIN GRID ===== */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

.contact-form-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--white);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--white-80);
  letter-spacing: 0.02em;
}

.cf-field input,
.cf-field textarea {
  background: var(--dark-surface);
  border: 1.5px solid var(--dark-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--white-50); }

.cf-field input:focus,
.cf-field textarea:focus { border-color: var(--carolina-blue); }

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== FOOTER EXPANDED ===== */
#footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 64px 24px 32px;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 28px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-tagline {
  color: var(--white-50);
  font-size: 14px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 1px;
}

.footer-rating-text {
  font-size: 12px;
  color: var(--white-50);
  font-weight: 500;
}

.footer-nav-col {
  display: flex;
  gap: 48px;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--carolina-blue);
  margin-bottom: 4px;
}

.footer-nav-group a {
  color: var(--white-50);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-nav-group a:hover { color: var(--carolina-blue); }

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-50);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-social-link:hover { color: var(--carolina-blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-legal a:hover { color: var(--carolina-blue); }

/* ===== SERVICE PAGE ===== */
.service-hero {
  padding: 140px 0 80px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-hero-badge {
  display: inline-block;
  background: rgba(75,156,211,0.1);
  border: 1px solid rgba(75,156,211,0.3);
  color: var(--carolina-blue-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.service-hero h1 .accent { color: var(--carolina-blue); }

.service-hero-sub {
  font-size: 18px;
  color: var(--white-80);
  line-height: 1.75;
  margin-bottom: 32px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--white-80);
}

.service-feature svg {
  color: var(--carolina-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-hero-visual {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-card {
  background: linear-gradient(135deg, var(--dark-surface), rgba(75,156,211,0.05));
  border: 1px solid rgba(75,156,211,0.25);
  border-radius: var(--radius-sm);
  padding: 28px;
  text-align: center;
}

.pricing-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--carolina-blue);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--white-50);
  margin-top: 6px;
}

/* ===== RESPONSIVE — NEW SECTIONS ===== */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact-col { grid-column: 1 / -1; }
  .contact-main-grid { grid-template-columns: 1fr; }
  .contact-info-col { flex-direction: row; flex-wrap: wrap; }
  .contact-info-col .contact-card { flex: 1; min-width: 160px; }
}

@media (max-width: 900px) {
  .service-hero-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav-col { gap: 32px; }
}

@media (max-width: 600px) {
  .optin-section { padding: 72px 0; }
  .optin-form { flex-direction: column; }
  .optin-input { border-radius: var(--radius-sm); }
  .optin-btn { border-radius: var(--radius-sm); width: 100%; justify-content: center; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-nav-col { flex-direction: column; }
}

