/* ==========================================================================
   Blink Reminder — Modern Web Presentation Stylesheet
   PREXTTE Ecosystem Design System (Dark/Light Mode, Glassmorphism, Bio-Ergonomics)
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Color Palette - Dark Default */
  --bg-page: #070b14;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-header: rgba(7, 11, 20, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #38bdf8;
  --accent-cyan-rgb: 56, 189, 248;
  --accent-cyan-hover: #0ea5e9;
  --accent-emerald: #10b981;
  --accent-emerald-rgb: 16, 185, 129;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;

  --badge-bg: rgba(56, 189, 248, 0.12);
  --badge-text: #38bdf8;
  --badge-border: rgba(56, 189, 248, 0.3);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.2);
  --shadow-emerald: 0 0 35px rgba(16, 185, 129, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-page: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  --bg-header: rgba(248, 250, 252, 0.9);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(2, 132, 199, 0.4);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --accent-cyan: #0284c7;
  --accent-cyan-rgb: 2, 132, 199;
  --accent-cyan-hover: #0369a1;
  --accent-emerald: #059669;
  --accent-emerald-rgb: 5, 150, 105;

  --badge-bg: rgba(2, 132, 199, 0.1);
  --badge-text: #0284c7;
  --badge-border: rgba(2, 132, 199, 0.25);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.15);
  --shadow-emerald: 0 0 30px rgba(5, 150, 105, 0.15);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Ambient Background Glows */
.ambient-glow {
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(16, 185, 129, 0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

.ambient-glow-secondary {
  position: fixed;
  bottom: 0;
  right: -100px;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

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

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-cyan-hover);
}

p {
  color: var(--text-muted);
}

/* Site Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main);
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid var(--border-glow);
  border-radius: 10px;
}

.brand-icon svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  letter-spacing: -0.02em;
}

.brand-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main) !important;
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main) !important;
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan) !important;
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Sliding Theme Toggle Pill */
.theme-toggle-pill {
  width: 58px;
  height: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 2px;
  user-select: none;
}

.theme-toggle-slider {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform var(--transition-normal);
  left: 2px;
}

[data-theme="light"] .theme-toggle-slider {
  transform: translateX(28px);
}

.theme-toggle-icons {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 12px;
  pointer-events: none;
  z-index: 1;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color var(--transition-fast);
}

.lang-dropdown-btn:hover {
  border-color: var(--accent-cyan);
}

.lang-dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  padding: 6px;
  z-index: 200;
}

.lang-dropdown.show .lang-dropdown-content {
  display: block;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-opt:hover, .lang-opt.active {
  background: rgba(56, 189, 248, 0.12);
  color: var(--text-main);
}

/* Mobile Hamburger Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
}

/* Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 20px auto 20px;
  max-width: 960px;
  line-height: 1.15;
}

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

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  max-width: 800px;
  margin: 0 auto;
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.hero-metric-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Interactive Simulator Section */
.simulator-section {
  padding: 40px 0 80px;
}

.simulator-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  overflow: hidden;
}

.simulator-header {
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.simulator-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Interactive Screen Simulator */
.simulator-screen {
  position: relative;
  min-height: 440px;
  background: #020617;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* Visual Overlay Effects in Simulator */
.sim-cue-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px 40px var(--cue-color, #38bdf8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sim-cue-vignette.active {
  animation: simVignettePulse 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes simVignettePulse {
  0% { opacity: 0; transform: scale(0.98); }
  35% { opacity: var(--cue-opacity, 0.6); transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

.sim-eyelid {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.sim-eyelid-top {
  top: 0;
  background: linear-gradient(to bottom, var(--cue-color, #0f172a), transparent);
  transform: translateY(-100%);
}

.sim-eyelid-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--cue-color, #0f172a), transparent);
  transform: translateY(100%);
}

.sim-eyelid-top.active {
  animation: simEyelidTop 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.sim-eyelid-bottom.active {
  animation: simEyelidBottom 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes simEyelidTop {
  0% { transform: translateY(-100%); opacity: 0; }
  40% { transform: translateY(-15%); opacity: var(--cue-opacity, 0.6); }
  100% { transform: translateY(-100%); opacity: 0; }
}

@keyframes simEyelidBottom {
  0% { transform: translateY(100%); opacity: 0; }
  40% { transform: translateY(15%); opacity: var(--cue-opacity, 0.6); }
  100% { transform: translateY(100%); opacity: 0; }
}

.sim-cue-ripple {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--cue-color, #38bdf8);
  opacity: 0;
  pointer-events: none;
}

.sim-cue-ripple.active {
  animation: simRipplePulse 0.9s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes simRipplePulse {
  0% { opacity: 0.8; transform: scale(0.2); }
  60% { opacity: var(--cue-opacity, 0.5); transform: scale(5); }
  100% { opacity: 0; transform: scale(9); }
}

.sim-cue-corner {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--cue-color, #38bdf8);
  padding: 10px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.sim-cue-corner.active {
  animation: simCornerSlide 1.2s ease forwards;
}

@keyframes simCornerSlide {
  0% { opacity: 0; transform: translateY(-20px); }
  20%, 80% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}

/* Simulator Mock Desktop Content */
.sim-mock-desktop {
  max-width: 640px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
  background: rgba(15, 23, 42, 0.7);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-mock-badge {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.sim-mock-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.sim-mock-text {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

/* Simulator Controls Bar */
.simulator-controls {
  padding: 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.sim-control-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sim-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sim-select {
  background: var(--bg-page);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
}

.sim-select:focus {
  border-color: var(--accent-cyan);
}

.sim-slider-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-slider {
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

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

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

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}

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

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* Feature Cards */
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md), 0 0 25px rgba(56, 189, 248, 0.15);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-tag {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Science & Ergonomics Spotlight */
.science-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.science-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.science-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.science-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.1;
  margin-bottom: 6px;
}

.science-stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Comparison Table */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.compare-table th {
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  font-weight: 700;
}

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

.compare-table td.highlight {
  background: rgba(56, 189, 248, 0.05);
  font-weight: 600;
}

.check-green {
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 1.1rem;
}

.cross-red {
  color: #ef4444;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
  margin-top: 40px;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow), 0 12px 40px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, var(--bg-card) 40%);
  transform: translateY(-6px);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-tier-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 44px;
  margin-bottom: 24px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-emerald);
  margin-top: 2px;
}

/* Checkout Box (buy/index.html) */
.checkout-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin: 40px auto;
  max-width: 820px;
}

.payment-tab-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.payment-tab-btn {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-page);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.payment-tab-btn.active {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  color: var(--text-main);
}

.qr-display-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 28px;
}

.qr-code-frame {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-frame canvas,
.qr-code-frame img {
  display: block;
}

.bank-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.bank-details-table tr {
  border-bottom: 1px solid var(--border-color);
}

.bank-details-table tr:last-child {
  border-bottom: none;
}

.bank-details-table td {
  padding: 10px 12px;
}

.copy-val-btn {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
  margin-left: 8px;
  transition: color var(--transition-fast);
}

.copy-val-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--accent-cyan);
}

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

.faq-arrow {
  font-size: 0.9rem;
  transition: transform var(--transition-normal);
  color: var(--accent-cyan);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

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

/* Download Cards */
.download-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.download-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.download-checksum-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  word-break: break-all;
  color: var(--text-muted);
}

/* Site Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 16px 0 24px;
  max-width: 340px;
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 50px 0 40px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .simulator-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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