@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #7A6BF6;
  --primary-light: #9D91FF;
  --secondary: #FF329F;
  --bg: #000000;
  --bg-elevated: #131316;
  --bg-card: rgba(63, 63, 70, 0.4);
  --bg-card-hover: rgba(63, 63, 70, 0.6);
  --text: #ECEDEE;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --accent-gradient: linear-gradient(to right, #6D5CFF, #FF329F);
  --accent-gradient-alt: linear-gradient(to right, #2563EB, #7C3AED, #7C3AED);
  --gold: #FCBC01;
  --border: rgba(63, 63, 70, 0.6);
  --border-radius: 16px;
  --border-radius-pill: 9999px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(122, 107, 246, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  padding: 0.75rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

main {
  padding-top: 64px;
}

.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(122, 107, 246, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 60%, rgba(255, 50, 159, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--accent-gradient);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(122, 107, 246, 0.35);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(122, 107, 246, 0.5);
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.characters-section {
  padding: 5rem 2rem;
}

.characters-section:nth-child(even) {
  background: var(--bg-elevated);
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.characters-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.characters-grid.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.characters-grid.cols-6 {
  grid-template-columns: repeat(6, 1fr);
}

.character-card-link {
  display: block;
  transition: transform 0.3s;
}

.character-card-link:hover {
  transform: translateY(-6px);
}

.character-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.character-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.character-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  display: block;
  flex-shrink: 0;
}

video.character-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}

.character-info {
  padding: 0.75rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.character-info h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.character-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.features-section {
  padding: 5rem 2rem;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.gallery-section {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  display: block;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.gallery-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-card);
}

.pricing-section {
  padding: 5rem 2rem;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card-link {
  display: block;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(252, 188, 1, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, var(--gold), #F72D2D);
  color: #000;
  padding: 0.25rem 1rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.price .currency {
  font-size: 1.25rem;
  vertical-align: super;
}

.price-original {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.5rem;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-features {
  text-align: left;
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '\2713';
  color: var(--primary);
  margin-right: 0.5rem;
  font-weight: 700;
}

.pricing-button {
  display: inline-block;
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.3s;
}

.pricing-button.primary {
  background: var(--accent-gradient);
  color: #fff;
}

.pricing-button.secondary {
  background: var(--bg-card-hover);
  color: var(--text);
  border: 1px solid var(--border);
}

.pricing-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(122, 107, 246, 0.3);
}

.faq-section {
  padding: 5rem 2rem;
  background: var(--bg-elevated);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
  user-select: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.final-cta {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--bg);
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(122, 107, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.final-cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  position: relative;
}

footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

footer nav {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-pill);
  transition: all 0.2s;
}

.footer-nav a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  header {
    padding: 0.75rem 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.25rem;
    padding: 0.75rem;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .characters-grid,
  .characters-grid.cols-4,
  .characters-grid.cols-5,
  .characters-grid.cols-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .character-image,
  video.character-image {
    height: 220px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 0.8rem 1.75rem;
  }

  footer nav {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .characters-grid,
  .characters-grid.cols-4,
  .characters-grid.cols-5,
  .characters-grid.cols-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .character-image,
  video.character-image {
    height: 180px;
  }

  .character-info {
    padding: 0.5rem 0.75rem;
  }

  .character-info h3 {
    font-size: 0.8rem;
  }
}
