/* ══════════════════════════════════════
   SHERRY SCRAWLS — MASTER STYLESHEET
   Colors: #101820 | #ffffff | #0028dc | #c6dc00
══════════════════════════════════════ */

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

:root {
  --black:  #101820;
  --white:  #ffffff;
  --blue:   #0028dc;
  --lime:   #c6dc00;
  --black2: #0d1419;
  --gray:   #1e2a35;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── SCROLLBAR ──────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--lime); }

/* ── TYPOGRAPHY ─────────────────────── */
.section-heading {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.section-heading.centered { text-align: center; }

.section-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lime);
  border-left: 3px solid var(--lime);
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}
.label-lime { color: var(--lime); border-color: var(--lime); }

.accent-lime { color: var(--lime); font-style: italic; }
.accent-blue { color: var(--blue); font-style: italic; }

.body-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
  max-width: 52ch;
}

/* ── BUTTONS ────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  cursor: pointer;
  border: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: all 0.2s ease;
  position: relative;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover { transform: translate(-2px,-2px); }
.btn:active { transform: translate(0,0); }

.btn-accent   { background: var(--lime); color: var(--black); }
.btn-accent:hover::after   { background: rgba(0,0,0,0.1); opacity: 1; }

.btn-outline  { background: transparent; color: var(--white); border: 2px solid var(--white); clip-path: none; }
.btn-outline:hover { background: var(--white); color: var(--black); }

.btn-outline-dark { background: transparent; color: var(--black); border: 2px solid var(--black); clip-path: none; }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gray); }

.full-width { width: 100%; text-align: center; display: block; }

/* ── LAYOUT ─────────────────────────── */
.section-inner {
  width: 92%;
  max-width: 1700px;   /* stops it getting too wide on massive screens */
  margin: 0 auto;
  padding: 0;          /* padding comes from width now, not padding */
}

section { padding: 6rem 0; }

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 2px solid var(--lime);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 4px 30px rgba(198,220,0,0.15); }

.nav-inner {
  width: 92%; max-width: 1700px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  background: var(--lime);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  padding: 0.4rem 0.6rem;
  letter-spacing: 0.05em;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.8rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.1em;
}
.logo-text em { color: var(--lime); font-style: italic; }

.main-nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.main-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transition: width 0.2s;
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  flex-shrink: 0;
  padding: 0.6rem 1.2rem;
  font-size: 0.7rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--lime);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--black2);
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  background: var(--black);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198,220,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,220,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 20s linear infinite;
}
@keyframes gridScroll {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.hero-diagonal {
  position: absolute;
  right: -5%;
  top: 0; bottom: 0;
  width: 55%;
  background: linear-gradient(135deg, transparent 30%, rgba(0,40,220,0.08) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-shape-1 {
  position: absolute;
  bottom: -2px; right: 0;
  width: 0; height: 0;
  border-left: 220px solid transparent;
  border-bottom: 220px solid var(--lime);
  opacity: 0.12;
}
.hero-shape-2 {
  position: absolute;
  top: 80px; right: 60px;
  width: 80px; height: 80px;
  background: var(--blue);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  opacity: 0.25;
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-inner {
  width: 92%; max-width: 1700px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--lime);
  background: rgba(198,220,0,0.1);
  border: 1px solid rgba(198,220,0,0.3);
  padding: 0.5rem 1rem;
  display: inline-block;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 2rem;
}
.hero-headline em { display: block; }

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-scroll-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.3);
}
.hero-scroll-line span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--lime), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ══════════════════════════════════
   STATS
══════════════════════════════════ */
#stats {
  padding: 0;
  background: var(--lime);
  position: relative;
  overflow: hidden;
}
#stats::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--black);
}

.stats-inner {
  width: 92%; max-width: 1700px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  overflow: hidden;
}

.stat {
  text-align: center;
  padding: 2.5rem 2rem;
  flex: 1;
  position: relative;
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline-block;
}
.stat-sym {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--black);
}
.stat p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(16,24,32,0.7);
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.stat-divider {
  width: 2px;
  height: 50px;
  background: rgba(16,24,32,0.2);
  flex-shrink: 0;
}

/* ══════════════════════════════════
   PROBLEM
══════════════════════════════════ */
#problem {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
#problem::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,40,220,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pain-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid rgba(255,255,255,0.15);
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,0.02);
  transition: all 0.2s;
}
.pain-card:hover {
  border-left-color: var(--blue);
  background: rgba(0,40,220,0.05);
  transform: translateX(4px);
}
.pain-card--accent {
  border-left-color: var(--lime) !important;
  background: rgba(198,220,0,0.06) !important;
  border-color: rgba(198,220,0,0.2) !important;
}
.pain-card--accent:hover { transform: translateX(4px); }
.pain-icon {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.pain-card--accent .pain-icon { color: var(--lime); }
.pain-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}
.pain-card--accent p { color: var(--white); font-weight: 700; }

/* ══════════════════════════════════
   SERVICES
══════════════════════════════════ */
#services {
  background: var(--black2);
  position: relative;
  overflow: hidden;
}
#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--lime));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3.5rem;
  background: rgba(255,255,255,0.05);
}

.service-card {
  background: var(--black);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gray);
  transition: background 0.3s;
}
.service-card:hover::before { background: var(--blue); }
.service-card:hover { background: rgba(0,40,220,0.05); }

.service-card--featured {
  background: var(--blue);
}
.service-card--featured::before { background: var(--lime); }
.service-card--featured:hover { background: #0030ff; }
.service-card--featured .service-num { color: rgba(255,255,255,0.3); }
.service-card--featured .service-tag { color: var(--lime); border-color: rgba(198,220,0,0.4); }
.service-card--featured h3 { color: var(--white); }
.service-card--featured p { color: rgba(255,255,255,0.8); }
.service-card--featured .service-list li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.15); }
.service-card--featured .service-list li::before { color: var(--lime); }

.service-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  letter-spacing: -0.05em;
}
.service-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  text-transform: uppercase;
  border: 1px solid rgba(198,220,0,0.3);
  padding: 0.25rem 0.6rem;
  display: inline-block;
}
.service-card h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--white);
}
.service-card > p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  flex-grow: 1;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.service-list li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-list li::before { content: '▸'; color: var(--lime); font-size: 0.7rem; }

/* ══════════════════════════════════
   PROCESS
══════════════════════════════════ */
#process {
  background: var(--black);
  position: relative;
}

.process-track {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 100px 60px 1fr;
  align-items: flex-start;
  gap: 0;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: background 0.2s;
}
.process-step:last-child { border-bottom: none; }
.process-step:hover { background: rgba(255,255,255,0.02); }

.step-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 4rem;
  color: rgba(198,220,0,0.15);
  line-height: 1;
  letter-spacing: -0.05em;
  align-self: center;
  padding-left: 1rem;
  transition: color 0.3s;
}
.process-step:hover .step-num { color: rgba(198,220,0,0.4); }

.step-connector {
  width: 2px;
  background: linear-gradient(to bottom, var(--lime), rgba(198,220,0,0.1));
  align-self: stretch;
  margin: 0 auto;
  position: relative;
}
.step-connector::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--lime);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.step-connector.last { background: linear-gradient(to bottom, var(--lime), transparent); }

.step-content {
  padding: 0.5rem 2rem 0.5rem 1.5rem;
}
.step-content h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.step-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 55ch;
}

/* ══════════════════════════════════
   CASE STUDY
══════════════════════════════════ */
#case-study {
  background: var(--blue);
  position: relative;
  overflow: hidden;
}
#case-study::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-left: 300px solid transparent;
  border-bottom: 300px solid rgba(0,0,0,0.15);
}
#case-study::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-right: 200px solid transparent;
  border-top: 200px solid rgba(255,255,255,0.05);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.case-left .section-label { color: var(--lime); border-color: var(--lime); }
.case-left .section-heading { color: var(--white); }

.client-quote {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  border-left: 4px solid var(--lime);
  padding-left: 1.5rem;
  margin: 1.5rem 0 0.75rem;
  line-height: 1.7;
}
.quote-attr {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
}

.case-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.case-result {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--lime);
  transition: transform 0.2s, background 0.2s;
}
.case-result:hover { transform: translateX(6px); background: rgba(255,255,255,0.15); }
.result-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 2.5rem;
  color: var(--lime);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.case-result p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

/* ══════════════════════════════════
   WHY US
══════════════════════════════════ */
#why-us {
  background: var(--black2);
  position: relative;
  overflow: hidden;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 3.5rem;
  background: rgba(255,255,255,0.05);
}

.diff-card {
  background: var(--black);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.diff-card::after {
  content: attr(data-num);
  position: absolute;
  bottom: -10px; right: 10px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 6rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}
.diff-card:hover { background: rgba(0,40,220,0.07); }
.diff-card:hover .diff-icon { background: var(--blue); color: var(--white); }

.diff-icon {
  width: 44px; height: 44px;
  background: var(--lime);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.2s, color 0.2s;
}

.diff-card h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.diff-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ══════════════════════════════════
   ERP
══════════════════════════════════ */
#erp {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
#erp::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,40,220,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,40,220,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.erp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.erp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}
.erp-features li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
}
.erp-features li::before {
  content: '▸';
  color: var(--lime);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ERP MOCKUP */
.erp-mockup {
  perspective: 800px;
}
.erp-window {
  background: var(--gray);
  border: 1px solid rgba(198,220,0,0.2);
  border-top: 3px solid var(--lime);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s ease;
  box-shadow: 24px 24px 60px rgba(0,0,0,0.5);
}
.erp-window:hover { transform: rotateY(-2deg) rotateX(1deg); }

.erp-window-bar {
  background: var(--black2);
  padding: 0.6rem 1rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.erp-window-bar span {
  width: 10px; height: 10px;
  display: block;
}
.erp-window-bar span:nth-child(1) { background: #ff5f57; }
.erp-window-bar span:nth-child(2) { background: #ffbd2e; }
.erp-window-bar span:nth-child(3) { background: #28c940; }

.erp-screen { padding: 1.5rem; }

.erp-row.header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.erp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.erp-metric {
  background: var(--black);
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid var(--blue);
}
.erp-metric p {
  font-family: var(--font-head);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.erp-metric strong {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--white);
}
.erp-metric strong.alert { color: #ff6b35; }

.erp-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 80px;
  padding: 0 0.25rem;
}
.bar {
  flex: 1;
  background: var(--blue);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.bar:hover { opacity: 1; }
.featured-bar { background: var(--lime); opacity: 1; }

/* ══════════════════════════════════
   TESTIMONIAL
══════════════════════════════════ */
#testimonial {
  background: var(--black2);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
#testimonial::before {
  content: '"';
  position: absolute;
  top: -2rem; left: 2%;
  font-family: var(--font-head);
  font-size: 25rem;
  font-weight: 900;
  color: rgba(198,220,0,0.04);
  line-height: 1;
  pointer-events: none;
}

.testi-wrap {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-mark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 6rem;
  color: var(--lime);
  line-height: 0.5;
  margin-bottom: 1rem;
}

.testi-quote {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.testi-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testi-avatar {
  width: 48px; height: 48px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.testi-meta strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-align: left;
}
.testi-meta p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: left;
}

/* ══════════════════════════════════
   CONTACT / CTA
══════════════════════════════════ */
#contact {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--blue), var(--lime));
  background-size: 200%;
  animation: borderSlide 3s linear infinite;
}
@keyframes borderSlide {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-details p {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}
.contact-details strong { color: var(--lime); }

/* FORM */
.contact-form {
  background: var(--gray);
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--lime);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: 2px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--lime);
  border-bottom-color: var(--lime);
}
.form-group select option { background: var(--gray); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
#footer {
  background: var(--black2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 2rem;
}

.footer-inner {
  width: 92%; max-width: 1700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.3);
  margin-top: 1rem;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}

/* ══════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* stagger children */
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }
.reveal-up:nth-child(5) { transition-delay: 0.4s; }

/* ══════════════════════════════════
   CURSOR GLOW
══════════════════════════════════ */
.cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(198,220,0,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .problem-grid,
  .case-grid,
  .erp-grid,
  .cta-grid { grid-template-columns: 1fr; gap: 3rem; }

  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .stats-inner { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat { flex: 0 0 50%; }

  .main-nav,
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  section { padding: 4rem 0; }

  .hero-headline { font-size: clamp(2.5rem, 12vw, 4rem); }

  .process-step { grid-template-columns: 60px 30px 1fr; }
  .step-num { font-size: 2.5rem; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stat { flex: 0 0 100%; }

  .contact-form { padding: 1.5rem; }
  .cta-actions { flex-direction: column; }
}
