/* ==========================================================================
   CAMDEDE - Smart Dashcam & AI Driving Assistant Landing Stylesheet
   Theme: Automotive Cockpit / Cyberpunk Dark HUD
   ========================================================================== */

:root {
  --cd-bg-dark: #070b14;
  --cd-bg-surface: #0d1527;
  --cd-bg-card: rgba(17, 27, 49, 0.75);
  --cd-bg-card-hover: rgba(23, 37, 68, 0.9);
  
  --cd-cyan: #00f2fe;
  --cd-cyan-glow: rgba(0, 242, 254, 0.35);
  --cd-blue: #4facfe;
  --cd-green: #00ff88;
  --cd-green-glow: rgba(0, 255, 136, 0.3);
  --cd-red: #ff3366;
  --cd-red-glow: rgba(255, 51, 102, 0.4);
  --cd-amber: #ffb703;
  --cd-amber-glow: rgba(255, 183, 3, 0.35);
  
  --cd-line-green: #06c755;
  --cd-line-hover: #05b04b;

  --cd-text-light: #ffffff;
  --cd-text-muted: #94a3b8;
  --cd-text-dim: #64748b;
  
  --cd-border-subtle: rgba(255, 255, 255, 0.08);
  --cd-border-cyan: rgba(0, 242, 254, 0.3);
  --cd-border-line: rgba(6, 199, 85, 0.3);

  --cd-font-main: 'Kanit', sans-serif;
  --cd-font-hud: 'Outfit', 'Rajdhani', sans-serif;
  --cd-font-mono: 'Rajdhani', monospace, sans-serif;
}

/* Standalone Page Reset */
body.camdede-standalone-body {
  margin: 0;
  padding: 0;
  background-color: var(--cd-bg-dark);
  color: var(--cd-text-light);
  font-family: var(--cd-font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

.camdede-landing-root {
  position: relative;
  width: 100%;
  background-color: var(--cd-bg-dark);
  color: var(--cd-text-light);
  font-family: var(--cd-font-main);
  overflow-x: hidden;
}

.camdede-landing-root * {
  box-sizing: border-box;
}

/* Ambient Background Grid & Radial Glow */
.camdede-bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 900px;
  background: radial-gradient(circle at 50% 10%, rgba(0, 242, 254, 0.12) 0%, rgba(79, 172, 254, 0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.camdede-cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

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

/* ==========================================================================
   Top Navigation Header
   ========================================================================== */
.camdede-nav-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cd-border-subtle);
  z-index: 100;
  padding: 14px 0;
}

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

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

.brand-logo-glow {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070b14;
  font-size: 20px;
  box-shadow: 0 0 20px var(--cd-cyan-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--cd-font-hud);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.1;
}

.brand-name .highlight {
  color: var(--cd-cyan);
}

.brand-sub {
  font-size: 10px;
  color: var(--cd-text-muted);
  letter-spacing: 1.5px;
  font-weight: 600;
}

.version-tag {
  background: rgba(0, 242, 254, 0.15);
  color: var(--cd-cyan);
  border: 1px solid var(--cd-border-cyan);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--cd-font-mono);
}

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

.camdede-nav-links a {
  color: var(--cd-text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.camdede-nav-links a:hover {
  color: var(--cd-cyan);
  text-shadow: 0 0 10px var(--cd-cyan-glow);
}

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

.btn-nav-download {
  background: linear-gradient(135deg, var(--cd-cyan), var(--cd-blue));
  color: #070b14;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 15px var(--cd-cyan-glow);
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

.btn-nav-line {
  background: rgba(6, 199, 85, 0.15);
  color: var(--cd-line-green);
  border: 1px solid var(--cd-border-line);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-nav-line:hover {
  background: var(--cd-line-green);
  color: #fff;
  box-shadow: 0 0 15px rgba(6, 199, 85, 0.5);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.camdede-hero-section {
  padding: 60px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--cd-border-cyan);
  padding: 6px 14px;
  border-radius: 30px;
  color: var(--cd-cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.pulsing-radar {
  width: 8px;
  height: 8px;
  background-color: var(--cd-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
  animation: radar-pulse 1.8s infinite;
}

@keyframes radar-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #00ff88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 17px;
  color: var(--cd-text-muted);
  line-height: 1.7;
  margin: 0 0 30px;
}

.hero-specs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.spec-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cd-border-subtle);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spec-item i {
  color: var(--cd-cyan);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

@media (min-width: 600px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

.btn-cta-primary {
  flex: 1.2;
  background: linear-gradient(135deg, #00f2fe 0%, #00b4d8 50%, #0077b6 100%);
  color: #070b14;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 242, 254, 0.55);
}

.btn-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(7, 11, 20, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #070b14;
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
}

.btn-main-title {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
}

.btn-sub-title {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 3px;
}

.btn-cta-line {
  flex: 1;
  background: #06c755;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
  transition: all 0.25s ease;
}

.btn-cta-line:hover {
  background: #05b04b;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(6, 199, 85, 0.45);
}

.line-icon {
  font-size: 28px;
}

.hero-trust-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cd-border-subtle);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--cd-text-muted);
}

.trust-avatars i {
  color: var(--cd-green);
  font-size: 22px;
}

/* ==========================================================================
   Interactive Mobile Phone HUD Simulator (Right Column)
   ========================================================================== */
.hero-simulator-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.simulator-wrapper-card {
  width: 100%;
  max-width: 540px;
  background: rgba(13, 21, 39, 0.8);
  border: 1px solid var(--cd-border-cyan);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
  border-radius: 24px;
  padding: 18px;
  backdrop-filter: blur(16px);
}

.simulator-label-pill {
  font-size: 12px;
  color: var(--cd-cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cd-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cd-green);
  animation: live-blink 1.2s infinite alternate;
}

@keyframes live-blink {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Landscape Phone Frame */
.phone-mockup-frame {
  position: relative;
  width: 100%;
  height: 310px;
  background: #000;
  border: 8px solid #1a2234;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.9), 0 10px 20px rgba(0, 0, 0, 0.5);
}

.phone-camera-notch {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #0a0e17;
  border: 2px solid #2d3748;
  border-radius: 50%;
  z-index: 20;
}

.phone-glare {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 15;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #050811;
  overflow: hidden;
}

.road-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Phone HUD Overlay Elements */
.hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 14px;
  pointer-events: auto;
}

/* HUD Top Bar */
.hud-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7, 11, 20, 0.65);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 8px;
  font-family: var(--cd-font-mono);
  font-size: 11px;
}

.hud-brand-tag {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-brand-tag .app-title {
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
}

.hud-brand-tag .app-ver {
  background: var(--cd-cyan);
  color: #070b14;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 9px;
}

.hud-recording-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--cd-red);
  font-weight: 700;
}

.rec-blink-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cd-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cd-red);
  animation: rec-blink 1s infinite alternate;
}

@keyframes rec-blink {
  from { opacity: 0.2; }
  to { opacity: 1; }
}

.hud-telemetry-tag {
  display: flex;
  gap: 10px;
  color: #94a3b8;
  font-size: 10px;
}

/* HUD Speedometer Area */
.hud-speedometer-area {
  position: absolute;
  right: 18px;
  top: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.speed-dial-gauge {
  position: relative;
  width: 120px;
  height: 120px;
}

.speed-svg-dial {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.speed-bg-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 10;
}

.speed-active-track {
  fill: none;
  stroke: url(#cyan-gradient);
  stroke: var(--cd-cyan);
  stroke-width: 10;
  stroke-dasharray: 440;
  stroke-dashoffset: 200;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease;
  filter: drop-shadow(0 0 6px var(--cd-cyan));
}

.speed-inner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.speed-number {
  font-family: var(--cd-font-hud);
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.speed-unit-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.speed-unit-text {
  font-family: var(--cd-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cd-cyan);
}

/* Quick REC Button right beside km/h (v2.22 Layout) */
.sim-quick-rec-btn {
  background: rgba(255, 51, 102, 0.2);
  border: 1px solid var(--cd-red);
  color: #ff3366;
  border-radius: 12px;
  padding: 2px 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--cd-font-mono);
  font-size: 10px;
  font-weight: 800;
}

.sim-quick-rec-btn:hover {
  background: var(--cd-red);
  color: #fff;
  box-shadow: 0 0 10px var(--cd-red);
}

.sim-quick-rec-btn.is-stopped {
  background: rgba(255, 255, 255, 0.1);
  border-color: #64748b;
  color: #94a3b8;
}

.sim-rec-dot {
  width: 6px;
  height: 6px;
  background-color: var(--cd-red);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--cd-red);
}

.sim-quick-rec-btn.is-stopped .sim-rec-dot {
  background-color: #94a3b8;
  box-shadow: none;
}

/* Speed Limit 80 Badge */
.speed-limit-badge {
  width: 38px;
  height: 38px;
  border: 4px solid #ff3366;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
}

.speed-limit-badge .limit-num {
  font-family: var(--cd-font-hud);
  font-weight: 900;
  font-size: 16px;
  color: #000;
}

/* Curve Warning Alert Popup */
.hud-curve-alert {
  position: absolute;
  top: 48px;
  left: 18px;
  background: rgba(255, 51, 102, 0.25);
  border: 2px solid var(--cd-red);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 250px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
  animation: alert-pulse 1.5s infinite alternate;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes alert-pulse {
  from { border-color: var(--cd-red); box-shadow: 0 0 10px rgba(255, 51, 102, 0.3); }
  to { border-color: #ff9900; box-shadow: 0 0 25px rgba(255, 153, 0, 0.7); }
}

.curve-alert-icon {
  font-size: 22px;
  color: #ffb703;
}

.curve-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.curve-sub {
  font-size: 10px;
  color: #ffcad4;
  margin-top: 2px;
}

/* Collapsible License Panel in Phone Screen (v2.22 feature) */
.hud-license-panel {
  background: rgba(13, 21, 39, 0.9);
  border: 1px solid var(--cd-border-cyan);
  border-radius: 8px;
  overflow: hidden;
  font-size: 11px;
  backdrop-filter: blur(8px);
  margin-top: auto;
}

.license-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  cursor: pointer;
  background: rgba(0, 242, 254, 0.08);
}

.lic-hdr-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lic-icon {
  color: var(--cd-amber);
}

.lic-title {
  font-weight: 600;
  color: #e2e8f0;
}

.lic-badge-status {
  background: rgba(0, 255, 136, 0.2);
  color: var(--cd-green);
  border: 1px solid rgba(0, 255, 136, 0.4);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 700;
}

.lic-arrow {
  color: var(--cd-cyan);
  font-size: 9px;
  transition: transform 0.2s;
}

.hud-license-panel.is-expanded .lic-arrow {
  transform: rotate(180deg);
}

.license-bar-body {
  padding: 8px 10px;
  border-top: 1px solid var(--cd-border-subtle);
  background: rgba(7, 11, 20, 0.8);
}

.lic-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.lic-row:last-child {
  margin-bottom: 0;
}

.lic-device-id {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  color: var(--cd-cyan);
}

.btn-sim-copy {
  background: rgba(0, 242, 254, 0.2);
  border: 1px solid var(--cd-border-cyan);
  color: #fff;
  border-radius: 4px;
  font-size: 9px;
  padding: 2px 6px;
  cursor: pointer;
}

.btn-sim-copy:hover {
  background: var(--cd-cyan);
  color: #070b14;
}

.color-vip {
  color: var(--cd-amber);
}

/* Simulator Bottom Controls Tray */
.simulator-controls-tray {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tray-label {
  font-size: 12px;
  color: var(--cd-text-muted);
  font-weight: 600;
  margin-right: 4px;
}

.btn-tray {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--cd-border-subtle);
  color: #e2e8f0;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: var(--cd-font-main);
}

.btn-tray:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cd-cyan);
  color: var(--cd-cyan);
  transform: translateY(-1px);
}

/* ==========================================================================
   Section Universal Styles
   ========================================================================== */
.camdede-section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  margin-bottom: 50px;
}

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

.section-tag {
  display: inline-block;
  color: var(--cd-cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 16px;
  color: var(--cd-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   3-Step Installation Guide
   ========================================================================== */
.install-section {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 21, 39, 0.6) 50%, transparent 100%);
}

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

.step-card {
  position: relative;
  background: var(--cd-bg-card);
  border: 1px solid var(--cd-border-subtle);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--cd-border-cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px var(--cd-cyan-glow);
}

.step-card.highlight-step {
  border-color: rgba(0, 255, 136, 0.3);
  background: linear-gradient(135deg, rgba(17, 27, 49, 0.85) 0%, rgba(0, 255, 136, 0.05) 100%);
}

.step-card.highlight-step:hover {
  border-color: var(--cd-green);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px var(--cd-green-glow);
}

.step-number-glow {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: var(--cd-font-hud);
  font-size: 54px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
}

.step-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--cd-border-cyan);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cd-cyan);
  font-size: 24px;
  margin-bottom: 22px;
}

.highlight-step .step-icon-wrap {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.4);
  color: var(--cd-green);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

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

.step-tip {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--cd-cyan);
  padding: 10px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  color: #cbd5e1;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.step-tip i {
  color: var(--cd-cyan);
  margin-top: 2px;
}

.step-tip.success-tip {
  border-left-color: var(--cd-green);
}

.step-tip.success-tip i {
  color: var(--cd-green);
}

/* Install CTA Banner */
.install-cta-banner {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(79, 172, 254, 0.05) 100%);
  border: 1px solid var(--cd-border-cyan);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.install-cta-banner h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.install-cta-banner p {
  font-size: 14px;
  color: var(--cd-text-muted);
  margin: 0;
}

.btn-banner-download {
  background: linear-gradient(135deg, var(--cd-cyan), var(--cd-blue));
  color: #070b14;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 0 20px var(--cd-cyan-glow);
  transition: transform 0.2s;
}

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

/* ==========================================================================
   Key Features Section
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  background: var(--cd-bg-card);
  border: 1px solid var(--cd-border-subtle);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--cd-border-cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 242, 254, 0.15);
}

.feature-card.highlight-card {
  border-color: rgba(255, 51, 102, 0.4);
  background: linear-gradient(135deg, rgba(17, 27, 49, 0.85) 0%, rgba(255, 51, 102, 0.05) 100%);
}

.new-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--cd-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 0 10px var(--cd-red);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 242, 254, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cd-cyan);
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card.highlight-card .feature-icon {
  background: rgba(255, 51, 102, 0.15);
  color: var(--cd-red);
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--cd-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--cd-border-subtle);
  padding-top: 14px;
}

.feature-bullets li {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.feature-bullets li i {
  color: var(--cd-green);
  font-size: 12px;
}

/* ==========================================================================
   VIP License & LINE Section
   ========================================================================== */
.vip-wrapper-box {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 21, 39, 0.9) 0%, rgba(17, 27, 49, 0.9) 100%);
  border: 1px solid var(--cd-border-line);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(6, 199, 85, 0.15);
  overflow: hidden;
}

.vip-glow-effect {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 199, 85, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.vip-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid var(--cd-amber);
  color: var(--cd-amber);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.vip-title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.3;
}

.vip-desc {
  font-size: 15px;
  color: var(--cd-text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.vip-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vip-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--cd-line-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text {
  font-size: 14px;
  color: #e2e8f0;
}

.step-text code {
  background: rgba(0, 242, 254, 0.1);
  color: var(--cd-cyan);
  padding: 2px 6px;
  border-radius: 4px;
}

/* LINE Card Inner Box */
.line-card-inner {
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid var(--cd-border-line);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.line-badge-top {
  display: inline-block;
  background: rgba(6, 199, 85, 0.15);
  color: var(--cd-line-green);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.line-avatar-ring {
  width: 72px;
  height: 72px;
  background: var(--cd-line-green);
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(6, 199, 85, 0.5);
}

.line-main-logo {
  font-size: 40px;
  color: #fff;
}

.line-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.line-sub {
  font-size: 12px;
  color: var(--cd-text-muted);
  margin: 0 0 18px;
}

.line-id-highlight {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--cd-border-line);
  padding: 10px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 20px;
}

.line-id-highlight strong {
  color: var(--cd-line-green);
  font-size: 18px;
  margin-left: 6px;
}

.vip-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-line-add {
  background: #06c755;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.35);
  transition: all 0.2s;
}

.btn-line-add:hover {
  background: #05b04b;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 199, 85, 0.5);
}

.btn-line-copy-msg {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--cd-border-subtle);
  color: #e2e8f0;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: var(--cd-font-main);
}

.btn-line-copy-msg:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.copy-alert {
  margin-top: 10px;
  background: rgba(0, 255, 136, 0.2);
  border: 1px solid var(--cd-green);
  color: var(--cd-green);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.line-service-hours {
  margin-top: 16px;
  font-size: 11px;
  color: var(--cd-text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   Comparison Table Section
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.camdede-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--cd-bg-card);
  border: 1px solid var(--cd-border-subtle);
  border-radius: 18px;
  overflow: hidden;
}

.camdede-compare-table th,
.camdede-compare-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--cd-border-subtle);
}

.camdede-compare-table thead th {
  background: rgba(13, 21, 39, 0.9);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.col-camdede {
  background: rgba(0, 242, 254, 0.08) !important;
  border-left: 1px solid var(--cd-border-cyan);
  border-right: 1px solid var(--cd-border-cyan);
  position: relative;
}

.winner-tag {
  background: var(--cd-cyan);
  color: #070b14;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  margin-right: 6px;
}

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

.camdede-compare-table tbody tr td:nth-child(3) {
  background: rgba(0, 242, 254, 0.03);
  border-left: 1px solid var(--cd-border-cyan);
  border-right: 1px solid var(--cd-border-cyan);
}

.text-neon {
  color: var(--cd-cyan);
}

.text-danger {
  color: var(--cd-red);
}

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

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--cd-bg-card);
  border: 1px solid var(--cd-border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
}

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

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

.faq-arrow {
  color: var(--cd-cyan);
  font-size: 14px;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--cd-text-muted);
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

/* ==========================================================================
   Bottom CTA Bar
   ========================================================================== */
.camdede-bottom-cta {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.1) 100%);
  border-top: 1px solid var(--cd-border-cyan);
  border-bottom: 1px solid var(--cd-border-cyan);
  padding: 40px 0;
}

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

.bottom-cta-text h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.bottom-cta-text p {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0;
}

.bottom-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-download-glow {
  background: linear-gradient(135deg, var(--cd-cyan), var(--cd-blue));
  color: #070b14;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 25px var(--cd-cyan-glow);
  transition: transform 0.2s;
}

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

.btn-line-white {
  background: #06c755;
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-line-white:hover {
  background: #05b04b;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.camdede-footer {
  background: #04070d;
  padding: 40px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  font-family: var(--cd-font-hud);
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.footer-logo span {
  color: var(--cd-cyan);
}

.footer-tagline {
  font-size: 13px;
  color: var(--cd-text-dim);
  max-width: 440px;
  margin: 0 0 14px;
}

.footer-ecosystem-links {
  font-size: 13px;
  color: var(--cd-text-muted);
}

.footer-ecosystem-links a {
  color: var(--cd-cyan);
  text-decoration: none;
  margin: 0 4px;
}

.footer-ecosystem-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  text-align: right;
  font-size: 12px;
  color: var(--cd-text-dim);
}

.footer-copy p {
  margin: 0 0 4px;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .camdede-nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .install-cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .vip-wrapper-box {
    padding: 24px;
  }

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

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

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

  .phone-mockup-frame {
    height: 270px;
  }
}

/* ==========================================================================
   มาเป็นเพื่อนกัน รับสิทธิ์ใช้ฟรี! Modal Styling
   ========================================================================== */
.camdede-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modal-fade-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.camdede-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(145deg, #0e172a 0%, #080d19 100%);
  border: 1px solid var(--cd-border-line);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 199, 85, 0.25);
  border-radius: 24px;
  padding: 36px 30px;
  text-align: center;
  animation: modal-pop-up 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop-up {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.camdede-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--cd-border-subtle);
  color: var(--cd-text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s;
}

.camdede-modal-close:hover {
  background: rgba(255, 51, 102, 0.2);
  border-color: var(--cd-red);
  color: #fff;
}

.modal-header-icon {
  margin-bottom: 18px;
}

.modal-gift-glow {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #06c755 0%, #00f2fe 100%);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #070b14;
  box-shadow: 0 0 30px rgba(6, 199, 85, 0.5);
  margin-bottom: 12px;
  animation: gift-bounce 2s infinite ease-in-out;
}

@keyframes gift-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.modal-badge-pill {
  display: inline-block;
  background: rgba(6, 199, 85, 0.15);
  color: var(--cd-line-green);
  border: 1px solid var(--cd-border-line);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--cd-text-muted);
  line-height: 1.6;
  margin: 0 0 22px;
}

.modal-subtitle strong {
  color: var(--cd-line-green);
}

.modal-features-list {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cd-border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
  text-align: left;
}

.m-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.m-feat-item:last-child {
  margin-bottom: 0;
}

.m-feat-item i {
  color: var(--cd-green);
  font-size: 15px;
}

.modal-action-box {
  margin-bottom: 16px;
}

.btn-modal-line-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #06c755 0%, #05b04b 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(6, 199, 85, 0.4);
  transition: all 0.25s ease;
}

.btn-modal-line-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(6, 199, 85, 0.6);
  color: #fff;
}

.btn-modal-line-add i {
  font-size: 24px;
}

.modal-line-auto-notice {
  background: rgba(6, 199, 85, 0.08);
  border: 1px dashed rgba(6, 199, 85, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.5;
}

.modal-line-auto-notice i {
  color: var(--cd-amber);
  font-size: 16px;
  flex-shrink: 0;
}

.modal-line-auto-notice strong {
  color: #00ff88;
}
