:root {
  --bg: #050508;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f0f0ff;
  --muted: rgba(240, 240, 255, 0.45);
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --cyan: #22d3ee;
  --glow: rgba(99, 102, 241, 0.35);
  --glow-cyan: rgba(34, 211, 238, 0.2);
  --r-card: 20px;
  --r-btn: 12px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html,
body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

.container {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 64px;
  background: transparent;
  transition: background 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  z-index: 1;
}

.logo img {
  height: 24px;
  width: auto;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.logo:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.logo:hover img {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.nav-pill {
  display: none;
  align-items: center;
  justify-content: space-evenly;
  width: calc(100% - 32px);
  max-width: 400px;
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 100px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

@media (min-width: 768px) {
  .nav-pill {
    display: flex;
  }
}

.nav-pill a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 8px 16px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-pill a:hover,
.nav-pill a.active {
  color: #fff;
}

.nav-pill a.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.nav-right {
  display: flex;
  align-items: center;
}

.btn-nav-white {
  background: #fff;
  color: #08080c;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .btn-nav-white {
    padding: 8px 16px;
    font-size: 12px;
  }
}

.btn-nav-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
  min-height: 44px;
  justify-content: center;
}

@media (max-width: 640px) {
  .btn {
    padding: 11px 20px;
    font-size: 13px;
    min-height: 40px;
  }
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 0 32px var(--glow);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(139, 92, 246, 0.5);
}

.btn-glass {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: var(--surface-2);
  border-color: var(--accent);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 16px;
  border-radius: 14px;
}

@media (max-width: 640px) {
  .btn-lg {
    padding: 13px 28px;
    font-size: 15px;
    width: auto;
  }
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(80px, 15vw, 150px) 20px clamp(40px, 8vw, 60px);
  overflow: hidden;
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 16px 100px;
    min-height: auto;
    margin: 200px 16px 200px;
  }
}

@media (max-height: 800px) {
  .hero {
    padding: 50px 20px 40px;
    margin: 50px 16px 150px
  }
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
  width: 100%;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(6px, 1vw, 7px) clamp(16px, 3vw, 20px);
  border-radius: 100px;
  margin-bottom: clamp(24px, 4vw, 36px);
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(165, 180, 252, 0.4);
  backdrop-filter: blur(16px);
  font-size: clamp(11px, 1.5vw, 12px);
  font-weight: 700;
  color: #c4b5fd;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow:
    0 0 20px rgba(99, 102, 241, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.welcome-text {
  font-size: clamp(12px, 1.8vw, 14px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.hero-title {
  margin-bottom: 8px;
  line-height: 1;
}

.hero-title img {
  height: clamp(80px, 20vw, 180px);
  width: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 32px rgba(99, 102, 241, 0.55))
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  animation: title-shimmer 6s ease-in-out infinite;
}

@keyframes title-shimmer {
  0%,
  100% {
    filter: drop-shadow(0 0 28px rgba(99, 102, 241, 0.5))
      drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  }

  50% {
    filter: drop-shadow(0 0 52px rgba(139, 92, 246, 0.75))
      drop-shadow(0 2px 12px rgba(0, 0, 0, 0.7));
  }
}

.hero-tagline {
  font-size: clamp(20px, 5vw, 38px);
  font-weight: 300;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(196, 181, 253, 0.9) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  font-style: italic;
  margin-bottom: 15px;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.5));
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(14px, 3vw, 18px);
  max-width: 540px;
  color: rgba(220, 220, 255, 0.82);
  margin: 0 auto 15px;
  line-height: 1.6;
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(5, 5, 8, 0.8);
  font-weight: 400;
  padding: 0 12px;
}

@media (max-width: 640px) {
  .hero-subtitle {
    font-size: 14px;
    line-height: 1.5;
  }
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

/* ------------CTA section------------ */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 20px;
  text-align: center;
}

.cta-section::before {
  position: absolute;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ─── FOOTER ───────────────────────────────────────── */
.footer {
  position: relative;
  bottom: 16px;
  right: 0;
  z-index: 10;
  left: 24px;
  width: calc(100% - 32px);
  /* background: rgba(10, 10, 16, 0.65); */
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 60px clamp(24px, 5vw, 80px) 0;
  /* overflow: hidden; */
  /* box-shadow:
    0 -8px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04); */
}

.footer-glow {
  /* position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(
    ellipse,
    rgba(99, 102, 241, 0.08) 0%,
    transparent 70%
  ); */
  pointer-events: none;
  filter: blur(80px);
}

/* ─── Main two-column area ─── */
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(60px, 10vw, 160px);
  width: 100%;
  padding-bottom: 48px;
}

/* ─── Left column: brand ─── */
.footer-brand-col {
  max-width: 360px;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 20px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.footer-logo-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.25));
}

.footer-description {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(240, 240, 255, 0.45);
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* ─── Right column: contact ─── */
.footer-contact-col {
  padding-top: 4px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  color: rgba(240, 240, 255, 0.85);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
  opacity: 0.8;
}

.contact-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(240, 240, 255, 0.75);
  margin-bottom: 3px;
}

.contact-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(240, 240, 255, 0.4);
  font-weight: 400;
}

.contact-text a {
  color: rgba(240, 240, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--accent);
}

/* ─── Divider ─── */
.footer-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.18) 20%,
    rgba(99, 102, 241, 0.18) 80%,
    transparent 100%
  );
}

/* ─── Bottom bar ─── */
.footer-bottom-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  color: rgba(240, 240, 255, 0.28);
  letter-spacing: 0.3px;
  line-height: 1.6;
  font-weight: 400;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(240, 240, 255, 0.4);
  transition: all 0.3s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #c4b5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 12px;
  font-weight: 500;
  color: rgba(240, 240, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.footer-link:hover {
  color: #f3f4f6;
}

/* ─── Footer responsive ─── */
@media (max-width: 768px) {
  .footer {
    left: 12px;
    width: calc(100% - 24px);
    border-radius: 16px;
    padding: 36px 20px 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-brand-col {
    max-width: 100%;
    text-align: center;
  }

  .footer-logo-link {
    margin-bottom: 14px;
  }

  .footer-logo-img {
    height: 40px;
  }

  .footer-description {
    font-size: 13px;
    line-height: 1.7;
  }

  .footer-contact-col {
    padding-top: 0;
  }

  .footer-heading::after {
    left: 0;
  }

  .contact-item {
    margin-bottom: 16px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 18px 0;
  }

  .footer-copy {
    font-size: 10px;
  }

  .footer-links {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-link {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .footer {
    left: 8px;
    width: calc(100% - 16px);
    border-radius: 14px;
    padding: 28px 16px 0;
    bottom: 8px;
  }

  .footer-main {
    gap: 24px;
    padding-bottom: 24px;
  }

  .footer-logo-img {
    height: 36px;
  }

  .footer-description {
    font-size: 12px;
  }

  .footer-heading {
    font-size: 11px;
    margin-bottom: 20px;
  }

  .contact-label {
    font-size: 12px;
  }

  .contact-text {
    font-size: 11.5px;
  }

  .contact-icon {
    width: 16px;
    height: 16px;
  }

  .footer-socials {
    gap: 6px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link svg {
    width: 14px;
    height: 14px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-link {
    font-size: 10px;
  }

  .footer-copy {
    font-size: 9.5px;
  }

  .footer-bottom-bar {
    padding: 14px 0;
    gap: 12px;
  }
}
