/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f6f8f6;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef3ec;
  --text: #111c30;
  --text-muted: #5b6577;
  --border: #e2e7e2;
  --primary: #23b449;
  --primary-dark: #0d4f40;
  --primary-light: #e5f6e9;
  --accent: #609a34;
  --amber: #f5a623;
  --navy: #111c30;
  --shadow: 0 10px 30px rgba(17, 28, 48, 0.08);
  --shadow-lg: 0 20px 50px rgba(17, 28, 48, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 86px;
}

:root[data-theme="dark"] {
  --bg: #0f1420;
  --bg-alt: #131a2b;
  --surface: #131a2b;
  --surface-2: #1a2338;
  --text: #edf1f7;
  --text-muted: #a3adc2;
  --border: #26304a;
  --primary: #2fd160;
  --primary-dark: #7fe0a0;
  --primary-light: #14301f;
  --accent: #8fc35a;
  --amber: #ffbb52;
  --navy: #0b1020;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1420;
    --bg-alt: #131a2b;
    --surface: #131a2b;
    --surface-2: #1a2338;
    --text: #edf1f7;
    --text-muted: #a3adc2;
    --border: #26304a;
    --primary: #2fd160;
    --primary-dark: #7fe0a0;
    --primary-light: #14301f;
    --accent: #8fc35a;
    --amber: #ffbb52;
    --navy: #0b1020;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.45);
  }
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { display: none; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar { display: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }

section.section {
  padding: 64px 0;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  scroll-margin-top: var(--header-h);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 91, 255, 0.28);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text);
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  height: 50px;
  flex-shrink: 0;
}
.logo-mark img {
  height: 50px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.15;
}
.logo-text small {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 30px;
  margin: 0 auto;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding: 48px 0 32px;
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-margin-top: var(--header-h);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats .stat strong {
  display: block;
  font-size: 26px;
  color: var(--primary);
}
.hero-stats .stat span {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .watermark {
  width: 100%;
  max-width: 320px;
  opacity: 0.14;
  filter: grayscale(0.15);
  animation: watermark-float 8s ease-in-out infinite;
}

@keyframes watermark-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

.visual-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.card-1 { top: 1%;   left: -8%;  animation-delay: 0s; }
.card-6 { top: 1%;   right: -6%; animation-delay: 0.7s; }
.card-2 { top: 19%;  left: -18%; animation-delay: 1.4s; }
.card-5 { top: 19%;  right: -16%; animation-delay: 2.1s; }
.card-9 { top: 40%;  left: -2%;  animation-delay: 2.8s; }
.card-7 { top: 42%;  right: -12%; animation-delay: 3.5s; }
.card-4 { top: 62%;  left: -16%; animation-delay: 4.2s; }
.card-3 { top: 64%;  right: -18%; animation-delay: 4.9s; }
.card-8 { bottom: 1%; left: 6%;  animation-delay: 5.6s; }
.card-10 { top: 52%; left: 50%; animation: float-center 6s ease-in-out infinite; animation-delay: 6.3s; }
.card-11 { top: 19%; left: 50%; animation: float-center 6s ease-in-out infinite; animation-delay: 7.0s; }
.card-12 { bottom: 1%; left: 50%; animation: float-center 6s ease-in-out infinite; animation-delay: 7.7s; }

@keyframes float-center {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -14px); }
}

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--accent); }
.dot-blue { background: var(--primary); }
.dot-amber { background: var(--amber); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual .watermark,
  .visual-card { animation: none; }
  .card-10, .card-11, .card-12 { transform: translate(-50%, 0); }
}

.logos-strip {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.logos-strip p {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.03em;
}

/* ---------- Cards / Services ---------- */
.services .section-head { margin-bottom: 32px; }

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-light);
  font-size: 20px;
  margin-bottom: 12px;
}

.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { color: var(--text-muted); font-size: 13px; }

/* ---------- About ---------- */
.about { background: var(--bg-alt); }

.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-visual { position: relative; height: 340px; }

.about-shape {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0.9;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
}
.about-badge strong { display: block; font-size: 17px; }
.about-badge span { font-size: 13px; color: var(--text-muted); }

.about-content h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; }

.about-list { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.about-list li {
  padding-left: 28px;
  position: relative;
  font-weight: 500;
}
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ---------- Differentials ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.diff-item {
  padding: 30px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.diff-number {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-light);
  -webkit-text-stroke: 1.5px var(--primary);
  margin-bottom: 14px;
}
.diff-item h3 { font-size: 17px; margin-bottom: 8px; }
.diff-item p { color: var(--text-muted); font-size: 14px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-alt); }

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

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-card p {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--text);
}
.testimonial-card footer {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.testimonial-note {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.8;
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.contact-info p { color: var(--text-muted); margin-bottom: 30px; }

.contact-list { list-style: none; display: grid; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-list strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--text-muted); font-size: 14px; }
.contact-list a:hover { color: var(--primary); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-note { margin-top: 14px; font-size: 13px; text-align: center; color: var(--accent); min-height: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: var(--text-muted); }
.footer-nav a:hover { color: var(--primary); }
.footer-copy { font-size: 13px; color: var(--text-muted); width: 100%; text-align: center; margin-top: 10px; }

/* ---------- Floating button ---------- */
.float-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: transform 0.2s ease;
}
.float-btn:hover { transform: scale(1.08); }


/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-inner { gap: 40px; }
  .about-visual { order: -1; height: 260px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px 30px;
    gap: 18px;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  section.section { padding: 64px 0; }
}
