/* public/css/style.css */

:root {
  --dark: #071A12;
  --primary: #16A34A;
  --bright: #22C55E;
  --light-green: #ECFDF3;
  --white: #FFFFFF;
  --text: #101817;
  --muted: #64748B;
  --border: #E2E8F0;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 16px;
  --shadow-soft: 0 20px 50px -20px rgba(7, 26, 18, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

p { line-height: 1.65; color: var(--muted); margin: 0; }

a { text-decoration: none; color: inherit; }

.text-green { color: var(--primary); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(22, 163, 74, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); background: #128a3e; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px -10px rgba(7, 26, 18, 0.12);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 15px; }
.logo-text small { font-size: 10px; letter-spacing: 1.5px; color: var(--primary); font-weight: 700; }
.logo-text.light strong { color: var(--white); }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--text); transition: color 0.2s; }
.main-nav a:hover { color: var(--primary); }
.btn-header { display: inline-flex; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  padding: 12px 24px 20px;
}
.mobile-menu a {
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }

/* ---------- HERO ---------- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--light-green) 0%, var(--white) 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero-heading { font-size: 52px; margin-bottom: 20px; }
.hero-sub { font-size: 18px; max-width: 480px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-benefits { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.hero-benefits li { font-size: 14px; font-weight: 600; color: var(--text); }

.hero-visual { position: relative; min-height: 420px; }
.hero-mockup {
  background: var(--dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.mockup-bar { display: flex; gap: 6px; padding: 14px 18px; }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.mockup-body { padding: 24px; background: #0D2419; }
.mockup-chart { display: flex; align-items: flex-end; gap: 10px; height: 160px; }
.mockup-chart .bar { flex: 1; background: linear-gradient(180deg, var(--bright), var(--primary)); border-radius: 6px 6px 0 0; }

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fc-label { font-size: 10px; font-weight: 700; letter-spacing: 0.5px; color: var(--primary); }
.fc-value { font-size: 14px; font-weight: 700; color: var(--text); }

.card-1 { top: -20px; left: -20px; }
.card-2 { top: 40px; right: -30px; }
.card-3 { bottom: 80px; left: -40px; }
.card-4 { bottom: -10px; right: 20px; }
.card-5 { top: 180px; left: 60%; }

.hand-note {
  position: absolute;
  bottom: -40px;
  right: 10%;
  font-family: cursive;
  color: var(--primary);
  font-size: 18px;
  transform: rotate(-4deg);
}

/* ---------- TRUSTED STRIP ---------- */
.trusted-strip { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip-title { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 24px; }
.industries { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.industries span { font-weight: 600; color: var(--text); opacity: 0.6; transition: opacity 0.2s, color 0.2s; }
.industries span:hover { opacity: 1; color: var(--primary); }

/* ---------- SECTION HEAD ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head h2 { font-size: 38px; margin-bottom: 16px; }
.section-head p { font-size: 17px; }
.section-head.light h2 { color: var(--white); }

/* ---------- SERVICES ---------- */
.services { padding: 100px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -20px rgba(22, 163, 74, 0.3);
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--light-green);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  transition: transform 0.25s ease;
}
.service-card:hover .service-icon { transform: scale(1.08); }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; margin-bottom: 16px; }
.learn-more { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; gap: 6px; }
.learn-more span { transition: transform 0.2s ease; }
.service-card:hover .learn-more span { transform: translateX(4px); }

/* ---------- PROCESS / TIMELINE ---------- */
.process { padding: 100px 0; background: var(--light-green); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.timeline-line {
  position: absolute;
  top: 28px; left: 5%; right: 5%;
  height: 2px;
  background: var(--border);
}
.timeline-step { position: relative; text-align: center; z-index: 1; }
.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.timeline-step h3 { font-size: 16px; margin-bottom: 6px; }
.timeline-step p { font-size: 13px; }

/* ---------- ECOSYSTEM ---------- */
.ecosystem { padding: 100px 0; background: var(--dark); text-align: center; }
.ecosystem-wheel { position: relative; width: 400px; height: 400px; margin: 0 auto; }
.ecosystem-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  box-shadow: 0 0 60px rgba(34, 197, 94, 0.5);
}
.eco-node {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: var(--white);
  font-size: 12px; font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
}
.node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.node-2 { top: 15%; right: 5%; }
.node-3 { top: 50%; right: -5%; transform: translateY(-50%); }
.node-4 { bottom: 15%; right: 5%; }
.node-5 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-6 { bottom: 15%; left: 5%; }
.node-7 { top: 50%; left: -5%; transform: translateY(-50%); }
.eco-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ---------- CRM SECTION ---------- */
.crm-section { padding: 100px 0; background: var(--white); }
.crm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.crm-visual { position: relative; }
.crm-body { padding: 28px; }
.crm-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.crm-metric {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.cm-label { font-size: 12px; color: rgba(255,255,255,0.6); }
.cm-value { font-size: 22px; font-weight: 800; color: var(--bright); }
.card-crm-1 { top: -20px; right: -20px; }
.card-crm-2 { bottom: 60px; left: -30px; }
.card-crm-3 { bottom: -15px; right: 30px; }

/* ---------- WHY US ---------- */
.why-us { padding: 100px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); }
.why-num { font-size: 28px; font-weight: 800; color: var(--light-green); display: block; margin-bottom: 12px; -webkit-text-stroke: 1.5px var(--primary); }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14px; }

/* ---------- ABOUT ---------- */
.about { padding: 100px 0; background: var(--light-green); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid h2 { font-size: 34px; }
.about-text p { font-size: 17px; margin-bottom: 24px; }
.about-pillars { list-style: none; display: flex; gap: 16px; padding: 0; margin: 0; flex-wrap: wrap; }
.about-pillars li {
  padding: 8px 18px;
  background: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  color: var(--primary);
  border: 1px solid var(--border);
}

/* ---------- CONTACT ---------- */
.contact { padding: 100px 0; background: var(--white); }
.contact-form { max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-row .form-group { margin-bottom: 0; }
label { font-size: 14px; font-weight: 600; }
input, select, textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.form-errors { color: #DC2626; font-size: 14px; margin-bottom: 16px; display: none; }
.form-success { color: var(--primary); font-size: 14px; margin-bottom: 16px; display: none; font-weight: 600; }
.form-note { text-align: center; font-size: 13px; margin-top: 12px; }

/* ---------- FINAL CTA ---------- */
.final-cta {
  padding: 120px 0;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta h2 { color: var(--white); font-size: 36px; margin-bottom: 12px; }
.final-cta p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { color: rgba(255,255,255,0.5); margin-top: 12px; font-size: 14px; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: var(--bright); }
.footer-cta { margin-top: 12px; display: inline-flex; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.5); }

/* ---------- SCROLL REVEAL BASE STATE ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
