/* ─────────────────────────────────────────────────────────────
   SANATAN DHAM WEBSITE - OFFICIAL DESIGN SYSTEM & STYLESHEET
   Spiritual Dark Charcoal Theme with Saffron/Gold Accents
   ───────────────────────────────────────────────────────────── */

:root {
  /* Color Tokens */
  --bg-main: #0C0A09;
  --bg-card: #181412;
  --bg-card-hover: #221C19;
  --bg-surface: #14100E;
  
  --primary-saffron: #FF9933;
  --primary-gold: #FFD700;
  --accent-amber: #FF8000;
  --accent-gradient: linear-gradient(135deg, #FF9933 0%, #FFD700 100%);
  --glow-gradient: linear-gradient(135deg, rgba(255, 153, 51, 0.25) 0%, rgba(255, 215, 0, 0.15) 100%);
  
  --text-primary: #FFFFFF;
  --text-secondary: #E2D9D2;
  --text-muted: #A3968C;
  --text-gold: #FFE082;
  
  --border-gold-subtle: rgba(255, 215, 0, 0.18);
  --border-gold-bright: rgba(255, 215, 0, 0.5);
  
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(255, 153, 51, 0.25);
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Section Header styling */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255, 153, 51, 0.12);
  border: 1px solid var(--border-gold-subtle);
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.gradient-headline {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF 30%, #FFE082 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   HEADER & NAVIGATION BAR
   ───────────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(12, 10, 9, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(12, 10, 9, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid var(--border-gold-subtle);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(255, 153, 51, 0.4);
  border: 1.5px solid var(--border-gold-bright);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.6);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(255, 153, 51, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-gold);
}

.btn-nav {
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--accent-gradient);
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 51, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* ─────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(255, 153, 51, 0.12) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 .gold-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.download-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 16px;
  color: var(--text-primary);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.store-btn:hover {
  border-color: var(--primary-gold);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.store-btn.apk-btn {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.2) 0%, rgba(255, 215, 0, 0.12) 100%);
  border: 1px solid var(--border-gold-bright);
}

.store-btn.apk-btn:hover {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.35) 0%, rgba(255, 215, 0, 0.25) 100%);
  box-shadow: 0 0 25px rgba(255, 153, 51, 0.4);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--primary-saffron);
}

.store-btn-text span {
  display: block;
}

.store-btn-text .small {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-btn-text .big {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.hero-poster-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.45) 0%, rgba(255, 153, 51, 0.25) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 153, 51, 0.3);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-poster-wrapper:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 215, 0, 0.45);
}

.hero-poster-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(255, 215, 0, 0.35);
}

/* ─────────────────────────────────────────────────────────────
   FEATURES GRID SECTION
   ───────────────────────────────────────────────────────────── */
.features-section {
  padding: 100px 0;
  background: var(--bg-surface);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 24px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 153, 51, 0.1);
  border: 1px solid rgba(255, 153, 51, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-saffron);
  margin-bottom: 22px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   VIP PREMIUM SECTION
   ───────────────────────────────────────────────────────────── */
.vip-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
}

.vip-card {
  background: linear-gradient(145deg, #221B14 0%, #15100B 100%);
  border: 2px solid var(--primary-gold);
  border-radius: 32px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 215, 0, 0.15);
  position: relative;
}

.vip-badge-tag {
  position: absolute;
  top: -16px;
  right: 40px;
  background: var(--accent-gradient);
  color: #000;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.vip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.vip-info h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-gold);
  margin-bottom: 16px;
}

.vip-info p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.vip-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.vip-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--text-primary);
}

.vip-list-item svg {
  color: var(--primary-gold);
  flex-shrink: 0;
}

.vip-pricing-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
}

.vip-pricing-header {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.vip-trial-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.vip-trial-price span {
  font-size: 1rem;
  color: var(--primary-gold);
  font-weight: 600;
}

.vip-recurring-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ─────────────────────────────────────────────────────────────
   LEGAL & INFORMATION PAGES (Privacy, Terms, Delete, etc.)
   ───────────────────────────────────────────────────────────── */
.page-header {
  padding: 150px 0 60px 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 153, 51, 0.15) 0%, transparent 70%);
  text-align: center;
  border-bottom: 1px solid var(--border-gold-subtle);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--primary-gold);
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

.legal-content {
  padding: 70px 0;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.legal-card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary-gold);
  margin: 36px 0 16px 0;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 24px 0 12px 0;
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-card ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.legal-card li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-meta {
  padding: 12px 18px;
  background: rgba(255, 153, 51, 0.08);
  border-left: 4px solid var(--primary-saffron);
  border-radius: 6px;
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: var(--text-gold);
}

/* ─────────────────────────────────────────────────────────────
   DELETE ACCOUNT PAGE UI & FORM
   ───────────────────────────────────────────────────────────── */
.delete-account-card {
  max-width: 760px;
  margin: 0 auto;
}

.delete-form {
  margin-top: 32px;
  background: rgba(0, 0, 0, 0.3);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border-gold-subtle);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: #0C0A09;
  border: 1px solid var(--border-gold-subtle);
  border-radius: 12px;
  color: #FFF;
  font-size: 1rem;
  transition: border-color 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.btn-danger {
  width: 100%;
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  color: #FFF;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

/* ─────────────────────────────────────────────────────────────
   FAQ ACCORDION
   ───────────────────────────────────────────────────────────── */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question svg {
  color: var(--primary-saffron);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active {
  border-color: var(--primary-gold);
  background: var(--bg-card-hover);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px 28px;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER SECTION
   ───────────────────────────────────────────────────────────── */
footer {
  background: #080605;
  border-top: 1px solid var(--border-gold-subtle);
  padding: 70px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE MEDIA QUERIES
   ───────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-grid,
  .vip-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 2.6rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(12, 10, 9, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: left 0.3s ease;
    backdrop-filter: blur(20px);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero {
    padding: 130px 0 60px 0;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .legal-card {
    padding: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
