@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Urbanist:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #9610FF;
  --primary-light: #B44DFF;
  --primary-bg: #F5E7FF;
  --bg: #0A0321;
  --bg-elevated: #13102B;
  --bg-card: #13102B;
  --bg-card-hover: #1C1F28;
  --text: #9BA2AD;
  --text-light: #FDFDFD;
  --text-muted: #74727B;
  --accent-gradient: linear-gradient(135deg, #0A0320, #3E0873);
  --border: rgba(150, 16, 255, 0.15);
  --border-hover: rgba(150, 16, 255, 0.4);
  --border-radius: 10px;
  --border-radius-sm: 6px;
  --shadow: 0 4px 24px rgba(10, 3, 33, 0.6);
  --shadow-glow: 0 0 24px rgba(150, 16, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Urbanist', 'DM Sans', sans-serif;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background: rgba(10, 3, 33, 0.9);
  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-family: 'Urbanist', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.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-light);
  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);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-light);
}

main {
  padding-top: 64px;
}

.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--accent-gradient);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(150, 16, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--primary);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(150, 16, 255, 0.2);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(150, 16, 255, 0.35);
  background: #fff;
}

.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(odd) {
  background: var(--bg-elevated);
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.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(--border-hover);
  box-shadow: var(--shadow-glow);
}

.character-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  display: block;
  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;
}

.character-info p {
  font-size: 0.78rem;
  color: var(--text);
  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(--border-hover);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  background: rgba(150, 16, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  stroke: var(--primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.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(--border-hover);
  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);
  background: var(--bg-card);
}

.pricing-section {
  padding: 5rem 2rem;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 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(--border-hover);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(150, 16, 255, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  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;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.price .currency {
  font-size: 1.25rem;
  vertical-align: super;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  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);
}

.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-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.3s;
}

.pricing-button.primary {
  background: var(--primary-bg);
  color: var(--primary);
}

.pricing-button.secondary {
  background: var(--bg-card-hover);
  color: var(--text-light);
  border: 1px solid var(--border);
}

.pricing-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(150, 16, 255, 0.2);
}

.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;
  color: var(--text-light);
}

.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;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

.final-cta {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--accent-gradient);
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(150, 16, 255, 0.1) 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);
  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);
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  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(10, 3, 33, 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;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .characters-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .character-image {
    height: 240px;
  }

  .features-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  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 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .character-image {
    height: 200px;
  }

  .character-info {
    padding: 0.5rem 0.75rem;
  }
}
