:root {
  --bg: #0a0e1a;
  --bg-light: #0f1629;
  --card: #121a2e;
  --card-border: rgba(59, 130, 246, 0.12);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.25);
  --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;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
  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;
}

.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, #0a0e1a 0%, #0f1629 40%, #0c1a38 70%, #0a0e1a 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;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.shape-1 {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -150px; right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 350px; height: 350px;
  background: #1d4ed8;
  bottom: -100px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 250px; height: 250px;
  background: #7c3aed;
  top: 40%; left: 50%;
  animation: float 12s ease-in-out infinite;
}

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

.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.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--secondary);
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.hero-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(59, 130, 246, 0.2);
  padding: 3px;
  background: var(--card);
}

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

.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;
  position: relative;
  filter: drop-shadow(0 0 30px rgba(59,130,246,0.3));
}

@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;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.5s forwards;
  display: inline-block;
}

@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 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-2px);
}

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

.hero-card-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-card {
  display: flex;
  gap: 20px;
  background: rgba(18, 26, 46, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 24px;
  padding: 30px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
}

.hero-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
  border: 1px solid rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
}

.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.75em;
  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.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--secondary);
  font-size: 0.8em;
  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;
}

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

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

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.08);
}

.about-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
  border: 1px solid rgba(59,130,246,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 18px;
}

.about-card h3 {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* Partners */
.partners {
  padding: 100px 0;
  background: var(--bg-light);
}

.partners-grid {
  display: flex;
  justify-content: center;
}

.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: 360px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.partner-card-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(59,130,246,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

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

.partner-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.1);
}

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

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

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

.partner-card h3 {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 6px;
}

.partner-card p {
  color: var(--text-muted);
  font-size: 0.95em;
  margin-bottom: 20px;
}

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

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

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



/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(59,130,246,0.06);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  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;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 15px;
}

.social-links a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--primary-glow);
}

.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.04);
}

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

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

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

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

  .hero-visual {
    width: 200px;
    height: 200px;
  }

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

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

  .hero-heading {
    flex-direction: column;
    gap: 12px;
  }

  .hero-logo {
    width: 50px;
    height: 50px;
  }

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

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 62px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(16px);
    padding: 16px 0;
    gap: 0;
    transition: 0.3s;
    border-bottom: 1px solid rgba(59,130,246,0.08);
  }

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

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

  .nav-links a { display: block; padding: 14px 24px; }

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

  .hamburger { display: flex; }

  .hero-logo {
    width: 44px;
    height: 44px;
  }

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

  .hero-badge {
    font-size: 0.7em;
  }

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

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

@media (max-width: 480px) {
  .hero-logo {
    width: 38px;
    height: 38px;
  }

  .hero-content h1 {
    font-size: 1.8em;
    letter-spacing: -0.5px;
  }

  .hero-visual {
    width: 160px;
    height: 160px;
  }

  .hero-card {
    padding: 16px;
    gap: 10px;
  }

  .hero-card-icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
    border-radius: 12px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.85em;
  }

  .partner-card {
    padding: 32px 24px;
  }

  .partner-img-wrap {
    width: 80px;
    height: 80px;
  }
}
