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

:root {
  --green-deep: #1B3D2F;
  --green-mid: #2A5A42;
  --green-light: #3D7A5A;
  --cream: #F5F0E8;
  --cream-dark: #EAE3D6;
  --copper: #C47A3A;
  --copper-light: #D4893A;
  --charcoal: #2C2C2C;
  --text: #1a1a1a;
  --text-muted: #5A5A5A;
  --text-light: #8A8A8A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Instrument Serif', serif;
  line-height: 1.15;
  font-weight: 400;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(27, 61, 47, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.nav-tagline {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.5);
  letter-spacing: 0.08em;
}

.nav-cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--cream);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.6);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
  margin-left: 1rem;
}

.nav-link:hover { color: var(--cream); }

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(245, 240, 232, 0.1);
  border: 1px solid rgba(245, 240, 232, 0.25);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
  padding: 0;
}

.lang-toggle span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 232, 0.7);
}

.lang-toggle:hover {
  background: rgba(245, 240, 232, 0.2);
  border-color: rgba(245, 240, 232, 0.5);
}

.lang-toggle:hover span {
  color: var(--cream);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--green-deep);
  padding: 8rem 3rem 4rem;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61, 122, 90, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 122, 58, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  color: var(--cream);
  margin-bottom: 1.75rem;
  max-width: 18ch;
}

.hero-headline em {
  font-style: italic;
  color: var(--copper-light);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(245, 240, 232, 0.75);
  max-width: 52ch;
  line-height: 1.65;
  font-weight: 300;
}

/* ===== INTEGRATION DIAGRAM ===== */
.integration-diagram {
  position: relative;
  width: 320px;
  height: 280px;
  margin: 0 auto;
}

.node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.node-primary {
  background: rgba(196, 122, 58, 0.2);
  border-color: rgba(212, 137, 58, 0.4);
  color: var(--cream);
}

.node-crm { top: 10px; left: 20px; }
.node-shop { top: 10px; right: 20px; }
.node-time { bottom: 50px; left: 20px; }
.node-accounting { bottom: 40px; right: 60px; }

.connection {
  position: absolute;
  background: rgba(245, 240, 232, 0.08);
  border-radius: 2px;
}

/* ===== HERO STATS ===== */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  position: relative;
  z-index: 1;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  color: var(--cream);
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.45);
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(245, 240, 232, 0.12);
}

/* ===== PROBLEM SECTION ===== */
.problem {
  background: var(--cream);
  padding: 7rem 3rem;
}

.problem-inner { max-width: 1100px; margin: 0 auto; }

.problem-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--green-deep);
  margin-bottom: 3.5rem;
  max-width: 22ch;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.problem-card {
  background: white;
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  padding: 2rem;
}

.problem-icon {
  width: 44px;
  height: 44px;
  background: var(--green-deep);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--cream);
}

.problem-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.problem-quote {
  background: var(--green-deep);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  position: relative;
}

.problem-quote::before {
  content: '';
  position: absolute;
  top: -1px; left: 3rem;
  width: 60px; height: 3px;
  background: var(--copper);
  border-radius: 0 0 4px 4px;
}

.problem-quote blockquote {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  color: var(--cream);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.problem-quote cite {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.4);
  letter-spacing: 0.06em;
}

/* ===== SERVICES (LANDING) ===== */
.services {
  background: var(--cream);
  padding: 7rem 3rem;
}

.services-inner { max-width: 1100px; margin: 0 auto; }

.services-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--green-deep);
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--cream-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 61, 47, 0.1);
}

.service-card--featured {
  background: var(--green-deep);
  border-color: var(--green-deep);
  position: relative;
  overflow: hidden;
}

.service-card--featured::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(196, 122, 58, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.service-card--featured .service-icon {
  color: var(--copper-light);
}

.service-card--featured h3,
.service-card--featured p {
  color: var(--cream);
}

.service-card--featured .service-list li {
  color: rgba(245, 240, 232, 0.8);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(27, 61, 47, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--green-mid);
}

.service-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--cream-dark);
}

.service-card--featured .service-list {
  border-top-color: rgba(245, 240, 232, 0.12);
}

.service-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.4;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

.service-card--featured .service-list li::before {
  background: var(--copper-light);
}

/* ===== SOLUTIONS ===== */
.solutions {
  background: var(--cream-dark);
  padding: 7rem 3rem;
}

.solutions-inner { max-width: 1100px; margin: 0 auto; }

.solutions-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--green-deep);
  margin-bottom: 3.5rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.solution-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.solution-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--copper));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card:hover::after { opacity: 1; }

.solution-number {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  color: rgba(27, 61, 47, 0.1);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 400;
}

.solution-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.solution-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.solution-detail {
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
}

.solution-detail span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ===== PROCESS ===== */
.process {
  background: white;
  padding: 7rem 3rem;
}

.process-inner { max-width: 900px; margin: 0 auto; }

.process-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--green-deep);
  margin-bottom: 3.5rem;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 0 1rem;
}

.step-marker {
  margin-bottom: 1.25rem;
}

.step-marker span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(196, 122, 58, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}

.step h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--cream-dark), var(--green-mid));
  flex-shrink: 0;
  margin-top: 2.5rem;
}

/* ===== TOOLS ===== */
.tools {
  background: var(--green-deep);
  padding: 5rem 3rem;
}

.tools-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.tools .section-label { color: var(--copper-light); }

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2.5rem 0 1.5rem;
}

.tool-badge {
  background: rgba(245, 240, 232, 0.07);
  border: 1px solid rgba(245, 240, 232, 0.12);
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.tool-badge:hover {
  background: rgba(245, 240, 232, 0.12);
  color: var(--cream);
}

.tools-note {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.35);
  font-style: italic;
}

/* ===== CLOSING ===== */
.closing {
  background: var(--cream);
  padding: 8rem 3rem;
  text-align: center;
}

.closing-inner { max-width: 700px; margin: 0 auto; }

.closing-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--green-deep);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid var(--green-deep);
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.btn-secondary:hover { background: var(--green-deep); color: var(--cream); }

/* ===== FOOTER ===== */
.footer {
  background: var(--green-deep);
  padding: 3rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Instrument Serif', serif;
  font-size: 1rem;
  color: var(--cream);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.4);
}

.footer-legal {
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.25);
  letter-spacing: 0.06em;
}

.footer-link {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--cream); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .problem { padding: 5rem 1.5rem; }
  .services { padding: 5rem 1.5rem; }
  .solutions { padding: 5rem 1.5rem; }
  .process { padding: 5rem 1.5rem; }
  .tools { padding: 4rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }

  .hero-headline { font-size: 2.2rem; }

  .problem-grid,
  .services-grid,
  .solutions-grid { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; }
  .step-connector { width: 2px; height: 30px; margin: 0.5rem 0; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.4rem; }
}