:root {
  --bg: #070b14;
  --bg-light: #0c1324;
  --card: #111b30;
  --card-border: rgba(59, 130, 246, 0.10);
  --text: #f0f4ff;
  --text-muted: #8899bb;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.3);
  --secondary: #60a5fa;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}



/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.06);
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15em;
  letter-spacing: -0.3px;
  position: relative;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
  background: linear-gradient(160deg, #070b14 0%, #0c1324 30%, #0a1640 60%, #070b14 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.hero-bg-shapes .shape-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; right: -150px;
  animation: float 8s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
  width: 400px; height: 400px;
  background: #1d4ed8;
  bottom: -150px; left: -120px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
  width: 300px; height: 300px;
  background: #7c3aed;
  top: 50%; left: 60%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.05); }
}

/* Animated grid overlay */
.hero-bg-shapes::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  color: var(--secondary);
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3.5em;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.hero-title-main {
  font-size: 1.3em;
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(59,130,246,0.2));
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-title-sub {
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-block;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.5s forwards;
}

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

.hero-content p {
  font-size: 1.1em;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 24px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s;
}

.btn-primary:hover::before {
  left: 125%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(59,130,246,0.06);
}

.hero-visual {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-inner {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.08);
  animation: ringPulse 4s ease-in-out infinite;
}

.hero-ring:nth-child(1) {
  width: 100%; height: 100%;
  animation-delay: 0s;
}

.hero-ring:nth-child(2) {
  width: 75%; height: 75%;
  animation-delay: 0.5s;
}

.hero-ring:nth-child(3) {
  width: 50%; height: 50%;
  animation-delay: 1s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; border-color: rgba(59,130,246,0.08); }
  50% { transform: scale(1.05); opacity: 0.8; border-color: rgba(59,130,246,0.2); }
}

.hero-card {
  display: flex;
  gap: 16px;
  background: rgba(17, 27, 48, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.03));
  border: 1px solid rgba(59,130,246,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.hero-card:hover .hero-card-icon {
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05));
  border-color: rgba(59,130,246,0.2);
  transform: scale(1.05);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.7em;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  color: var(--secondary);
  font-size: 0.78em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 2.4em;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05em;
}

/* About */
.about {
  padding: 100px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  perspective: 800px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.about-card h3 {
  flex: 1;
  min-width: 0;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 0;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
  background-size: 200% 100%;
  animation: shimmerBorder 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s;
}

.about-card:hover::before {
  opacity: 0.6;
}

@keyframes shimmerBorder {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.06);
}

.about-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.03));
  border: 1px solid rgba(59,130,246,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.about-card:hover .about-icon {
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05));
  border-color: rgba(59,130,246,0.2);
  transform: scale(1.05);
}


.about-card p {
  color: var(--text-muted);
  font-size: 0.92em;
  line-height: 1.7;
  width: 100%;
}

/* Partners */
.partners {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-light), var(--bg));
  position: relative;
}

.partners::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.15), transparent);
}

.partners::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.08), transparent);
}

.partners-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partner-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.partner-card:hover::before {
  opacity: 0.5;
}

.partner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59,130,246,0.04), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.partner-card:hover::after {
  opacity: 1;
}

.partner-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 24px 64px rgba(59, 130, 246, 0.06);
}

.partner-img-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(59, 130, 246, 0.15);
  padding: 4px;
  transition: border-color 0.4s, transform 0.4s;
  background: var(--card);
  position: relative;
  z-index: 1;
}

.partner-card:hover .partner-img-wrap {
  border-color: var(--primary);
  transform: scale(1.05);
}

.partner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s;
}

.partner-card:hover .partner-img-wrap img {
  transform: scale(1.08);
}

.partner-card h3 {
  font-size: 1.35em;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.partner-card p {
  color: var(--text-muted);
  font-size: 0.9em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.partner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #fff;
  font-size: 0.85em;
  font-weight: 600;
  transition: all 0.3s, transform 0.2s;
  position: relative;
  z-index: 1;
}

.partner-cta i {
  font-size: 0.8em;
  transition: transform 0.3s;
}

.partner-card:hover .partner-cta {
  box-shadow: 0 6px 24px var(--primary-glow);
}

.partner-card:hover .partner-cta i {
  transform: translateX(4px);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  z-index: 90;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  transform: translateX(-50%) translateY(-2px);
}

.back-to-top:active {
  transform: translateX(-50%) scale(0.92);
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(59,130,246,0.05);
  position: relative;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1em;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85em;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.03);
}

@media (max-width: 968px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content p {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual-inner {
    width: 220px;
    height: 220px;
  }

  .hero-card {
    padding: 20px;
    gap: 14px;
  }

  .hero-card-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .hero-content h1 {
    font-size: 2.8em;
  }

  .hero-scroll { bottom: 16px; }

  .section-header { margin-bottom: 36px; }

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

  .partners-grid {
    gap: 20px;
  }

  .partner-card {
    max-width: 100%;
    padding: 36px 28px;
  }

  .about, .partners { padding: 70px 0; }
}

@media (max-width: 768px) {
  .navbar .container { padding-top: 12px; padding-bottom: 12px; }

  .nav-links {
    position: fixed;
    top: 56px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 56px);
    flex-direction: column;
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px 0;
    gap: 0;
    transition: left 0.35s ease;
    border-bottom: none;
    justify-content: center;
    align-items: center;
  }

  .nav-links.active { left: 0; }

  .nav-links li { text-align: center; width: 100%; }

  .nav-links a {
    display: block;
    padding: 18px 24px;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .nav-links a::after { display: none; }

  .hamburger { display: flex; }

  .hero { padding: 80px 0 40px; min-height: auto; }

  .hero-content h1 { font-size: 2.2em; }
  .hero-content p { font-size: 1em; }
  .hero-badge { font-size: 0.7em; margin-bottom: 14px; }
  .hero-visual-inner { width: 180px; height: 180px; }
  .hero-card { padding: 16px; gap: 12px; border-radius: 18px; }
  .hero-card-icon { width: 42px; height: 42px; font-size: 16px; border-radius: 12px; }

  .section-header h2 { font-size: 1.8em; }
  .section-header p { font-size: 0.95em; }

  .about, .partners { padding: 60px 0; }
  .about-card { padding: 28px 22px; }

  .partners-grid { gap: 20px; }
  .partner-card { max-width: 100%; padding: 36px 28px; }

  .back-to-top { width: 38px; height: 38px; font-size: 16px; bottom: 20px; }

  .footer { padding: 40px 0 30px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero { padding: 70px 0 30px; }
  .hero-content h1 { font-size: 1.7em; letter-spacing: -0.5px; }
  .hero-title-main { font-size: 1.2em; }
  .hero-title-sub { font-size: 0.45em; letter-spacing: 2px; }
  .hero-content p { font-size: 0.92em; margin-bottom: 24px; }
  .hero-badge { font-size: 0.65em; padding: 4px 12px; }
  .hero-buttons { gap: 10px; flex-direction: column; align-items: center; }
  .hero-visual-inner { width: 150px; height: 150px; }
  .hero-card { padding: 12px; gap: 8px; border-radius: 14px; }
  .hero-card-icon { width: 36px; height: 36px; font-size: 14px; border-radius: 10px; }
  .hero-scroll { bottom: 10px; font-size: 0.6em; }

  .btn {
    padding: 14px 28px;
    font-size: 0.9em;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.5em; }
  .section-header p { font-size: 0.88em; }
  .section-tag { font-size: 0.7em; padding: 4px 10px; }

  .about, .partners { padding: 50px 0; }
  .about-grid { gap: 14px; }
  .about-card { padding: 20px 16px; border-radius: 14px; gap: 12px; }
  .about-card h3 { font-size: 1.05em; }
  .about-card p { font-size: 0.85em; }
  .about-icon { width: 40px; height: 40px; font-size: 15px; }

  .partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .partner-card { padding: 18px 12px; border-radius: 14px; }
  .partner-img-wrap { width: 55px; height: 55px; margin-bottom: 10px; border-width: 2px; padding: 3px; }
  .partner-card h3 { font-size: 0.9em; }
  .partner-card p { font-size: 0.75em; margin-bottom: 10px; }
  .partner-cta { padding: 7px 12px; font-size: 0.7em; }
  .partner-cta i { display: none; }

  .back-to-top { width: 36px; height: 36px; font-size: 15px; bottom: 14px; }

  .footer { padding: 32px 0 24px; }
  .footer-bottom { font-size: 0.78em; }
}
