/* ═══════════════════════════════════════════════════════════════
   AFFILIATE ANGEL PRO — OFFICIAL WEBSITE STYLESHEET
   Design System: Dark-Luxe Glassmorphism & Neon Glow (Responsive 100%)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --bg-main: #0B0F19;
  --bg-surface: #111827;
  --bg-card: rgba(19, 27, 46, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 107, 0, 0.4);
  
  --accent-orange: #FF6B00;
  --accent-orange-hover: #EA580C;
  --accent-orange-glow: rgba(255, 107, 0, 0.25);
  --accent-green: #10B981;
  --accent-blue: #3B82F6;
  --accent-purple: #8B5CF6;
  --accent-gold: #F59E0B;

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'Fira Code', monospace;

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Elevation */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(255, 107, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL RESETS & BASE STYLES
   ═══════════════════════════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

.gradient-text {
  background: linear-gradient(135deg, #FF8800 0%, #FF6B00 50%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-green { color: var(--accent-green) !important; }
.text-orange { color: var(--accent-orange) !important; }
.text-blue { color: var(--accent-blue) !important; }

/* ═══════════════════════════════════════════════════════════════
   1. TOP NAVIGATION BAR (STICKY & BLURRED)
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11, 15, 25, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255, 107, 0, 0.2);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-emoji {
  font-size: 1.8rem;
  line-height: 1;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-pro {
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--accent-orange);
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-nav-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-nav-primary {
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-orange-glow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* Hamburger Toggle */
.btn-hamburger {
  display: none;
  background: transparent;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
}

.btn-hamburger .bar {
  width: 20px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.btn-hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: slideDown 0.25s ease-out forwards;
}

.mobile-drawer.open {
  display: block;
}

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

.drawer-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.drawer-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.btn-drawer-login {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.btn-drawer-cta {
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #FFF;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   2. HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 90px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.18) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(11, 15, 25, 0) 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-text-content,
.hero-visual-content {
  min-width: 0;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-orange);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.22;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 8px 24px var(--accent-orange-glow);
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.45);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: #FFFFFF;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

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

/* Hero Mockup Frame */
.hero-mockup-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  overflow: hidden;
  position: relative;
  animation: floatMockup 6s ease-in-out infinite alternate;
}

@keyframes floatMockup {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.mockup-header-bar {
  background: rgba(15, 23, 42, 0.9);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-url-bar {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.badge-live {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.mockup-body-preview {
  padding: 24px;
  position: relative;
}

.floating-mock-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--border-glow);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.card-signal {
  top: -12px;
  right: 16px;
}

.card-safe {
  bottom: 16px;
  left: -12px;
  border-color: rgba(16, 185, 129, 0.4);
}

.floating-mock-card .f-icon {
  font-size: 1.2rem;
}

.floating-mock-card .f-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFF;
}

.floating-mock-card .f-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Mock Chart Inside Hero */
.mock-chart-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.chart-box-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.badge-mock-cat {
  font-size: 0.7rem;
  color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.mock-prod-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFF;
  margin-top: 4px;
}

.badge-mock-rank {
  font-size: 0.75rem;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.mock-line-canvas-svg {
  width: 100%;
  height: 120px;
  margin: 10px 0;
}

.svg-trend-line {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mock-stats-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.m-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-stat span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.m-stat b {
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFF;
}

/* ═══════════════════════════════════════════════════════════════
   3. COMPARISON SECTION
   ═══════════════════════════════════════════════════════════════ */
.comparison-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #0F172A 100%);
  position: relative;
}

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

.section-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.28;
  color: #FFFFFF;
  margin-bottom: 14px;
}

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

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.comp-card {
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.2s ease;
}

.comp-bad {
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.comp-good {
  background: rgba(255, 107, 0, 0.05);
  border: 2px solid var(--accent-orange);
  box-shadow: 0 10px 40px rgba(255, 107, 0, 0.12);
}

.comp-good:hover {
  transform: translateY(-3px);
}

.popular-ribbon {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--accent-orange);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.comp-header {
  margin-bottom: 24px;
}

.comp-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.comp-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 6px;
}

.comp-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #E2E8F0;
  line-height: 1.5;
}

.comp-list li span {
  font-size: 1.1rem;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════
   4. 4 FLAGSHIP FEATURES
   ═══════════════════════════════════════════════════════════════ */
.features-section {
  padding: 90px 0;
  background: var(--bg-main);
}

.features-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.icon-rocket { background: rgba(255, 107, 0, 0.15); }
.icon-chart { background: rgba(59, 130, 246, 0.15); }
.icon-shield { background: rgba(16, 185, 129, 0.15); }
.icon-brain { background: rgba(139, 92, 246, 0.15); }

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.feature-tag-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.f-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════════════════
   5. INTERACTIVE DEMO SHOWCASE
   ═══════════════════════════════════════════════════════════════ */
.demo-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #0F172A 0%, var(--bg-main) 100%);
}

.demo-interactive-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.demo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.demo-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.demo-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}

.demo-pill.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #FFF;
  box-shadow: 0 4px 12px var(--accent-orange-glow);
}

.demo-search-mock {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.demo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.demo-item-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
  min-width: 0;
}

.demo-item-card:hover {
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-2px);
}

.d-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-signal {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-sig-rocket { background: rgba(255, 107, 0, 0.2); color: #FF6B00; }
.badge-sig-hidden { background: rgba(139, 92, 246, 0.2); color: #8B5CF6; }
.badge-sig-proven { background: rgba(16, 185, 129, 0.2); color: #10B981; }

.badge-rank {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.d-card-body {
  display: flex;
  gap: 12px;
}

.d-thumb-box {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.d-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.d-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.d-meta-row {
  display: flex;
  gap: 10px;
  font-size: 0.76rem;
}

.d-price {
  font-weight: 800;
  color: #F59E0B;
}

.d-comm {
  color: var(--accent-orange);
  font-weight: 600;
}

.d-monthly-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  margin-top: 4px;
}

.d-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.badge-safe-tag {
  font-size: 0.68rem;
  color: #10B981;
  font-weight: 700;
}

.d-action-link {
  font-size: 0.74rem;
  color: var(--accent-orange);
  font-weight: 600;
}

.demo-bottom-cta {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(255, 107, 0, 0.08);
  border: 1px dashed rgba(255, 107, 0, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-bottom-cta p {
  font-size: 0.85rem;
  color: #F8FAFC;
}

.btn-demo-open {
  background: var(--accent-orange);
  color: #FFF;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-demo-open:hover {
  background: var(--accent-orange-hover);
}

/* ═══════════════════════════════════════════════════════════════
   6. PRICING & PACKAGES SECTION
   ═══════════════════════════════════════════════════════════════ */
.pricing-section {
  padding: 90px 0;
  background: var(--bg-main);
  position: relative;
}

.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.price-card.popular {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(19, 27, 46, 0.95) 100%);
  border: 2px solid var(--accent-orange);
  box-shadow: 0 20px 50px rgba(255, 107, 0, 0.18);
  transform: scale(1.03);
}

.price-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.price-card.vip {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, rgba(19, 27, 46, 0.8) 100%);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px var(--accent-orange-glow);
  white-space: nowrap;
}

.price-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.price-tier-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.tier-starter { background: rgba(148, 163, 184, 0.15); color: #94A3B8; }
.tier-pro { background: rgba(255, 107, 0, 0.15); color: var(--accent-orange); }
.tier-founder { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.tier-existing { background: rgba(20, 184, 166, 0.15); color: #2DD4BF; }

@media (max-width: 1200px) {
  .pricing-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

.price-card.existing {
  border: 1px solid rgba(20, 184, 166, 0.4);
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.06) 0%, rgba(19, 27, 46, 0.8) 100%);
}

.price-savings-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
}

.price-original {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
}

.tier-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 6px;
}

.tier-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-height: 40px;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 14px;
  /* 2026-08-23 — สั่งตรงจากผู้ใช้: กันราคาขีดฆ่า+ราคาใหม่ (price-original-strike inline style) แน่นชนกัน
     บนจอแคบมาก — ก่อนหน้านี้ไม่มี wrap เลย เสี่ยง overflow ตอนใส่ badge โปรโมชั่นเพิ่มเข้าไป */
  flex-wrap: wrap;
}

.price-curr {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  color: #FFFFFF;
}

.price-period {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.price-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.price-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #E2E8F0;
  line-height: 1.45;
}

.price-features-list li span {
  font-weight: 800;
  color: var(--accent-green);
}

.price-features-list li.disabled {
  color: var(--text-dim);
}

.price-features-list li.disabled span {
  color: var(--text-dim);
}

.btn-price-action {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  display: block;
  transition: all 0.2s ease;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #FFF;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-glow {
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #FFF;
  box-shadow: 0 4px 16px var(--accent-orange-glow);
}
.btn-glow:hover { box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4); }

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFF;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}
.btn-gold:hover { box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45); }

/* ═══════════════════════════════════════════════════════════════
   7. SECURITY & ZERO-TRUST TRUST BADGE
   ═══════════════════════════════════════════════════════════════ */
.security-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #0F172A 100%);
}

.security-card-box {
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1) 0%, rgba(19, 27, 46, 0.9) 70%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-xl);
  padding: 42px 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.sec-left {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.shield-badge-large {
  font-size: 3.5rem;
  line-height: 1;
  background: rgba(16, 185, 129, 0.15);
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  flex-shrink: 0;
}

.sec-subtitle {
  font-size: 0.76rem;
  font-weight: 800;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sec-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #FFF;
  margin: 6px 0 12px 0;
}

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

.sec-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sec-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sec-chk {
  background: #10B981;
  color: #000;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.sec-item b {
  display: block;
  font-size: 0.88rem;
  color: #FFF;
  margin-bottom: 2px;
}

.sec-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════
   8. FAQ ACCORDION SECTION
   ═══════════════════════════════════════════════════════════════ */
.faq-section {
  padding: 90px 0;
  background: var(--bg-main);
}

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

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

.faq-item.active {
  border-color: rgba(255, 107, 0, 0.4);
}

.faq-trigger {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFF;
  gap: 12px;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent-orange);
  transition: transform 0.2s ease;
}

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

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-panel p {
  padding: 0 24px 18px 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   9. FINAL CALL TO ACTION BANNER
   ═══════════════════════════════════════════════════════════════ */
.final-cta-section {
  padding: 60px 0 100px 0;
}

.cta-banner-box {
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 50%, #1E293B 100%);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-banner-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.cta-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #FFF;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.cta-buttons-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #FFF;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 6px 20px var(--accent-orange-glow);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 0, 0.45);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   10. FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #070A12;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-about {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-security-note {
  font-size: 0.74rem;
  color: #10B981;
  font-weight: 700;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 16px;
}

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

.footer-col-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-col-contact p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-btn {
  background: #06C755;
  color: #FFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.contact-email {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 20px 0;
}

.bottom-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES (FLUID BREAKPOINTS)
   ═══════════════════════════════════════════════════════════════ */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .nav-menu-desktop { display: none; }
  .btn-hamburger { display: flex; }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-pill-badge { margin: 0 auto 20px auto; }
  .hero-cta-row { justify-content: center; }
  .hero-stats-row { justify-content: center; }
  
  .features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .demo-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .price-card.popular {
    transform: none;
  }
  .price-card.popular:hover {
    transform: translateY(-4px);
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile (< 640px) */
@media (max-width: 640px) {
  .header-container { padding: 12px 16px; }
  .btn-nav-outline { display: none; }
  .btn-nav-primary { display: none; }
  
  .hero-section { padding-top: 110px; padding-bottom: 60px; }
  .hero-stats-row { flex-direction: column; gap: 12px; }
  .stat-divider { display: none; }
  
  .floating-mock-card { position: static; margin-bottom: 12px; }
  .card-signal { margin-bottom: 12px; }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .sec-left {
    flex-direction: column;
  }
  
  .sec-points-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .bottom-bar-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════════
   10. CHECKOUT MODAL — Google Login → QR PromptPay
   ═══════════════════════════════════════════════════════════════ */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* 2026-08-24 — เจอจริง: จอมือถือเนื้อหา (QR + ฟอร์ม + ปุ่ม) สูงเกินจอ แต่ overlay เดิมไม่ให้ scroll เลย
     ทำให้ปุ่ม "ส่งข้อมูลให้ทีมงาน" หลุดจอกดไม่ได้ — เพิ่ม overflow-y ให้ scroll ดูส่วนที่เหลือได้ */
  overflow-y: auto;
}

.checkout-overlay.open {
  display: flex;
}

.checkout-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 36px 28px 28px;
  text-align: center;
  /* คู่กับ overflow-y ของ overlay ด้านบน — กันการ์ดโดนบีบจนเนื้อหาซ้อนทับตอน overlay สูงเกิน viewport */
  margin: auto 0;
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.checkout-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
}

.checkout-package-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.checkout-package-price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent-orange);
  margin-bottom: 18px;
}

.checkout-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.checkout-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.6;
}

.btn-google-signin {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  background: #FFF;
  color: #1F1F1F;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-google-signin:hover {
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.checkout-user-email {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  word-break: break-all;
}

.checkout-qr-box {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.checkout-qr-box canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 2026-08-24 — เจอจริง: QR canvas วาดตายตัว 260px (ดู checkout.js toCanvas width:260) ใหญ่เกินไปบน
   จอมือถือเมื่อรวมกับฟอร์ม dropdown ผู้แนะนำ + แนบสลิป + ปุ่มส่งด้านล่าง ลดขนาดกล่อง QR ลงเฉพาะจอเล็ก
   (canvas ด้านบนมี max-width:100% อยู่แล้ว จะย่อตามกล่องนี้อัตโนมัติ ไม่ต้องแก้ checkout.js) */
@media (max-width: 480px) {
  .checkout-qr-box {
    padding: 10px;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Reset default <button> chrome on the price-tier buttons (converted from <a> to <button>) */
button.btn-price-action {
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
}
