/* ============================================================
   TaskForge — Landing page (Linear-style, dark)
   Akcent: pomarańcz #e85d04 → #ff9e40 → #ffba08
   ============================================================ */

:root {
  --bg:           #08090A;
  --bg-2:         #0E0F11;
  --surface:      #121315;
  --surface-2:   #17181B;
  --border:       #1F2023;
  --border-2:    #2A2B2F;
  --text:         #F7F8F8;
  --text-dim:    #C7C8CC;
  --text-muted:   #8A8F98;
  --text-faint:   #5E6066;

  --accent:       #e85d04;
  --accent-2:     #ff9e40;
  --accent-3:     #ffba08;
  --accent-soft:  rgba(232, 93, 4, 0.16);
  --accent-glow:  rgba(255, 158, 64, 0.35);

  --grad-warm:    linear-gradient(135deg, #ffba08 0%, #ff9e40 40%, #e85d04 100%);
  --grad-warm-soft: linear-gradient(135deg, #ffd166 0%, #ff9e40 60%, #f48c06 100%);

  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --nav-h:        64px;
  --maxw:         1180px;

  --shadow-sm:    0 1px 2px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.04);
  --shadow:       0 8px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.04);
  --shadow-lg:    0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  --shadow-glow:  0 0 80px rgba(232, 93, 4, .15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  letter-spacing: -0.01em;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

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

/* ============================================================
   BACKGROUND — gradient mesh + glow + grid
   ============================================================ */

.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-mesh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}

.bg-mesh-glow-1 {
  width: 700px; height: 700px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(232,93,4,0.45) 0%, transparent 70%);
  animation: float-1 22s ease-in-out infinite;
}
.bg-mesh-glow-2 {
  width: 600px; height: 600px;
  top: 30%; right: -180px;
  background: radial-gradient(circle, rgba(255,158,64,0.30) 0%, transparent 70%);
  animation: float-2 26s ease-in-out infinite;
}
.bg-mesh-glow-3 {
  width: 500px; height: 500px;
  bottom: 10%; left: 30%;
  background: radial-gradient(circle, rgba(255,186,8,0.22) 0%, transparent 70%);
  animation: float-3 30s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, 80px) scale(0.95); }
}
@keyframes float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -100px) scale(1.05); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}

/* Mouse-follow spotlight */
.mouse-spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,93,4,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s var(--ease);
  opacity: 0;
  filter: blur(40px);
  will-change: transform;
}
body:hover .mouse-spotlight { opacity: 1; }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8, 9, 10, 0.6);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled {
  background: rgba(8, 9, 10, 0.85);
  border-bottom-color: var(--border);
}

.nav-inner {
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--grad-warm);
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(232, 93, 4, .3);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-around;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8, 9, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile a {
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-dim);
  font-weight: 500;
}
.nav-mobile a:hover { background: rgba(255,255,255,.04); color: var(--text); }
.nav-mobile hr { border: none; border-top: 1px solid var(--border); margin: 8px 0; }
body.nav-open .nav-mobile { display: flex; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s var(--ease-out);
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 4px 16px rgba(232, 93, 4, .35), 0 1px 2px rgba(0,0,0,.3);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 60%);
  opacity: 1;
  pointer-events: none;
}
.btn-primary:hover {
  background: #ff7020;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px rgba(232, 93, 4, .5), 0 2px 4px rgba(0,0,0,.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-2);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
}

/* ============================================================
   REVEAL ANIMATIONS (IntersectionObserver toggles .is-in)
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 28px;
  transition: all .2s var(--ease);
}
.hero-pill:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border-2);
  color: var(--text);
}
.hero-pill-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.grad {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-soft {
  background: var(--grad-warm-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 80px;
}

/* Hero mockup */
.hero-mockup {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.mockup-glow {
  position: absolute;
  inset: -40px -10% 20%;
  background: radial-gradient(ellipse at center top, rgba(232,93,4,.35) 0%, transparent 60%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}
.mockup-frame {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mockup-titlebar .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.mockup-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  min-height: 440px;
}

.mockup-side {
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mockup-side-logo {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 8px;
  color: var(--text);
}
.mockup-side-section {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mockup-side-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  padding: 6px 8px;
  font-weight: 600;
}
.mockup-side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font-size: 12.5px;
  color: var(--text-dim);
  border-radius: 6px;
  cursor: pointer;
}
.mockup-side-item.active {
  background: rgba(232,93,4,0.12);
  color: var(--text);
}
.ms-ico { width: 16px; text-align: center; }
.ms-ico-color {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.mockup-main {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.mockup-h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mockup-h-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.mockup-task {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all .2s var(--ease);
}
.mockup-task:hover {
  border-color: var(--border-2);
}
.mockup-task.active {
  background: linear-gradient(135deg, rgba(232,93,4,0.08), transparent 50%);
  border-color: rgba(232,93,4,0.3);
}
.mockup-check {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border-2);
  border-radius: 6px;
  margin-top: 1px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-check.checked {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.mockup-check svg { width: 12px; height: 12px; }

.mockup-task-body { flex: 1; min-width: 0; }
.mockup-task-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-task-title.done {
  color: var(--text-faint);
  text-decoration: line-through;
}
.mockup-task-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.mt-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  color: var(--c);
  border-radius: 999px;
  font-weight: 500;
  font-size: 10.5px;
}
.mt-time { font-variant-numeric: tabular-nums; }
.mt-prio {
  background: rgba(232,93,4,0.15);
  color: var(--accent-2);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
}
.mt-avatar {
  width: 18px; height: 18px;
  background: #3b82f6;
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mockup-progress {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  margin-top: 8px;
  overflow: hidden;
}
.mockup-progress span {
  display: block;
  height: 100%;
  background: var(--grad-warm);
  border-radius: 99px;
  animation: progress-grow 2s var(--ease-out) forwards;
}
@keyframes progress-grow {
  from { width: 0; }
}

.mockup-aside {
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mockup-stat-label,
.mockup-timer-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-weight: 600;
}
.mockup-stat-val {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 10px;
}
.mockup-stat-val small { font-size: 14px; color: var(--text-muted); margin: 0 2px; }
.mockup-stat-bar {
  display: flex;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 99px;
  overflow: hidden;
  gap: 1px;
}
.mockup-stat-bar span {
  display: block;
  height: 100%;
}
.mockup-timer {
  padding: 14px;
  background: linear-gradient(135deg, rgba(232,93,4,0.12), rgba(232,93,4,0.04));
  border: 1px solid rgba(232,93,4,0.25);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.mockup-timer-clock {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 4px 0;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.mockup-timer-task {
  font-size: 12px;
  color: var(--text-dim);
}
.mockup-timer-pulse {
  position: absolute;
  top: 14px; right: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(232,93,4,0.7);
  animation: pulse-ring 1.6s ease-out infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(232,93,4,0.7); }
  100% { box-shadow: 0 0 0 14px rgba(232,93,4,0); }
}

.hero-trust {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-trust-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  font-weight: 600;
}
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.hero-trust-row .dot { color: var(--text-faint); }

/* ============================================================
   SECTION HEADS
   ============================================================ */

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */

.features {
  position: relative;
  padding: 120px 0;
  z-index: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .25s var(--ease-out);
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(232,93,4,0.08), transparent 50%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.feat-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.feat-card:hover::before { opacity: 1; }

.feat-ico {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(232,93,4,0.18), rgba(255,158,64,0.06));
  border: 1px solid rgba(232,93,4,0.25);
  border-radius: 12px;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.feat-ico svg { width: 22px; height: 22px; }

.feat-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.feat-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   BIG FEATURE BLOCKS
   ============================================================ */

.bigfeat {
  position: relative;
  padding: 80px 0 120px;
  z-index: 2;
}

.bigfeat-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.bigfeat-row.reverse {
  grid-template-columns: 1.1fr 1fr;
}
.bigfeat-row.reverse .bigfeat-text { order: 2; }
.bigfeat-row.reverse .bigfeat-visual { order: 1; }

.bigfeat-text .section-eyebrow { margin-bottom: 12px; }
.bigfeat-text .section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.bigfeat-text .section-sub { font-size: 16px; margin-bottom: 28px; }

.bigfeat-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bigfeat-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dim);
}
.bigfeat-bullets .check {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,93,4,0.15);
  color: var(--accent-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.visual-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.visual-card::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(232,93,4,0.18) 0%, transparent 60%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

/* Workspace visual */
.workspace-visual { padding: 18px; }
.vc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.vc-title { font-size: 15px; font-weight: 700; }
.vc-avatars { display: flex; }
.vc-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  border: 2px solid var(--surface);
  margin-left: -6px;
}
.vc-avatar.more { background: var(--surface-2); color: var(--text-muted); }
.vc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vc-col {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
}
.vc-col-h {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vc-col-h span {
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--text-muted);
}
.vc-task {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.vc-task.pulse {
  border-color: rgba(232,93,4,0.4);
  box-shadow: 0 0 0 0 rgba(232,93,4,0.3);
  animation: pulse-ring-small 2.4s ease-out infinite;
}
@keyframes pulse-ring-small {
  0% { box-shadow: 0 0 0 0 rgba(232,93,4,0.35); }
  100% { box-shadow: 0 0 0 10px rgba(232,93,4,0); }
}
.vc-task.done { opacity: 0.55; }
.vc-task.done .vct-title { text-decoration: line-through; }
.vct-title { color: var(--text); }
.vct-assignee {
  width: 18px; height: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Timer visual */
.timer-visual { text-align: center; padding: 30px 24px; }
.tv-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 600;
}
.tv-clock {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 8px 0 4px;
  line-height: 1;
}
.tv-task {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.tv-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.tv-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s var(--ease);
}
.tv-btn:hover { border-color: var(--accent); color: var(--text); }
.tv-btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(232,93,4,.35);
}
.tv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.tv-stat { display: flex; flex-direction: column; gap: 2px; }
.tv-stat-num {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.tv-stat-lbl { font-size: 10.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.tv-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}
.tv-chart span {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 4px 4px 0 0;
  transition: height .6s var(--ease-out);
}
.tv-chart span.now {
  background: var(--grad-warm);
  box-shadow: 0 -4px 16px rgba(232,93,4,.35);
}

/* Timetable visual */
.timetable-visual { padding: 18px; }
.tt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.tt-school { font-size: 13px; font-weight: 700; }
.tt-week { font-size: 11.5px; color: var(--text-muted); }
.tt-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.tt-day { display: flex; flex-direction: column; gap: 4px; }
.tt-day-h {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  font-weight: 600;
  text-align: center;
  padding: 4px 0;
}
.tt-slot {
  padding: 8px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tt-slot small { font-size: 9.5px; font-weight: 500; opacity: 0.85; }
.tt-slot.c1 { background: linear-gradient(135deg, #e85d04, #ff7020); }
.tt-slot.c2 { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.tt-slot.c3 { background: linear-gradient(135deg, #22c55e, #4ade80); }
.tt-slot.c4 { background: linear-gradient(135deg, #a855f7, #c084fc); }
.tt-slot.c5 { background: linear-gradient(135deg, #ec4899, #f472b6); }

/* ============================================================
   METRICS
   ============================================================ */

.metrics {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.metric { text-align: center; }
.metric-num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.metric-num small { font-size: 24px; }
.metric-lbl {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   PRICING TEASER
   ============================================================ */

.pricing-tz {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}
.pricing-tz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.pricing-tz-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.pricing-tz-card.featured {
  background: linear-gradient(180deg, rgba(232,93,4,0.08), rgba(232,93,4,0.02));
  border-color: rgba(232,93,4,0.4);
  box-shadow: 0 0 60px rgba(232,93,4,0.15);
  transform: scale(1.03);
}
.ptz-tag {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-warm);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ptz-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.ptz-price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.ptz-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
  letter-spacing: 0;
}
.ptz-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pricing-tz-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}
.pricing-tz-card li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
}
.pricing-tz-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}
.pricing-tz-card li.off {
  color: var(--text-faint);
}
.pricing-tz-card li.off::before {
  content: '×';
  color: var(--text-faint);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  padding: 80px 0 120px;
  position: relative;
  z-index: 2;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq-item:hover { border-color: var(--border-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform .25s var(--ease);
}
.faq-item[open] .faq-ico { transform: rotate(45deg); color: var(--accent-2); }
.faq-item p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta {
  padding: 60px 0 120px;
  position: relative;
  z-index: 2;
}
.cta-box {
  position: relative;
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-glow {
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232,93,4,0.4) 0%, transparent 50%);
  filter: blur(80px);
  z-index: 0;
}
.cta-box > *:not(.cta-glow) { position: relative; z-index: 1; }
.cta-box h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-box p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color .15s var(--ease);
}
.footer-col a:hover { color: var(--text); }
.footer-bot {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-faint);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .mockup-body { grid-template-columns: 160px 1fr 200px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .bigfeat-row,
  .bigfeat-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .bigfeat-row.reverse .bigfeat-text { order: 1; }
  .bigfeat-row.reverse .bigfeat-visual { order: 2; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .pricing-tz-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-tz-card.featured { transform: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .hero { padding: calc(var(--nav-h) + 48px) 0 48px; }
  .hero-meta { margin-bottom: 48px; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-side, .mockup-aside { display: none; }
  .features { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-card { padding: 22px; }
  .bigfeat { padding: 40px 0 80px; }
  .metrics { padding: 40px 0; }
  .metrics-row { grid-template-columns: 1fr 1fr; padding: 24px; }
  .metric-num { font-size: 34px; }
  .pricing-tz, .faq { padding: 80px 0; }
  .cta { padding: 40px 0 80px; }
  .cta-box { padding: 40px 22px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bot { flex-direction: column; gap: 8px; text-align: center; }
}

/* Respect motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* === Logo mark — real logo.svg inside gradient bg === */
.nav-logo-mark img {
  width: 16px;
  height: 16px;
  display: block;
}
.nav-logo-mark {
  overflow: hidden;
  color: #fff;
}
