/* vitalmindmastery.info - Dynamic Custom Stylesheet (dark_indigo) */
:root {
  --primary: #4F46E5;
  --primary-light: #818CF8;
  --accent: #38BDF8;
  --bg: #0A0C27;
  --bg-alt: #12163E;
  --card-bg: #181E52;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --border: #312E81;
  --footer-bg: #060719;
  --footer-border: #181E52;
  --footer-text: #94A3B8;
  --shadow: 0 8px 32px rgba(0,0,0,0.35);
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-card: 16px;
  --radius-btn: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: 32px;
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* Header & Navigation */
header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-badge {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 19px;
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.logo-text span {
  color: var(--primary-light);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 18px;
  align-items: center;
  margin: 0 10px;
}
.nav-menu a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-light);
  border-bottom-color: var(--primary-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  overflow: hidden;
}
.lang-btn {
  background: var(--bg);
  border: none;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--primary);
  color: #FFFFFF;
}

.cart-icon-btn {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.cart-icon-btn:hover {
  opacity: 0.9;
}
.cart-badge {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 800;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: var(--primary-light);
  background: var(--bg-alt);
}

/* Trust Bar */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 13px;
}
.trust-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-item svg {
  color: var(--primary-light);
}

/* Hero Section */
.hero {
  padding: 70px 0;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary-light);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.hero-card-meta {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-card-name {
  font-weight: 700;
  font-size: 17px;
}
.hero-card-title {
  font-size: 13px;
  color: var(--text-muted);
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.card-num {
  width: 36px;
  height: 36px;
  background: var(--bg-alt);
  color: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Interactive Quiz */
.quiz-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}
.quiz-progress-bar {
  height: 8px;
  background: var(--bg-alt);
  border-radius: 999px;
  margin-bottom: 32px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--primary);
  width: 20%;
  transition: width 0.3s ease;
}
.quiz-step {
  display: none;
}
.quiz-step.active {
  display: block;
}
.quiz-step-title {
  font-size: 22px;
  margin-bottom: 24px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.quiz-opt-btn {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quiz-opt-btn:hover {
  border-color: var(--primary-light);
  background: var(--bg-alt);
}
.quiz-opt-btn.selected {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  font-weight: 600;
}
.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.quiz-result-box {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.quiz-result-box.active {
  display: block;
}
.quiz-result-score {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.quiz-result-title {
  font-size: 26px;
  margin-bottom: 16px;
}
.quiz-result-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* Articles */
.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.article-card-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.article-tag {
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
}
.article-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.article-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}
.article-link {
  font-weight: 700;
  color: var(--primary-light);
  font-size: 14px;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
}
.article-lead {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.6;
  border-left: 4px solid var(--primary);
  padding-left: 20px;
}
.article-content h2 {
  font-size: 26px;
  margin: 40px 0 16px;
}
.article-content p {
  margin-bottom: 24px;
  color: var(--text-muted);
}
.article-conclusion {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  margin: 48px 0;
}
.article-conclusion h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-light);
}

/* Order Page Layout */
.order-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.product-showcase {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
  margin-bottom: 24px;
}
.product-showcase img {
  max-width: 240px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
}
.package-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.package-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.package-card:hover {
  border-color: var(--primary-light);
}
.package-card.selected {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.pkg-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.pkg-badge {
  display: inline-block;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.pkg-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.pkg-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.pkg-prompt-select {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
  white-space: nowrap;
}
.package-card.selected .pkg-prompt-select {
  display: none;
}
.pkg-price-row {
  display: none !important;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
}
.package-card.selected .pkg-price-row {
  display: flex !important;
}
.pkg-price {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
}
.pkg-save {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

/* Checkout Form */
.checkout-form-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow);
}
.order-summary-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 18px;
  margin-bottom: 24px;
}
.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}
.order-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 900;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--text);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cod-badge {
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid #F59E0B;
  color: #D97706;
  padding: 14px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Drawer Cart */
.cart-drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: none;
}
.cart-drawer-overlay.open {
  display: block;
}
.cart-drawer {
  position: fixed;
  top: 0; right: -420px; bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--card-bg);
  z-index: 2001;
  box-shadow: -5px 0 30px rgba(0,0,0,0.25);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  right: 0;
}
.cart-drawer-head {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-alt);
}
.cart-item-title {
  font-weight: 700;
  font-size: 14px;
}
.cart-item-price {
  font-size: 13px;
  color: var(--primary-light);
  font-weight: 700;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #DC2626;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
}
.cart-drawer-foot {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow);
}
.modal-close-btn {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}
.modal-close-btn:hover {
  color: var(--text);
  border-color: var(--primary-light);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 2500;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner.hidden {
  display: none !important;
}
.cookie-text {
  font-size: 13px;
  color: var(--text-muted);
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Map Container */
.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer with Dynamic Color Adaptation */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 24px;
  border-top: 1px solid var(--footer-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 15px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--footer-text);
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-col a:hover {
  color: #FFFFFF;
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding-top: 24px;
  font-size: 12px;
  opacity: 0.7;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 900px) {
  .hero-grid, .order-grid, .grid-2, .grid-3, .grid-4, .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .hero h1 { font-size: 32px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
