/* ==========================================================================
   NEZTDO VS. CLICKUP - DEDICATED COMPETITOR COMPARISON STYLESHEET
   Brand Palette:
   - Primary Background: #FFFBF5 (Warm off-white)
   - Card Surfaces: #FFFFFF (White)
   - Brand Primary: #3568FF (Royal Blue)
   - Brand Hover: #2252DF
   - Text Primary: #191919 (Dark navy / near-black)
   - Text Secondary: #555555
   - Text Muted: #7E7E7E
   - Borders: #E7E1D8 / #EFE9E0
   - Pale Blue Accents: #EEF4FF / #F5F8FF
   - Green Highlights: #10B981 / #ECFDF5
   - Headings: Poppins, sans-serif
   - Body: Inter, -apple-system, sans-serif
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #FFFBF5;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F9F6F0;
  --bg-surface-alt: #F4EFE6;
  --bg-pale-blue: #EEF4FF;
  --bg-neztdo-col: #F5F8FF;

  --text-primary: #191919;
  --text-secondary: #525866;
  --text-muted: #7E8494;
  --text-inverted: #FFFFFF;

  --brand-primary: #3568FF;
  --brand-hover: #2252DF;
  --brand-active: #1A44C4;
  --brand-light: #EEF2FF;
  --brand-border: #BFD3FF;

  --accent-green: #10B981;
  --accent-green-bg: #ECFDF5;
  --accent-green-border: rgba(16, 185, 129, 0.25);
  --accent-red: #EF4444;
  --accent-red-bg: #FEF2F2;
  --accent-red-border: rgba(239, 68, 68, 0.25);
  --accent-purple: #8B5CF6;
  --accent-purple-bg: #F5F3FF;
  --accent-amber: #F59E0B;
  --accent-amber-bg: #FFFBEB;

  --border-color: #E7E1D8;
  --border-subtle: #EFE9E0;
  --border-strong: #D5CDC0;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(25, 25, 25, 0.05);
  --shadow-md: 0 4px 14px -2px rgba(25, 25, 25, 0.08), 0 2px 6px -1px rgba(25, 25, 25, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(25, 25, 25, 0.09), 0 4px 12px -2px rgba(25, 25, 25, 0.03);
  --shadow-xl: 0 20px 48px -8px rgba(25, 25, 25, 0.12);
  --shadow-neztdo: 0 8px 24px -4px rgba(53, 104, 255, 0.18);

  --transition-fast: 0.16s ease;
  --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Common Spacing */
.compare-section {
  padding: 100px 0;
  position: relative;
  scroll-margin-top: 90px;
}

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

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand-primary);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-eyebrow svg {
  width: 13px;
  height: 13px;
}

.section-headline {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.18;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: var(--text-inverted);
  border: 1px solid var(--brand-primary);
  box-shadow: 0 2px 8px rgba(53, 104, 255, 0.25);
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  border-color: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(53, 104, 255, 0.35);
  color: var(--text-inverted);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: #F8F5EE;
  border-color: var(--border-strong);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--brand-primary);
  border: 1px solid #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

.btn-white:hover {
  background-color: #F4F7FF;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: var(--brand-hover);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   2. STICKY NAVIGATION BAR
   ========================================================================== */
.navbar-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 251, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar-header.scrolled {
  background-color: rgba(255, 251, 245, 0.98);
  border-bottom-color: var(--border-color);
  box-shadow: 0 4px 20px -2px rgba(25, 25, 25, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

/* Desktop Menu */
.nav-desktop-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-primary);
  background-color: rgba(0, 0, 0, 0.04);
}

/* Compare Dropdown Item */
.nav-dropdown-item {
  position: relative;
}

.nav-dropdown-trigger {
  border: 1px solid transparent;
}

.nav-dropdown-trigger[aria-expanded="true"],
.nav-dropdown-item:hover .nav-dropdown-trigger {
  color: var(--brand-primary);
  background-color: var(--brand-light);
  border-color: var(--brand-border);
}

.dropdown-arrow-icon {
  transition: transform var(--transition-fast);
}

.nav-dropdown-trigger[aria-expanded="true"] .dropdown-arrow-icon,
.nav-dropdown-item:hover .dropdown-arrow-icon {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1010;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.nav-dropdown-item:hover .nav-dropdown-menu,
.nav-dropdown-item:focus-within .nav-dropdown-menu,
.nav-dropdown-menu.show {
  display: flex;
}

.dropdown-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.dropdown-menu-link:hover,
.dropdown-menu-link:focus {
  background-color: var(--bg-surface-subtle);
  color: var(--brand-primary);
}

.dropdown-tool-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.dropdown-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-current-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-primary);
  background-color: var(--brand-light);
  padding: 1px 6px;
  border-radius: 4px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dropdown-menu-link.active-page {
  background-color: var(--bg-pale-blue);
  border: 1px solid var(--brand-border);
}

.dropdown-menu-link.active-page span:first-child {
  font-weight: 600;
  color: var(--brand-primary);
}

/* Nav Actions Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-signin-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.nav-signin-link:hover {
  color: var(--text-primary);
}

/* Scroll Progress Track */
.nav-scroll-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
}

.nav-scroll-progress-fill {
  width: 0%;
  height: 100%;
  background-color: var(--brand-primary);
  transition: width 0.1s ease-out;
}

/* Mobile Hamburger Toggle */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.mobile-toggle-btn[aria-expanded="true"] .line-1 {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle-btn[aria-expanded="true"] .line-2 {
  opacity: 0;
}

.mobile-toggle-btn[aria-expanded="true"] .line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background-color: rgba(25, 25, 25, 0.45);
  backdrop-filter: blur(4px);
  z-index: 999;
}

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

.mobile-drawer-content {
  background-color: var(--bg-surface);
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-compare-submenu {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.mobile-compare-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.mobile-compare-link.active-page {
  color: var(--brand-primary);
  font-weight: 600;
}

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

/* ==========================================================================
   3. HERO SECTION — AT A GLANCE
   ========================================================================== */
.hero-section {
  padding: 70px 0 90px 0;
  position: relative;
  overflow: hidden;
}

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

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand-primary);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-headline {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hero-headline-accent {
  color: var(--brand-primary);
  display: block;
  margin-top: 4px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

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

.hero-trust-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust-text svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Hero Right Column: Layered Product UI Cards */
.hero-illustration-wrap {
  position: relative;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.product-canvas {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 480px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9F6F0 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
}

.canvas-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.canvas-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.canvas-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--accent-green-bg);
  color: var(--accent-green);
  border: 1px solid var(--accent-green-border);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.canvas-badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-green);
}

/* Layered Cards inside Canvas */
.ui-flow-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.ui-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.ui-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
}

/* Card 1: Epic / Story Card */
.epic-card {
  border-left: 4px solid var(--brand-primary);
  position: relative;
}

.ui-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ui-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-epic {
  background-color: var(--brand-light);
  color: var(--brand-primary);
}

.tag-pts {
  background-color: var(--bg-surface-subtle);
  color: var(--text-secondary);
  font-weight: 600;
}

.ui-card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* Connector Line */
.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -4px 0;
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 600;
}

.flow-connector-line {
  height: 16px;
  width: 2px;
  background-color: var(--brand-border);
  margin: 0 auto;
}

/* Card 2: Sprint Planning Board Card */
.sprint-board-card {
  border-left: 4px solid var(--accent-purple);
  background: #FCFAFF;
}

.sprint-progress-bar {
  width: 100%;
  height: 8px;
  background-color: #E9E4F5;
  border-radius: 4px;
  margin: 10px 0 8px 0;
  overflow: hidden;
}

.sprint-progress-fill {
  width: 88%;
  height: 100%;
  background-color: var(--accent-purple);
  border-radius: 4px;
}

.sprint-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Card 3: Ticket with Assigned Roles */
.ticket-role-card {
  border-left: 4px solid var(--accent-green);
}

.role-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
}

.role-pill-frontend {
  background-color: #EFF6FF;
  color: #1D4ED8;
  border-color: #DBEAFE;
}

.role-pill-backend {
  background-color: #ECFDF5;
  color: #047857;
  border-color: #D1FAE5;
}

.role-pill-qa {
  background-color: #FAF5FF;
  color: #7E22CE;
  border-color: #F3E8FF;
}

/* Card 4: Floating Status Pill / Badge */
.floating-stat-card {
  position: absolute;
  bottom: -22px;
  right: -16px;
  background-color: var(--bg-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-neztdo);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatGentle 4s ease-in-out infinite alternate;
}

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

.stat-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stat-text-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-text-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   4. SECTION — WHY TEAMS LEAVE CLICKUP (THE "SETUP TAX")
   ========================================================================== */
.setup-tax-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.setup-tax-content {
  display: flex;
  flex-direction: column;
}

.highlight-statement-box {
  background-color: var(--brand-light);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin-top: 28px;
}

.highlight-statement-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.45;
}

/* Split Visual: Complexity vs. Clarity */
.tax-visual-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tax-state-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.tax-state-card:hover {
  transform: translateY(-2px);
}

.state-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.state-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.state-badge-danger {
  background-color: var(--accent-red-bg);
  color: var(--accent-red);
  border: 1px solid var(--accent-red-border);
}

.state-badge-success {
  background-color: var(--accent-green-bg);
  color: var(--accent-green);
  border: 1px solid var(--accent-green-border);
}

.state-title {
  font-size: 17px;
  font-weight: 700;
}

/* Complexity Visual Elements (Conceptual) */
.state-complexity {
  background: #FFFDFC;
  border-color: #F3D9D9;
}

.chaos-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chaos-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background-color: #FFF6F6;
  border: 1px dashed #F8B4B4;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: #991B1B;
}

.chaos-item-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: var(--accent-red);
  color: #FFFFFF;
}

/* Clarity Visual Elements */
.state-clarity {
  background: #FCFDFF;
  border: 2px solid var(--brand-border);
  box-shadow: var(--shadow-neztdo);
}

.clarity-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clarity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--brand-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.clarity-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-green-bg);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   5. SIDE-BY-SIDE COMPARISON MATRIX
   ========================================================================== */
.table-outer-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
}

.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 780px;
}

/* Table Headers */
.comparison-matrix-table th {
  padding: 24px 28px;
  font-family: var(--font-heading);
  vertical-align: bottom;
  border-bottom: 1px solid var(--border-color);
}

.th-feature-col {
  width: 30%;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Neztdo Prominent Column Header */
.th-neztdo-col {
  width: 38%;
  background-color: var(--bg-neztdo-col);
  border-left: 2px solid var(--brand-border);
  border-right: 2px solid var(--brand-border);
  position: relative;
}

.neztdo-col-header-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.neztdo-flat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: var(--brand-primary);
  color: #FFFFFF;
}

.neztdo-brand-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.th-brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.th-brand-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary);
}

/* ClickUp Header */
.th-clickup-col {
  width: 32%;
  background-color: #FAFAFA;
}

.clickup-brand-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clickup-logo-img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}

.clickup-brand-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Table Body Rows */
.comparison-matrix-table td {
  padding: 20px 28px;
  font-size: 15px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.comparison-matrix-table tr:hover td {
  background-color: #FAF8F2;
}

.comparison-matrix-table tr:hover td.td-neztdo {
  background-color: #EDF3FF;
}

.td-feature-title {
  font-weight: 600;
  color: var(--text-primary);
}

/* Neztdo Cell Styling */
.td-neztdo {
  background-color: var(--bg-neztdo-col);
  border-left: 2px solid var(--brand-border);
  border-right: 2px solid var(--brand-border);
  color: var(--text-primary);
  font-weight: 500;
}

.td-neztdo-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon-blue {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--brand-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 12px;
}

/* ClickUp Cell Styling */
.td-clickup {
  color: var(--text-secondary);
}

/* Highlighted Pricing Row */
.tr-pricing-highlight {
  background-color: #F8FBFF;
}

.tr-pricing-highlight td {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 2px solid var(--brand-border);
  border-bottom: 2px solid var(--brand-border);
}

.tr-pricing-highlight .td-feature-title {
  font-size: 16px;
  color: var(--brand-primary);
  font-weight: 700;
}

.pricing-bold-neztdo {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-primary);
}

/* Pricing Callout Beneath Table */
.pricing-callout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.pricing-callout-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.callout-neztdo {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F8FF 100%);
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-neztdo);
}

.callout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.callout-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.badge-neztdo-blue {
  background-color: var(--brand-primary);
  color: #FFFFFF;
}

.badge-neutral {
  background-color: var(--bg-surface-subtle);
  color: var(--text-secondary);
}

.callout-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.callout-price-big {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.callout-price-big.color-blue {
  color: var(--brand-primary);
}

.callout-price-period {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

.callout-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Accuracy & Disclaimer Box */
.pricing-disclaimer-box {
  margin-top: 24px;
  padding: 16px 20px;
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
}

/* ==========================================================================
   6. DEEP DIVE — COMPLEXITY VS. RADICAL SIMPLICITY (WORKFLOW CLARITY)
   ========================================================================== */
.workflow-clarity-section {
  padding: 100px 0;
}

/* Horizontal Workflow Diagram */
.workflow-pipeline-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  overflow-x: auto;
}

.pipeline-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 820px;
  position: relative;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: all var(--transition-base);
}

.pipeline-step:hover .step-circle {
  background-color: var(--brand-light);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: scale(1.08);
}

.step-circle.active-step {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

.step-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-subtext {
  font-size: 12px;
  color: var(--text-muted);
}

.pipeline-arrow {
  color: var(--brand-border);
  flex-shrink: 0;
  margin: 0 -8px 30px -8px;
}

/* Central Workflow Hierarchy Diagram */
.hierarchy-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.hierarchy-item-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 24px;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.hierarchy-item-card:hover {
  transform: translateX(4px);
  border-color: var(--brand-border);
  box-shadow: var(--shadow-md);
}

.hierarchy-badge-col {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hierarchy-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.pill-epic { background-color: #EEF4FF; color: #1D4ED8; }
.pill-story { background-color: #FAF5FF; color: #7E22CE; }
.pill-sprint { background-color: #ECFDF5; color: #047857; }
.pill-ticket { background-color: #FFFBEB; color: #B45309; }

.hierarchy-info-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.hierarchy-info-col p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.hierarchy-status-col {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-green);
  background-color: var(--accent-green-bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* Key Takeaway Statement */
.takeaway-banner-card {
  margin-top: 56px;
  background: linear-gradient(135deg, #1C2438 0%, #111827 100%);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-xl);
}

.takeaway-eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93C5FD;
  margin-bottom: 12px;
}

.takeaway-headline {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  max-width: 820px;
  margin: 0 auto;
}

/* ==========================================================================
   7. DEEP DIVE — PER-SEAT PRICING VS. FLAT RATE (FINANCIAL PREDICTABILITY)
   ========================================================================== */
.pricing-calc-container {
  max-width: 1040px;
  margin: 0 auto;
}

/* Team Size Interactive Controller */
.team-slider-control-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
  text-align: center;
}

.slider-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.slider-label-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.team-count-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--brand-light);
  border: 1px solid var(--brand-border);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-primary);
}

.slider-range-wrap {
  position: relative;
  margin: 24px 0 20px 0;
}

.custom-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E5E0D6;
  outline: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(53, 104, 255, 0.4);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-ticks-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Quick Presets Buttons */
.slider-presets-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.preset-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.preset-btn:hover {
  border-color: var(--brand-border);
  color: var(--brand-primary);
}

.preset-btn.active {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

/* Comparison Cards Grid */
.pricing-interactive-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

/* Card A: ClickUp / Per Seat */
.card-per-seat {
  background: #FCFBFA;
  border-color: #E8E2D8;
}

.pricing-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  align-self: flex-start;
}

.badge-gray {
  background-color: #F0ECE4;
  color: var(--text-secondary);
}

.pricing-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pricing-card-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pricing-calc-value-wrap {
  margin: 18px 0 24px 0;
  padding: 20px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.calc-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.calc-price-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.calc-period {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

.calc-annual-total {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.pricing-card-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-top: 10px;
}

.pricing-card-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Card B: Neztdo Flat Rate (Prominent) */
.card-neztdo-flat {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F8FF 100%);
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-neztdo);
}

.badge-neztdo-best {
  background-color: var(--brand-primary);
  color: #FFFFFF;
}

.calc-price-number.color-brand {
  color: var(--brand-primary);
}

.savings-highlight-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent-green-bg);
  border: 1px solid var(--accent-green-border);
  color: #047857;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  margin-top: 14px;
}

/* ==========================================================================
   8. FINAL CONVERSION BANNER
   ========================================================================== */
.final-cta-section {
  padding: 80px 0 100px 0;
}

.final-cta-card {
  background: linear-gradient(135deg, #2557E8 0%, #1A44C4 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(37, 87, 232, 0.25);
}

.cta-headline {
  font-size: 42px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 18px;
}

.cta-description {
  font-size: 18px;
  color: #E0EAFF;
  max-width: 640px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: #CFE0FF;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta-trust-items span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer-wrap {
  background-color: #FAF6EE;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 40px 0;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.footer-valprop {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

.footer-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-link.active-page {
  color: var(--brand-primary);
  font-weight: 600;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-headline {
    font-size: 40px;
  }

  .setup-tax-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-interactive-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .pricing-callout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desktop-menu,
  .nav-actions {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .compare-section {
    padding: 70px 0;
  }

  .section-headline {
    font-size: 30px;
  }

  .hero-headline {
    font-size: 34px;
  }

  .hero-description {
    font-size: 16px;
  }

  .cta-headline {
    font-size: 30px;
  }

  .final-cta-card {
    padding: 40px 24px;
  }

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

  .floating-stat-card {
    position: static;
    margin-top: 16px;
    animation: none;
  }

  .hierarchy-item-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
