@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #000000;
  --ink-light: #1a1a1a;
  --muted: #616161;
  --line: #e1e3e5;
  --brand: #008060;
  --brand-dark: #004c3f;
  --brand-light: #b5f3e4;
  --accent: #2d6a4f;
  --radius: 16px;
  --shadow: 0 0 0 1px rgba(0,0,0,.05), 0 1px 0 0 rgba(0,0,0,.1), 0 1px 3px 0 rgba(0,0,0,.1);
  --shadow-lg: 0 0 0 1px rgba(0,0,0,.05), 0 26px 80px rgba(0,0,0,.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--brand-light);
  color: var(--ink);
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 'Inter', -apple-system, system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
}

.badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.menu a {
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}

.menu a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: all .2s;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

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

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--brand);
  background: var(--surface);
}

/* Sections */
.section {
  padding: 80px 0;
}

.hero {
  padding: 80px 0 60px;
  background: var(--surface);
}

#over.section {
  padding-top: 80px;
}

/* Grid */
.grid {
  display: grid;
  gap: 24px;
}

@media(min-width:992px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media(min-width:768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Typography */
h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -.02em;
  color: var(--ink);
}

h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.01em;
  color: var(--ink);
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

p.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  max-width: 640px;
}

.text-brand {
  color: var(--brand);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card.pad {
  padding: 24px;
}

/* Stats */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* Trust Badges */
.trust-bar {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
}

.trust-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* Process */
.step {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s;
}

.step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--brand);
  color: #fff;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
}

/* Case Studies */
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.case-header {
  background: linear-gradient(135deg, #f0fdf9, #f0fdf4);
  padding: 40px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.case-metric {
  font-size: 56px;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 8px;
}

.case-body {
  padding: 24px;
}

.tag {
  background: var(--brand);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.tag.secondary {
  background: #f3f4f6;
  color: var(--muted);
}

/* Testimonials */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .3s;
}

.testimonial:hover {
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--ink-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.testimonial-author img {
  border: 2px solid #b5f3e4;
  box-shadow: 0 0 0 1px rgba(0, 166, 126, 0.1);
  width: 48px !important;
  height: 48px !important;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

/* Logo Scroll */
.logo-scroll-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: var(--surface);
  border-radius: var(--radius);
  position: relative;
  border: 1px solid var(--line);
}

.logo-scroll-container::before,
.logo-scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-scroll-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), transparent);
}

.logo-scroll-container::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface), transparent);
}

.logo-scroll {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: scroll 50s linear infinite;
  width: max-content;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tool-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: all .3s;
  flex-shrink: 0;
}

.tool-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  transition: all .3s;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.tool-badge:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,200,150,0.1);
}

.logo-scroll:hover {
  animation-play-state: paused;
}

/* AI Section */
.ai-section {
  background: linear-gradient(135deg, #f0fdf9, #f0fdf4);
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brand);
}

.ai-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.ai-tool-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f9fafb;
  padding: 16px;
  border-radius: 12px;
  transition: all .2s;
  border: 1px solid var(--line);
}

.ai-tool-item:hover {
  background: #fff;
  box-shadow: var(--shadow);
}

/* FAQ */
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all .2s;
}

details:hover {
  box-shadow: var(--shadow);
}

details[open] {
  box-shadow: var(--shadow);
}

summary {
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: '↓';
  font-size: 20px;
  color: var(--muted);
  transition: transform .3s;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.6;
}

/* CTA */
.cta-box {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 64px 32px;
  border-radius: var(--radius);
}

.cta-box h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 18px;
  opacity: .9;
  margin-bottom: 32px;
}

/* Contact Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  margin: 48px auto 0;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  transition: all .2s;
  font-family: inherit;
  background: var(--surface);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
}

/* Footer */
.footer {
  background: var(--surface);
  color: var(--muted);
  padding: 60px 0 32px;
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--muted);
  transition: color .2s;
}

.footer a:hover {
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--ink);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  text-align: center;
  font-size: 13px;
}

/* Performance Gauge Widget */
.performance-gauge {
  display: grid;
  place-items: center;
  row-gap: 12px;
  padding: 16px;
}

.performance-gauge svg {
  width: 140px;
  height: 140px;
  display: block;
}

.performance-gauge .gauge-value {
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  fill: var(--brand);
}

.performance-gauge .gauge-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.performance-gauge .gauge-sublabel {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive */
@media(max-width:768px) {
  .hamburger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 64px);
    background: var(--surface);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    overflow-y: auto;
    z-index: 999;
  }

  .menu.active {
    right: 0;
  }

  .menu a {
    width: 100%;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    color: var(--ink);
    display: block;
    transition: all 0.2s ease;
    box-sizing: border-box;
  }

  .menu a:last-child {
    border-bottom: none;
  }

  .menu a:hover,
  .menu a:active {
    background: linear-gradient(90deg, var(--brand-light), transparent);
    color: var(--brand-dark);
    padding-left: 28px;
  }

  .brand {
    margin-left: -20px;
  }
  .brand svg {
    height: 180px !important;
  }
  .hero {
    padding: 60px 0 0px !important;
  }
  .hero .grid {
    gap: 30px !important;
  }
  .section {
    padding: 60px 0;
  }
  #over.section {
    padding-top: 60px !important;
  }
  .contact-form {
    padding: 32px 20px;
  }
  h1 {
    font-size: clamp(42px, 5vw, 56px) !important;
  }
  .process-line {
    display: none !important;
  }
}
