/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #080507;
  --bg-2: #0e0b10;
  --bg-3: #141118;
  --surface: #1c1820;
  --surface-2: #261e2c;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --text: #f8f4ff;
  --text-2: #a898b0;
  --text-3: #6e6075;
  --accent: #f97316;
  --accent-2: #ef4444;
  --accent-3: #f59e0b;
  --green: #10b981;
  --yellow: #f59e0b;
  --red: #ef4444;
  --grad: linear-gradient(135deg, #f97316, #ef4444);
  --grad-2: linear-gradient(135deg, #f59e0b, #f97316);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Syne', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(249,115,22,0.2);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ===== CUSTOM CURSOR ===== */
/* top/left stay 0 — GSAP drives x/y with pixel offsets */
.cursor {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  opacity: 0;
}
.cursor-follower {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(249,115,22,0.55);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  opacity: 0;
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s, opacity 0.3s;
}
.cursor-follower.is-hovering {
  width: 60px; height: 60px;
  border-color: var(--accent);
  background: rgba(249,115,22,0.08);
}
.cursor-follower.is-clicking {
  width: 28px; height: 28px;
  background: rgba(249,115,22,0.2);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px;
  font-size: 14px; font-weight: 600; font-family: var(--font-sans);
  text-decoration: none; border: none; cursor: none;
  white-space: nowrap; position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 20px rgba(249,115,22,0.35);
}
.btn--primary:hover { box-shadow: 0 8px 32px rgba(249,115,22,0.55); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--border-hover); background: var(--surface); }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--xl { padding: 16px 36px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }
.mobile-menu .btn--full { margin: 0 32px; width: calc(100% - 64px); }

/* Prevent GSAP-transformed children from escaping section boundaries.
   Descending z-index so earlier sections cover the pinned HIW on scroll-up. */
.hero, .logos, .features, .how-it-works, .stats, .testimonials, .pricing, .cta-section, footer {
  isolation: isolate;
  position: relative;
}
.hero         { z-index: 5; }
.logos        { z-index: 4; }
.features     { z-index: 3; }
.how-it-works { z-index: 1; }
.stats, .testimonials, .pricing, .cta-section, footer { z-index: 2; }

/* ===== SECTION COMMONS ===== */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 100px; font-size: 12px; font-weight: 600;
  color: #fdba74; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; line-height: 1.15; margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub { font-size: 17px; color: var(--text-2); max-width: 560px; margin: 0 auto; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 20px 32px;
  pointer-events: none;
  transition: padding 0.4s;
}
.nav.scrolled { padding: 12px 32px; }
.nav__inner {
  pointer-events: all;
  max-width: 1020px; margin: 0 auto;
  display: flex; align-items: center;
  background: rgba(5,5,8,0.55);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  padding: 6px 6px 6px 22px;
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.nav.scrolled .nav__inner {
  background: rgba(5,5,8,0.9);
  border-color: rgba(255,255,255,0.13);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(249,115,22,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}
.nav__logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.nav__sep {
  width: 1px; height: 18px; background: var(--border); margin: 0 14px; flex-shrink: 0;
}
.nav__links {
  display: flex; align-items: center; gap: 2px; list-style: none;
  flex: 1; justify-content: center;
}
.nav__link {
  color: var(--text-2); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 7px 13px; border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav__link.active { color: var(--text); background: rgba(249,115,22,0.12); }
.nav__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 8px; margin-left: 2px;
  border-radius: 100px; transition: background 0.2s;
}
.nav__burger:hover { background: rgba(255,255,255,0.06); }
.nav__burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; display: block; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed; inset: 0; background: rgba(5,5,8,0.97); z-index: 999;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__links { list-style: none; text-align: center; }
.mobile-menu__links li { margin-bottom: 8px; }
.mobile-menu__links a {
  font-family: var(--font-display); font-size: 30px; font-weight: 800;
  color: var(--text-2); text-decoration: none; transition: color 0.2s;
  display: block; padding: 8px 0;
}
.mobile-menu__links a:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding: 120px 80px 80px;
  background: var(--bg);
  position: relative; overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(249,115,22,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.3; will-change: transform;
}
.hero__orb--1 { width: 500px; height: 500px; background: #f97316; top: -100px; left: -100px; }
.hero__orb--2 { width: 400px; height: 400px; background: #ef4444; bottom: -80px; right: 200px; }
.hero__orb--3 { width: 300px; height: 300px; background: #f59e0b; top: 200px; right: -50px; }

.hero__content { position: relative; z-index: 2; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.3); border-radius: 100px;
  font-size: 13px; color: #fed7aa; margin-bottom: 20px;
}
.hero__badge-dot {
  width: 7px; height: 7px; background: var(--green);
  border-radius: 50%; box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;box-shadow:0 0 8px var(--green)} 50%{opacity:0.4;box-shadow:0 0 16px var(--green)} }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__subtitle {
  font-size: 16px; color: var(--text-2); line-height: 1.7;
  margin-bottom: 28px; max-width: 480px;
}
.hero__cta { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; flex-wrap: wrap; }
.hero__social-proof { display: flex; align-items: center; gap: 16px; }
.hero__avatars { display: flex; }
.hero__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -10px; object-fit: cover;
}
.hero__avatar:first-child { margin-left: 0; }
.hero__proof-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--text-2); }
.hero__stars { color: var(--yellow); font-size: 13px; letter-spacing: 2px; }
.hero__proof-text strong { color: var(--text); }

/* ===== HERO VISUAL / DASHBOARD ===== */
.hero__visual { position: relative; z-index: 2; }

.dashboard {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.dashboard__header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--bg-3);
}
.dashboard__dots { display: flex; gap: 6px; }
.dashboard__dots span { width: 11px; height: 11px; border-radius: 50%; }
.dashboard__dots span:nth-child(1) { background: #ef4444; }
.dashboard__dots span:nth-child(2) { background: #f59e0b; }
.dashboard__dots span:nth-child(3) { background: #10b981; }
.dashboard__title { font-size: 12px; color: var(--text-3); flex: 1; text-align: center; }
.dashboard__status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); }
.dashboard__status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 6px var(--green); animation: pulse-dot 2s infinite;
}
.dashboard__body { display: flex; }
.dashboard__sidebar {
  width: 140px; padding: 16px 12px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px; flex-shrink: 0;
}
.dashboard__nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 11px; color: var(--text-3); cursor: none;
  transition: background 0.2s, color 0.2s;
}
.dashboard__nav-item--active { background: rgba(249,115,22,0.15); color: #fdba74; }
.dashboard__nav-item:hover { background: var(--surface); color: var(--text); }
.dashboard__main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.dashboard__metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.dashboard__metric {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
}
.dashboard__metric-label { font-size: 10px; color: var(--text-3); display: block; margin-bottom: 6px; }
.dashboard__metric-value { font-size: 18px; font-weight: 700; display: block; font-family: var(--font-display); }
.dashboard__metric-change { font-size: 10px; font-weight: 600; margin-top: 4px; display: block; }
.dashboard__metric-change--up { color: var(--green); }
.dashboard__chart { background: var(--bg-3); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.dashboard__chart-label { font-size: 11px; color: var(--text-3); margin-bottom: 12px; }
.dashboard__bars { display: flex; align-items: flex-end; gap: 5px; height: 60px; }
.dashboard__bar {
  flex: 1; background: rgba(249,115,22,0.25);
  border-radius: 3px 3px 0 0; height: var(--h);
}
.dashboard__bar--active { background: var(--grad); }
.dashboard__workflows { display: flex; flex-direction: column; gap: 8px; }
.dashboard__workflow {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 12px;
}
.dashboard__workflow-icon { font-size: 14px; }
.dashboard__workflow-info { flex: 1; }
.dashboard__workflow-info span { font-size: 11px; color: var(--text-2); display: block; margin-bottom: 5px; }
.dashboard__progress { height: 3px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.dashboard__progress-fill { height: 100%; width: var(--w); background: var(--grad); border-radius: 2px; }
.dashboard__workflow-status { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 100px; }
.dashboard__workflow-status--running { background: rgba(249,115,22,0.15); color: #fdba74; }
.dashboard__workflow-status--active { background: rgba(16,185,129,0.15); color: var(--green); }

/* ===== FLOAT CARDS ===== */
.float-card {
  position: absolute; background: rgba(26,26,40,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.float-card--1 { bottom: -20px; left: -30px; }
.float-card--2 { top: 20px; right: -30px; }
.float-card__icon { font-size: 20px; }
.float-card__title { font-size: 13px; font-weight: 600; color: var(--text); }
.float-card__sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ===== HERO PILLS ===== */
.hero__pill {
  position: absolute;
  background: rgba(18,18,28,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 16px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(249,115,22,0.1);
  z-index: 3; min-width: 200px;
}
/* Pills sit over the right (dashboard) column — never over the text */
.hero__pill--1 { right: 30%; top: 20%; }
.hero__pill--2 { right: 1%;  top: 42%; }
.hero__pill--3 { right: 24%; bottom: 9%; }
.hero__pill-icon { font-size: 22px; flex-shrink: 0; }
.hero__pill-val {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1;
}
.hero__pill-label { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ===== SCROLL HINT ===== */
.hero__scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; color: var(--text-3); letter-spacing: 0.1em; z-index: 3;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(249,115,22,0.6), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%,100%{transform:scaleY(1);opacity:1} 50%{transform:scaleY(0.5);opacity:0.3}
}

/* ===== LOGOS ===== */
.logos {
  padding: 40px 0; background: var(--bg);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logos__label { text-align: center; font-size: 13px; color: var(--text-3); margin-bottom: 28px; letter-spacing: 0.05em; }
.logos__track { overflow: hidden; position: relative; }
.logos__track::before, .logos__track::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1;
}
.logos__track::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.logos__track::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.logos__inner { display: flex; gap: 60px; align-items: center; width: max-content; animation: logos-scroll 20s linear infinite; }
.logos__item { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text-3); white-space: nowrap; }
@keyframes logos-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== FEATURES ===== */
.features { padding: 120px 0; overflow: hidden; background: var(--bg); }
.features__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.feature-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: rgba(249,115,22,0.35); box-shadow: 0 12px 48px rgba(249,115,22,0.14); }
.feature-card:hover::before { opacity: 1; }

.feature-card__img {
  width: 100%; height: 160px; overflow: hidden; position: relative;
}
.feature-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.6) saturate(0.7);
}
.feature-card:hover .feature-card__img img { transform: scale(1.06); }
.feature-card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-2));
}

.feature-card__icon {
  width: 48px; height: 48px;
  background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin: 24px 24px 16px;
}
.feature-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 0 24px 8px; }
.feature-card p  { font-size: 14px; color: var(--text-2); line-height: 1.65; margin: 0 24px 14px; }
.feature-card__tag {
  display: inline-block; padding: 4px 10px; margin: 0 24px 24px;
  background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.2);
  border-radius: 100px; font-size: 11px; color: #fdba74; font-weight: 600;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg-2); }
.how-it-works__sticky-wrap { position: relative; }
.how-it-works__pin {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; padding: 120px 80px; max-width: 1200px; margin: 0 auto;
}
.hiw__steps { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; }
.hiw__step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  border: 1px solid transparent; transition: background 0.3s, border-color 0.3s; cursor: none;
}
.hiw__step--active { background: rgba(249,115,22,0.08); border-color: rgba(249,115,22,0.2); }
.hiw__step-num {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; flex-shrink: 0;
}
.hiw__step-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.hiw__step-content p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.hiw__screens { position: relative; }
.hiw__screen { position: absolute; top: 0; left: 0; right: 0; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.hiw__screen:first-child { position: relative; }
.hiw__screen--active { opacity: 1; pointer-events: auto; }
.hiw__screen-inner {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-lg);
}
.hiw__connect-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.hiw__connect-title, .hiw__builder-title, .hiw__results-title {
  font-size: 14px; font-weight: 700; color: var(--text-2);
}
.hiw__builder-title, .hiw__results-title { margin-bottom: 20px; }
.hiw__connect-count {
  font-size: 11px; font-weight: 600; color: var(--green);
  background: rgba(16,185,129,0.1); padding: 3px 10px; border-radius: 100px;
}
.hiw__connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hiw__app {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color 0.25s, background 0.25s;
}
.hiw__app:hover { background: var(--surface-2); }
.hiw__app--connected { border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.04); }
.hiw__app--connecting { border-color: rgba(249,115,22,0.3); background: rgba(249,115,22,0.04); }
.hiw__app-left { display: flex; align-items: center; gap: 10px; }
.hiw__app-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hiw__app-info { display: flex; flex-direction: column; gap: 1px; }
.hiw__app-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.2; }
.hiw__app-desc { font-size: 10px; color: var(--text-3); line-height: 1.2; }
.hiw__app-status {
  font-size: 10px; font-weight: 600; display: flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 100px; white-space: nowrap; flex-shrink: 0;
}
.hiw__app-status--connected { color: var(--green); background: rgba(16,185,129,0.12); }
.hiw__app-status--syncing { color: var(--accent); background: rgba(249,115,22,0.1); }
.hiw__app-status--add {
  width: 26px; height: 26px; padding: 0;
  border-radius: 50%; border: 1.5px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); background: transparent; transition: border-color 0.2s, color 0.2s;
}
.hiw__app:hover .hiw__app-status--add { border-color: var(--accent); color: var(--accent); }
.hiw__app-loader {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(249,115,22,0.3); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to{transform:rotate(360deg)} }
.hiw__flow { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hiw__node {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1.5px solid;
}
.hiw__node--trigger { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.3); color: #fcd34d; }
.hiw__node--action  { background: rgba(249,115,22,0.1);  border-color: rgba(249,115,22,0.3);  color: #fdba74; }
.hiw__node--end     { background: rgba(16,185,129,0.1);  border-color: rgba(16,185,129,0.3);  color: #6ee7b7; }
.hiw__flow-arrow { color: var(--text-3); font-size: 18px; }
.hiw__result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-2);
}
.hiw__result-item:last-child { border-bottom: none; }
.hiw__result-icon { font-size: 16px; }
.hiw__result-badge {
  margin-left: auto; padding: 3px 8px;
  border-radius: 100px; font-size: 11px; font-weight: 600;
}
.hiw__result-badge--green  { background: rgba(16,185,129,0.15); color: var(--green); }
.hiw__result-badge--blue   { background: rgba(245,158,11,0.15);  color: var(--accent-3); }
.hiw__result-badge--purple { background: rgba(249,115,22,0.15); color: #fdba74; }

/* ===== STATS ===== */
.stats { padding: 100px 0; overflow: hidden; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
.stat-item { text-align: center; }
.stat-item__value {
  font-family: var(--font-display); font-size: clamp(40px,5vw,60px);
  font-weight: 800; line-height: 1.15; margin-bottom: 12px;
}
.stat-item__value .stat-counter {
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  display: inline-block; padding: 0 6px;
}
.stat-item__label { font-size: 14px; color: var(--text-3); }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 120px 0; background: var(--bg-2); overflow: hidden; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column; gap: 20px;
}
.testimonial-card:hover { border-color: rgba(249,115,22,0.3); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(249,115,22,0.1); }
.testimonial-card--featured {
  background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(239,68,68,0.08));
  border-color: rgba(249,115,22,0.3);
}
.testimonial-card__stars { color: var(--yellow); font-size: 14px; letter-spacing: 3px; }
.testimonial-card__quote { font-size: 15px; line-height: 1.75; color: var(--text); flex: 1; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__author img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(249,115,22,0.3);
}
.testimonial-card__author strong { display: block; font-size: 14px; font-weight: 700; }
.testimonial-card__author span { font-size: 12px; color: var(--text-3); }

/* ===== PRICING ===== */
.pricing { padding: 120px 0; overflow: hidden; }
.pricing__toggle { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 56px; }
.pricing__toggle-btn {
  padding: 8px 20px; border-radius: 100px;
  border: 1.5px solid var(--border); background: transparent;
  color: var(--text-2); font-size: 14px; font-weight: 500;
  cursor: none; font-family: var(--font-sans);
  display: flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.pricing__toggle-btn--active { background: var(--surface); color: var(--text); border-color: var(--border-hover); }
.pricing__save {
  background: rgba(16,185,129,0.15); color: var(--green);
  padding: 2px 8px; border-radius: 100px; font-size: 11px; font-weight: 600;
}
.pricing__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pricing-card {
  background: var(--bg-2); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px; position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card--popular {
  border-color: rgba(249,115,22,0.5);
  box-shadow: 0 0 0 1px rgba(249,115,22,0.2), 0 8px 48px rgba(249,115,22,0.15);
  background: linear-gradient(135deg, rgba(249,115,22,0.06), var(--bg-2));
}
.pricing-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  padding: 6px 18px; border-radius: 100px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.pricing-card__header { margin-bottom: 28px; }
.pricing-card__name { font-size: 16px; font-weight: 700; color: var(--text-2); margin-bottom: 12px; display: block; }
.pricing-card__price { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 8px; }
.pricing-card__currency { font-size: 20px; font-weight: 700; padding-bottom: 6px; }
.pricing-card__amount { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pricing-card__period { font-size: 14px; color: var(--text-3); padding-bottom: 8px; }
.pricing-card__header p { font-size: 13px; color: var(--text-3); }
.pricing-card__features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.pricing-card__features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.check { color: var(--green); font-size: 14px; font-weight: 700; }
.muted { color: var(--text-3); }

/* ===== CTA ===== */
.cta-section { padding: 120px 0; position: relative; overflow: hidden; background: var(--bg-2); }
.cta-section__bg { position: absolute; inset: 0; pointer-events: none; }
.cta-section__orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.2; }
.cta-section__orb--1 { width: 600px; height: 600px; background: #f97316; top: -200px; left: -100px; }
.cta-section__orb--2 { width: 400px; height: 400px; background: #ef4444; bottom: -100px; right: -100px; }
.cta-section__inner { position: relative; z-index: 1; text-align: center; }
.cta-section__title {
  font-family: var(--font-display); font-size: clamp(40px,6vw,72px);
  font-weight: 800; line-height: 1.1; margin-bottom: 20px;
}
.cta-section__title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-section__sub { font-size: 18px; color: var(--text-2); margin: 0 auto 40px; max-width: 500px; }
.cta-section__actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.cta-section__note { font-size: 13px; color: var(--text-3); }

/* ===== FOOTER ===== */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.footer__top { display: flex; gap: 80px; margin-bottom: 60px; }
.footer__brand { max-width: 260px; }
.footer__brand p { font-size: 14px; color: var(--text-3); margin: 16px 0 24px; line-height: 1.6; }
.footer__social { display: flex; gap: 16px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-3); text-decoration: none; transition: background 0.2s, color 0.2s;
}
.footer__social a:hover { background: var(--surface-2); color: var(--text); }
.footer__links { display: flex; gap: 60px; flex: 1; justify-content: flex-end; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.footer__col a { font-size: 14px; color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3);
}

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed; inset: 0; background: var(--bg); z-index: 99999;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px;
}
.page-loader__logo {
  font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-loader__bar {
  width: 200px; height: 2px; background: rgba(249,115,22,0.2); border-radius: 1px; overflow: hidden;
}
.page-loader__bar-fill {
  height: 100%; background: var(--grad); width: 0%; border-radius: 1px; transition: width 0.05s linear;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); z-index: 9999;
  transform-origin: left; transform: scaleX(0); will-change: transform;
}

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

/* ---- Compact desktop nav (1025–1200px) ---- */
@media (max-width: 1200px) {
  .nav { padding: 18px 24px; }
  .nav__inner { max-width: 100%; }
}

/* ---- Compact nav at tablet-ish ---- */
@media (max-width: 1100px) {
  .nav { padding: 16px 20px; }
  .nav__sep { display: none; }
  .nav__links { gap: 0; padding: 0 8px; }
  .nav__link { padding: 6px 10px; font-size: 13px; }
  .btn--sm { padding: 7px 14px; font-size: 12px; }
}

/* ---- Large tablet layout ---- */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .hero { grid-template-columns: 1fr; padding: 120px 40px 80px; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__social-proof { justify-content: center; }
  .hero__visual { display: none; }
  .hero__pill { display: none; }
  .features { padding: 100px 0; }
  .features__grid { grid-template-columns: repeat(2,1fr); }
  .how-it-works__pin { gap: 60px; padding: 100px 40px; }
  .stats { padding: 80px 0; }
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .stat-item__value { font-size: clamp(32px, 4vw, 56px); }
  .testimonials { padding: 100px 0; }
  .testimonials__grid { grid-template-columns: repeat(2,1fr); }
  .pricing { padding: 100px 0; }
  .pricing__grid { gap: 16px; }
  .pricing-card { overflow: hidden; }
  .cta-section { padding: 100px 0; }
  .footer__top { flex-direction: column; gap: 48px; }
  .footer__links { gap: 40px; }
  .footer__brand { max-width: 100%; }
}

/* ---- Nav collapses to burger ---- */
@media (max-width: 900px) {
  .nav { padding: 12px 16px; }
  .nav.scrolled { padding: 10px 16px; }
  .nav__inner { border-radius: 14px; padding: 10px 10px 10px 16px; max-width: 100%; }
  .nav__links, .nav__actions, .nav__sep { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .pricing__grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
}

/* ---- Mobile layout ---- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* Hero */
  .hero { padding: 88px 24px 60px; }
  .hero__title { font-size: clamp(30px, 8vw, 44px); }
  .hero__subtitle { font-size: 15px; max-width: 100%; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn--lg { padding: 12px 22px; font-size: 14px; }

  /* Section commons */
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(24px, 6.5vw, 34px); }
  .section-sub { font-size: 15px; }

  /* Features */
  .features { padding: 72px 0; }
  .features__grid { grid-template-columns: 1fr; }

  /* How It Works — force all screens visible, override GSAP inline styles */
  .how-it-works__pin { grid-template-columns: 1fr; padding: 60px 24px; gap: 32px; }
  .hiw__steps { gap: 6px; margin-top: 24px; }
  .hiw__screens { height: auto !important; min-height: 0 !important; position: relative; }
  .hiw__screen {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    margin-top: 12px;
    display: block !important;
  }
  .hiw__screen:first-child { margin-top: 0 !important; }

  /* Stats */
  .stats { padding: 60px 0; }
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .stat-item__value { font-size: clamp(22px, 5.5vw, 38px); }
  .stat-item__label { font-size: 13px; }

  /* Testimonials */
  .testimonials { padding: 72px 0; }
  .testimonials__grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing { padding: 72px 0; }
  .pricing__grid { grid-template-columns: 1fr !important; }
  .pricing__toggle { margin-bottom: 36px; }

  /* CTA */
  .cta-section { padding: 72px 0; }
  .cta-section__title { font-size: clamp(28px, 7vw, 48px); overflow-wrap: break-word; }
  .cta-section__sub { font-size: 15px; }
  .cta-section__actions { flex-direction: column; align-items: stretch; }
  .cta-section__actions .btn { justify-content: center; }

  /* Footer */
  .footer { padding: 60px 0 32px; }
  .footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .footer__col { min-width: 0; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Cursor off, pointer back on */
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
  .btn, .nav__burger, .pricing__toggle-btn, .hiw__step,
  .feature-card, .pricing-card, .testimonial-card { cursor: pointer; }
  .nav__burger:focus { outline: none; }
}

/* ---- Small mobile ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav { padding: 10px 12px; }
  .nav__inner { padding: 8px 8px 8px 14px; border-radius: 12px; }
  .hero { padding: 80px 16px 48px; }
  .hero__title { font-size: clamp(26px, 9.5vw, 36px); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .stat-item__value { font-size: clamp(20px, 5.5vw, 30px); }
  .pricing-card { padding: 28px 20px; }
  .pricing-card__amount { font-size: 42px; }
  .testimonial-card { padding: 24px 20px; }
  .how-it-works__pin { padding: 48px 16px; }
  .hiw__connect-grid { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .mobile-menu__links a { font-size: 26px; }
}
