/* ==========================================================================
   PENNY & POUND - LANDING PAGE STYLES
   Designed for Android Tablet & Mobile APK Downloads
   ========================================================================== */

:root {
  /* Brand Colors */
  --brand-red: #e5243b;
  --brand-red-hover: #cf1d32;
  --brand-red-glow: rgba(229, 36, 59, 0.35);
  --brand-blue: #0b63d6;
  --brand-blue-hover: #0950ad;
  --brand-blue-glow: rgba(11, 99, 214, 0.35);
  --brand-amp: #ffffff;

  /* Neutral & Dark Theme Colors */
  --bg-main: #0a0e17;
  --bg-surface: #111726;
  --bg-surface-elevated: #182238;
  --bg-card: rgba(18, 26, 44, 0.75);
  --bg-card-hover: rgba(26, 38, 64, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(11, 99, 214, 0.4);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-main: #f3f5f9;
  --text-muted: #9ba7c0;
  --text-dim: #65738e;

  /* Feedback Colors */
  --safe-green: #10b981;
  --safe-green-glow: rgba(16, 185, 129, 0.25);
  --warn-amber: #f59e0b;

  /* Transitions & Shadows */
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px var(--border-subtle);
  --shadow-glow: 0 0 50px -10px var(--brand-blue-glow);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Ambient Background Lights */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-red {
  top: -120px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--brand-red) 0%, transparent 70%);
}

.glow-blue {
  top: 150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
}

.glow-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

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

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

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

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-link:hover {
  transform: scale(1.02);
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

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

/* Button Component Utilities */
button, .btn-primary, .btn-secondary, .btn-outline {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), #1e7bf7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px var(--brand-blue-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #106fec, #2b84fc);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 99, 214, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
  padding: 14px 26px;
  font-size: 1rem;
  border-radius: 12px;
}

/* Hero Section Layout */
.hero-section {
  padding: 64px 0 80px 0;
}

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

/* Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(11, 99, 214, 0.14);
  border: 1px solid rgba(11, 99, 214, 0.35);
  border-radius: 999px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--safe-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.45, 0, 0.2, 1);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.badge-text {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #b0c9f8;
  text-transform: uppercase;
}

/* Typography Titles */
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.text-red {
  color: var(--brand-red);
  background: linear-gradient(135deg, #ff4d61, #e5243b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-amp {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.85em;
}

.text-blue {
  color: var(--brand-blue);
  background: linear-gradient(135deg, #388bfd, #0b63d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Meta Pills Specs */
.meta-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: rgba(17, 23, 38, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 32px;
  width: fit-content;
}

.meta-pill {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

.text-safe {
  color: var(--safe-green);
}

.icon-inline {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* Epic Download Button */
.download-action-area {
  position: relative;
  margin-bottom: 24px;
}

.download-btn-epic {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
  box-shadow: 0 10px 30px -5px rgba(11, 99, 214, 0.45);
  transition: var(--transition-smooth);
}

.download-btn-epic:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -4px rgba(229, 36, 59, 0.4), 0 0 24px var(--brand-blue-glow);
}

.btn-glow-layer {
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  filter: blur(10px);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.download-btn-epic:hover .btn-glow-layer {
  opacity: 0.85;
}

.btn-inner {
  position: relative;
  z-index: 1;
  background: #0f1626;
  border-radius: 14px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}

.btn-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 36, 59, 0.15), rgba(11, 99, 214, 0.18));
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.download-btn-epic:hover .btn-inner::before {
  opacity: 1;
}

.btn-icon-wrapper {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue), #1e7bf7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(11, 99, 214, 0.6);
  flex-shrink: 0;
}

.download-icon {
  width: 26px;
  height: 26px;
  color: #ffffff;
  transition: transform 0.25s ease;
}

.download-btn-epic:hover .download-icon {
  transform: translateY(2px);
}

.btn-text-group {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.btn-headline {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.btn-subtext {
  font-size: 0.85rem;
  color: #a4b7da;
  font-weight: 500;
}

/* Auxiliary Action Buttons */
.action-auxiliary {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.btn-social {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
}

.qr-btn:hover {
  background: rgba(11, 99, 214, 0.12);
  border-color: rgba(11, 99, 214, 0.4);
  color: #5ea8ff;
}

/* QR Card Modal / Popup */
.qr-card {
  margin-top: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  max-width: 320px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.qr-card.hidden {
  display: none;
}

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

.qr-card-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}

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

.qr-code-wrapper {
  background: #ffffff;
  padding: 12px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px auto;
  width: fit-content;
}

.qr-tip {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* Security Note */
.security-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px dashed var(--border-subtle);
}

.icon-info {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
  flex-shrink: 0;
}

/* Hero Visual: Realistic Android Tablet Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tablet-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.tablet-frame {
  position: relative;
  background: #1f2739;
  border: 10px solid #2a344d;
  border-radius: 32px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 40px -10px var(--brand-blue-glow);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
}

.tablet-camera-lens {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background: #090c13;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.tablet-screen {
  background: #0c121e;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 16px 16px 16px;
}

.tablet-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 6px 10px 6px;
}

.tablet-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tablet-app-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.tablet-chip {
  font-size: 0.68rem;
  font-weight: 700;
  color: #388bfd;
  background: rgba(11, 99, 214, 0.18);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(11, 99, 214, 0.3);
}

.mock-hero-box {
  background: linear-gradient(135deg, rgba(229, 36, 59, 0.12), rgba(11, 99, 214, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mock-icon-ring {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.mock-app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mock-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.mock-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mock-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.stat-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-tag {
  font-size: 0.65rem;
  color: var(--text-dim);
}

.mock-install-indicator {
  margin-top: auto;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.indicator-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--safe-green);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.indicator-icon svg {
  width: 18px;
  height: 18px;
}

.indicator-head {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2fdf1;
}

.indicator-desc {
  font-size: 0.68rem;
  color: #92d4b8;
}

.tablet-home-indicator {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 6px auto 4px auto;
}

.tablet-badge-float {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: rgba(18, 26, 44, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.badge-icon {
  font-size: 1.3rem;
}

.tablet-badge-float strong {
  display: block;
  font-size: 0.85rem;
  color: #ffffff;
}

.tablet-badge-float span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 54px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background: rgba(11, 99, 214, 0.12);
  border: 1px solid rgba(11, 99, 214, 0.25);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}

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

/* Step-By-Step Installation Guide */
.guide-section {
  padding: 90px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.65) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 99, 214, 0.45);
  box-shadow: var(--shadow-card);
}

.step-card.highlight-card {
  border-color: rgba(229, 36, 59, 0.35);
  background: linear-gradient(180deg, rgba(229, 36, 59, 0.05) 0%, var(--bg-card) 100%);
}

.step-badge-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
}

.step-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(11, 99, 214, 0.15);
  color: #388bfd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-icon-box svg {
  width: 24px;
  height: 24px;
}

.step-icon-box.warn-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warn-amber);
}

.step-icon-box.settings-icon {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.step-icon-box.finish-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--safe-green);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-text code {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  font-family: monospace;
}

/* Visual Step UI Mockups Inside Cards */
.step-visual-mockup {
  margin-top: auto;
  border-radius: 12px;
  background: #080d18;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px;
}

/* Mock Notification */
.mock-notification {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  flex-wrap: wrap;
}

.notif-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(11, 99, 214, 0.2);
  color: #5ea8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-icon svg {
  width: 18px;
  height: 18px;
}

.check-icon {
  background: rgba(16, 185, 129, 0.2);
  color: var(--safe-green);
}

.notif-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.notif-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.notif-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.notif-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}

.progress-fill {
  width: 70%;
  height: 100%;
  background: var(--brand-blue);
  border-radius: 2px;
  animation: progress-pulse 2s infinite ease-in-out;
}

@keyframes progress-pulse {
  0% { width: 30%; }
  50% { width: 85%; }
  100% { width: 30%; }
}

.notif-action-btn {
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: default;
}

/* Mock Dialog Warning */
.mock-dialog {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #141a29;
  border-radius: 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--warn-amber);
}

.dialog-msg {
  font-size: 0.76rem;
  color: #d1d5db;
  line-height: 1.4;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.dialog-btn-cancel {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.dialog-btn-confirm {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--warn-amber);
  background: rgba(245, 158, 11, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Mock Settings Box */
.mock-settings-box {
  background: #121826;
  border-radius: 8px;
  padding: 8px 12px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.settings-info {
  display: flex;
  flex-direction: column;
}

.settings-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.settings-subtitle {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.mock-switch {
  width: 38px;
  height: 22px;
  background: #374151;
  border-radius: 999px;
  position: relative;
  transition: background 0.3s ease;
}

.mock-switch.active {
  background: var(--safe-green);
}

.switch-knob {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Mock Install Prompt */
.mock-install-prompt {
  background: #121826;
  border-radius: 8px;
  padding: 10px 12px;
}

.prompt-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.prompt-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.prompt-app-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.prompt-app-ver {
  font-size: 0.68rem;
  color: var(--safe-green);
}

.prompt-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.prompt-btn-secondary {
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 4px 8px;
}

.prompt-btn-primary {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--brand-blue);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Features Section */
.features-section {
  padding: 90px 0;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-surface-elevated);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #ffffff;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.blue-gradient {
  background: linear-gradient(135deg, var(--brand-blue), #1e7bf7);
  box-shadow: 0 4px 16px var(--brand-blue-glow);
}

.red-gradient {
  background: linear-gradient(135deg, var(--brand-red), #ff4d61);
  box-shadow: 0 4px 16px var(--brand-red-glow);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

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

/* FAQ Accordion Section */
.faq-section {
  padding: 90px 0;
  background: rgba(17, 24, 39, 0.4);
  border-top: 1px solid var(--border-subtle);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-content {
  max-height: 200px;
  padding: 0 24px 20px 24px;
}

.faq-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-content strong {
  color: #ffffff;
}

/* Bottom CTA Banner */
.bottom-cta-section {
  padding: 60px 0 90px 0;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(14, 23, 42, 0.95), rgba(11, 99, 214, 0.2));
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--brand-red-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 540px;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #080b12;
  padding: 36px 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  margin-bottom: 6px;
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-dev-credit {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.footer-dev-credit a {
  color: #388bfd;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-dev-credit a:hover {
  color: #70aeff;
  text-decoration: underline;
}

.footer-right {
  text-align: right;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-file-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.footer-file-meta code {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Toast Message */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 999;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .badge-pill, .meta-pills, .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .download-btn-epic {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .action-auxiliary {
    justify-content: center;
  }

  .security-note {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .qr-card {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-banner {
    text-align: center;
    justify-content: center;
  }

  .cta-content {
    max-width: 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 6px auto;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .meta-pills {
    justify-content: center;
    width: 100%;
  }

  .meta-divider {
    display: none;
  }

  .meta-pill {
    padding: 4px 8px;
  }

  .btn-headline {
    font-size: 1.15rem;
  }

  .btn-subtext {
    font-size: 0.78rem;
  }

  .btn-icon-wrapper {
    width: 44px;
    height: 44px;
  }

  .action-auxiliary {
    flex-direction: column;
    width: 100%;
  }

  .btn-social {
    width: 100%;
    justify-content: center;
  }

  .nav-actions .btn-outline,
  .nav-actions .btn-secondary span {
    display: none;
  }

  .cta-banner {
    padding: 32px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons a, .cta-buttons button {
    width: 100%;
  }

  .tablet-badge-float {
    display: none;
  }
}
