@import url('https://fonts.googleapis.com/css2?family=Electrolize&display=swap');

:root {
  --background: #0a0a0a;
  --foreground: #e6e6e6;
  --card: #111;
  --card-foreground: #e6e6e6;
  --primary: #9d4edd99;
  --primary-solid: #9d4edd;
  --primary-foreground: #fff;
  --secondary: #5a5a5a;
  --secondary-foreground: #eaeaea;
  --muted: #2a2a2a;
  --muted-foreground: #9b9b9b;
  --accent: #c77dff;
  --accent-foreground: #0a0a0a;
  --border: #333;
  --ring: #9d4edd99;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  display: none;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  font-family: 'Electrolize', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.7);
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.5;
    transform: scale(1.1);
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease-out;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  animation: slideInLeft 0.6s ease-out;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-section:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
  transition: text-shadow 0.3s ease;
}

.logo-section:hover .logo-text {
  text-shadow: 0 0 15px rgba(157, 78, 221, 0.6);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideInRight 0.6s ease-out;
}

.status-indicator {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .status-indicator {
    display: flex;
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca3af;
  animation: pulse 2s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
  background: var(--primary-solid);
  box-shadow: 0 0 28px rgba(157, 78, 221, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--secondary);
  border-color: var(--primary-solid);
  transform: translateY(-1px);
}

.hero-section {
  min-height: calc(100vh - 10rem);
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.text-primary {
  color: var(--primary-solid);
  display: inline-block;
  animation: glow 3s ease-in-out infinite;
}

.text-accent {
  color: var(--accent);
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--primary-solid), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  line-height: 1.625;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-solid);
}

.feature-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.feature-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.pricing-container {
  height: 31.25rem;
  display: flex;
  align-items: center;
  animation: scaleIn 0.8s ease-out 0.4s backwards;
}

@media (min-width: 1024px) {
  .pricing-container {
    height: 37.5rem;
  }
}

.pricing-card {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--primary-solid);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(157, 78, 221, 0.25);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.price-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-solid);
  transition: transform 0.3s ease;
}

.pricing-card:hover .price-value {
  transform: scale(1.05);
}

.price-period {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  max-height: 6rem;
  overflow-y: auto;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.feature-list-item:hover {
  transform: translateX(3px);
}

.check-icon {
  width: 14px;
  height: 14px;
  color: var(--primary-solid);
  flex-shrink: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 0.25rem;
}

.carousel-nav {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--secondary);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: rgba(90, 90, 90, 0.8);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 0.375rem;
}

.dot {
  height: 6px;
  border-radius: 9999px;
  transition: all 0.3s;
  background: rgba(155, 155, 155, 0.3);
  width: 6px;
  cursor: pointer;
}

.dot:hover {
  background: rgba(157, 78, 221, 0.6);
}

.dot.active {
  width: 24px;
  background: var(--primary-solid);
}

.carousel-counter {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: monospace;
}

footer {
  background: rgba(17, 17, 17, 0.3);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  animation: fadeIn 1s ease-out 1s backwards;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-links {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: underline;
  transition: all 0.3s;
}

.footer-link:hover {
  color: var(--primary-solid);
}

.spacer {
  height: 64px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: scaleIn 0.3s ease-out;
  box-shadow: 0 20px 60px rgba(157, 78, 221, 0.3);
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0.25rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary-solid);
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-solid);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.modal-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: #5865F2;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.discord-btn:hover {
  background: #4752C4;
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}