/* ============================================================
   FLUXBIT — Product Marketing Site
   Style: Minimal white, Inter font, 4 accent colors
   ============================================================ */

/* --- Variables --- */
:root {
  --indigo: #005FC5;
  --indigo-light: #E6F0FB;
  --cyan: #FF6A00;
  --cyan-light: #FFF0E6;
  --emerald: #009E54;
  --emerald-light: #E6F6EE;
  --amber: #FFA500;
  --amber-light: #FFF4E0;

  --black: #111827;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;

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

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);

  --nav-h: 68px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--black);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--gray-500); }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--indigo);
  color: var(--white);
}
.btn-primary:hover {
  background: #004fa8;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
#navbar.scrolled {
  border-color: var(--gray-200);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: auto;
  height: 32px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--black);
  background: var(--gray-100);
}
.nav-cta { margin-left: 16px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  text-align: center;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo-light);
  color: var(--indigo);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
}
.hero-headline {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 12px;
}
.hero-sub {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: transparent;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--cyan) 35%, var(--emerald) 70%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.hero-screen {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

/* Browser mockup frame */
.browser-frame {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.06);
  overflow: hidden;
}
.browser-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--gray-400);
  font-family: 'Inter', monospace;
}
.browser-body {
  background: var(--white);
  padding: 0;
  min-height: 400px;
}

/* ============================================================
   APP MOCKUP - Inbox
   ============================================================ */
.app-mockup {
  display: flex;
  height: 440px;
  overflow: hidden;
}
.app-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: default;
}
.sidebar-item.active {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}
.sidebar-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}
.sidebar-count {
  margin-left: auto;
  background: var(--indigo);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
}
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.app-toolbar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
}
.tab-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  cursor: default;
}
.tab-active { background: var(--black); color: white; }
.tab-inactive { background: var(--gray-100); color: var(--gray-500); }
.email-list { flex: 1; overflow: hidden; }
.email-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-100);
  cursor: default;
}
.email-row:hover { background: var(--gray-50); }
.email-row.unread { background: #fafbff; }
.email-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
}
.email-content { flex: 1; min-width: 0; }
.email-from {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
}
.email-subject {
  font-size: 0.75rem;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.email-preview {
  font-size: 0.7rem;
  color: var(--gray-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.email-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.email-time {
  font-size: 0.68rem;
  color: var(--gray-400);
}
.badge {
  font-size: 0.63rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-action { background: var(--amber-light); color: #7a4800; }
.badge-info { background: var(--indigo-light); color: var(--indigo); }
.badge-waiting { background: var(--emerald-light); color: #00622f; }
.badge-urgent { background: #fee2e2; color: #991b1b; }

/* ============================================================
   COME FUNZIONA
   ============================================================ */
#come-funziona {
  padding: 100px 0;
  background: var(--gray-50);
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 40px);
  right: calc(16.66% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan), var(--emerald));
  opacity: 0.3;
  z-index: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
  z-index: 1;
  transition: box-shadow 0.2s, transform 0.2s;
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.step-num-1 { background: var(--indigo-light); color: var(--indigo); }
.step-num-2 { background: var(--cyan-light); color: var(--cyan); }
.step-num-3 { background: var(--emerald-light); color: var(--emerald); }
.step-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.step-card p { font-size: 0.9rem; }

/* ============================================================
   FEATURES
   ============================================================ */
#features {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.feature-cell {
  padding: 36px 32px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.15s;
}
.feature-cell:hover { background: var(--gray-50); }
.feature-cell:nth-child(3), .feature-cell:nth-child(6) { border-right: none; }
.feature-cell:nth-child(4), .feature-cell:nth-child(5), .feature-cell:nth-child(6) { border-bottom: none; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fi-indigo { background: var(--indigo-light); }
.fi-cyan { background: var(--cyan-light); }
.fi-emerald { background: var(--emerald-light); }
.fi-amber { background: var(--amber-light); }
.feature-cell h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-cell p { font-size: 0.875rem; line-height: 1.65; }

/* ============================================================
   SCREENSHOTS
   ============================================================ */
#screenshots {
  padding: 100px 0;
  background: var(--gray-50);
  overflow: hidden;
}
.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.screenshot-item { display: flex; flex-direction: column; gap: 12px; }
.screenshot-caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
}
.screenshot-sub {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
}

/* Focus Mode mockup */
.focus-mockup {
  display: flex;
  height: 300px;
  overflow: hidden;
}
.focus-sidebar {
  width: 180px;
  flex-shrink: 0;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  padding: 16px 10px;
}
.focus-main {
  flex: 1;
  padding: 20px;
  background: var(--white);
}
.focus-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.focus-score {
  font-size: 0.65rem;
  color: var(--gray-400);
}
.task-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.task-prio {
  width: 3px;
  border-radius: 99px;
  flex-shrink: 0;
  align-self: stretch;
}
.prio-urgent { background: #ef4444; }
.prio-high { background: var(--amber); }
.prio-medium { background: var(--indigo); }
.task-text { font-size: 0.72rem; color: var(--black); font-weight: 500; line-height: 1.4; }
.task-meta { font-size: 0.65rem; color: var(--gray-400); margin-top: 2px; }

/* CRM mockup */
.crm-mockup {
  height: 300px;
  overflow: hidden;
  padding: 20px;
  background: var(--white);
}
.crm-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.crm-title { font-size: 0.85rem; font-weight: 700; color: var(--black); }
.crm-btn {
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--indigo);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
}
.crm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.72rem;
}
.crm-company { font-weight: 600; color: var(--black); flex: 1.5; }
.crm-contact { color: var(--gray-500); flex: 1.5; }
.crm-val { color: var(--black); font-weight: 600; flex: 1; }
.crm-stage {
  font-size: 0.63rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  flex: 1;
  text-align: center;
}
.stage-green { background: var(--emerald-light); color: #00622f; }
.stage-amber { background: var(--amber-light); color: #7a4800; }
.stage-blue { background: var(--indigo-light); color: var(--indigo); }
.stage-gray { background: var(--gray-100); color: var(--gray-500); }

/* Quote mockup */
.quote-mockup {
  height: 300px;
  overflow: hidden;
  display: flex;
}
.quote-sidebar {
  width: 180px;
  flex-shrink: 0;
  background: #f8fafc;
  border-right: 1px solid var(--gray-200);
  padding: 20px 16px;
}
.quote-logo-ph {
  width: 80px;
  height: 22px;
  background: var(--gray-200);
  border-radius: 4px;
  margin-bottom: 20px;
}
.quote-info-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.quote-info-val {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 14px;
}
.quote-total-box {
  background: var(--black);
  color: white;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 8px;
}
.quote-total-label { font-size: 0.62rem; opacity: 0.7; }
.quote-total-val { font-size: 1.1rem; font-weight: 800; }
.quote-main {
  flex: 1;
  padding: 20px;
  overflow: hidden;
}
.quote-product {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.quote-prod-img {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 6px;
  flex-shrink: 0;
}
.quote-prod-name { font-size: 0.75rem; font-weight: 600; color: var(--black); }
.quote-prod-desc { font-size: 0.65rem; color: var(--gray-400); margin-top: 2px; }
.quote-prod-price {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--indigo);
  margin-top: 4px;
}

/* ============================================================
   PER CHI E'
   ============================================================ */
#per-chi {
  padding: 100px 0;
}
.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.persona-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.persona-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.persona-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--indigo-light);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.persona-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.persona-card > p { font-size: 0.875rem; margin-bottom: 20px; }
.persona-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.persona-tag::before {
  content: '✓';
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
}
.persona-tags { display: flex; flex-direction: column; }

/* ============================================================
   CTA FINALE
   ============================================================ */
#cta-finale {
  padding: 80px 24px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
#cta-finale::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 80%, rgba(0,95,197,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.demo-layout {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
}
.demo-text {
  color: var(--white);
}
.demo-text .section-label { color: rgba(255,255,255,0.45); }
.demo-text h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.12;
  margin: 12px 0 20px;
}
.demo-accent {
  color: var(--indigo);
}
.demo-sub {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.demo-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-bullets li {
  color: rgba(255,255,255,0.7);
  font-size: 0.93rem;
  padding-left: 20px;
  position: relative;
}
.demo-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--indigo);
  font-weight: 700;
}
.calendar-embed-wrap {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.calendar-embed-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
}
@media (max-width: 860px) {
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .demo-text { text-align: center; }
  .demo-bullets { align-items: center; }
  .demo-bullets li { padding-left: 0; }
  .demo-bullets li::before { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.footer-logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.04em;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  max-width: 220px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col p, .footer-col address {
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-cell:nth-child(3) { border-right: 1px solid var(--gray-200); }
  .feature-cell:nth-child(2), .feature-cell:nth-child(4) { border-right: none; }
  .feature-cell:nth-child(4), .feature-cell:nth-child(5) { border-bottom: 1px solid var(--gray-200); }
  .feature-cell:nth-child(5), .feature-cell:nth-child(6) { border-bottom: none; }
}

/* ============================================================
   MOBILE MENU FULLSCREEN PANEL
   ============================================================ */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1002;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 1003;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 90vh;
  padding: 40px 32px;
  gap: 40px;
}

.mobile-menu-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.mobile-menu-close {
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  position: relative;
  width: 38px;
  height: 38px;
}
.mobile-menu-close span {
  display: block;
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  margin-left: -11px;
}
.mobile-menu-close span:nth-child(1) {
  transform: rotate(45deg);
}
.mobile-menu-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-menu-links a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-menu-links a:hover {
  color: var(--indigo);
}

.mobile-menu-cta {
  position: absolute;
  bottom: 40px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: center;
}
.mobile-menu-cta .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Hamburger → X transform when open */
  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  #hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 56px; }
  .hero-headline { font-size: 2.4rem; }

  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-cell { border-right: none !important; border-bottom: 1px solid var(--gray-200) !important; }
  .feature-cell:last-child { border-bottom: none !important; }

  .screenshots-grid { grid-template-columns: 1fr; }

  .personas-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .app-sidebar, .focus-sidebar { display: none; }
  .quote-sidebar { width: 140px; }
  .steps-grid::before { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
