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

:root {
  --primary-color: #800020; /* Burgundy */
  --secondary-color: #D4AF37; /* Gold */
  --text-dark: #1E1E24;
  --text-light: #F7F7FA;
  --bg-dark: #110B11;
  --bg-light: #FAFAFC;
  --accent-blue: #00BCD4; /* Teal / Cyan scan */
  --card-border: rgba(212, 175, 55, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* Header & Navigation */
header {
  background: rgba(16, 10, 16, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.logo-icon {
  font-size: 28px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #500010);
  border: 1px solid var(--secondary-color);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at top right, #3A000C, var(--bg-dark));
  color: white;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 50px 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero-tagline {
  color: var(--secondary-color);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 15px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-content p {
  color: #CCCCCC;
  font-size: 18px;
  margin-bottom: 35px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.mock-device {
  width: 280px;
  height: 560px;
  border: 12px solid #222;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  background: #000;
}

.mock-screen {
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1583939003579-730e3918a45a?w=400');
  background-size: cover;
  background-position: center;
}

/* Features Grid */
.features {
  padding: 80px 50px;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.section-subtitle {
  color: var(--text-dark);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 50px;
  opacity: 0.8;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(128, 0, 32, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: #666;
  font-size: 14px;
}

/* 12-Step Wizard Modal/Box */
.wizard-container {
  max-width: 700px;
  margin: 50px auto;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid rgba(212,175,55,0.15);
  overflow: hidden;
}

.wizard-header {
  background: var(--bg-dark);
  color: white;
  padding: 30px 40px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wizard-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--secondary-color);
}

.progress-bar-container {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  width: 8.3%;
  transition: width 0.4s ease;
}

.wizard-body {
  padding: 40px;
  min-height: 400px;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Chips Grid selector */
.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.chip {
  padding: 10px 20px;
  background: #F0EFF5;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
  user-select: none;
}

.chip.selected {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 10px rgba(128, 0, 32, 0.2);
}

.gender-options {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.gender-card {
  flex: 1;
  border: 1px solid #DDD;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.gender-card.selected {
  border-color: var(--primary-color);
  background: rgba(128, 0, 32, 0.05);
}

/* Input Fields styling */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CCC;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  transition: border 0.3s;
}

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

/* DOB Box fields */
.dob-row {
  display: flex;
  gap: 15px;
}

.dob-box {
  flex: 1;
  text-align: center;
}

/* Simulated OTP elements */
.sms-banner {
  background: white;
  border: 1px solid #EEE;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 16px;
  margin-bottom: 30px;
  display: flex;
  gap: 15px;
  align-items: center;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.otp-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 30px 0;
}

.otp-box {
  width: 48px;
  height: 48px;
  border-bottom: 2px solid #CCC;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.otp-keyboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 300px;
  margin: 0 auto;
}

.key {
  background: #F5F5F7;
  padding: 14px;
  text-align: center;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.key:active {
  background: #DDD;
}

/* Scanning verification simulator */
.scanner-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}

.scanner-frame {
  width: 130px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--secondary-color);
}

.scanner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.laser-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
  animation: scanMove 1.5s infinite ease-in-out;
}

@keyframes scanMove {
  0% { top: 0px; }
  50% { top: 155px; }
  100% { top: 0px; }
}

.scan-checkpoints {
  background: #FAFAFC;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #EEE;
}

.checkpoint-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.checkpoint-icon {
  font-size: 18px;
}

.checkpoint-icon.waiting::after { content: '⚪'; }
.checkpoint-icon.scanning::after { content: '⏳'; }
.checkpoint-icon.completed::after { content: '✅'; }

/* Footer Controls */
.wizard-footer {
  padding: 24px 40px;
  border-top: 1px solid #EEE;
  display: flex;
  justify-content: space-between;
}

.btn-back {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #666;
}

/* pricing section */
.pricing {
  background: #FFF;
  padding: 80px 50px;
  text-align: center;
}

.price-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card {
  background: #FAFAFC;
  border: 1px solid #EEE;
  border-radius: 20px;
  padding: 40px 30px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border-color: var(--secondary-color);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
  transform: scale(1.03);
  position: relative;
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.price-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.price-card .price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 25px;
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
  flex: 1;
}

.price-card li {
  margin-bottom: 12px;
  font-size: 13px;
}

.price-card li::before {
  content: '✓ ';
  color: green;
  font-weight: bold;
}

/* Modal overlays (Login) */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: white;
  padding: 40px;
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border: 1px solid rgba(212,175,55,0.15);
  position: relative;
  animation: scaleUp 0.3s ease;
}
@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

/* FAQ Accordion styles */
.faq-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
}
.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 15px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  transition: all 0.3s;
}
.faq-item.active {
  border-color: var(--secondary-color);
  box-shadow: 0 8px 25px rgba(128,0,32,0.04);
}
.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  user-select: none;
}
.faq-icon {
  font-size: 18px;
  color: #888;
  transition: transform 0.3s;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-color);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}
.faq-item.active .faq-content {
  padding-bottom: 20px;
}

/* Directory lists & Explorer Tabs */
.directory-section {
  background: #F7F7FA;
  padding: 60px 50px;
}
.directory-container {
  max-width: 1200px;
  margin: 0 auto;
}
.directory-nav {
  display: flex;
  border-bottom: 2px solid #EAEAEA;
  margin-bottom: 24px;
  overflow-x: auto;
  gap: 15px;
}
.directory-tab {
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.directory-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}
.directory-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}
.directory-panel.active {
  display: block;
}
.directory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 2;
}
.directory-links a {
  color: #444;
  text-decoration: none;
  font-size: 13px;
  padding: 4px 10px;
  background: white;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 8px;
}
.directory-links a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Footer layout */
footer {
  background: var(--bg-dark);
  color: #AAA;
  padding: 60px 50px 30px;
  border-top: 1px solid rgba(212,175,55,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand h3 {
  color: var(--secondary-color);
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 15px;
}
.footer-col h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #AAA;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--secondary-color);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  font-size: 12px;
}

/* Subheader Navigation for Dashboard Portal */
.subheader-nav {
  background: white;
  border-bottom: 1px solid #EEE;
  padding: 0 50px;
  position: sticky;
  top: 73px;
  z-index: 90;
}
.subheader-tabs {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  list-style: none;
  gap: 30px;
}
.subheader-tab {
  padding: 18px 0;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  position: relative;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.subheader-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Tab contents and Refined Search styling */
.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tab-panel.active {
  display: block;
}
.dashboard-grid-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.summary-widget {
  background: white;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 24px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.summary-box {
  background: #FAFAFC;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
}
.summary-box h4 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 4px;
}
.summary-box p {
  font-size: 11px;
  color: #666;
}

/* Chat list Online Sidebar styling */
.online-chat-list {
  background: white;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  align-self: start;
}
.online-user-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #F5F5F7;
  font-size: 13px;
}
.online-indicator {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
}

/* Profile details visual key-value styling */
.profile-details-block {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #EEE;
}
.profile-details-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--primary-color);
}
.profile-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  font-size: 13px;
}
.profile-detail-item {
  display: flex;
  border-bottom: 1px solid #F9F9FB;
  padding-bottom: 8px;
}
.profile-detail-item strong {
  width: 140px;
  color: #555;
}
.profile-detail-item span {
  color: #111;
}

/* Refine search filtering sidebar */
.refined-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}
.filter-sidebar {
  background: white;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.06);
}
.filter-group {
  margin-bottom: 24px;
}
.filter-group h4 {
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #444;
  letter-spacing: 0.5px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 8px;
  cursor: pointer;
}

/* Matches page elements (Geethanjali card) */
.matches-list-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.match-detail-card {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  display: flex;
  overflow: hidden;
  position: relative;
}
.match-card-photo-panel {
  width: 240px;
  position: relative;
}
.match-card-photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  min-height: 250px;
}
.match-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}
.match-card-verified {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #FFF;
  font-size: 11px;
  padding: 8px;
  text-align: center;
}
.match-card-info-panel {
  flex: 1;
  padding: 30px;
}
.match-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid #EEE;
  padding-bottom: 15px;
}
.match-card-name h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 4px;
}
.match-card-online {
  font-size: 12px;
  color: #4CAF50;
  font-weight: 600;
}
.match-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 13px;
  color: #444;
  margin-bottom: 20px;
}
.match-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.circle-btn-connect {
  background: #4CAF50;
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(76,175,80,0.3);
  transition: transform 0.2s;
}
.circle-btn-connect:hover {
  transform: scale(1.1);
}

/* Lock overlay for premium gating contact details */
.contact-locked-overlay {
  background: #FFF9F9;
  border: 1px dashed rgba(128,0,32,0.3);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-top: 15px;
}

/* Inbox design styling */
.inbox-list {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 40px;
  text-align: center;
  color: #666;
}
.mailbox-drawing {
  font-size: 80px;
  margin-bottom: 20px;
  display: block;
}
