:root {
  /* Modern Web Guidance: Opt-in to intrinsic keyword interpolation */
  interpolate-size: allow-keywords;

  /* Brand Palette from onleeOffice WPF App */
  --primary: #CDDC39;
  --primary-dark: #AFB42B;
  --primary-darker: #827717;
  --primary-light: #F0F4C3;
  --primary-border: #DCE775;

  --accent: #7C4DFF;
  --accent-hover: #651FFF;
  --accent-active: #5E35B1;
  --accent-light: #EDE7F6;
  --accent-subtle: #F5F3FF;

  --bg-page: #F8F9FB;
  --bg-card: #FFFFFF;
  --bg-muted: #F3F4F6;
  --text-main: #212121;
  --text-secondary: #5F6368;
  --text-muted: #757575;
  --border-color: #E5E7EB;
  --border-subtle: #ECEFF1;

  --success: #16A34A;
  --warning: #B45309;
  --warning-bg: #FEF3C7;
  --google-blue: #1A73E8;
  --google-green: #1E8E3E;
  --google-yellow: #F9AB00;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(33, 33, 33, 0.04);
  --shadow-md: 0 10px 28px rgba(33, 33, 33, 0.06);
  --shadow-lg: 0 20px 48px rgba(33, 33, 33, 0.10);
  --shadow-accent: 0 8px 24px rgba(124, 77, 255, 0.25);

  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

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

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text-main);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.brand-tagline {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-top: -2px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 600;
}

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

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn.active {
  background: var(--bg-card);
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.02rem;
  border-radius: 10px;
}

.btn-accent {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-accent:active {
  background: var(--accent-active);
  transform: translateY(0);
}

.btn-store {
  background: #212121;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(33, 33, 33, 0.18);
}

.btn-store:hover {
  background: #000000;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: #E0E4E8;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #F5F6F8;
  border-color: #BDBDBD;
  color: var(--text-main);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--text-main);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-dark);
}

.pro-tag {
  display: inline-flex;
  align-items: center;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 15% 10%, rgba(205, 220, 57, 0.18), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(124, 77, 255, 0.12), transparent 42%),
    var(--bg-page);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 18px 0 20px;
  color: var(--text-main);
}

.hero-title .highlight-purple {
  color: var(--accent);
}

.hero-title .highlight-lime {
  background: linear-gradient(120deg, var(--primary-light) 0%, #E6EE9C 100%);
  padding: 0 10px;
  border-radius: 8px;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-item svg {
  color: var(--primary-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   INTERACTIVE WINDOWS EXPLORER SIMULATOR (HERO RIGHT)
   ========================================================================== */
.simulator-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid #CFD6E0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.sim-top-banner {
  background: linear-gradient(90deg, var(--accent) 0%, #5E35B1 100%);
  color: #FFFFFF;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.sim-reset-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.sim-reset-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.sim-window-bar {
  background: #F1F3F6;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.sim-window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

.sim-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D1D5DB;
}

.sim-toolbar {
  padding: 8px 14px;
  background: #FAFBFD;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sim-address-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-main);
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-sans);
}

.sim-mode-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-mode-btn {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sim-mode-btn.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

.sim-body {
  padding: 18px 16px 14px;
  background: #FFFFFF;
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Windows Explorer Icon Grid */
.sim-explorer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 4px;
}

.sim-icon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 14px 8px 12px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: #FFFFFF;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.sim-icon-tile:hover {
  background: #F3F6FC;
  border-color: #D0DFF7;
}

.sim-icon-tile.is-selected {
  background: #E8F0FE;
  border-color: #93B8F8;
}

.sim-icon-tile.is-converted {
  background: #F9FBE7;
  border-color: var(--primary-border);
}

.sim-icon-tile.is-converted:hover {
  background: #F0F4C3;
  border-color: var(--primary-dark);
}

.sim-icon-wrap {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
}

.sim-file-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08));
}

.sim-dblclick-hint {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(3px);
  transition: all 0.15s ease;
  pointer-events: none;
}

.sim-icon-tile:hover .sim-dblclick-hint,
.sim-icon-tile.is-selected .sim-dblclick-hint {
  opacity: 1;
  transform: translateY(0);
}

.sim-icon-tile.is-converted .sim-dblclick-hint {
  background: var(--primary-darker);
}

.sim-file-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  word-break: break-all;
}

.sim-file-ext-highlight {
  color: var(--accent);
  background: var(--accent-light);
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 800;
}

.sim-file-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Transformation Animation when .xlsx -> .onleesheet */
@keyframes morphFileTile {
  0% {
    transform: scale(0.88);
    box-shadow: 0 0 0 0 rgba(124, 77, 255, 0.55);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 0 0 10px rgba(205, 220, 57, 0);
    background: var(--primary-light);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(205, 220, 57, 0);
  }
}

@keyframes flipIconIn {
  0% {
    transform: rotateY(90deg) scale(0.7);
    opacity: 0;
  }
  60% {
    transform: rotateY(-12deg) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
}

.sim-icon-tile.just-morphed {
  animation: morphFileTile 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-icon-tile.just-morphed .sim-file-icon {
  animation: flipIconIn 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-morph-pill {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #212121;
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

/* Authentic ProgressWindow Overlay Popup */
.sim-transfer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 33, 33, 0.32);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 20;
}

.sim-transfer-overlay[hidden] {
  display: none !important;
}

.sim-progress-popup {
  background: #FFFFFF;
  border: 1px solid #ECEFF1;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(33, 33, 33, 0.25);
  width: 100%;
  max-width: 340px;
  padding: 18px 20px;
  text-align: center;
  animation: popupAppear 0.18s ease-out;
}

@keyframes popupAppear {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.sim-progress-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
}

.sim-progress-header img {
  width: 32px;
  height: 32px;
}

.sim-progress-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #212121;
  line-height: 1.2;
}

.sim-progress-sub {
  font-size: 0.72rem;
  color: #757575;
}

.sim-progress-track {
  height: 6px;
  background: #F0F4C3;
  border-radius: 999px;
  overflow: hidden;
  margin: 15px 0 10px;
  position: relative;
}

.sim-progress-bar {
  height: 100%;
  width: 0%;
  background: #7C4DFF;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.sim-progress-status {
  font-size: 0.76rem;
  font-weight: 600;
  color: #5F6368;
  margin-bottom: 12px;
}

.sim-progress-cancel {
  background: #FFFFFF;
  border: 1px solid #E0E4E8;
  border-radius: 8px;
  padding: 5px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #212121;
  cursor: pointer;
}

.sim-toast {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #212121;
  color: #FFFFFF;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}

.sim-toast-badge {
  background: var(--primary);
  color: #212121;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
  padding: 84px 0;
}

.section-alt {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.06rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   BEFORE / AFTER FLOWCHART (RECREATED FROM DUNOFFICE ILLUSTRATION)
   ========================================================================== */
.flow-comparison {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}

.flow-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
}

.flow-box.flow-with-onlee {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8FF 100%);
  position: relative;
}

.flow-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.flow-box-title {
  font-size: 1.18rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.flow-time-tag {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.flow-time-slow {
  background: #FEE2E2;
  color: #B91C1C;
}

.flow-time-fast {
  background: var(--primary-light);
  color: var(--text-main);
  border: 1px solid var(--primary-border);
}

.flow-steps-old {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.flow-node {
  padding: 16px 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
}

.flow-node-old {
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  color: #3730A3;
}

.flow-arrow-wait {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #9CA3AF;
  font-size: 0.72rem;
  gap: 2px;
}

.flow-steps-new {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  align-items: center;
  gap: 16px;
}

.flow-node-new-start {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-accent);
  padding: 18px 16px;
}

.flow-node-new-end {
  background: var(--primary-light);
  border: 2px solid var(--primary-dark);
  color: var(--text-main);
  padding: 18px 16px;
}

.flow-express-bridge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
}

.flow-express-line {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary-dark) 100%);
  border-radius: 4px;
  position: relative;
}

.flow-express-line::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -5px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--primary-dark);
}

.flow-express-badge {
  background: #FFFFFF;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}

.flow-express-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 8px;
  text-align: center;
}

/* ==========================================================================
   TWO FILE WORLDS: OFFICE CONVERSION + UNIVERSAL FILES
   ========================================================================== */
.dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.feature-card-large {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.icon-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.icon-pair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.icon-pair img {
  width: 26px;
  height: 26px;
}

.ext-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.ext-chip {
  font-family: Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--bg-muted);
  color: var(--text-main);
}

.ext-chip.chip-link {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
}

/* ==========================================================================
   BRIDGE VALUE VS FULL SYNC SECTION
   ========================================================================== */
.bridge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
  background: var(--accent-light);
  color: var(--accent);
}

.value-icon.lime {
  background: var(--primary-light);
  color: var(--primary-darker);
}

.value-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   APP UI & PRO FEATURES SHOWCASE (FAITHFUL WPF REPRODUCTION)
   ========================================================================== */
.pro-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: start;
}

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

.pro-feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.pro-feature-item.active,
.pro-feature-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.pro-feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.pro-feature-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.pro-feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* WPF App Mockup Container (Anonymized MainWindow & UploadOptionsWindow) */
.wpf-mockup-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.wpf-tab-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.wpf-tab-btn.active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.wpf-window {
  background: #F8F9FB;
  border-radius: 18px;
  border: 1px solid #D1D5DB;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.wpf-header {
  padding: 16px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wpf-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wpf-header-left img {
  width: 36px;
  height: 36px;
}

.wpf-app-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #212121;
  line-height: 1.2;
}

.wpf-app-sub {
  font-size: 0.74rem;
  color: #757575;
}

.wpf-card {
  background: #FFFFFF;
  border: 1px solid #ECEFF1;
  border-radius: 14px;
  padding: 16px;
  margin: 0 18px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.wpf-profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wpf-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C4DFF, #387656);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.wpf-user-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #212121;
}

.wpf-user-email {
  font-size: 0.78rem;
  color: #757575;
}

.wpf-user-chrome {
  font-size: 0.75rem;
  font-weight: 600;
  color: #7C4DFF;
  margin-top: 2px;
}

.wpf-combo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.wpf-combo {
  background: #F8F9FA;
  border: 1px solid #E0E4E8;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #212121;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wpf-btn-outline {
  background: #FFFFFF;
  border: 1px solid #E0E4E8;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #212121;
}

.wpf-license-bar {
  margin-top: 10px;
  background: #F9FBE7;
  border: 1px solid #E6EE9C;
  border-radius: 8px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
}

.wpf-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #F1F3F5;
}

.wpf-setting-row:last-child {
  border-bottom: none;
}

.wpf-setting-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #212121;
}

.wpf-setting-desc {
  font-size: 0.72rem;
  color: #757575;
}

.wpf-switch {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #7C4DFF;
  position: relative;
  flex-shrink: 0;
}

.wpf-switch::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  position: absolute;
  top: 3px;
  right: 3px;
}

.wpf-switch.off {
  background: #D1D5DB;
}

.wpf-switch.off::after {
  right: auto;
  left: 3px;
}

.wpf-footer {
  background: #FFFFFF;
  border-top: 1px solid #ECEFF1;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   PRICING SECTION (FREE VS PRO 19€ LIFETIME)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.pro-plan {
  border: 2.5px solid var(--accent);
  box-shadow: var(--shadow-lg);
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8FF 100%);
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--primary);
  border: 1px solid var(--primary-dark);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0 6px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-old {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 600;
}

.price-period {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-anchor-note {
  font-size: 0.82rem;
  background: var(--primary-light);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.pricing-features li .check {
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-features li .pro-check {
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

.activation-steps {
  max-width: 960px;
  margin: 36px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.activation-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 14px;
}

.activation-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ ACCORDION (MODERN WEB GUIDANCE COMPLIANT)
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
}

.faq-trigger:hover {
  color: var(--accent);
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--accent);
  font-weight: 800;
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

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

.faq-panel.is-open {
  block-size: auto;
  block-size: calc-size(auto, size);
}

.faq-panel-inner {
  padding: 0 22px 18px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER & LEGAL PAGES
   ========================================================================== */
.footer {
  background: #18181B;
  color: #D4D4D8;
  padding: 56px 0 36px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #27272A;
}

.footer a {
  color: #A1A1AA;
}

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

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

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #71717A;
  font-size: 0.82rem;
}

.legal-container {
  max-width: 860px;
  margin: 48px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.legal-container h1 {
  margin-top: 0;
  font-size: 2rem;
}

.legal-container h2 {
  font-size: 1.25rem;
  margin-top: 28px;
  color: var(--text-main);
}

.legal-callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary-dark);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

/* ==========================================================================
   RESPONSIVE & REDUCED MOTION
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .dual-cards,
  .bridge-grid,
  .pro-showcase-grid,
  .pricing-grid,
  .activation-steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .flow-steps-old,
  .flow-steps-new {
    grid-template-columns: 1fr;
  }

  .flow-arrow-wait {
    transform: rotate(90deg);
    margin: 4px 0;
  }
}

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