/* ============================================================
   NEURANEST AI AGENCY — DESIGN SYSTEM
   Brand: Deep Ocean Blue #004E7C | Eucalyptus #7DA2A9 | Ochre #D95E38
   ============================================================ */

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

:root {
  /* Colors */
  --primary:       #004E7C;
  --secondary:     #7DA2A9;
  --accent:        #D95E38;
  --dark:          #030d18;
  --card-bg:       #071428;
  --card-bg-2:     #0a1d35;
  --white:         #ffffff;
  --text-secondary: rgba(255,255,255,0.65);
  --text-muted:    rgba(255,255,255,0.4);
  --border:        rgba(125,162,169,0.15);
  --border-bright: rgba(125,162,169,0.35);
  --glow-blue:     rgba(0,78,124,0.4);
  --glow-orange:   rgba(217,94,56,0.3);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-pad:  7rem 2rem;
  --max-w:        1180px;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --dur:          0.3s;
}

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

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

/* ---------- PROGRESS BAR ---------- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--accent);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.navbar.scrolled {
  background: rgba(3, 13, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 0 20px var(--glow-blue);
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur);
  letter-spacing: 0.01em;
}

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

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur) !important;
}

.nav-cta:hover {
  background: #c44d28 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--glow-orange);
  color: var(--white) !important;
}

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

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

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(3, 13, 24, 0.97);
  backdrop-filter: blur(20px);
  padding: 1.5rem 2rem 2rem;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 1.2rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur);
}

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

.nav-mobile .nav-cta {
  text-align: center;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border-bottom: none !important;
  border-radius: 8px;
}

/* ---------- GLOBAL SECTION STYLES ---------- */
.section {
  padding: var(--section-pad);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,78,124,0.2);
  border: 1px solid rgba(0,78,124,0.4);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}

.section-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.accent { color: var(--accent); }
.secondary-color { color: var(--secondary); }

/* Scroll reveal animation classes */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 0;
  overflow: hidden;
}

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse,
    rgba(0,78,124,0.35) 0%,
    rgba(0,78,124,0.1) 40%,
    transparent 70%
  );
  animation: orb-pulse 8s ease-in-out infinite alternate;
  border-radius: 50%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse,
    rgba(217,94,56,0.12) 0%,
    transparent 65%
  );
  animation: orb-pulse 10s ease-in-out infinite alternate-reverse;
  border-radius: 50%;
}

@keyframes orb-pulse {
  from { transform: translateX(-50%) scale(1); opacity: 0.7; }
  to   { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

/* Floating particles via pseudo-elements */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(125,162,169,0.6);
  animation: float-particle linear infinite;
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(125,162,169,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,162,169,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(125,162,169,0.1);
  border: 1px solid rgba(125,162,169,0.3);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-badge::before {
  content: '📍';
  font-size: 0.85rem;
}

.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 0.4rem;
}

.hero-h1 .line-accent {
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
  text-decoration: none;
  box-shadow: 0 4px 24px var(--glow-orange);
}

.btn-primary:hover {
  background: #c44d28;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--glow-orange);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color var(--dur), background var(--dur), transform var(--dur);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--secondary);
  background: rgba(125,162,169,0.08);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  border: 1.5px solid var(--accent);
  cursor: pointer;
  transition: background var(--dur), transform var(--dur);
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(217,94,56,0.12);
  transform: translateY(-1px);
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,78,124,0.3);
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(125,162,169,0.3);
  cursor: pointer;
  transition: all var(--dur);
  text-decoration: none;
}

.btn-sm:hover {
  background: rgba(0,78,124,0.5);
  border-color: var(--secondary);
  transform: translateY(-1px);
}

/* ---------- STATS STRIP ---------- */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(7,20,40,0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 2.5rem;
  margin: 0 2rem;
  max-width: 700px;
  align-self: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 2rem;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  animation: fade-bob 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%   { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

@keyframes fade-bob {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ---------- PROBLEM SECTION ---------- */
.problem-section {
  background: linear-gradient(180deg, var(--dark) 0%, #050f1f 100%);
  border-top: 1px solid var(--border);
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.problem-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--dur);
}

.problem-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 24px rgba(0,78,124,0.15);
}

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

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0,78,124,0.2);
  border: 1px solid rgba(0,78,124,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.problem-transition {
  text-align: center;
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(0,78,124,0.08);
  border: 1px solid rgba(0,78,124,0.2);
  border-radius: var(--radius);
}

.problem-transition p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

.problem-transition .highlight {
  color: var(--secondary);
}

/* ---------- METHOD SECTION ---------- */
.method-section {
  background: #050f1f;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.method-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.method-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px var(--glow-blue);
  border-color: rgba(0,78,124,0.5);
}

.method-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(0,78,124,0.2);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: color var(--dur);
}

.method-card:hover .method-number {
  color: rgba(0,78,124,0.45);
}

.method-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.method-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.method-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.method-connector {
  display: none;
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
  background: linear-gradient(180deg, #050f1f 0%, var(--dark) 100%);
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border-color: var(--border-bright);
}

.service-card.featured {
  background: var(--card-bg-2);
  border: 2px solid var(--primary);
  position: relative;
  transform: scale(1.02);
  box-shadow: 0 8px 40px rgba(0,78,124,0.25);
}

.service-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px var(--glow-blue);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.2rem;
  line-height: 1.1;
}

.service-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 1.8rem;
  flex: 1;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

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

.service-features li::before {
  content: '✓';
  color: var(--secondary);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.services-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- CLIENTS SECTION ---------- */
.clients-section {
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.client-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.client-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,78,124,0.5), rgba(125,162,169,0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur);
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

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

.client-logo-area {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(0,78,124,0.4), rgba(125,162,169,0.2));
  border: 1px solid rgba(125,162,169,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.client-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.client-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.client-descriptor {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.client-outcome {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(0,78,124,0.1);
  border-radius: 8px;
  border-left: 3px solid var(--secondary);
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
  background: linear-gradient(180deg, var(--dark) 0%, #050f1f 100%);
  border-top: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: center;
}

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

.photo-frame {
  width: 220px;
  height: 280px;
  background: linear-gradient(145deg, var(--card-bg-2), var(--card-bg));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg,
    rgba(0,78,124,0.15) 0%,
    transparent 50%,
    rgba(125,162,169,0.08) 100%
  );
}

.photo-initials {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 8px 24px var(--glow-blue);
  position: relative;
  z-index: 1;
}

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

.photo-name strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.photo-name span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.credential-pill {
  background: rgba(0,78,124,0.15);
  border: 1px solid rgba(0,78,124,0.3);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  color: var(--secondary);
  text-align: center;
  font-weight: 500;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.about-points {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.about-points li::before {
  content: '▸';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.about-guarantee {
  background: rgba(0,78,124,0.1);
  border: 1px solid rgba(0,78,124,0.3);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.65;
}

.about-guarantee strong {
  color: var(--white);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: #050f1f;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0,78,124,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(217,94,56,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(217,94,56,0.1);
  border: 1px solid rgba(217,94,56,0.3);
  border-radius: 100px;
  padding: 0.6rem 1.4rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-contact {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-contact a {
  color: var(--secondary);
  font-weight: 500;
}

.cta-contact a:hover {
  color: var(--white);
}

/* ---------- FOOTER ---------- */
.footer {
  background: #020a14;
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-copy a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-built {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  margin-top: 0.5rem;
}

/* ---------- RESPONSIVE — 1024px ---------- */
@media (max-width: 1024px) {
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-card.featured {
    transform: scale(1);
  }

  .service-card.featured:hover {
    transform: translateY(-6px);
  }
}

/* ---------- RESPONSIVE — 768px ---------- */
@media (max-width: 768px) {
  :root {
    --section-pad: 4.5rem 1.2rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 7rem 1.2rem 0;
  }

  .hero-stats {
    padding: 1rem 1.2rem;
    margin: 0 0;
    gap: 0;
  }

  .stat-item {
    padding: 0.4rem 1rem;
  }

  .problem-cards {
    grid-template-columns: 1fr;
  }

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

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

  .service-card.featured {
    transform: scale(1);
  }

  .service-card.featured:hover {
    transform: translateY(-6px);
  }

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

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .section-headline {
    font-size: 1.9rem;
  }
}

/* ---------- RESPONSIVE — 480px ---------- */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-ghost {
    text-align: center;
    justify-content: center;
  }

  .stat-item {
    padding: 0.4rem 0.7rem;
  }

  .stat-number {
    font-size: 1.2rem;
  }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* ---------- SELECTION ---------- */
::selection {
  background: rgba(0,78,124,0.4);
  color: var(--white);
}

/* ---------- FOCUS ---------- */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* ---------- CONTACT FORM ---------- */
.contact-form-wrapper {
  max-width: 680px;
  margin: 2.5rem auto 0;
  text-align: left;
}

.contact-form-wrapper form {
  background: var(--card-bg);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group label span {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  transition: border-color var(--dur), box-shadow var(--dur);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237DA2A9' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.form-group select option {
  background: #071428;
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(125,162,169,0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,94,56,0.1);
}

.form-error {
  font-size: 0.78rem;
  color: var(--accent);
  min-height: 1.1em;
}

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

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.form-submit-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Loading state */
#formSubmitBtn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Success message */
.form-success {
  background: rgba(0,78,124,0.1);
  border: 1px solid rgba(125,162,169,0.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  background: rgba(125,162,169,0.15);
  border: 2px solid var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 auto 1.2rem;
}

.form-success strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper form {
    padding: 1.6rem 1.2rem;
  }
  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  .form-submit-row .btn-primary {
    text-align: center;
    justify-content: center;
  }
}
