/* ============================================
   UTasko Landing Page — Main Stylesheet
   Aesthetic: Refined Geometric SaaS
   ============================================ */

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #3B82F6;
  --green: #10B981;
  --green-dark: #059669;
  --amber: #F59E0B;
  --red: #EF4444;
  --purple: #8B5CF6;

  --dark-900: #0F172A;
  --dark-800: #1E293B;
  --dark-700: #334155;
  --dark-600: #475569;
  --dark-500: #64748B;
  --dark-400: #94A3B8;
  --dark-300: #CBD5E1;
  --dark-200: #E2E8F0;
  --dark-100: #F1F5F9;
  --dark-50: #F8FAFC;
  --white: #FFFFFF;

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Onest', system-ui, sans-serif;

  --container: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 8px 32px rgba(15,23,42,0.12);
  --shadow-xl: 0 16px 48px rgba(15,23,42,0.16);
  --shadow-glow: 0 0 60px rgba(37,99,235,0.15);
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; background: var(--dark-900); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-800);
  background: var(--dark-50);
  overflow-x: hidden;
}
body.front-page { background: var(--dark-900); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; }

/* ---- LAYOUT ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; }
.section {
  padding: 100px 0;
  position: relative;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}
.btn-primary.btn-white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.btn-primary.btn-white:hover {
  background: var(--dark-100);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1.5px solid var(--dark-300);
  color: var(--dark-800);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37,99,235,0.04);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  color: var(--dark-600);
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.btn-ghost:hover { color: var(--blue); background: rgba(37,99,235,0.06); }
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.35s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-200);
  padding: 10px 0;
}
.site-header.scrolled .logo-text { color: var(--dark-900); }
.site-header.scrolled .main-nav a { color: var(--dark-600); }
.site-header.scrolled .main-nav a:hover { color: var(--blue); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  transition: color 0.35s ease;
}
.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  transition: all 0.25s ease;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions .btn-ghost { color: rgba(255,255,255,0.8); }
.site-header.scrolled .header-actions .btn-ghost { color: var(--dark-600); }
.header-actions .btn-primary { box-shadow: none; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.site-header.scrolled .mobile-toggle span { background: var(--dark-800); }

/* Sub-pages: header on light background by default */
body:not(.front-page) .site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-200);
}
body:not(.front-page) .logo-text { color: var(--dark-900); }
body:not(.front-page) .main-nav a { color: var(--dark-600); }
body:not(.front-page) .main-nav a:hover { color: var(--blue); }
body:not(.front-page) .header-actions .btn-ghost { color: var(--dark-600); }
body:not(.front-page) .mobile-toggle span { background: var(--dark-800); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark-900);
  overflow: hidden;
  padding-top: 80px;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content { padding: 40px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-light);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue-light) 0%, #818CF8 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--dark-400);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-ctas .btn-outline {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
}
.hero-ctas .btn-outline:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat-item { text-align: left; }
.stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.stat-plus { font-family: var(--font-display); font-size: 20px; color: var(--blue-light); font-weight: 600; }
.stat-label { display: block; font-size: 13px; color: var(--dark-500); margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: var(--dark-700); }

/* ---- HERO MOCKUP ---- */
.hero-visual { position: relative; perspective: 1200px; }
.mockup-window {
  background: var(--dark-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.mockup-window:hover { transform: rotateY(0deg) rotateX(0deg); }
.mockup-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dots i:nth-child(1) { background: #EF4444; }
.mockup-dots i:nth-child(2) { background: #F59E0B; }
.mockup-dots i:nth-child(3) { background: #10B981; }
.mockup-title { font-size: 12px; color: var(--dark-400); }
.mockup-body { padding: 16px; }

.kanban-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kanban-col { min-width: 0; }
.kanban-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-300);
  margin-bottom: 10px;
  padding: 0 4px;
}
.kanban-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.kanban-count {
  margin-left: auto;
  background: rgba(255,255,255,0.06);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 11px;
  color: var(--dark-500);
}
.kanban-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.kanban-card:hover { border-color: rgba(37,99,235,0.3); background: rgba(37,99,235,0.04); }
.kanban-card.card-active { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.04); }
.kanban-card.card-done { border-color: rgba(16,185,129,0.15); }
.kanban-card.card-dim { opacity: 0.55; }
.kanban-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-blue { background: rgba(37,99,235,0.15); color: var(--blue-light); }
.tag-purple { background: rgba(139,92,246,0.15); color: #A78BFA; }
.tag-green { background: rgba(16,185,129,0.15); color: var(--green); }
.tag-orange { background: rgba(245,158,11,0.15); color: var(--amber); }
.kanban-card p { font-size: 12px; color: var(--dark-300); line-height: 1.4; margin-bottom: 8px; }
.kanban-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--dark-500);
}
.kanban-priority { width: 6px; height: 6px; border-radius: 50%; }
.priority-high { background: var(--red); }
.priority-medium { background: var(--amber); }
.priority-low { background: var(--green); }

/* Floating badges */
.mockup-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(30,41,59,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-200);
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.mockup-float-1 { bottom: -20px; left: -30px; animation-delay: 0s; }
.mockup-float-2 { top: 30px; right: -25px; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dark-500);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ---- SECTION HEADERS ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--dark-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--dark-500);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- PAIN POINTS ---- */
.section-pain { background: var(--white); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.pain-card {
  padding: 36px 28px;
  background: var(--dark-50);
  border: 1px solid var(--dark-200);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
}
.pain-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--blue);
  transform: translateY(-4px);
}
.pain-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(139,92,246,0.08));
  border-radius: 14px;
  color: var(--blue);
  margin-bottom: 20px;
}
.pain-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 10px;
}
.pain-card p { font-size: 14px; color: var(--dark-500); line-height: 1.65; }
.pain-transition {
  text-align: center;
  font-size: 17px;
  color: var(--dark-600);
}
.pain-transition strong { color: var(--blue); }

/* ---- FEATURES ---- */
.section-features { background: var(--dark-50); }
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block-reverse .feature-text { order: 2; }
.feature-block-reverse .feature-visual { order: 1; }
.feature-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  opacity: 0.6;
}
.feature-text h3 {
  font-size: 26px;
  color: var(--dark-900);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.feature-text p {
  font-size: 15px;
  color: var(--dark-500);
  margin-bottom: 20px;
  line-height: 1.7;
}
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--dark-200);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-700);
}
.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Feature Mockups */
.feat-mock {
  background: var(--white);
  border: 1px solid var(--dark-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.fmt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.fmt-status {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.fmt-status-progress { background: rgba(245,158,11,0.12); color: var(--amber); }
.fmt-priority {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  padding: 4px 10px;
  background: rgba(239,68,68,0.08);
  border-radius: 6px;
}
.fmt-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-900);
  margin-bottom: 14px;
}
.fmt-assignee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--dark-600);
  margin-bottom: 16px;
}
.fmt-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.fmt-progress {
  height: 6px;
  background: var(--dark-100);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.fmt-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 3px;
  transition: width 1s ease;
}
.fmt-sub { font-size: 12px; color: var(--dark-400); }

/* Project mockup */
.fmt-project-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.fmt-project-icon { font-size: 28px; }
.fmt-project-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-900);
}
.fmt-project-meta { font-size: 12px; color: var(--dark-400); margin-top: 2px; }
.fmt-team-row {
  display: flex;
  gap: -4px;
  margin-bottom: 20px;
}
.fmt-team-row .fmt-avatar { margin-left: -4px; border: 2px solid var(--white); }
.fmt-team-row .fmt-avatar:first-child { margin-left: 0; }
.fmt-avatar-more { background: var(--dark-300); color: var(--dark-600); font-size: 10px; }
.fmt-mini-bars { display: flex; flex-direction: column; gap: 10px; }
.fmt-mini-bar { position: relative; }
.fmt-mini-bar span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--blue);
}
.fmt-mini-bar small { font-size: 11px; color: var(--dark-500); margin-top: 4px; display: block; }

/* Kanban mini mockup */
.fmt-kanban-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.fmt-k-col { min-width: 0; }
.fmt-k-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--dark-600);
  margin-bottom: 8px;
}
.fmt-k-head span { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.fmt-k-card {
  height: 36px;
  background: var(--dark-100);
  border: 1px solid var(--dark-200);
  border-radius: 8px;
  margin-bottom: 6px;
}
.fmt-k-active { border-color: var(--amber); background: rgba(245,158,11,0.06); }
.fmt-k-done { border-color: var(--green); background: rgba(16,185,129,0.06); }

/* Dept tree mockup */
.fmt-dept-tree { text-align: center; }
.fmt-dept-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--dark-100);
  border: 1px solid var(--dark-200);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-800);
}
.fmt-dept-node small { font-weight: 400; color: var(--dark-400); }
.fmt-dept-root { background: var(--blue); color: var(--white); border-color: var(--blue); margin-bottom: 20px; }
.fmt-dept-branches {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.fmt-dept-branches::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background: var(--dark-300);
}
.fmt-dept-branch { position: relative; }
.fmt-dept-branch::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 10px;
  background: var(--dark-300);
}

/* Org switcher mockup */
.fmt-org-switcher { display: flex; flex-direction: column; gap: 8px; }
.fmt-org-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--dark-200);
  border-radius: 12px;
  transition: all 0.25s ease;
}
.fmt-org-active { border-color: var(--blue); background: rgba(37,99,235,0.03); }
.fmt-org-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.fmt-org-item strong { font-size: 14px; color: var(--dark-900); display: block; }
.fmt-org-item small { font-size: 12px; color: var(--dark-400); }
.fmt-org-check { margin-left: auto; color: var(--blue); font-weight: 700; }

/* Leader dashboard mockup */
.fmt-leader-stats { display: flex; gap: 16px; margin-bottom: 20px; }
.fmt-lstat {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  background: var(--dark-50);
  border-radius: 10px;
}
.fmt-lstat-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.fmt-lstat small { font-size: 11px; color: var(--dark-500); display: block; margin-top: 2px; }
.fmt-leader-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 80px;
  padding-top: 8px;
}
.fmt-chart-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: height 1s ease;
}
.fmt-chart-bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--dark-400);
}

/* ---- HOW IT WORKS ---- */
.section-how { background: var(--white); }
.steps-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step-item {
  text-align: center;
  padding: 0 24px;
  max-width: 220px;
}
.step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.step-item h3 {
  font-size: 16px;
  color: var(--dark-900);
  margin-bottom: 8px;
}
.step-item p { font-size: 13px; color: var(--dark-500); line-height: 1.6; }
.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--dark-300));
  margin-top: 23px;
  flex-shrink: 0;
  border-radius: 1px;
}

/* ---- ECOSYSTEM ---- */
.section-ecosystem { background: var(--dark-50); }
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.eco-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--dark-200);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.35s ease;
}
.eco-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.eco-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.06);
  border-radius: 14px;
  margin: 0 auto 16px;
  color: var(--blue);
}
.eco-card h4 { font-size: 15px; color: var(--dark-900); margin-bottom: 8px; }
.eco-card p { font-size: 13px; color: var(--dark-500); line-height: 1.6; }

/* ---- PRICING ---- */
.section-pricing { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  padding: 36px 28px;
  background: var(--dark-50);
  border: 1.5px solid var(--dark-200);
  border-radius: var(--radius-xl);
  position: relative;
  transition: all 0.35s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card-popular {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--blue);
  transform: scale(1.04);
  z-index: 2;
}
.price-card-popular:hover { transform: scale(1.04) translateY(-4px); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-header { margin-bottom: 20px; }
.price-header h3 {
  font-size: 20px;
  color: var(--dark-900);
  margin-bottom: 4px;
}
.price-desc { font-size: 13px; color: var(--dark-500); }
.price-amount { margin-bottom: 28px; }
.price-val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--dark-900);
}
.price-period { font-size: 15px; color: var(--dark-500); }
.price-currency {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-900);
}
.price-features { margin-bottom: 28px; }
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--dark-700);
  border-bottom: 1px solid var(--dark-100);
}
.price-features li:last-child { border-bottom: none; }
.price-features li svg { flex-shrink: 0; }
.price-feature-disabled { color: var(--dark-400) !important; }

/* ---- FAQ ---- */
.section-faq { background: var(--dark-50); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--dark-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq-item.active { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-900);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}
.faq-question:hover { color: var(--blue); }
.faq-icon { transition: transform 0.3s ease; flex-shrink: 0; color: var(--dark-400); }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--blue); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--dark-500);
  line-height: 1.7;
}

/* ---- FINAL CTA ---- */
.section-cta {
  background: linear-gradient(135deg, var(--dark-900) 0%, #1a2744 50%, var(--blue-dark) 100%);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.2), transparent 60%);
  pointer-events: none;
}
.section-cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}
.section-cta p {
  font-size: 17px;
  color: var(--dark-400);
  margin-bottom: 36px;
  position: relative;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark-900);
  padding: 64px 0 32px;
  color: var(--dark-400);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--white); font-size: 18px; }
.footer-desc { font-size: 13px; line-height: 1.7; color: var(--dark-500); max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-300);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--dark-500); transition: color 0.25s ease; }
.footer-col a:hover { color: var(--blue-light); }
.footer-socials { display: flex; gap: 12px; margin-top: 4px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  color: var(--dark-400);
  transition: all 0.25s ease;
}
.footer-socials a:hover { background: rgba(37,99,235,0.15); color: var(--blue-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--dark-500); }
.footer-legal a:hover { color: var(--blue-light); }

/* ---- PAGE CONTENT (Block Editor) ---- */
.page-content .page-title {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--dark-900);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.entry-content {
  font-size: 16px;
  color: var(--dark-700);
  line-height: 1.8;
}
.entry-content h2 { font-size: 28px; color: var(--dark-900); margin: 32px 0 16px; }
.entry-content h3 { font-size: 22px; color: var(--dark-900); margin: 24px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 16px 0; padding-left: 24px; }
.entry-content li { margin-bottom: 8px; }
.entry-content img { border-radius: var(--radius); margin: 24px 0; }
.entry-content a { color: var(--blue); }
.entry-content a:hover { text-decoration: underline; }

/* ---- REVEAL ANIMATIONS ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 550px; margin: 0 auto; }
  .mockup-window { transform: none; }
  .mockup-float-1 { left: 10px; bottom: -10px; }
  .mockup-float-2 { right: 10px; top: 10px; }

  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block-reverse .feature-text { order: 0; }
  .feature-block-reverse .feature-visual { order: 0; }
  .feat-mock { max-width: 450px; margin: 0 auto; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card-popular { transform: none; }
  .price-card-popular:hover { transform: translateY(-4px); }

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

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .main-nav, .header-actions { display: none; }
  .mobile-toggle { display: flex; }

  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-900);
    padding: 100px 32px 32px;
    gap: 0;
    z-index: 999;
  }
  .main-nav.mobile-open a {
    color: var(--white);
    font-size: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .pain-grid { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .steps-timeline { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 32px; background: linear-gradient(180deg, var(--blue), var(--dark-300)); margin: 0; }

  .hero h1 { font-size: 28px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }

  .kanban-board { grid-template-columns: 1fr 1fr; }
  .kanban-board .kanban-col:nth-child(3) { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 60px; }
  .hero h1 { font-size: 24px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-outline { width: 100%; justify-content: center; }
  .mockup-float { display: none; }
  .price-card { padding: 28px 20px; }
}
