/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #12121A;
  --text-primary: #F0F0F5;
  --text-secondary: #8888A0;
  --accent: #7C3AED;
  --accent-light: #A78BFA;
  --accent-glow: rgba(124, 58, 237, 0.15);
  --accent-glow-strong: rgba(124, 58, 237, 0.3);
  --border: #1E1E2E;
  --border-accent: rgba(124, 58, 237, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background-color var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background-color: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  flex-shrink: 0;
  border-radius: 6px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

.nav-cta:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background-color: rgba(124, 58, 237, 0.05);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 85vh;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow-strong) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}

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

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.text-accent {
  color: var(--accent-light);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background-color: #6D28D9;
  box-shadow: 0 0 40px var(--accent-glow-strong), 0 4px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   Product Section
   ========================================================================== */

.product {
  position: relative;
  text-align: center;
  padding: 100px 24px 120px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.product .container {
  max-width: 640px;
}

.product-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.product-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.product-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-primary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.5;
  font-weight: 500;
}

.product-details {
  max-width: 540px;
  margin: 0 auto 48px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.product-details p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  text-align: left;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border);
  padding: 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .product {
    padding: 72px 24px 88px;
  }

  .product-title {
    margin-bottom: 20px;
  }

  .product-subtitle {
    margin-bottom: 32px;
  }

  .product-details {
    padding: 24px;
    margin-bottom: 40px;
  }

  .hero {
    min-height: 85vh;
    padding: 100px 24px 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 36px;
  }

  .btn {
    font-size: 15px;
    padding: 12px 24px;
  }

  .nav-inner {
    height: 56px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }

  .product-details {
    padding: 20px;
  }

  .product-details p {
    font-size: 14px;
  }
}
