:root {
  --primary: #7c4ff2;
  --primary-glow: rgba(124, 79, 242, 0.5);
  --secondary: #00d1ff;
  --accent: #ff00c8;
  --bg: #03040b;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

/* Base Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Premium Background */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 20% 30%, rgba(124, 79, 242, 0.15), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(0, 209, 255, 0.1), transparent 40%);
}

/* Header */
header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--card-border);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

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

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

.btn-nav-accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(124, 79, 242, 0.3);
  margin-left: 2rem;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.btn-nav-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 79, 242, 0.5);
  filter: brightness(1.1);
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 10px 30px var(--primary-glow);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Pricing Cards */
.pricing {
  padding: 6rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .pricing {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 79, 242, 0.3);
}

.card.featured {
  border: 2px solid var(--primary);
  background: rgba(124, 79, 242, 0.05);
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .card.featured {
    transform: scale(1);
  }
}

.badge {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

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

.features-list {
  list-style: none;
  margin: 2.5rem 0;
  text-align: left;
}

.features-list li {
  margin-bottom: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.features-list li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 0.75rem;
  font-weight: bold;
}

.btn-outline {
  display: block;
  padding: 0.8rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s;
}

.card.featured .btn-outline {
  background: var(--primary);
  color: white;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Articles Section */
.blog {
  padding: 6rem 0;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

.article-card h3 {
  margin-bottom: 1rem;
  color: var(--text-main);
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--card-border);
  margin-top: 4rem;
  text-align: center;
  color: var(--text-muted);
}

.footer-links {
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 1rem;
}

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

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeIn 0.8s ease-out forwards;
}
