/* Anubandha Website Styles
   Glassmorphism, offline-first calm, mobile-friendly.
*/

:root {
  color-scheme: dark;

  /* RGB color triplets for dynamic opacity variations */
  --accent-rgb: 255, 94, 126;     /* App primaryPink (0xFFFF5E7E) */
  --accent-2-rgb: 255, 140, 66;   /* App primaryOrange (0xFFFF8C42) */
  --accent-warm-rgb: 255, 249, 222; /* App silverChalice (0xFFFFF9DE) */
  --bg-rgb: 17, 24, 39;           /* App backgroundBase dark (0xFF111827) */
  --bg-deep-rgb: 10, 15, 26;      /* Deeper shade for depth */

  --bg: rgb(var(--bg-rgb));
  --bg-deep: rgb(var(--bg-deep-rgb));
  --panel: rgba(28, 28, 30, 0.75); /* App aolBlack (0xFF1C1C1E) */
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);

  --text: #eef4ff;
  --text-bright: #ffffff;
  --muted: #aebfd3;
  --muted-2: #7f93aa;

  --accent: rgb(var(--accent-rgb));
  --accent-2: rgb(var(--accent-2-rgb));
  --accent-warm: rgb(var(--accent-warm-rgb));

  --shadow-soft: 0 14px 44px rgba(0, 0, 0, 0.35);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;

  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    Inter,
    Segoe UI,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 5%, rgba(var(--accent-rgb), 0.15), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(var(--accent-2-rgb), 0.15), transparent 26%),
    radial-gradient(circle at 70% 90%, rgba(var(--accent-warm-rgb), 0.08), transparent 24%),
    linear-gradient(135deg, var(--bg-deep), var(--bg));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
  z-index: -2;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.bg-blobs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -3;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  transform: translateZ(0);
}

.blob-1 {
  width: 360px;
  height: 360px;
  background: #ff5e7e; /* App primaryPink */
  top: -90px;
  left: -90px;
}

.blob-2 {
  width: 330px;
  height: 330px;
  background: #ff8c42; /* App primaryOrange */
  right: -80px;
  bottom: -90px;
}

/* Navigation */

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(3, 7, 18, 0.65);
  border-bottom: 1px solid var(--border-soft);
  transition: background-color 0.3s ease;
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--text-bright);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
}

.logo span {
  color: var(--accent);
}

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

.links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 220ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.links a:hover {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.04);
}

.links a.active {
  color: var(--accent);
  background: rgba(var(--accent-2-rgb), 0.06);
}

/* --- Responsive Burger Toggle --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-bright);
  margin: 5px 0;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 2px;
}

/* Burger Animation to 'X' */
.nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    background: #030712;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    padding: 60px 40px;
    border-top: 1px solid var(--border-soft);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
  }

  .nav-open .links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .links a {
    font-size: 1.35rem;
    font-weight: 700;
    padding: 12px 24px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-md);
  }
}

/* Core surfaces */

.glass,
.hero-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero {
  padding: 92px 0 46px;
}

.hero-card {
  position: relative;
  padding: clamp(34px, 6vw, 68px);
  overflow: hidden;
}

.home-hero-card {
  background: 
    linear-gradient(135deg, rgba(var(--bg-deep-rgb), 0.15), rgba(var(--bg-rgb), 0.35)), 
    url('/images/hero.png') no-repeat center center / cover;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.26), transparent 68%);
  pointer-events: none;
}

.section {
  padding: 38px 0 64px;
}

.card {
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.card:hover,
.timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.145), rgba(255, 255, 255, 0.065));
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

@media (max-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Typography */

h1,
h2,
h3 {
  color: var(--text-bright);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 920px;
  margin: 0 0 22px;
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  line-height: 0.96;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
  margin: 0 0 16px;
}

.lead {
  max-width: 760px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: #c9d9eb;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 10px;
}

.section-heading p {
  font-size: 1.06rem;
}

/* Badges and buttons */

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(var(--accent-rgb), 0.095);
  color: #dff4ff;
  font-size: 0.9rem;
  line-height: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #04111f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 38px rgba(var(--accent-2-rgb), 0.22);
}

.button.secondary {
  color: var(--text-bright);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.07);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.11);
}

.text-link {
  color: #dff4ff;
  text-decoration: none;
  font-weight: 750;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.4);
}

.text-link:hover {
  color: var(--text-bright);
  border-bottom-color: var(--text-bright);
}

/* Hero details */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  color: #dceeff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.065);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.9rem;
}

/* Split cards */

.split-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-pill {
  padding: 16px 18px;
  border-radius: 18px;
  color: #e8f6ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-2-rgb), 0.055));
}

/* Timeline */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.timeline-item {
  padding: 26px;
  border-radius: var(--radius-lg);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #06101d;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* Quote and testimonial sections */

.quote-card {
  padding: clamp(28px, 5vw, 52px);
  text-align: center;
}

.quote {
  color: #ecf8ff;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.35;
  font-style: italic;
  margin-bottom: 20px;
}

.mini-testimonials {
  display: grid;
  gap: 14px;
}

.mini-quote {
  padding: 18px;
  border-radius: 20px;
  color: #e8f6ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

/* FAQ preview */

.faq-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.center-link {
  text-align: center;
  margin-top: 24px;
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.final-cta p {
  max-width: 680px;
  margin-inline: auto;
}

/* Lists and footer */

.list {
  margin: 0 0 28px;
  padding-left: 20px;
}

.list li {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.7;
}

.footer {
  padding: 38px 0 70px;
  text-align: center;
  color: var(--muted-2);
}

.footer p {
  margin-bottom: 8px;
  color: var(--muted-2);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text-bright);
}

.footer span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.28);
}

/* Existing support for simple pages */

.bg-blobs + nav + .hero + .section .glass.card {
  min-height: 0;
}

/* Accessibility */

:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.75);
  outline-offset: 4px;
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  html {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Responsive */

@media (max-width: 980px) {
  .grid,
  .faq-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    min-height: 68px;
  }

  .hero {
    padding: 56px 0 30px;
  }

  .hero-card,
  .quote-card,
  .split-card {
    border-radius: 26px;
  }

  .section {
    padding: 28px 0 46px;
  }

  .grid,
  .faq-preview,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-row span {
    font-size: 0.84rem;
  }

  h1 {
    letter-spacing: -0.045em;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero-card {
    padding: 28px;
  }

  .card,
  .timeline-item {
    padding: 22px;
  }

  .badge {
    font-size: 0.82rem;
  }
}

/* --- Form and Feedback Elements (Anubandha Form Registry) --- */

.feedback-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 5% 5%, rgba(var(--accent-rgb), 0.15), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(var(--accent-2-rgb), 0.15), transparent 26%),
    radial-gradient(circle at 70% 90%, rgba(var(--accent-warm-rgb), 0.08), transparent 24%),
    linear-gradient(135deg, var(--bg-deep), var(--bg));
}

.feedback-container {
  width: 100%;
  max-width: 450px;
  background: var(--panel);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  animation: feedbackFadeIn 0.6s ease-out;
}

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

.feedback-header {
  text-align: center;
  margin-bottom: 32px;
}

.feedback-header h1 {
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  color: var(--text-bright);
}

.feedback-header p {
  color: var(--muted);
  font-size: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0 16px;
  color: var(--text-bright);
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
  height: 50px;
  display: flex;
  align-items: center;
  -webkit-appearance: none;
  appearance: none;
}

input[type="date"].form-control {
  line-height: 50px;
  min-height: 50px;
}

.form-control:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15);
}

textarea.form-control {
  min-height: 100px;
  height: auto;
  resize: vertical;
}

select.form-control {
  min-height: 48px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select.form-control option {
  background-color: var(--bg-deep);
  color: var(--text-bright);
}

.iti {
  width: 100%;
}

.iti__country-list {
  background-color: var(--bg-deep);
  color: var(--text-bright);
  border: 1px solid var(--border);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04111f;
  border: none;
  border-radius: var(--radius-md);
  height: 50px;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(var(--accent-2-rgb), 0.3);
}

.btn-secondary {
  width: 100%;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-bright);
  border-radius: var(--radius-md);
  height: 50px;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  outline: none;
}

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

.btn-secondary:active {
  transform: translateY(0);
}

#error-message,
#success-message {
  text-align: center;
  margin-bottom: 16px;
  font-size: 14px;
}

#error-message {
  color: #FF453A;
}

#success-message {
  color: #32D74B;
}

.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  z-index: 1000;
  padding: 20px;
}

.qr-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  width: 90%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#qrcode {
  background: white;
  padding: 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#qrcode img, #qrcode canvas {
  display: block;
  margin: 0 auto;
}

/* Custom Anubandha Date Picker Styling (Desktop) */
.flatpickr-calendar {
  background: rgba(15, 15, 20, 0.9) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6) !important;
  border-radius: var(--radius-md) !important;
  padding: 8px;
}
.flatpickr-day.selected {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  border-radius: 12px !important;
  color: #04111f !important;
}
.flatpickr-day:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
}
.flatpickr-months .flatpickr-month {
  color: white !important;
  fill: white !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
  font-weight: 600 !important;
}
.flatpickr-weekday {
  color: var(--muted) !important;
}
.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after {
  display: none !important;
}

/* --- Help / Documentation Page Elements --- */

.prose h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  font-size: 1.88rem;
  font-weight: 800;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 10px;
  color: var(--text-bright);
}

.prose h3 {
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 1.38rem;
  font-weight: 750;
  color: var(--accent);
}

.prose p {
  margin-bottom: 20px;
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.78;
}

.prose ul {
  margin-bottom: 28px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 12px;
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.78;
}

.prose strong {
  color: var(--text-bright);
  font-weight: 700;
}

.screenshot-fig {
  margin: 48px 0;
  text-align: center;
}

.screenshot {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.screenshot:hover {
  transform: scale(1.02) translateY(-6px);
}

.screenshot-cap {
  display: block;
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--muted-2);
  font-weight: 600;
  opacity: 0.85;
}

.feedback-logo {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 64px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-soft);
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 500px;
}

.comparison-table th, 
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-soft);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-bright);
  font-weight: 750;
  font-size: 1.05rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  color: var(--text-bright);
  font-weight: 600;
}

.comparison-table td:nth-child(2) {
  color: #ff453a;
  opacity: 0.85;
}

.comparison-table td:nth-child(3) {
  color: var(--accent);
  font-weight: 700;
}

/* In-page Navigation Search Controls */
.search-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-size: 0.85rem;
  outline: none;
}

.search-btn:hover {
  background: var(--accent);
  color: #04111f;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(var(--accent-2-rgb), 0.25);
  transform: translateY(-1px);
}

.search-btn:active {
  transform: translateY(0);
}

/* Floating Store Panel */
.floating-store-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.store-badge {
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: 40px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-bright);
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.store-badge:hover {
  border-color: rgba(var(--accent-2-rgb), 0.3);
  box-shadow: 0 12px 40px rgba(var(--accent-2-rgb), 0.15);
  transform: translateY(-2px);
  background: rgba(3, 7, 18, 0.85);
}

.store-badge svg {
  color: var(--text-bright);
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-main {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-bright);
}

/* Mobile responsive store panel layout */
@media (max-width: 768px) {
  .floating-store-panel {
    bottom: 20px;
    left: 20px;
    right: 20px;
    justify-content: center;
  }

  .store-badge {
    padding: 10px 20px;
    border-radius: 30px;
    gap: 10px;
    flex: unset;
    width: 100%;
    max-width: 240px;
    justify-content: center;
    background: rgba(3, 7, 18, 0.85);
  }

  .store-badge svg {
    width: 16px;
    height: 16px;
  }

  .store-sub {
    font-size: 0.6rem;
  }

  .store-main {
    font-size: 0.8rem;
  }
}

/* FAQ Question Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
}

/* --- Utility / Component Classes --- */
.flex-row { display: flex; align-items: center; gap: 8px; }
.flex-row-gap { display: flex; gap: 12px; }
.flex-row-wrap { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.flex-row-wrap-lg { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0; }
.flex-row-center-wrap { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; width: 100%; }
.flex-col { display: flex; flex-direction: column; }
.flex-col-stretch { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* Grid Layouts */
.grid-auto-220 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 28px 0; }
.grid-auto-280 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }

/* Step Components */
.step-card { padding: 20px; border: 1px solid var(--border-soft); text-align: center; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.step-label { font-size: 1.5rem; font-weight: 800; color: var(--accent); display: block; margin-bottom: 8px; }
.step-desc { font-size: 0.95rem; color: var(--muted); margin: 8px 0 0 0; }

/* Modal Components */
.modal-card--lg { max-width: 580px; width: 90%; padding: 40px 32px; border-radius: var(--radius-lg); position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-soft); }
.modal-card--md { max-width: 480px; width: 90%; padding: 32px; border-radius: var(--radius-lg); position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.modal-card--sm { max-width: 440px; width: 90%; padding: 40px 32px; border-radius: var(--radius-lg); text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-soft); }
.modal-body-box { background: rgba(0,0,0,0.25); padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--border-soft); margin-bottom: 24px; }
.modal-body-box.italic { padding: 28px; font-style: italic; }
.modal-story-text { margin: 0; font-size: 1.15rem; line-height: 1.8; color: var(--text-bright); white-space: pre-wrap; font-weight: 400; text-align: left; }
.modal-answer-text { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--text-bright); white-space: pre-wrap; font-weight: 400; text-align: left; }
.modal-close-btn { position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--muted); font-size: 1.8rem; cursor: pointer; transition: color 0.3s ease; }
.modal-close-btn:hover { color: var(--text-bright); }
.modal-title { margin-top: 0; margin-bottom: 8px; font-size: 1.5rem; color: var(--text-bright); }
.modal-subtitle { font-size: 0.95rem; color: var(--muted); margin-bottom: 24px; }
.modal-success-title { margin-top: 0; margin-bottom: 12px; font-size: 1.6rem; color: var(--text-bright); font-weight: 700; letter-spacing: -0.5px; }
.modal-success-body { font-size: 0.98rem; color: var(--muted); line-height: 1.6; margin-bottom: 30px; padding: 0 10px; }
.modal-reader-title { margin-top: 0; margin-bottom: 20px; font-size: 1.45rem; color: var(--text-bright); line-height: 1.45; font-weight: 700; letter-spacing: -0.5px; }
.modal-textarea { width: 100%; height: 120px; padding: 12px; font-size: 0.95rem; border-radius: var(--radius-md); background: rgba(255,255,255,0.02); border: 1px solid var(--border); color: var(--text-bright); outline: none; resize: none; box-sizing: border-box; font-family: inherit; }
.modal-input { width: 100%; height: 46px; padding: 0 12px; font-size: 0.95rem; border-radius: var(--radius-md); background: rgba(255,255,255,0.02); border: 1px solid var(--border); color: var(--text-bright); outline: none; box-sizing: border-box; font-family: inherit; }
.btn-modal-action { flex: 1; height: 46px; margin: 0; font-size: 15px; }

/* Custom components & card variants */
.section--narrow { max-width: 800px; margin-inline: auto; }
.section--narrow-sm { max-width: 600px; margin-inline: auto; margin-bottom: 80px; }
.container--narrow-sm { max-width: 600px; margin-bottom: 48px; }
.p-40 { padding: 40px; }
.card-centered-padded { padding: 40px; text-align: center; border: 1px solid var(--border-soft); }
.icon-badge { padding: 12px; border-radius: 12px; display: inline-flex; }
.icon-badge--accent { background: rgba(var(--accent-rgb), 0.15); color: var(--accent); }
.icon-badge--accent-2 { background: rgba(var(--accent-2-rgb), 0.15); color: var(--accent-2); }
.icon-heading-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-title-lg { margin: 0; font-size: 1.6rem; letter-spacing: -0.5px; }
.card-desc-lg { margin-bottom: 24px; line-height: 1.6; }
.section-label { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.section-label--accent { color: var(--accent); }
.section-label--accent-2 { color: var(--accent-2); }
.success-icon-circle { width: 64px; height: 64px; background: rgba(var(--accent-2-rgb), 0.1); border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px auto; box-shadow: 0 0 20px rgba(var(--accent-2-rgb), 0.2); }
.ask-card-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border: 1px dashed rgba(255,255,255,0.15); background: rgba(255,255,255,0.02); min-height: 180px; padding: 24px; box-sizing: border-box; }
.ask-card-title { margin: 0 0 8px 0; color: var(--text-bright); font-size: 1.1rem; font-weight: 600; }
.ask-card-desc { font-size: 0.9rem; color: var(--muted); margin: 0 0 16px 0; line-height: 1.4; }
.cta-card { padding: 48px; text-align: center; max-width: 900px; margin-inline: auto; border: 1px solid var(--border); }
.callout-card { background: rgba(var(--accent-2-rgb), 0.03); border: 1px solid rgba(var(--accent-2-rgb), 0.15); padding: 24px; margin: 28px 0; border-radius: var(--radius-md); }
.callout-heading { margin-top: 0; color: var(--accent-2); display: flex; align-items: center; gap: 8px; }
.callout-body { margin: 8px 0 0 0; line-height: 1.6; font-size: 0.98rem; color: var(--text-bright); }
.search-floating-card { display: none; position: absolute; z-index: 1000; background: rgba(var(--bg-deep-rgb), 0.76); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(var(--accent-2-rgb), 0.3); border-radius: var(--radius-md); padding: 8px 16px; align-items: center; gap: 12px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6); transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }

/* Typography */
.hero-title { line-height: 0.9; margin-bottom: 36px; font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: -1.5px; }
.hero-title__sub { font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.8rem); }
.lead--constrained { max-width: 680px; }
.cta-heading { font-size: 2.2rem; margin-bottom: 24px; color: var(--text-bright); font-weight: 800; letter-spacing: -0.5px; }
.cta-body { font-size: 1.15rem; line-height: 1.8; color: var(--muted); margin-bottom: 30px; max-width: 780px; margin-inline: auto; }
.cta-body--italic { font-size: 1.15rem; line-height: 1.8; color: var(--muted); font-style: italic; max-width: 780px; margin-inline: auto; }
.feature-highlight { margin-top: 20px; font-weight: 700; font-size: 1.15rem; color: var(--accent); }
.form-section-title { font-size: 1.8rem; margin-bottom: 8px; color: var(--text-bright); }
.form-section-desc { color: var(--muted); font-size: 0.95rem; }
.link-accent { font-weight: 700; color: var(--accent); }
.link-accent-2 { font-weight: 700; color: var(--accent-2); }
.author-highlight { color: var(--text-bright); font-weight: 700; }
.author-accent { color: var(--accent); font-weight: 700; }
.success-banner { text-align: center; color: var(--accent); font-weight: 700; margin-bottom: 20px; font-size: 1.05rem; }
.quote-text { font-size: 1.1rem; line-height: 1.7; font-style: italic; color: var(--text-bright); }

/* Spacing and list overrides */
.pos-relative { position: relative; }
.mb-36 { margin-bottom: 36px; }
.mb-80 { margin-bottom: 80px; }
.mt-10 { margin-top: 10px; }
.m-0 { margin: 0; }
.card-footer-spacer { margin-top: auto; padding-top: 20px; }
.form-group--relative { margin: 0; position: relative; }
.form-group--col { display: flex; flex-direction: column; }
.form-group--col.mb-20 { margin-bottom: 20px; }
.form-group--col.mb-24 { margin-bottom: 24px; }
.badge--mb { margin-bottom: 20px; }
.badge--mb-16 { margin-bottom: 16px; }

/* Buttons */
.btn-sm-auto { margin-top: 12px; font-size: 0.82rem; padding: 6px 12px; width: auto; }
.btn-sm-flex { font-size: 0.82rem; padding: 6px 10px; flex: 1; min-width: 100px; text-align: center; margin: 0; }
.btn-icon-sm { width: 30px; height: 30px; font-size: 0.72rem; }
.btn-full { width: 100%; }
.btn-full-submit { width: 100%; height: 46px; margin: 0; font-size: 15px; font-weight: 700; border-radius: var(--radius-sm); }
.btn-sm-ghost { font-size: 0.85rem; padding: 8px 16px; border-radius: var(--radius-sm); width: auto; margin-top: 0; }

/* Lists spacing */
.list-spaced { line-height: 1.7; margin-bottom: 28px; }
.li-spaced { margin-bottom: 12px; }
.list-indented { margin-left: 20px; line-height: 1.6; margin-bottom: 24px; }
.list-sub { margin-left: 20px; margin-top: 6px; }
.list-reset-pad { margin-left: 0; padding-left: 16px; }

/* Custom Importer & Sync Helpers */
.importer-logo { width: 48px; height: 48px; margin-bottom: 12px; }
.svg-icon { color: var(--accent); flex-shrink: 0; }
.svg-accent-2 { color: var(--accent-2); }
.display-block { display: block; }
.svg-spin { display: block; border-top-color: var(--accent); width: 16px; height: 16px; border-width: 2px; }
.margin-top-20 { margin-top: 20px; }
.hide-unimported-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-soft); padding: 6px 12px; border-radius: 99px; }
.hide-unimported-checkbox { cursor: pointer; }
.form-group-mb-24 { margin-bottom: 24px; }
.welcome-title-sz { font-size: 24px; }
.timer-container-mb { margin-bottom: 24px; }
.timer-desc-mt { margin-top: 12px; }
.btn-timer-reset { margin: 0; padding: 6px 12px; font-size: 11px; width: auto; height: 28px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-soft); color: var(--text-bright); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s ease; }
.btn-timer-reset:hover { background: rgba(255, 255, 255, 0.1); }
.courses-container-mb { margin-bottom: 24px; }
.courses-container-mb-32 { margin-bottom: 24px; padding: 32px; }
.taol-header-left { text-align: left; margin-bottom: 20px; }
.taol-header-left-24 { text-align: left; margin-bottom: 24px; }
.taol-title-20 { font-size: 20px; margin-bottom: 6px; font-weight: 800; }
.taol-desc-135 { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.sync-error-banner { color: #FF453A; margin-bottom: 16px; font-size: 14px; text-align: center; }
.btn-sync-submit-mt { margin-top: 20px; }
.aid-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.aid-label { font-size: 13px; color: var(--muted); }
.btn-aid-upload { margin: 0; padding: 8px 16px; font-size: 13px; width: auto; height: 38px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-soft); color: var(--text-bright); }
.btn-aid-upload:hover { background: rgba(255, 255, 255, 0.1); }
.btn-aid-delete { margin: 0; padding: 8px 12px; font-size: 13px; width: auto; height: 38px; border-color: rgba(255, 69, 58, 0.3); color: #ff453a; }
.details-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.details-title-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.details-title-txt { margin: 0; font-size: 16px; font-weight: 700; color: var(--text-bright); }
.table-actions-container-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-table-action-sm { margin: 0; padding: 8px 16px; font-size: 13px; width: auto; display: flex; align-items: center; gap: 6px; }
.btn-table-action-accent { margin: 0; padding: 8px 16px; font-size: 13px; width: auto; display: flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04111f; }
.overflow-x-w100 { overflow-x: auto; width: 100%; }
.table-min650-mt0 { width: 100%; border-collapse: collapse; min-width: 650px; margin-top: 0; }
.th-chk { padding: 12px 16px; width: 48px; text-align: center; }

/* Custom Importer Specifics */
.custom-importer-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.custom-importer-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.btn-custom-export-aef { margin: 0; padding: 12px 24px; font-size: 14px; width: auto; font-weight: 700; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04111f; }
.btn-custom-reset { margin: 0; padding: 10px 16px; font-size: 13.5px; width: auto; }
.custom-select-constant-input-wrapper { display: flex; gap: 4px; padding: 4px 8px; margin-bottom: 6px; border-bottom: 1px solid var(--border-soft); align-items: center; }
.custom-select-constant-input { flex: 1; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-soft); border-radius: 4px; color: var(--text-bright); padding: 4px 6px; font-size: 11px; outline: none; }
.custom-select-constant-btn { margin: 0; padding: 4px 8px; font-size: 11px; width: auto; font-weight: bold; background: rgba(var(--accent-rgb), 0.1); border: 1px solid rgba(var(--accent-rgb), 0.2); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.w-100 { width: 100%; }
.m-auto { margin-inline: auto; }
.inline-block { display: inline-block; }
.min-h-120 { min-height: 120px; }
.modal-footer-row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.88rem; border-top: 1px solid var(--border-soft); padding-top: 16px; }

.search-input-lg { height: 54px; padding-left: 20px; font-size: 16px; border-radius: var(--radius-md); background: var(--panel); border: 1px solid var(--border); }
.search-input-badge { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.faq-list { margin: 8px 0 8px 20px; padding-left: 0; text-align: left; list-style-type: disc; }
.faq-list-item { margin-bottom: 4px; color: var(--text-bright); }
.faq-question-title { color: var(--accent); }
.faq-meta-row { margin-top: 15px; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--border-soft); padding-top: 10px; display: flex; justify-content: flex-end; }
.faq-author { color: var(--accent); font-weight: 600; }
.mb-80 { margin-bottom: 80px; }
.prose--narrow { max-width: 900px; margin-inline: auto; }
.cta-quote { font-size: 1.5rem; line-height: 1.6; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.cta-desc { font-size: 1.15rem; color: var(--muted); max-width: 700px; margin-inline: auto; }
.contact-title { font-size: 2rem; margin-bottom: 16px; }
.contact-desc { margin-bottom: 30px; font-size: 1.1rem; line-height: 1.6; }
.btn-lg-padding { font-size: 1.15rem; padding: 16px 36px; }
.qr-title { margin-bottom: 12px; }
.qr-desc { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.qr-close-btn { width: auto; padding: 12px 24px; margin: 0 auto; }
.feedback-footer { margin-top: 32px; text-align: center; font-size: 12px; color: var(--muted); }

.bold-accent-color { font-weight: 700; color: var(--accent); }
.bold-accent2-color { font-weight: 700; color: var(--accent-2); }
.d-none { display: none !important; }
.faq-card--hidden { display: none !important; }

/* Generate landing page styles */
.import-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
}
.import-info-col h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.import-info-col ul {
  margin: 0;
  padding-left: 20px;
}
.import-info-col li {
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 0.95rem;
}
.generator-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}
.generator-icon-wrapper--custom {
  background: rgba(var(--accent-2-rgb), 0.15);
  color: var(--accent-2);
  border: 1px solid rgba(var(--accent-2-rgb), 0.25);
}
.generator-actions {
  margin-top: 24px;
}




