/* ===================================================================
   Tazkira (تَذْكِرَة) — Official Website Stylesheet
   Luxury Islamic Aesthetic • Liquid Glass • Modern Typography
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Nastaliq+Urdu:wght@400;600;700&display=swap');

:root {
  /* Palette: Sacred Emerald & Luxury Gold */
  --bg-deep: #0a1f1a;
  --bg-card: rgba(18, 48, 40, 0.65);
  --bg-card-hover: rgba(24, 62, 52, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-elevated: rgba(255, 255, 255, 0.09);

  --emerald-900: #061814;
  --emerald-800: #0f2e2b;
  --emerald-700: #16433c;
  --emerald-600: #1b4332;
  --emerald-500: #2d6a4f;
  --emerald-400: #40916c;
  --emerald-300: #52b788;
  --emerald-200: #95d5b2;
  --emerald-100: #d8f3dc;

  --gold-primary: #dfbd69;
  --gold-light: #f3e5b8;
  --gold-dark: #b89130;
  --gold-glow: rgba(223, 189, 105, 0.28);
  --gold-border: rgba(223, 189, 105, 0.35);

  --text-primary: #f8faf9;
  --text-secondary: #c5d6cf;
  --text-muted: #859e94;
  --text-gold: #dfbd69;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-gold: rgba(223, 189, 105, 0.25);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  --shadow-gold: 0 12px 35px rgba(223, 189, 105, 0.18);
  --shadow-glow: 0 0 60px rgba(45, 106, 79, 0.35);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', serif;
  --font-urdu: 'Noto Nastaliq Urdu', serif;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Glows */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.25) 0%, rgba(15, 46, 43, 0.1) 50%, transparent 80%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: 0;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(223, 189, 105, 0.08) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

/* Typography Helpers */
.font-arabic { font-family: var(--font-arabic); }
.font-urdu { font-family: var(--font-urdu); line-height: 2.1; }
.text-gold { color: var(--gold-primary); }
.text-gradient-gold {
  background: linear-gradient(135deg, #fff7d6 0%, #dfbd69 50%, #b89130 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-emerald {
  background: linear-gradient(135deg, #d8f3dc 0%, #74c69d 50%, #40916c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Liquid Glass Cards & Surfaces */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.glass-panel-gold {
  background: linear-gradient(145deg, rgba(223, 189, 105, 0.08), rgba(15, 46, 43, 0.65));
  backdrop-filter: blur(28px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(223, 189, 105, 0.3);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 0 auto;
  width: calc(100% - 32px);
  max-width: 1200px;
  background: rgba(10, 31, 26, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 12px 28px;
  transition: var(--transition-smooth);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(223, 189, 105, 0.4);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-primary);
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-family: var(--font-arabic);
  font-weight: 700;
}

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

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

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

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #061814;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-bounce);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(223, 189, 105, 0.35);
  background: linear-gradient(135deg, #fff7d6 0%, var(--gold-primary) 100%);
}

/* Hero Section */
.hero-section {
  padding: 90px 0 60px;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(223, 189, 105, 0.12);
  border: 1px solid rgba(223, 189, 105, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-badge-sparkle {
  color: var(--gold-primary);
  font-size: 14px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 36px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
}

.store-badge-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.store-badge-icon {
  font-size: 26px;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
}

.store-badge-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.store-badge-main {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hero-highlight-icon {
  color: var(--emerald-300);
  font-size: 18px;
}

/* Interactive Device Mockup */
.mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-phone {
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 50px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 4px #26332d, 0 0 0 6px #131d18;
  position: relative;
  overflow: hidden;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0e2924 0%, #061814 100%);
  border-radius: 40px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.mockup-notch {
  width: 110px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.widget-card-simulated {
  background: linear-gradient(145deg, rgba(27, 67, 50, 0.9), rgba(15, 46, 43, 0.95));
  border: 1px solid rgba(223, 189, 105, 0.4);
  border-radius: 24px;
  padding: 20px 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  margin-top: 36px;
  position: relative;
  transition: var(--transition-smooth);
}

.widget-header-sim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.widget-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(223, 189, 105, 0.2);
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.widget-app-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold-primary);
}

.widget-arabic-sim {
  font-family: var(--font-arabic);
  font-size: 1.25rem;
  line-height: 1.8;
  text-align: center;
  color: #ffffff;
  margin-bottom: 8px;
}

.widget-rosette {
  text-align: center;
  color: var(--gold-primary);
  font-size: 10px;
  margin: 4px 0 8px;
  opacity: 0.8;
}

.widget-trans-sim {
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 10px;
}

.widget-source-sim {
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold-primary);
}

/* Floating interactive pill */
.floating-badge {
  position: absolute;
  background: rgba(15, 46, 43, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(223, 189, 105, 0.4);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: 15%;
  left: -20px;
}

.floating-badge-2 {
  bottom: 18%;
  right: -25px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Feature Section */
.section {
  padding: 90px 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(223, 189, 105, 0.2) 0%, rgba(45, 106, 79, 0.3) 100%);
  border: 1px solid rgba(223, 189, 105, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold-primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* Widget Showcase Section */
.widget-showcase-section {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 46, 43, 0.3) 50%, transparent 100%);
}

.widget-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.interactive-preview-box {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: rgba(10, 31, 26, 0.85);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-glass);
}

.theme-switcher {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px;
  border-radius: var(--radius-full);
}

.theme-tab {
  flex: 1;
  padding: 8px 14px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-tab.active {
  background: var(--gold-primary);
  color: #061814;
  font-weight: 700;
}

/* Verified Sources Grid */
.sources-card {
  padding: 36px;
  background: linear-gradient(145deg, rgba(18, 48, 40, 0.5), rgba(10, 31, 26, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.sources-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}

.source-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.source-bullet {
  color: var(--gold-primary);
  font-size: 16px;
  line-height: 1.5;
}

.source-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.source-detail {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* FAQ Accordion */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  padding: 24px 28px;
  cursor: pointer;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-toggle-icon {
  font-size: 1.25rem;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

/* Legal Pages (Privacy Policy & Terms) */
.legal-page {
  padding: 80px 0 120px;
}

.legal-card {
  padding: 50px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.legal-date {
  color: var(--gold-primary);
  font-size: 0.88rem;
  font-weight: 600;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 36px 0 14px;
}

.legal-content p, .legal-content li {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-content strong {
  color: var(--text-primary);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
  background: rgba(6, 24, 20, 0.95);
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 12px;
  max-width: 380px;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  margin-bottom: 18px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

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

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

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-highlights {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .widget-demo-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .legal-card {
    padding: 30px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

