/* ═══════════════════════════════════════════════════════════
   SAPIANNO PORTFOLIO — style.css
   Dark theme, teal accent, premium design
═══════════════════════════════════════════════════════════ */

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

:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --bg-3:      #161616;
  --border:    rgba(255,255,255,0.07);
  --teal:      #14B8A6;
  --teal-dark: #0f9e8e;
  --teal-glow: rgba(20,184,166,0.18);
  --white:     #ffffff;
  --off-white: #f0f0f0;
  --muted:     #888888;
  --panel-bg:  #f5f3ef;
  --font-body: 'Inter', sans-serif;
  --font-head: 'Syne', sans-serif;
  --radius:    12px;
  --nav-h:     72px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── Typography helpers ────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-tag.light { color: var(--teal); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

.section-header.center {
  text-align: center;
  margin-bottom: 64px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-teal {
  background: var(--teal);
  color: #000;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 13px;
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-teal.btn-lg { padding: 14px 30px; font-size: 14px; }
.btn-teal.btn-sm { padding: 8px 16px; font-size: 12px; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 14px 30px;
  border-radius: 40px;
  font-size: 14px;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

.btn-menu {
  background: #1a1a1a;
  color: var(--white);
  padding: 10px 16px;
  border-radius: 40px;
  font-size: 12px;
  letter-spacing: 0.08em;
  gap: 10px;
}
.btn-menu:hover { background: #222; }

.btn-story {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  color: #222;
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  background: #111;
  color: #fff;
}
.btn-story:hover { background: #222; }
.btn-story .arrow-right { font-size: 14px; }

/* ── Menu icon lines ───────────────────────────────────── */
.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-icon span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(10,10,10,0.96); }

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

.nav-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.03em;
}
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE-IN MENU PANEL
═══════════════════════════════════════════════════════════ */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}
.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.menu-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 90vw);
  z-index: 999;
  background: var(--panel-bg);
  color: #111;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,0.4);
}
.menu-panel.open {
  transform: translateX(0);
}

.menu-panel-inner {
  padding: 20px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
}

/* Panel top bar */
.menu-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.btn-close-menu {
  background: #111;
  color: var(--white);
}
.close-x { font-size: 14px; }

/* Nav links (large) */
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 36px;
}

.menu-link {
  font-family: var(--font-head);
  font-size: clamp(36px, 8vw, 52px);
  font-weight: 700;
  color: #111;
  text-decoration: none;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  transition: color 0.2s, transform 0.2s;
}
.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.25s ease;
}
.menu-link:hover {
  color: var(--teal);
  transform: translateX(6px);
}
.menu-link:hover::after { width: 100%; }

/* Divider */
.menu-divider {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin: 28px 0;
}

/* Contact block */
.menu-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #444;
}
.menu-contact a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
}
.menu-contact a:hover { color: var(--teal); }

.menu-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}

/* Social links */
.menu-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 0;
}
.social-link {
  font-size: 13px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.social-link:hover { color: var(--teal); }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

/* Glowing orb behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(20,184,166,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,184,166,0.1);
  border: 1px solid rgba(20,184,166,0.25);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 32px;
  width: fit-content;
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title-accent { color: var(--teal); }

.hero-subtitle {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════════════════════
   CAPABILITIES
═══════════════════════════════════════════════════════════ */
.capabilities {
  padding: 120px 0;
  background: var(--bg-2);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cap-card {
  background: var(--bg-2);
  padding: 40px 36px;
  position: relative;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cap-card:hover { background: var(--bg-3); }
.cap-card:hover .cap-icon { color: var(--teal); border-color: rgba(29,185,154,0.3); }

.cap-number {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.5;
}

.cap-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
  margin-bottom: 4px;
}
.cap-icon svg { width: 20px; height: 20px; }

.cap-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}
.cap-desc { font-size: 13px; line-height: 1.65; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   CRM SECTION
═══════════════════════════════════════════════════════════ */
.crm-section {
  padding: 120px 0;
  background: var(--bg);
}

.crm-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.crm-left { flex: 1; }
.crm-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 20px 0 36px;
}

.crm-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 4px;
  width: fit-content;
}
.crm-tab {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s;
}
.crm-tab.active {
  background: var(--teal);
  color: #000;
}

/* CRM Dashboard mockup */
.crm-dashboard {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.crm-dash-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: #111;
}
.dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dash-dot.red    { background: #ff5f57; }
.dash-dot.yellow { background: #febc2e; }
.dash-dot.green  { background: #28c840; }
.dash-title {
  margin-left: 8px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.crm-stats-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--border);
}
.crm-stat {
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border);
}
.crm-stat:last-child { border-right: none; }
.crm-stat-value {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
}
.crm-stat-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* CRM Dashboard screenshot (blurred) */
.crm-dashboard-screenshot {
  position: relative;
  border-radius: 0 0 0 0;
  overflow: hidden;
  line-height: 0;
}
.dash-screenshot {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: url('dashboard.png') center center / cover no-repeat;
  filter: blur(3px) brightness(0.85);
  transform: scale(1.04);
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.dash-blur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(22,22,22,0.25) 60%,
    rgba(22,22,22,0.75) 100%
  );
}

/* Teal step numbers (01, 02) */
.step-num.teal-num {
  color: rgba(20,184,166,0.25) !important;
}
.step-card:hover .step-num.teal-num {
  color: rgba(20,184,166,0.45) !important;
}

/* Teal stat (Projects Done) */
.stat-value.teal-stat {
  color: var(--teal);
}
.stat-plus.teal-stat {
  color: var(--teal);
}

.crm-table { padding: 12px 0 0; }
.crm-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 10px 20px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.crm-row:last-child { border-bottom: none; }
.crm-row.header { color: #555; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
}
.active-b { background: rgba(20,184,166,0.15); color: var(--teal); }
.prospect-b { background: rgba(108,99,255,0.15); color: #8b85ff; }

/* ═══════════════════════════════════════════════════════════
   HOW WE WORK
═══════════════════════════════════════════════════════════ */
.how-section {
  padding: 120px 0;
  background: var(--bg-2);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.step-card {
  padding: 48px 36px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}
.step-card:last-child { border-right: none; }
.step-card:hover { background: var(--bg-3); }

.step-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 20px;
}
.step-card:hover .step-num { color: rgba(20,184,166,0.12); }

.step-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.step-desc { font-size: 13px; line-height: 1.65; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   WHY SAPIANNO
═══════════════════════════════════════════════════════════ */
.why-section {
  padding: 120px 0;
  background: var(--bg);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}

.why-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 20px;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: all 0.2s;
}
.why-item:first-child { padding-top: 0; }
.why-item:last-child { border-bottom: none; }
.why-item:hover .why-icon { background: var(--teal-glow); border-color: rgba(29,185,154,0.3); color: var(--teal); }

.why-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
}
.why-icon svg { width: 20px; height: 20px; }

.why-text h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.why-text p { font-size: 13px; line-height: 1.65; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════ */
.stats-section {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px;
  border-right: 1px solid var(--border);
  text-align: center;
  position: relative;
}
.stat-item:last-child { border-right: none; }

.stat-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.stat-plus, .stat-pct {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════ */
.testimonials-section {
  padding: 120px 0;
  background: var(--bg);
}

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

.testimonial-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover {
  border-color: rgba(29,185,154,0.25);
  transform: translateY(-4px);
}

.stars { color: var(--teal); font-size: 14px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 14px;
  line-height: 1.75;
  color: #bbb;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--white); }
.testimonial-author span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════ */
.cta-section {
  padding: 120px 0;
  background: var(--bg-2);
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(20,184,166,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  padding: 80px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 80px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-logo-img {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}
.footer-tagline { font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 280px; }

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-logo { display: inline-flex; margin-bottom: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #444;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .crm-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2) { border-right: none; }
  .step-card:nth-child(1), .step-card:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links-group { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .capabilities-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { border-right: none !important; border-bottom: 1px solid var(--border); }
  .step-card:last-child { border-bottom: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 24px 12px; }
  .stat-value { font-size: clamp(28px, 8vw, 40px); }
  .stat-plus, .stat-pct { font-size: 20px; }
  .footer-links-group { grid-template-columns: 1fr; }

  /* CTA section — center everything on mobile */
  .cta-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Hero — center text and actions on mobile */
  .hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-tag { margin-left: auto; margin-right: auto; }
  .hero-subtitle { text-align: center; }
  .hero-actions { justify-content: center; }

  /* Footer — center brand on mobile */
  .footer-brand { text-align: center; }
  .footer-logo { margin: 0 auto; }
}
