/* ==========================================================================
   THE DIVINE TRUST — SEMINAR LANDING PAGE & INTERACTIVE WORKBOOK STYLES
   Design Tokens, Modern Glassmorphism, Responsive Grid & Print Stylesheet
   ========================================================================== */

:root {
  /* Color Palette - Midnight & Gold Theme */
  --bg-dark: #070913;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(217, 119, 6, 0.25);
  --border-glass-light: rgba(255, 255, 255, 0.1);

  /* Gold & Accent Tokens */
  --gold-primary: #f59e0b;
  --gold-hover: #d97706;
  --gold-light: #fef3c7;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --emerald-primary: #10b981;
  --emerald-dark: #064e3b;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-accent: #fbbf24;

  /* Typography */
  --font-serif: 'Amiri', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.2);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);

  /* Transition speeds */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-primary), var(--emerald-primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 0 12px var(--gold-glow);
}

.nav-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #ffffff, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Audio Player Button */
.audio-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass-light);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.audio-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.audio-btn.playing {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-primary);
  color: #6ee7b7;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  padding: 8rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, rgba(7, 9, 19, 0.3) 0%, var(--bg-dark) 100%),
              url('assets/hero-bg.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 9, 19, 0.6) 0%, rgba(7, 9, 19, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  margin: 0 auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold-accent, #fbbf24);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--gold-light) 70%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.hero-subtitle span {
  color: var(--gold-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
  color: #050814;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, #fbbf24, var(--gold-primary));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  border: 1px solid var(--border-glass-light);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  text-align: left;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-light);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition-fast);
}

.spec-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.spec-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.spec-info h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.spec-info p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Section Common Styling */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Overview Section */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--emerald-primary));
}

.overview-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-card);
}

.day-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.overview-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.overview-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

.meta-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-box h5 {
  font-size: 0.82rem;
  color: var(--gold-accent, #fbbf24);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.meta-box ul {
  list-style: none;
}

.meta-box ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-box ul li::before {
  content: "✦";
  color: var(--gold-primary);
  font-size: 0.75rem;
}

/* Schedule / Speech Content Cards */
.schedule-tabs-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
}

.speech-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
}

.speech-header {
  margin-bottom: 1rem;
}

.timestamp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.speech-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-light);
  font-style: italic;
  line-height: 1.7;
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.speech-narrative {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.7;
}

/* Quranic Verse Box */
.quran-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--emerald-primary);
  padding: 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
}

.quran-arabic {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #6ee7b7;
  text-align: right;
  direction: rtl;
  margin-bottom: 0.5rem;
  line-height: 1.9;
}

.quran-translation {
  font-style: italic;
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.quran-ref {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 600;
  text-align: right;
}

/* Hadith Callout Box */
.hadith-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
  position: relative;
}

.hadith-icon {
  color: var(--gold-primary);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  display: block;
}

.hadith-text {
  font-size: 1rem;
  color: var(--gold-light);
  font-style: italic;
  margin-bottom: 0.4rem;
}

.hadith-ref {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.trust-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.trust-item h4 {
  font-size: 1.15rem;
  color: var(--gold-accent, #fbbf24);
  margin-bottom: 0.5rem;
}

.bullet-list {
  list-style: none;
  margin-bottom: 1rem;
}

.bullet-list li {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  padding-left: 1.25rem;
  position: relative;
}

.bullet-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: 700;
}

/* Interactive Audit Section */
.audit-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(20px);
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.audit-dimension {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: var(--transition-fast);
}

.audit-dimension:hover {
  border-color: var(--border-glass);
}

.audit-dimension h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audit-dimension p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.slider-group {
  margin-bottom: 1.25rem;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.slider-score {
  color: var(--gold-primary);
  font-weight: 800;
}

.audit-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

.audit-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  transition: var(--transition-fast);
}

.audit-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

select.audit-input {
  cursor: pointer;
}

select.audit-input option {
  background: #0f172a;
  color: #ffffff;
}

/* Audit Score Summary */
.audit-summary-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(16, 185, 129, 0.08));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.total-score-display {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.score-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(7, 9, 19, 0.9) 100%);
  border: 3px solid var(--gold-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--gold-glow);
}

.score-circle .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.score-circle .label {
  font-size: 0.65rem;
  color: var(--gold-accent, #fbbf24);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-text h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

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

/* Interactive Mission Statement Creator */
.mission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .mission-container {
    grid-template-columns: 1fr;
  }
}

.mission-form {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
}

.form-step {
  margin-bottom: 1.5rem;
}

.form-step label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

/* Live Card Preview */
.mission-preview-card {
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.9), rgba(4, 30, 24, 0.95)),
              url('assets/card-bg.jpg') center/cover no-repeat;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.2);
  position: sticky;
  top: 100px;
  text-align: center;
  color: #ffffff;
}

.card-header-icon {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
  color: var(--gold-primary);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.card-subtitle {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--emerald-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.card-field {
  text-align: left;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
}

.card-field h5 {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--gold-accent, #fbbf24);
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.card-field p {
  font-size: 0.9rem;
  color: #f1f5f9;
  font-weight: 500;
  word-break: break-word;
}

/* Footer */
.footer {
  background: #030408;
  border-top: 1px solid var(--border-glass-light);
  padding: 3rem 0 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-version {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--gold-accent, #fbbf24);
  border: 1px solid var(--border-glass-light);
}

/* Print Specific Rules */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .navbar, .hero, .section-header, .footer, .btn-primary, .btn-secondary, .audio-btn {
    display: none !important;
  }
  .mission-preview-card {
    position: static !important;
    box-shadow: none !important;
    border: 2px solid #000 !important;
    background: #ffffff !important;
    color: #000000 !important;
  }
  .card-field {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #000 !important;
  }
  .card-field p {
    color: #000 !important;
  }
}
