:root {
  --primary: #8a2be2;
  --primary-glow: rgba(138, 43, 226, 0.5);
  --secondary: #00d2ff;
  --bg: #0b0e14;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-muted: #a0aec0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Glassmorphism Classes */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.glass-header {
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: 0.3s;
  font-size: 0.9rem;
}

nav a:hover {
  color: var(--secondary);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary), #b06ab3);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* Hero Section */
.hero {
  padding: 10rem 5% 5rem;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(138, 43, 226, 0.15), transparent),
    radial-gradient(circle at bottom left, rgba(0, 210, 255, 0.1), transparent);
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  border-radius: 30px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Pricing Section */
.pricing {
  padding: 8rem 5%;
  text-align: center;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 4rem auto 0;
  max-width: 1400px;
  padding: 0 1rem;
}

.pricing-card {
  flex: 1 1 320px;
  max-width: 450px;
  padding: 3.5rem 2.5rem;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  text-align: center;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin: 0 auto 2.5rem;
  text-align: left;
  width: fit-content;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.plan-features li::before {
  display: none;
}

.popular-badge {
  position: absolute;
  top: 1.25rem;
  right: -2.5rem;
  background: var(--primary);
  color: white;
  padding: 0.4rem 3.5rem;
  transform: rotate(45deg);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

/* Footer */
footer {
  padding: 5rem 5% 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-info {
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: var(--text);
}

/* Form Styles */
.auth-container {
  padding: 8rem 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: white;
  outline: none;
  transition: 0.3s;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-toggle {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s ease;
  z-index: 10;
  background: transparent !important;
  border: none !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
}

.password-toggle:hover {
  color: var(--secondary);
  opacity: 1;
}

.password-toggle i {
  font-size: 1.1rem;
}

.form-input.pr-10 {
  padding-right: 3.5rem;
}

.auth-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  header {
    position: relative;
    padding: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  /* Wrap nav below on mobile */
  nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  nav a {
    margin-left: 0;
  }

  .hero {
    flex-direction: column;
    padding: 4rem 5% 4rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-content p {
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-bottom: 4rem;
  }

  .hero-buttons a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
  }

  .footer-info {
    max-width: 100%;
    order: 2; /* Put info at bottom on mobile */
  }

  .footer-links {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 2.5rem;
    order: 1; /* Links first on mobile */
  }
}
