@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&display=swap');

:root {
  --primary: #6d28d9;
  --secondary: #2563eb;
  --bg-color: #0f111a;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --accent: #22d3ee;
  --glass-bg: rgba(15, 17, 26, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

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

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.logo img {
  height: 48px;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(109, 40, 217, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--accent);
  transition: all 0.3s;
  display: inline-block;
  cursor: pointer;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--bg-color);
}

/* Base Sections */
section {
  padding: 100px 5%;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
}

/* Layout Utilities */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.glass-panel:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 17, 26, 0.6);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--accent), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-taglines {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.hero-tagline {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--card-border);
}

/* Products Section */
.products-section {
  background-image: url('assets/products_bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
}
.products-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-color), rgba(15,17,26,0.8), var(--bg-color));
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.product-card {
  text-align: center;
}
.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.product-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Services Page specific */
.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 1rem 0;
}
.price-feature-list {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}
.price-feature-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}
.price-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Interest Form */
.interest-form-container {
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-muted);
}
.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-control:focus {
  border-color: var(--accent);
}

/* FAQ / Help */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 0 1.5rem;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
}
.faq-item.active .faq-answer {
  padding: 1.5rem;
  height: auto;
}

/* Contact Info Display */
.contact-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.contact-item {
  font-size: 1.5rem;
  font-weight: 500;
}
.contact-item strong {
  display: block;
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

/* Refund Policy Page */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
}
.policy-content p {
  margin-bottom: 1rem;
}
.policy-content h2 {
  color: #fff;
  margin: 2rem 0 1rem;
}

/* Footer */
footer {
  background: #08090d;
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid var(--card-border);
}
footer a {
  color: var(--accent);
  text-decoration: none;
}
footer ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 2rem;
}
footer .footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

/* LMS Pricing Section */
.lms-pricing-section {
  background: linear-gradient(180deg, var(--bg-color) 0%, rgba(109, 40, 217, 0.06) 50%, var(--bg-color) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  text-align: center;
  position: relative;
  overflow: visible;
  padding: 2.5rem 2rem;
}

.pricing-card-featured {
  border-color: var(--primary) !important;
  background: rgba(109, 40, 217, 0.08) !important;
  box-shadow: 0 0 40px rgba(109, 40, 217, 0.15), 0 0 80px rgba(109, 40, 217, 0.05);
  transform: scale(1.04);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 0.35rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-badge-pro {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.3), rgba(37, 99, 235, 0.3));
  color: var(--accent);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.pricing-amount {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.pricing-amount .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.pricing-amount .price {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.pricing-amount .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-savings {
  display: inline-block;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.6rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Payment Modal */
.payment-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.payment-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.payment-modal {
  width: 100%;
  max-width: 460px;
  background: rgba(20, 22, 36, 0.95) !important;
  border: 1px solid rgba(109, 40, 217, 0.3) !important;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s ease;
}

.payment-modal-overlay.active .payment-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.modal-close:hover {
  color: #ff5252;
}

.payment-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  background: linear-gradient(to right, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-plan-info {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.modal-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modal-summary-total {
  border-top: 1px solid var(--card-border);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.modal-secure {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Responsiveness */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-taglines {
    flex-direction: column;
    gap: 0.5rem;
  }
  .pricing-card-featured {
    transform: scale(1);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}
