/* 
 * DriveMate Landing Page — Modern High-Performance Dark Theme
 * Palette: Obsidian (#090d16), Slate (#0f172a), Cyan (#38bdf8), Gold (#fbbf24), Emerald (#22c55e)
 */

:root {
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-card: rgba(56, 189, 248, 0.15);
  --border-card-hover: rgba(56, 189, 248, 0.4);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --cyan-primary: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.35);
  --gold-accent: #fbbf24;
  --emerald-accent: #22c55e;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

/* Ambient Background Blobs */
.glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.glow-blob-1 {
  top: -100px;
  left: 20%;
  background: radial-gradient(circle, #0284c7, #38bdf8);
}

.glow-blob-2 {
  top: 500px;
  right: 10%;
  background: radial-gradient(circle, #f59e0b, #d97706);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography & Headings */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  padding: 10px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--cyan-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.5);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.7);
  color: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan-primary);
  border: 1px solid var(--cyan-primary);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
  padding: 14px 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan-primary);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  padding: 8px 16px;
  font-size: 13px;
}

/* HERO SECTION */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-primary);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.hero-headline {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1.5px;
  max-width: 900px;
  margin-bottom: 20px;
}

.hero-subheadline {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

.btn-cta {
  padding: 14px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-mac {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.2);
}

.btn-mac:hover {
  border-color: var(--cyan-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
}

.btn-windows {
  background: rgba(15, 23, 42, 0.6);
  color: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.btn-windows:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
}

.btn-icon {
  font-size: 24px;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-primary-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.btn-subtext {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.check-icon {
  color: var(--emerald-accent);
  font-weight: 800;
}

/* Product Showcase Banner */
.hero-visual-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.hero-visual-card {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(56, 189, 248, 0.15);
}

.visual-card-header {
  background: rgba(15, 23, 42, 0.95);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.window-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.window-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-accent);
  background: rgba(251, 191, 36, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.hero-visual-img {
  width: 100%;
  height: auto;
  display: block;
}

/* SECTIONS COMMON */
.section {
  padding: 90px 0;
  border-top: 1px solid rgba(51, 65, 85, 0.2);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* COMPARISON SECTION */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.comparison-card {
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(12px);
}

.bad-card {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.good-card {
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.08);
}

.card-status-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.card-status-header h3 {
  font-size: 20px;
  font-weight: 800;
}

.card-status-header.bad h3 { color: #f87171; }
.card-status-header.good h3 { color: #4ade80; }

.status-icon {
  font-size: 24px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-list li strong {
  display: block;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.comparison-list li p {
  font-size: 14px;
  color: var(--text-muted);
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-badge {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* STEPS SECTION */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 16px var(--cyan-glow);
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* PRICING TABLE */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pro-card {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 2px solid #fbbf24;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(251, 191, 36, 0.2);
  transform: scale(1.03);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.pricing-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pro-badge {
  color: var(--gold-accent);
}

.pricing-price-group {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-strike-val {
  font-size: 18px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-right: 6px;
}

.price-symbol {
  font-size: 26px;
  font-weight: 700;
}

.price-val {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.price-cycle {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.pricing-features li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features .check {
  color: var(--emerald-accent);
  font-weight: 800;
}

.pricing-features .cross {
  color: var(--text-dim);
}

.pricing-features .disabled {
  color: var(--text-dim);
  text-decoration: line-through;
}

.pricing-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}

.pricing-guarantee-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* FAQ ACCORDION */
.faq-container {
  max-width: 780px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

.faq-icon {
  font-size: 20px;
  color: var(--cyan-primary);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 22px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-bottom: 18px;
}

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

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

.faq-item.active .faq-answer {
  max-height: 300px;
  transition: max-height 0.3s ease-in-out;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(51, 65, 85, 0.4);
  padding: 60px 0 30px;
  background: #05070c;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 14px;
  color: #f1f5f9;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--cyan-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(51, 65, 85, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* MODAL OVERLAY & CHECKOUT DIALOG */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background: #0f172a;
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(251, 191, 36, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.95) translateY(10px); }
  to { transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: #334155;
  color: #ffffff;
}

.modal-header {
  text-align: center;
}

.modal-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-accent);
  background: rgba(251, 191, 36, 0.15);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 6px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.modal-upi-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.modal-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.modal-price-strike {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.modal-price-deal {
  font-size: 26px;
  font-weight: 900;
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.modal-price-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.upi-instructions {
  font-size: 12px;
  color: var(--text-muted);
}

.upi-qr-frame {
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  display: inline-flex;
}

.upi-qr-frame img {
  display: block;
  width: 150px;
  height: 150px;
  image-rendering: -webkit-optimize-contrast;
}

.upi-apps-icons {
  font-size: 11px;
  color: var(--text-muted);
}

.upi-id-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-family: monospace;
}

.btn-copy-id {
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-id:hover {
  background: #0ea5e9;
}

.btn-modal-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
  margin-top: 4px;
}

.btn-modal-whatsapp:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  transform: translateY(-1px);
}

.modal-footer-hint {
  font-size: 11px;
  color: #cbd5e1;
  text-align: center;
  background: rgba(30, 41, 59, 0.5);
  padding: 8px;
  border-radius: 6px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .hero-headline { font-size: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .pricing-cards-grid { grid-template-columns: 1fr; }
  .pro-card { transform: scale(1); }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 32px; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .btn-cta { width: 100%; }
}
