/* ===== Park Slope Wealth — Global Styles v3 (Maximum Pop) ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0a1628;
  --navy-mid:   #132240;
  --slate:      #243752;
  --sage:       #4fa85a;
  --sage-dark:  #378741;
  --sage-light: #e0f4e2;
  --gold:       #d4a94c;
  --gold-bright:#ecc040;
  --gold-light: #faf0d4;
  --cream:      #f9f7f3;
  --white:      #ffffff;
  --text:       #252525;
  --text-light: #5c5c5c;
  --border:     #ddd9d0;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --max-width: 1160px;
  --transition: .35s cubic-bezier(.25,.46,.45,.94);
  --bounce:     .5s cubic-bezier(.34,1.56,.64,1);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 30px rgba(0,0,0,.1);
  --shadow-lg:  0 24px 64px rgba(0,0,0,.14);
  --shadow-glow: 0 8px 40px rgba(212,169,76,.4);
  --shadow-sage: 0 8px 32px rgba(79,168,90,.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .12s; }
.fade-up.delay-2 { transition-delay: .24s; }
.fade-up.delay-3 { transition-delay: .36s; }

.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
  opacity: 0;
  transform: scale(.9);
  transition: opacity .6s ease, transform .6s var(--bounce);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .5em; }
h3 { font-size: 1.4rem; }
p  { margin-bottom: 1em; }

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 40%, var(--sage) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Header / Nav ===== */
header {
  background: rgba(10,22,40,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  transition: box-shadow .3s ease;
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: .02em;
  transition: var(--transition);
}

.logo:hover { opacity: .85; }
.logo span { color: var(--gold); }

nav { display: flex; gap: 36px; }

nav a {
  color: rgba(255,255,255,.65);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  padding: 4px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
  transition: all var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

nav a:hover, nav a.active { color: var(--white); }
nav a:hover::after, nav a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--white); margin: 6px 0;
  transition: var(--transition); border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 120px 0 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(79,168,90,.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(212,169,76,.15) 0%, transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(36,55,82,.8) 0%, transparent 80%);
  animation: meshShift 12s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% { filter: hue-rotate(0deg); transform: scale(1); }
  100% { filter: hue-rotate(8deg); transform: scale(1.08); }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(212,169,76,.3);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

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

.hero .hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero .container { position: relative; z-index: 2; }

.hero h1 {
  color: var(--white);
  margin-bottom: .3em;
  text-shadow: 0 4px 60px rgba(0,0,0,.4);
}

.hero h1 .typed-text {
  display: inline;
  border-right: 3px solid var(--gold);
  animation: blink .8s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

.hero .subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,.65);
  max-width: 650px;
  margin: 0 auto 2.5em;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Wave Dividers ===== */
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-divider.flip { transform: scaleY(-1); margin-top: 0; margin-bottom: -1px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .6s;
}
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(212,169,76,.35);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255,255,255,.15);
}

.btn-sage {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(79,168,90,.25);
}
.btn-sage:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-sage); }

/* ===== Sections ===== */
section { padding: 96px 0; }

.section-label {
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--sage);
  margin-bottom: .7em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-intro {
  max-width: 640px;
  color: var(--text-light);
  margin-bottom: 2.5em;
  font-size: 1.08rem;
}

.bg-white { background: var(--white); }

.section-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--sage));
  border-radius: 3px;
  margin: 0 auto 2em;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  perspective: 1000px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 42px 34px;
  transition: all .45s cubic-bezier(.25,.46,.45,.94);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212,169,76,.06) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-1deg);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--gold-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
  transition: all var(--bounce);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.card:hover .card-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(79,168,90,.2);
}

.card h3 { margin-bottom: .5em; }
.card p  { color: var(--text-light); font-size: .95rem; margin: 0; line-height: 1.7; }

/* ===== Two-Column Layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}

/* ===== Stats Row ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
  padding: 20px 0;
}

.stat-item {
  padding: 40px 24px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--bounce);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold-bright));
  transform: scaleX(0);
  transition: transform .4s ease;
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-md);
}

.stat-item:hover::before { transform: scaleX(1); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--navy) 20%, var(--sage) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  color: var(--text-light);
  font-size: .86rem;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: .02em;
}

/* ===== Testimonial ===== */
.testimonial {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 22rem;
  color: rgba(212,169,76,.05);
  line-height: 1;
  pointer-events: none;
}

/* Glassmorphism quote box */
.testimonial .glass-quote {
  max-width: 740px;
  margin: 0 auto;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 48px 52px;
  position: relative;
  z-index: 1;
}

.testimonial blockquote {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255,255,255,.92);
}

.testimonial .stars {
  color: var(--gold-bright);
  font-size: 1.3rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial cite {
  display: block;
  margin-top: 1.5em;
  font-style: normal;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--gold);
  font-weight: 500;
}

/* ===== About Page ===== */
.story-block {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text);
}

.story-block p { margin-bottom: 1.4em; }

.highlight-box {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--gold-light) 100%);
  border-left: 4px solid var(--sage);
  padding: 32px 36px;
  border-radius: 0 16px 16px 0;
  margin: 2em 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(79,168,90,.08);
}

.highlight-box::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 16px;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(79,168,90,.12);
  line-height: 1;
}

.highlight-box p { margin: 0; color: var(--slate); font-weight: 500; position: relative; z-index: 1; }

.values-list { list-style: none; padding: 0; }

.values-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  transition: all var(--transition);
}

.values-list li:hover { padding-left: 10px; }
.values-list li:last-child { border: none; }

.values-list .check {
  color: var(--sage);
  font-size: 1.2rem;
  line-height: 1.6;
  flex-shrink: 0;
  font-weight: 700;
}

/* ===== Services List ===== */
.service-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  padding: 38px 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.service-item:hover { padding-left: 14px; }
.service-item:last-child { border: none; }

.service-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.service-item h3 { margin-bottom: .4em; }
.service-item p  { color: var(--text-light); margin: 0; line-height: 1.7; }

/* ===== Ideal Client ===== */
.client-profile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.client-profile::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(212,169,76,.1) 0%, transparent 70%);
}

.client-profile h3 { margin-bottom: 1em; }

.client-traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.client-traits li {
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--sage-light) 0%, rgba(232,240,233,.5) 100%);
  border-radius: 12px;
  font-size: .93rem;
  color: var(--slate);
  border: 1px solid rgba(79,168,90,.08);
  transition: all var(--bounce);
  cursor: default;
}

.client-traits li:hover {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: var(--white);
  transform: translateX(6px) scale(1.02);
  box-shadow: 0 6px 20px rgba(79,168,90,.25);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .84rem;
  margin-bottom: 8px;
  color: var(--slate);
  letter-spacing: .03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 5px rgba(79,168,90,.1);
  transform: translateY(-1px);
}

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

.contact-info-block { padding: 24px 0; }
.contact-info-block h3 { margin-bottom: .6em; }
.contact-info-block p  { color: var(--text-light); }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-size: .98rem;
  transition: all var(--transition);
}

.contact-detail:hover { transform: translateX(6px); }

.contact-detail .icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--gold-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  transition: all var(--bounce);
}

.contact-detail:hover .icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 6px 20px rgba(79,168,90,.15);
}

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 52px 0 36px;
  font-size: .88rem;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--sage), var(--gold-bright), var(--sage)) 1;
}

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

footer .logo { font-size: 1.2rem; }

footer nav { gap: 24px; }
footer nav a {
  font-size: .85rem;
  text-transform: none;
  letter-spacing: normal;
  transition: color var(--transition);
}
footer nav a:hover { color: var(--gold); }

.footer-legal {
  width: 100%;
  text-align: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .78rem;
  color: rgba(255,255,255,.25);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(140deg, var(--sage) 0%, var(--sage-dark) 40%, var(--navy-mid) 100%);
  color: var(--white);
  text-align: center;
  padding: 88px 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::before {
  top: -60%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,169,76,.12) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite;
}

.cta-banner::after {
  bottom: -40%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  animation: float 14s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); margin-bottom: .4em; }
.cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: 2em; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold-bright), var(--sage));
  z-index: 200;
  transform-origin: left;
  transform: scaleX(0);
  transition: none;
}

/* ===== Cursor Glow ===== */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(212,169,76,.04) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
  mix-blend-mode: screen;
}

/* ===== Animated Gradient Borders ===== */
.glow-border {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--sage), var(--gold-bright), var(--sage), var(--gold-bright));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderRotate 4s linear infinite;
  opacity: 0;
  transition: opacity .4s ease;
}

.glow-border:hover::before { opacity: 1; }

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

/* ===== Marquee Trust Bar ===== */
.trust-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.trust-bar::before,
.trust-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.trust-bar::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.trust-bar::after  { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }

.trust-track {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.trust-track span {
  color: rgba(255,255,255,.35);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-track span::before {
  content: '◆';
  color: var(--gold);
  font-size: .5rem;
  opacity: .5;
}

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

/* ===== Morphing Hero Blobs ===== */
.hero-blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: morph 15s ease-in-out infinite alternate;
}

.hero-blob-1 {
  top: -10%; right: 5%;
  width: 450px; height: 450px;
  background: rgba(212,169,76,.1);
  animation-duration: 12s;
}

.hero-blob-2 {
  bottom: -15%; left: -5%;
  width: 380px; height: 380px;
  background: rgba(79,168,90,.08);
  animation-duration: 16s;
  animation-delay: -5s;
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
}

.hero-blob-3 {
  top: 40%; left: 30%;
  width: 300px; height: 300px;
  background: rgba(236,192,64,.05);
  animation-duration: 18s;
  animation-delay: -8s;
  border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
}

@keyframes morph {
  0%   { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg) scale(1); }
  33%  { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; transform: rotate(60deg) scale(1.05); }
  66%  { border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%; transform: rotate(120deg) scale(.95); }
  100% { border-radius: 70% 30% 50% 50% / 60% 40% 60% 40%; transform: rotate(180deg) scale(1.02); }
}

/* ===== Magnetic Button Pulse ===== */
.btn-primary {
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(212,169,76,.35); }
  50%      { box-shadow: 0 4px 40px rgba(212,169,76,.55), 0 0 60px rgba(212,169,76,.15); }
}

.btn-primary:hover { animation: none; }

/* ===== Enhanced Stat Counter Glow ===== */
.stat-item {
  background: linear-gradient(135deg, var(--white) 0%, rgba(250,240,212,.3) 100%);
}

/* ===== Text Reveal Clip ===== */
.reveal-text {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(.16,1,.3,1);
}
.reveal-text.visible {
  clip-path: inset(0 0% 0 0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .cursor-glow { display: none; }
  nav { display: none; }
  .nav-toggle { display: block; }
  nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(10,22,40,.98);
    backdrop-filter: blur(20px);
    padding: 28px; gap: 20px;
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
  }

  .hero { padding: 80px 0 100px; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .client-traits { grid-template-columns: 1fr; }
  section { padding: 68px 0; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .wave-divider svg { height: 36px; }
  .testimonial .glass-quote { padding: 32px 24px; }
}
