:root {
  --primary: #a78bfa;
  --primary-dark: #8b5cf6;
  --secondary: #ec4899;
  --bg: #0f0b1f;
  --bg-alt: #1a1435;
  --bg-card: #251e3e;
  --text: #f3f4f6;
  --text-light: #c4b5fd;
  --border: #d8b4fe;
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-lg: rgba(0, 0, 0, 0.5);
  --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --gradient-bg: linear-gradient(180deg, #0f0b1f 0%, #1a0f2e 50%, #0f0b1f 100%);
  --radius: 16px;
  --radius-sm: 8px;
}

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

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

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

/* Language Bar */
.language-bar {
  background: rgba(26, 20, 53, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(75, 85, 99, 0.2);
  padding: 8px 0;
}

.language-select {
  font-family: inherit;
  font-size: 14px;
  padding: 6px 32px 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c4b5fd' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.language-select:hover {
  border-color: var(--primary);
}

.language-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Navigation */
.nav {
  background: rgba(15, 11, 31, 0.8);
  border-bottom: 1px solid rgba(75, 85, 99, 0.2);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

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

.brand-link {
  text-decoration: none;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-cta-disabled {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  background: radial-gradient(ellipse at top, #1e1b4b 0%, transparent 60%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-emoji {
  display: inline-block;
  font-size: 48px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.btn {
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(167, 139, 250, 0.1);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--bg);
  transform: translateY(-2px);
}

.hero-note {
  color: var(--text-light);
  font-size: 14px;
}

.hero-image {
  position: relative;
}

.screenshot {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-intro {
  font-size: 20px;
  color: var(--text-light);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* Why Section */
.why {
  background: radial-gradient(ellipse at center, #1a1435 0%, transparent 70%);
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  background: var(--bg-card);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid rgba(167, 139, 250, 0.2);
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-lg);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Feature Showcase */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-showcase:last-child {
  margin-bottom: 0;
}

.feature-showcase.reverse {
  direction: rtl;
}

.feature-showcase.reverse > * {
  direction: ltr;
}

.showcase-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.showcase-content h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.showcase-content p {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.showcase-image img {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  display: block;
}

.theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tag {
  background: rgba(167, 139, 250, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text);
  border: 1px solid var(--border);
}

/* More Features */
.more-features {
  background: radial-gradient(ellipse at center, #1a1435 0%, transparent 70%);
}

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

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

.feature-icon-sm {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-item p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  background: transparent;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.step p {
  color: var(--text-light);
  font-size: 15px;
}

/* Pricing */
.pricing {
  background: radial-gradient(ellipse at center, #1a1435 0%, transparent 70%);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-card);
  padding: 48px 32px;
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid rgba(167, 139, 250, 0.2);
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-lg);
  border-color: var(--primary);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.2) 0%, var(--bg-card) 100%);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text);
}

.pricing-credits {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.pricing-card p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.pricing-note {
  color: var(--text-light);
  font-size: 14px;
}

.pricing-info {
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
}

.pricing-info p {
  margin-bottom: 8px;
}

/* Download Section */
.download {
  background: linear-gradient(135deg, #1e1b4b 0%, #581c87 50%, #831843 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.download .section-title,
.download .section-intro {
  color: white;
  -webkit-text-fill-color: white;
  position: relative;
  z-index: 1;
}

.download-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 40px 0 24px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: white;
  transition: all 0.2s;
}

.store-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.store-button-disabled {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  opacity: 0.7;
}

.store-icon {
  width: 32px;
  height: 32px;
}

.store-text {
  text-align: left;
}

.store-label {
  font-size: 11px;
  opacity: 0.9;
}

.store-name {
  font-size: 18px;
  font-weight: 600;
}

.download-note {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

/* Footer */
.footer {
  background: #0a0616;
  color: white;
  padding: 60px 0 24px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content,
  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-showcase.reverse {
    direction: ltr;
  }

  .showcase-image {
    order: -1;
  }

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

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

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

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .section-intro {
    font-size: 18px;
  }

  .feature-grid,
  .features-grid,
  .pricing-cards,
  .steps,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .showcase-content h3 {
    font-size: 28px;
  }

  section {
    padding: 60px 0;
  }

  .feature-showcase {
    margin-bottom: 60px;
  }
}
