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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
}

/* ── Navigation ── */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

#navbar.scrolled {
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

#navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Mobile Menu ── */
.mobile-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-link:hover {
  color: #5eead4;
}

/* ── Hero ── */
.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-title {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-subtitle {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-scroll {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.2s;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Buttons ── */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #14b8a6;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #14b8a6;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: inherit;
}

.cta-primary:hover {
  background: #0d9488;
  border-color: #0d9488;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

/* ── Typography ── */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #14b8a6;
  font-weight: 500;
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.section-heading.text-white {
  color: #fff;
}

.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #64748b;
  font-weight: 300;
}

/* ── Form ── */
.input-field {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 300;
  color: #1e293b;
  font-family: inherit;
  transition: border-color 0.3s ease;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.input-field::placeholder {
  color: #94a3b8;
}

.input-field:focus {
  border-bottom-color: #14b8a6;
}

.success-message {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 2px;
  color: #115e59;
  font-size: 0.875rem;
  font-weight: 400;
  margin-top: 1rem;
}

/* ── Scroll Reveal ── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: translate(0);
  }
}

/* ── Menu hover ── */
#menu ul li:hover {
  background: transparent;
}

#menu ul li {
  transition: background 0.2s ease;
}

/* ── Mobile responsive ── */
@media (max-width: 767px) {
  #mobile-menu {
    opacity: 0;
    pointer-events: none;
  }

  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }
}

/* ── Selection ── */
::selection {
  background: #ccfbf1;
  color: #134e4a;
}
