@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800;900&display=swap');

:root {
  --bg0: #001222;
  --bg1: #001a33;
  --panel: rgba(3, 32, 54, 0.65);
  --stroke: rgba(0, 255, 255, 0.15);
  --text: #eaf2ff;
  --muted: rgba(234, 242, 255, 0.7);
  --accent: #00ffff;
  --accent-dark: #008b8b;
  --glow: rgba(0, 255, 255, 0.35);
  --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background-color: var(--bg1);
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(1000px 800px at top right, rgba(0, 255, 255, 0.08), transparent 60%), linear-gradient(180deg, var(--bg0), var(--bg1));
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: #001222;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 18, 34, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke);
  height: 140px;
  display: flex;
  align-items: center;
  transition: 0.3s;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

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

.brand img {
  height: 120px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #00bfd3 50%, var(--accent-dark) 100%);
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
  filter: brightness(1.1);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: rgba(0, 255, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(0, 255, 255, 0.15);
  border-color: var(--accent);
}

/* LAYOUT */
main {
  flex: 1;
  padding-top: 140px;
}

.hero {
  padding: 100px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 40px;
}

.kicker {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 255, 255, .08);
  border: 1px solid rgba(0, 255, 255, .3);
  border-radius: 50px;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  align-items: center;
}

.grid>* {
  min-width: 0;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h1,
.section-header h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  margin-bottom: 16px;
  color: #fff;
}

.section-header p {
  font-size: 18px;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto;
}

/* CARDS & MEDIA */
.card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 255, 255, 0.1);
  color: var(--accent);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.card h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 800;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.video-wrapper:hover {
  transform: scale(1.02);
  border-color: rgba(0, 255, 255, 0.4);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 16px;
}

/* FORMS */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: bold;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 16px;
  font-family: var(--font);
  outline: none;
  transition: 0.2s;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.15);
}

/* Fix Webkit Autofill styling overriding dark mode */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #001a33 inset !important;
  -webkit-text-fill-color: white !important;
  border: 1px solid var(--stroke) !important;
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 40px;
  right: -400px;
  width: 100%;
  max-width: 380px;
  padding: 24px;
  background: var(--bg1);
  border: 1px solid var(--accent);
  border-left: 6px solid #34d399;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 255, 0.1);
  color: #fff;
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
  right: 40px;
  opacity: 1;
}

.toast-title {
  font-size: 18px;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* FOOTER */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--stroke);
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  color: var(--muted);
  font-size: 14px;
  margin-top: auto;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 900px) {
  .container {
    padding: 0 29px;
  }

  .navbar {
    height: 120px;
  }

  .brand img {
    height: 96px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    background: rgba(0, 18, 34, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 30px 24px;
    border-bottom: 1px solid var(--stroke);
    align-items: flex-start;
    gap: 24px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.3s;
  }

  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

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

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

@media (min-width: 901px) {
  .reduce-desktop-space-bottom {
    padding-bottom: 20px !important;
  }
  .reduce-desktop-space-top {
    padding-top: 20px !important;
  }
}