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

:root {
  --teal-dark:   #0B3D44;
  --teal-mid:    #0E6E72;
  --teal-bright: #1FD1C2;
  --teal-pale:   #E8F7F7;
  --purple:      #5B2D8E;
  --purple-light:#7B4DB5;
  --white:       #FFFFFF;
  --fg-1:        #0D2B30;
  --fg-2:        #3A5A60;
  --fg-3:        #6B8E94;
  --bg-dark:     #071F24;
  --bg-section:  #F4FAFA;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--fg-1); background: var(--white); -webkit-font-smoothing: antialiased; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px;
  background: rgba(7,31,36,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31,209,194,0.12);
  display: flex; align-items: center; padding: 0 40px;
}
.nav-logo { display: flex; align-items: center; margin-right: auto; }
.nav-logo a,
.footer-logo a { display: inline-flex; align-items: center; }
.nav-logo img { height: 56px; width: auto; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.75); text-decoration: none;
  padding: 7px 14px; border-radius: 7px;
  transition: all 150ms var(--ease);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--teal-bright); }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px;
  width: 40px; height: 40px; border-radius: 8px; border: none;
  background: transparent; cursor: pointer; padding: 8px;
  transition: background 150ms;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.07); }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: all 250ms var(--ease); transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(7,31,36,0.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(31,209,194,0.15);
  flex-direction: column; padding: 12px 20px 20px; gap: 4px;
  z-index: 99;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  color: rgba(255,255,255,0.75); text-decoration: none;
  padding: 12px 16px; border-radius: 8px;
  transition: all 150ms var(--ease);
}
.nav-drawer a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-drawer a.active { color: var(--teal-bright); }

footer {
  background: var(--bg-dark); border-top: 1px solid rgba(31,209,194,0.1);
  padding: 48px 72px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.footer-logo img { height: 66px; }
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(199,211,214,0.5); text-decoration: none; padding: 4px 10px; transition: color 150ms; }
.footer-links a:hover { color: var(--teal-bright); }
.footer-copy { font-size: 12px; color: rgba(199,211,214,0.3); }
.footer-url { font-size: 12px; color: rgba(31,209,194,0.5); }
.footer-url a { color: inherit; text-decoration: none; }
.footer-url a:hover { color: var(--teal-bright); }

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 900px) {
  footer { padding: 36px 24px; flex-direction: column; text-align: center; }
}
