/* ══════════════════════════════════════════
   Fran Walkner, MD — Custom Styles
   ══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Navbar ── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #34D399;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after { width: 60%; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #34D399 0%, #10b981 100%);
  color: #0B1D3A;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(52, 211, 153, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(52, 211, 153, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-glow {
  box-shadow: 0 0 40px rgba(52, 211, 153, 0.3), 0 4px 20px rgba(52, 211, 153, 0.2);
}
.btn-glow:hover {
  box-shadow: 0 0 60px rgba(52, 211, 153, 0.5), 0 8px 30px rgba(52, 211, 153, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ── Hero Shapes ── */
.hero-shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.shape-circle-1 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 74, 239, 0.15) 0%, transparent 70%);
  bottom: 10%;
  left: -80px;
  animation: float-slow 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, transparent 70%);
  top: 30%;
  left: 10%;
  animation: float-slow 6s ease-in-out infinite;
}

.shape-diamond {
  width: 80px;
  height: 80px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  top: 20%;
  right: 15%;
  transform: rotate(45deg);
  animation: spin-slow 20s linear infinite;
}

.shape-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(52, 211, 153, 0.08);
  bottom: 20%;
  right: 5%;
  animation: float-slow 12s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes spin-slow {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

/* ── Service Cards ── */
.service-card { perspective: 1000px; }
.service-card > div {
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* ── FAQ ── */
.faq-btn { font-family: 'Plus Jakarta Sans', sans-serif; }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-content.open {
  max-height: 200px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ── Scroll Reveal ── */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Mobile Menu ── */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}
.mobile-nav-link { display: block; }

/* ── Form ── */
select option {
  background: #0B1D3A;
  color: #fff;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #040810; }
::-webkit-scrollbar-thumb { background: #1e4aef33; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1e4aef66; }

/* ── Selection ── */
::selection { background: rgba(52, 211, 153, 0.3); color: #fff; }
