/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Lexend:wght@200;300;400;500;600;700;800;900&display=swap');

/* ==================== ANIMATIONS ==================== */

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-20px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(20px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeIn { animation: fadeIn 0.6s ease-out; }
.fadeInDown { animation: fadeInDown 0.6s ease-out; }
.fadeInLeft { animation: fadeInLeft 0.6s ease-out; }
.fadeInRight { animation: fadeInRight 0.6s ease-out; }
.fadeInUp { animation: fadeInUp 0.6s ease-out; }

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animated.infinite { animation-iteration-count: infinite; }
.animated.delay-1s { animation-delay: 1s; }
.animated.delay-2s { animation-delay: 2s; }
.animated.delay-3s { animation-delay: 3s; }
.animated.delay-4s { animation-delay: 4s; }
.animated.delay-5s { animation-delay: 5s; }
.animated.fast { animation-duration: 800ms; }
.animated.faster { animation-duration: 500ms; }
.animated.slow { animation-duration: 2s; }
.animated.slower { animation-duration: 3s; }

@media (prefers-reduced-motion: reduce) {
  .animated,
  * {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* ==================== ROOT & BODY ==================== */

html {
  scroll-behavior: smooth;
}

:root {
  --bg-dark: #111722;
  --bg: #05070d;
  --accent: #3b82f6;
  --text-muted: #94a3b8;
  --font-heading: "Lexend", sans-serif;
  --font-body: "Inter", sans-serif;
  --color-primary: #4a6cf7;
  --color-dark-text: #79808a;
  --color-dark: #111722;
  --color-stroke: #e5e7eb;
  --border-speed: 11s;
  --bg-2: #0a0e1a;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --muted: #9aa3b2;
  --blue: #1aa6ff;
  --blue-2: #2ec5ff;
  --red: #20124d;
  --red-2: #ff4d57;
  --grad: linear-gradient(135deg, #1aa6ff 0%, #20124d 100%);
  --shadow-red: 0 0 32px rgba(32, 18, 77, 0.45), 0 0 80px rgba(32, 18, 77, 0.18);
  --shadow-blue: 0 0 32px rgba(26, 166, 255, 0.45), 0 0 80px rgba(26, 166, 255, 0.18);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.font-heading {
  font-family: var(--font-heading);
}

/* ==================== BACKGROUND & EFFECTS ==================== */

.bg-bgb {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-bgb::before,
.bg-bgb::after {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.16;
}

.bg-bgb::before {
  background: #1aa6ff;
  top: -200px;
  left: -200px;
  animation: drift 22s infinite alternate ease-in-out;
}

.bg-bgb::after {
  background: #20124d;
  bottom: -260px;
  right: -240px;
  animation: drift2 26s infinite alternate ease-in-out;
}

@keyframes drift {
  to { transform: translate(120px, 80px); }
}

@keyframes drift2 {
  to { transform: translate(-100px, -60px); }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ==================== NAVIGATION ==================== */

.floating-nav {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 14, 26, 0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--border-strong);
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  z-index: 100;
  height: 3rem;
  padding: 0.25rem 1rem;
}

.nav-logo {
  padding-bottom: 1px;
  border: none;
}

#mobile-nav {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 110;
  display: none;
  flex-direction: column;
  padding: 2.5rem;
}

#mobile-nav.flex {
  display: flex;
}

#mobile-nav button,
#mobile-nav a {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
}

/* ==================== SECTIONS & LAYOUT ==================== */

.snap-container {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.snap-container::-webkit-scrollbar {
  display: none;
}

.section-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  padding: 100px 12px 60px 12px;
  position: relative;
}

.corner-glow-tr {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: linear-gradient(320deg, rgba(255, 255, 255, 0.2) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.corner-glow-bl {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.2) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* ==================== GLASS MORPHISM ==================== */

.glass-panel {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.glass-panel:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.nav-blur {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: none;
}

/* ==================== TEXT EFFECTS ==================== */

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text2 {
  background: linear-gradient(135deg, #b4a7d6 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== HERO SECTION ==================== */

.hero-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(44, 45, 45, 0.12) 70%);
  filter: blur(60px);
  z-index: -1;
}

.hero-image-container {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  50% { transform: translateY(-12px); }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(26, 166, 255, 0.45);
  animation: spin 22s linear infinite;
}

.orbit-ring.r1 { inset: 0; }
.orbit-ring.r2 {
  inset: 8%;
  border-color: rgba(255, 46, 58, 0.35);
  animation-duration: 30s;
  animation-direction: reverse;
}
.orbit-ring.r3 {
  inset: 16%;
  border-color: rgba(255, 255, 255, 0.15);
  animation-duration: 38s;
}

.orbit-ring::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px var(--blue);
}

.orbit-ring.r2::before {
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-main-image {
  position: relative;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(26, 166, 255, 0.6);
  box-shadow: 0 0 60px rgba(26, 166, 255, 0.4), inset 0 0 60px rgba(0, 0, 0, 0.6);
}

.hero-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease, transform 1.2s ease;
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero-main-image img.active {
  opacity: 1;
  transform: scale(1.04);
}

/* ==================== BUTTONS ==================== */

.btn-primary {
  position: relative;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary2 {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-primary2:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(255, 46, 58, 0.7);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: var(--border-strong);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 20px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-blue);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}

.btn:hover::after {
  opacity: 1;
}

/* ==================== FORMS ==================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  font-family: inherit;
  color: inherit;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

/* ==================== FLOATING CARDS ==================== */

.floating-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  line-height: 1.2;
  animation: floatBox 5s ease-in-out infinite;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.floating-card b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 2px;
}

.floating-card.tl {
  top: 6%;
  right: 0%;
  animation-delay: 0s;
}

.floating-card.tl b {
  color: var(--blue);
}

.floating-card.bl {
  bottom: 26%;
  left: -6%;
  animation-delay: 1s;
}

.floating-card.bl b {
  color: var(--red);
}

.floating-card.br {
  bottom: 6%;
  right: 4%;
  animation-delay: 2s;
}

@keyframes floatBox {
  50% { transform: translateY(-10px); }
}

/* ==================== SLIDE DOTS ==================== */

.slide-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slide-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.slide-dots button.active {
  width: 28px;
  border-radius: 5px;
  background: var(--grad);
}

/* ==================== TRUST BAR ==================== */

.trust-bar {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 640px) {
  h1 {
    font-size: 2.25rem !important;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  p {
    font-size: 0.9rem !important;
  }

  .section-wrap {
    padding-top: 80px;
  }

  .partner-logo {
    font-size: 1.25rem !important;
  }

  .hero-btns {
    justify-content: center !important;
    width: 100%;
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }
}

.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: flex;
  }
}

/* ==================== UTILITY CLASSES ==================== */

.bg-default {
  background-color: var(--bg-dark);
}

/* ==================== ACCESSIBILITY ==================== */

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (prefers-contrast: more) {
  .glass-panel,
  .glass,
  input,
  select {
    border-width: 2px;
  }
}
