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

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

:root {
  --bg: #000000;
  --bg-elevated: #0d0d12;
  --bg-card: #14141a;
  --purple: #BA7AF2;
  --purple-dark: #9b5dd1;
  --blue: #5b6df5;
  --blue-dark: #1e3a8a;
  --text: #ffffff;
  --text-gray: #9ca3af;
  --border: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.4rem;
  transition: opacity 0.3s;
}

.brand:hover {
  opacity: 0.8;
}

.brand-logo {
  filter: drop-shadow(0 0 8px rgba(186, 122, 242, 0.3));
  width: 28px;
  height: 28px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-menu a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.btn-nav {
  background: var(--purple) !important;
  color: var(--text) !important;
  padding: 0.7rem 1.8rem !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}

.btn-nav:hover {
  background: var(--purple-dark) !important;
  transform: translateY(-1px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 85px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(186, 122, 242, 0.15) 0%, transparent 70%);
  transform: translateX(-50%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.hero-left {
  max-width: 600px;
}

.hero-heading {
  font-size: 7rem;
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

.word {
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--purple);
  color: var(--text);
  padding: 1.1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(186, 122, 242, 0.4);
}

.btn-download:hover {
  background: var(--purple-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(186, 122, 242, 0.6);
}

.btn-download svg {
  stroke: var(--blue-dark);
  stroke-width: 2.5;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text);
  padding: 1.1rem 2.2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--purple);
  background: rgba(186, 122, 242, 0.1);
}

.btn-blue {
  border-color: rgba(91, 109, 245, 0.3);
}

.btn-blue:hover {
  border-color: var(--blue);
  background: rgba(91, 109, 245, 0.15);
  box-shadow: 0 4px 20px rgba(91, 109, 245, 0.3);
}

.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.5rem 1.2rem;
  background: rgba(186, 122, 242, 0.1);
  border: 1px solid rgba(186, 122, 242, 0.3);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 500;
}

.visual-card {
  position: relative;
  background: linear-gradient(135deg, rgba(186, 122, 242, 0.1) 0%, rgba(91, 109, 245, 0.05) 100%);
  border-radius: 24px;
  padding: 4rem;
  border: 1px solid rgba(186, 122, 242, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  overflow: hidden;
}

.visual-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(186, 122, 242, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-logo {
  width: 200px;
  height: 200px;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 10px 40px rgba(186, 122, 242, 0.5));
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.visual-stats {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}

.visual-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(186, 122, 242, 0.2);
  backdrop-filter: blur(10px);
  font-weight: 500;
  font-size: 0.95rem;
}

.stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
  animation: blink 2s ease-in-out infinite;
}

.visual-stat:nth-child(2) .stat-dot {
  animation-delay: 0.3s;
}

.visual-stat:nth-child(3) .stat-dot {
  animation-delay: 0.6s;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.stats-section {
  padding: 6rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 4.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.stat-text {
  color: var(--text-gray);
  font-size: 1.05rem;
  font-weight: 500;
}

.features-section {
  padding: 8rem 0;
}

.section-heading {
  font-size: 4.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 5rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-box {
  position: relative;
  background: linear-gradient(135deg, rgba(186, 122, 242, 0.08) 0%, rgba(91, 109, 245, 0.04) 100%);
  padding: 3.5rem 3rem;
  border-radius: 20px;
  border: 1px solid rgba(186, 122, 242, 0.2);
  transition: all 0.5s;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(186, 122, 242, 0.15) 0%, transparent 70%);
  filter: blur(50px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-box:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--purple);
  box-shadow: 0 25px 70px rgba(186, 122, 242, 0.25);
  background: linear-gradient(135deg, rgba(186, 122, 242, 0.12) 0%, rgba(91, 109, 245, 0.06) 100%);
}

.feature-icon {
  margin-bottom: 1.8rem;
  display: inline-block;
  transition: transform 0.5s;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 20px rgba(186, 122, 242, 0.4));
}

.feature-icon svg {
  display: block;
}

.feature-box:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 8px 30px rgba(186, 122, 242, 0.6));
}

.feature-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-text {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.footer {
  padding: 5rem 0 3rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: var(--text-gray);
  text-decoration: none;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--purple);
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.footer-note {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-top: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-gray);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

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

@media (max-width: 1200px) {
  .hero-heading {
    font-size: 5.5rem;
  }
  
  .section-heading {
    font-size: 3.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .hero-heading {
    font-size: 4.5rem;
  }
  
  .hero-left {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-heading {
    font-size: 3.5rem;
  }
  
  .section-heading {
    font-size: 2.5rem;
  }
  
  .features-container,
  .stats-wrapper {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    gap: 1.5rem;
    font-size: 0.85rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .btn-download,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .stat-value {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.5rem;
  }
  
  .nav-menu a:not(.btn-nav) {
    display: none;
  }
}
