@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ==========================================================================
   DAGJA.COM — Modern Ultra-Fast Premium Design System & Theme
   Optimized for Sub-100ms Rendering, Zero Layout Shifts & Mobile Excellence
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #07070c;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.065);
  --bg-glass: rgba(18, 18, 30, 0.65);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(157, 128, 255, 0.25);
  --border-glow: rgba(157, 128, 255, 0.45);
  
  --accent: #9d80ff;
  --accent-light: #c4b5fd;
  --accent-dark: #7b5ff5;
  --accent-gradient: linear-gradient(135deg, #ab96ff 0%, #7b5ff5 100%);
  --accent-glow: rgba(157, 128, 255, 0.35);
  
  --emerald: #34d399;
  --emerald-bg: rgba(52, 211, 153, 0.1);
  --emerald-border: rgba(52, 211, 153, 0.25);
  
  --rose: #f472b6;
  --rose-bg: rgba(244, 114, 182, 0.1);
  
  --text-main: #f8fafc;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-subtle: rgba(255, 255, 255, 0.45);
  
  /* Fonts */
  --font-main: 'Outfit', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --max-width: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Universal WordPress & Plugin Isolation Reset */
html,
body,
body.wp-embed-responsive,
body.custom-background,
.wp-site-blocks,
#page,
#content,
.entry-content,
main {
  font-family: var(--font-main) !important;
  background-color: var(--bg-dark) !important;
  color: var(--text-main) !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  line-height: 1.6 !important;
}

/* Light Mode Overrides */
html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] body.wp-embed-responsive,
html[data-theme="light"] .wp-site-blocks,
html[data-theme="light"] #page,
html[data-theme="light"] #content,
html[data-theme="light"] .entry-content,
html[data-theme="light"] main {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent-gradient);
  box-shadow: 0 0 10px var(--accent);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Page Loader */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#page-loader.out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loader-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(157, 128, 255, 0.15);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

#loader-orb {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.highlight {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--accent-gradient);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(157, 128, 255, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

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

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 0. FLOATING GLASS PILL HEADER NAV ── */
.header-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 920px;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: rgba(15, 15, 26, 0.75);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(157, 128, 255, 0.15);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-pc {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.logo-mobile {
  display: none;
  height: 32px;
  width: 32px;
  object-fit: contain;
  border-radius: 8px;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ── 1. HERO SECTION ── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Ambient Background Blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.45;
  will-change: transform;
}

.hero-blob-1 {
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7b5ff5 0%, rgba(123, 95, 245, 0) 70%);
}

.hero-blob-2 {
  bottom: 0%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #34d399 0%, rgba(52, 211, 153, 0) 70%);
  opacity: 0.25;
}

.hero-blob-3 {
  top: 40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f472b6 0%, rgba(244, 114, 182, 0) 70%);
  opacity: 0.2;
}

.hero-layout {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-trust {
  font-size: 13px;
  color: var(--text-subtle);
}

/* Phone Mockup */
.hero-device-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 320px;
  height: 620px;
  background: #0a0a14;
  border-radius: 44px;
  border: 10px solid #1c1c2e;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(157, 128, 255, 0.2);
  overflow: hidden;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0d0d18;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.phone-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.phone-chat-name {
  font-size: 12px;
  font-weight: 700;
}

.phone-chat-status {
  font-size: 10px;
  color: var(--emerald);
}

.phone-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.pm {
  padding: 8px 12px;
  border-radius: 14px;
  max-width: 82%;
  line-height: 1.4;
}

.pm-user {
  background: rgba(255, 255, 255, 0.1);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.pm-ai {
  background: rgba(157, 128, 255, 0.15);
  border: 1px solid var(--border-accent);
  color: #fff;
  border-bottom-left-radius: 4px;
}

.pm-ai-soft {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 4px;
}

.phone-input-bar {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-subtle);
}

.phone-input-send {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

/* Floating Badges */
.float-badge {
  position: absolute;
  background: rgba(18, 18, 30, 0.85);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(16px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

.hero-fb-1 { top: 12%; left: -40px; }
.hero-fb-2 { bottom: 22%; right: -30px; animation-delay: -1.5s; }
.hero-fb-3 { bottom: 6%; left: -20px; animation-delay: -3s; }

.float-badge-icon { font-size: 20px; }
.float-badge-title { font-size: 12px; font-weight: 700; color: #fff; }
.float-badge-sub { font-size: 10px; color: var(--text-muted); }

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

.scroll-chevron {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-subtle);
  font-size: 24px;
  text-decoration: none;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -8px); }
  60% { transform: translate(-50%, -4px); }
}

/* ── 2. PROBLEM SECTION ── */
.section-problem {
  padding: 100px 24px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-body {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 56px;
}

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

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

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

.compare-card-new {
  border-color: var(--border-accent);
  background: rgba(157, 128, 255, 0.03);
  box-shadow: 0 0 50px rgba(157, 128, 255, 0.08);
}

.compare-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.compare-label.old { color: var(--text-subtle); }
.compare-label.new { color: var(--accent); }

.chat-sim {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.bubble {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  max-width: 88%;
}

.bubble-user {
  background: rgba(255, 255, 255, 0.08);
  align-self: flex-start;
}

.bubble-ai {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  align-self: flex-start;
}

.bubble-Dagja\ AI {
  background: rgba(157, 128, 255, 0.12);
  border: 1px solid var(--border-accent);
  color: #fff;
  align-self: flex-start;
}

.bubble-proactive-pill {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.bubble-ts {
  font-size: 11px;
  color: var(--text-subtle);
  margin-top: 8px;
}

.compare-footer {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.compare-footer.old { color: var(--text-subtle); }
.compare-footer.new { color: var(--accent); }

/* ── 3. PRODUCT & EXPERIENCE GRID ── */
.section-product {
  padding: 100px 24px;
  background: radial-gradient(circle at 50% 50%, rgba(20, 20, 36, 0.8) 0%, var(--bg-dark) 100%);
}

.product-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-header {
  text-align: center;
  margin-bottom: 48px;
}

.feature-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.feat-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

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

.exp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.exp-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 36px rgba(157, 128, 255, 0.12);
}

.exp-visual {
  margin-bottom: 24px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.exp-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.exp-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-cta {
  text-align: center;
  margin-top: 56px;
}

/* ── 4. SOCIAL & GROUP CALLS ── */
.section-social {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color var(--transition-normal);
}

.social-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.social-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(20, 20, 38, 0.9), rgba(12, 12, 24, 0.9));
  border: 1px solid var(--border-accent);
}

.social-card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.social-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.social-card-body {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.social-card-tag {
  background: rgba(157, 128, 255, 0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.social-features-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-feat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.social-feat-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Group AI Toggle Switch */
.ai-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}

.toggle-switch {
  width: 36px;
  height: 20px;
  background: var(--accent);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 18px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.3s ease;
}

.toggle-switch.off {
  background: rgba(255, 255, 255, 0.2);
}

.toggle-switch.off::after {
  left: 2px;
}

/* ── 5. PERSONALITIES SECTION ── */
.section-personalities {
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
}

.personalities-track-wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 48px auto 0;
}

.personalities-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 16px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.personalities-track::-webkit-scrollbar {
  display: none;
}

.pers-card {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: left;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.pers-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.pers-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.pers-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pers-tagline {
  font-size: 11px;
  color: var(--text-subtle);
  margin-bottom: 14px;
}

.pers-bubble {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  border-radius: 8px;
}

.personalities-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pers-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.pers-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent);
}

.personalities-cta-line {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.personalities-cta-line a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* ── 6. CAPABILITIES SECTION ── */
.section-capabilities {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.cap-card.featured-cap {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(24, 24, 44, 0.8), rgba(12, 12, 24, 0.8));
  border-color: var(--border-accent);
}

.cap-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.cap-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cap-body {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cap-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(157, 128, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.cap-preview {
  margin-top: 20px;
}

.cap-url-bar {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cap-url-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.cap-result-row {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 6px;
}

/* ── 7. TESTIMONIALS SECTION ── */
.section-testimonials {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
}

.testimonial-subtitle {
  font-size: 11px;
  color: var(--text-subtle);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 12px;
  font-size: 14px;
}

.testimonial-quote {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── 8. STATS SECTION ── */
.section-stats {
  padding: 60px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-y: 1px solid var(--border-light);
}

.stats-row {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── 9. VISION SECTION ── */
.section-vision {
  padding: 100px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.vision-deco-quote {
  font-size: 120px;
  color: rgba(157, 128, 255, 0.1);
  font-family: serif;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.vision-quote-text {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.vision-attribution {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

/* ── 10. FAQ SECTION ── */
.section-faq {
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-container {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 11. FINAL CTA ── */
.section-cta-premium {
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-p-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(26, 24, 48, 0.9), rgba(14, 14, 28, 0.9));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(157, 128, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-p-orb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.cta-p-orb img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(157, 128, 255, 0.4);
}

.cta-p-orb-core {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 128, 255, 0.6) 0%, rgba(123, 95, 245, 0) 70%);
  animation: orbPulse 3s ease-in-out infinite alternate;
}

@keyframes orbPulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 0.95; }
}

.cta-p-headline {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-p-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 32px;
}

.cta-p-trust {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-subtle);
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ── 12. MODERN FOOTER ── */
.site-footer {
  background: #040408;
  border-top: 1px solid var(--border-light);
  padding: 80px 24px 40px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.25s ease;
}

.social-icon:hover {
  background: var(--accent-gradient);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-subtle);
}

.system-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid var(--emerald-border);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  color: var(--emerald);
  font-weight: 600;
  font-size: 12px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE OPTIMIZATION)
   ========================================================================== */

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

  .hero-text-col {
    align-items: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .comparison-wrap {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 640px) {
  .header-nav {
    top: 12px;
    width: calc(100% - 24px);
  }

  .nav-container {
    padding: 8px 16px;
  }

  .logo-pc {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding-top: 110px;
  }

  .phone-frame {
    width: 280px;
    height: 540px;
  }

  .float-badge {
    display: none; /* Hide floating badges on narrow mobile to keep screen ultra clean */
  }

  .compare-card {
    padding: 20px;
  }

  .social-card {
    padding: 24px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

/* ==========================================================================
   THEME SETUP & LIGHT MODE OVERRIDES
   ========================================================================== */

[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --border-light: rgba(15, 23, 42, 0.08);
  --border-accent: rgba(124, 58, 237, 0.25);
  --border-glow: rgba(124, 58, 237, 0.4);
  
  --accent: #7c3aed;
  --accent-light: #8b5cf6;
  --accent-dark: #6d28d9;
  --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  --accent-glow: rgba(124, 58, 237, 0.2);
  
  --emerald: #059669;
  --emerald-bg: rgba(5, 150, 105, 0.08);
  --emerald-border: rgba(5, 150, 105, 0.2);
  
  --rose: #e11d48;
  --rose-bg: rgba(225, 29, 72, 0.08);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
}

[data-theme="light"] body {
  background-color: #f8fafc;
  color: #0f172a;
}

[data-theme="light"] .header-nav .nav-container {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link {
  color: #334155;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #7c3aed;
}

[data-theme="light"] .hero-sub,
[data-theme="light"] .section-body,
[data-theme="light"] .exp-desc,
[data-theme="light"] .social-card-body,
[data-theme="light"] .cap-body,
[data-theme="light"] .testimonial-quote,
[data-theme="light"] .policy-block p,
[data-theme="light"] .policy-block ul {
  color: #475569;
}

/* Hero Section & Text Contrast Light Mode */
[data-theme="light"] .hero {
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.08) 0%, #f8fafc 75%);
}

[data-theme="light"] .hero-blob-1 {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
}

[data-theme="light"] .hero-blob-2 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .hero-blob-3 {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .hero-brand-title {
  color: #0f172a !important;
}

[data-theme="light"] .highlight {
  background: linear-gradient(135deg, #0f172a 30%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .highlight-accent {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35) !important;
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.5) !important;
  color: #ffffff !important;
}

[data-theme="light"] .btn-secondary {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(124, 58, 237, 0.3);
  color: #7c3aed;
}

[data-theme="light"] .hero-trust {
  color: #64748b;
}

/* Strictly Protect Mockup & Phone Frame from Light Mode Overrides */
[data-theme="light"] .phone-frame {
  background: #0a0a14 !important;
  border-color: #1c1c2e !important;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.25), 0 0 30px rgba(124, 58, 237, 0.15) !important;
}

[data-theme="light"] .phone-screen {
  background: #0d0d18 !important;
  color: #ffffff !important;
}

[data-theme="light"] .phone-statusbar {
  color: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="light"] .phone-chat-header {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="light"] .phone-chat-name {
  color: #ffffff !important;
}

[data-theme="light"] .phone-chat-status {
  color: #34d399 !important;
}

[data-theme="light"] .phone-messages .pm-user {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

[data-theme="light"] .phone-messages .pm-ai-soft {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
}

[data-theme="light"] .phone-messages .pm-ai {
  background: rgba(157, 128, 255, 0.15) !important;
  border-color: rgba(157, 128, 255, 0.25) !important;
  color: #ffffff !important;
}

[data-theme="light"] .phone-input-bar {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

[data-theme="light"] .phone-input-send {
  background: #7c3aed !important;
  color: #ffffff !important;
}

[data-theme="light"] .float-badge {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(124, 58, 237, 0.2) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .float-badge-title {
  color: #0f172a !important;
}

[data-theme="light"] .float-badge-sub {
  color: #64748b !important;
}

[data-theme="light"] .scroll-chevron {
  color: #64748b;
}

[data-theme="light"] .policy-block,
[data-theme="light"] .exp-card,
[data-theme="light"] .social-card,
[data-theme="light"] .cap-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .detail-card,
[data-theme="light"] .pers-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .exp-card:hover,
[data-theme="light"] .social-card:hover,
[data-theme="light"] .cap-card:hover,
[data-theme="light"] .testimonial-card:hover,
[data-theme="light"] .pers-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .compare-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .compare-card-new {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .policy-block h2,
[data-theme="light"] .section-headline,
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3,
[data-theme="light"] .detail-val,
[data-theme="light"] .exp-title,
[data-theme="light"] .social-card-title,
[data-theme="light"] .cap-title,
[data-theme="light"] .testimonial-name {
  color: #0f172a;
}

/* Legal Pages Light Mode Perfection */
[data-theme="light"] .policy-block {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}

[data-theme="light"] .policy-block h2 {
  color: #0f172a !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .policy-block p,
[data-theme="light"] .policy-block li {
  color: #334155 !important;
}

[data-theme="light"] .cookie-cat-card {
  background: rgba(15, 23, 42, 0.03) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
}

[data-theme="light"] .cookie-cat-title {
  color: #7c3aed !important;
}

[data-theme="light"] .browser-item {
  background: rgba(15, 23, 42, 0.04) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
}

[data-theme="light"] .browser-item:hover {
  background: rgba(124, 58, 237, 0.08) !important;
  border-color: #7c3aed !important;
  color: #7c3aed !important;
}

[data-theme="light"] .contact-card-box {
  background: rgba(15, 23, 42, 0.04) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
}

[data-theme="light"] .contact-item {
  color: #334155 !important;
}

[data-theme="light"] .feat-pill {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.15);
  color: #6d28d9;
}

[data-theme="light"] .social-card-tag {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.15);
  color: #6d28d9;
}

[data-theme="light"] .phone-frame {
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .cta-p-card {
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .cta-p-headline {
  color: #0f172a;
}

[data-theme="light"] .cta-p-sub {
  color: #475569;
}

[data-theme="light"] .cta-p-trust {
  color: #64748b;
}

/* Product Section Light Mode */
[data-theme="light"] .section-product {
  background: radial-gradient(circle at 50% 50%, #f1f5f9 0%, #f8fafc 100%);
}

/* Featured Social Card Light Mode */
[data-theme="light"] .social-card.featured {
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.08);
}

/* Chat Bubbles Light Mode */
[data-theme="light"] .bubble-user {
  background: rgba(15, 23, 42, 0.05);
  color: #0f172a;
}

[data-theme="light"] .bubble-ai {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  color: #334155;
}

[data-theme="light"] .bubble-Dagja\ AI {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
  color: #0f172a;
}

/* Footer Light Mode */
[data-theme="light"] .site-footer {
  background: #ffffff;
  color: #0f172a;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .footer-col-title {
  color: #0f172a;
}

[data-theme="light"] .footer-desc {
  color: #475569;
}

[data-theme="light"] .footer-link {
  color: #64748b;
}

[data-theme="light"] .footer-link:hover {
  color: #7c3aed;
}

[data-theme="light"] .social-icon {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
}

[data-theme="light"] .social-icon:hover {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #ffffff;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #64748b;
}

[data-theme="light"] .system-status {
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.2);
  color: #059669;
}

[data-theme="light"] .faq-question {
  color: #0f172a;
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .faq-answer-inner {
  color: #475569;
}

[data-theme="light"] .detail-card {
  background: rgba(15, 23, 42, 0.02);
  border-color: rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .detail-label {
  color: #64748b;
}

[data-theme="light"] .detail-val {
  color: #0f172a;
}

/* Ultra-Modern Glassmorphic Theme Switcher Pill */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 3px;
  width: 60px;
  height: 32px;
  min-width: 60px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  outline: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  margin-right: 4px;
}

.theme-toggle-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-1px);
}

.toggle-track {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  position: relative;
}

.toggle-icon {
  font-size: 11px;
  z-index: 2;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.toggle-icon.sun {
  color: #fbbf24;
}

.toggle-icon.moon {
  color: #94a3b8;
}

.toggle-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.5);
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease;
  pointer-events: none;
}

/* Dark Mode State (Thumb on right, Moon highlighted) */
html[data-theme="dark"] .toggle-thumb,
:root:not([data-theme="light"]) .toggle-thumb {
  transform: translateX(28px);
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.6);
}

html[data-theme="dark"] .toggle-icon.moon,
:root:not([data-theme="light"]) .toggle-icon.moon {
  color: #ffffff;
}

html[data-theme="dark"] .toggle-icon.sun,
:root:not([data-theme="light"]) .toggle-icon.sun {
  color: rgba(255, 255, 255, 0.35);
}

/* Light Mode State (Thumb on left, Sun highlighted) */
html[data-theme="light"] .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .toggle-thumb {
  transform: translateX(0);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
}

html[data-theme="light"] .toggle-icon.sun {
  color: #ffffff;
}

html[data-theme="light"] .toggle-icon.moon {
  color: #64748b;
}

/* Legal Pages & Corporate Card Light Mode Contrast Overrides */
[data-theme="light"] .policy-block {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
  color: #475569 !important;
}

[data-theme="light"] .policy-block h2 {
  color: #0f172a !important;
}

[data-theme="light"] .policy-block strong {
  color: #0f172a !important;
}

[data-theme="light"] .detail-card {
  background: rgba(15, 23, 42, 0.02) !important;
  border-color: rgba(124, 58, 237, 0.15) !important;
}

[data-theme="light"] .detail-label {
  color: #64748b !important;
}

[data-theme="light"] .detail-val,
[data-theme="light"] .detail-val a {
  color: #0f172a !important;
}

[data-theme="light"] .contact-card-box {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
  color: #475569 !important;
}

[data-theme="light"] .contact-card-box div,
[data-theme="light"] .contact-card-box span,
[data-theme="light"] .contact-card-box a {
  color: #0f172a !important;
}

[data-theme="light"] .contact-item {
  color: #475569 !important;
}

[data-theme="light"] .policy-block div[style*="background: rgba(255, 255, 255"] {
  background: rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .policy-block div[style*="color: #ffffff"],
[data-theme="light"] .policy-block div[style*="color:#ffffff"],
[data-theme="light"] .policy-block span[style*="color: #ffffff"],
[data-theme="light"] .policy-block span[style*="color:#ffffff"],
[data-theme="light"] .policy-block a[style*="color: #ffffff"],
[data-theme="light"] .policy-block a[style*="color:#ffffff"] {
  color: #0f172a !important;
}

[data-theme="light"] .review-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}

[data-theme="light"] .review-card-title {
  color: #0f172a !important;
}

[data-theme="light"] .browser-item {
  background: rgba(15, 23, 42, 0.04) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] .browser-item:hover {
  background: rgba(124, 58, 237, 0.08) !important;
  border-color: rgba(124, 58, 237, 0.3) !important;
  color: #7c3aed !important;
}

[data-theme="light"] .cookie-cat-card {
  background: rgba(15, 23, 42, 0.02) !important;
  border-color: rgba(124, 58, 237, 0.15) !important;
  color: #475569 !important;
}

[data-theme="light"] .cookie-cat-title {
  color: #7c3aed !important;
}

