:root {
  /* Core Colors - High-End Academic Palette */
  --primary: #0f172a;       /* Deep Navy */
  --accent: #b9975b;        /* Antique Gold */
  --accent-light: #d4bc8e;  /* Soft Gold */
  --secondary: #334155;     /* Slate */
  --success: #059669;       /* Emerald */
  --bg-main: #ffffff;
  --bg-soft: #f8fafc;       /* Ghost White */
  --text-main: #1e293b;
  --text-muted: #64748b;
  
  /* Glassmorphism & Shadows */
  --glass: rgba(255, 255, 255, 0.8);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --border: rgba(15, 23, 42, 0.08);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

h1, h2, h3, h4, .nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- Navigation --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.nav-wrapper {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--accent);
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
  background: #1e293b;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.03);
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(185, 151, 91, 0.2);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(185, 151, 91, 0.3);
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px;
  background: radial-gradient(circle at top right, rgba(185, 151, 91, 0.05), transparent),
              radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.03), transparent);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(185, 151, 91, 0.1);
  color: var(--accent);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

/* --- Grid Sections --- */
.section-padding {
  padding: 100px 0;
}

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

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

/* --- Pricing Specific --- */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.75rem 2rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: 99px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

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

.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
  z-index: 2;
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1.5rem 0;
}

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

.price-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bg-soft);
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.price-list li .item-val {
  font-weight: 600;
  color: var(--primary);
}

.price-group-title {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 1.5rem 0 0.5rem;
  display: block;
}

.price-group-title:first-child {
  margin-top: 0;
}

/* --- Features Advanced Styling --- */
.level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.level-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.level-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.level-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.level-card h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

.workflow-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  margin-top: 3rem;
}

.workflow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
}

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

.role-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: 12px;
}

.role-card h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.role-card ul {
  list-style: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.role-card ul li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1rem;
}

.role-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.affiliate-info {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 20px;
  margin-top: 3rem;
}

.affiliate-info h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.affiliate-info p {
  color: var(--text-muted);
  max-width: 800px;
}

.perpetual-banner {
  background: linear-gradient(135deg, var(--primary), #1e293b);
  color: white;
  padding: 4rem;
  border-radius: 24px;
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.perpetual-content h2 { color: var(--accent); font-size: 2rem; margin-bottom: 1rem; }
.perpetual-price { font-size: 3rem; font-weight: 800; }

@media (max-width: 992px) {
  .perpetual-banner { flex-direction: column; text-align: center; }
}

/* --- Footer --- */
footer {
  background: var(--primary);
  color: white;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: block;
  text-decoration: none;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  color: var(--accent);
}

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

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
