:root {
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-light: #eef2ff;
  --text: #1a1b2e;
  --text-muted: #5c5f77;
  --bg: #ffffff;
  --bg-alt: #f7f8fc;
  --border: #e7e8f2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 30, 60, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; font-weight: 800; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { margin: 0 0 16px; color: var(--text-muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,0.35); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo { font-weight: 800; font-size: 1.3rem; color: var(--text); text-decoration: none; }
.logo span { color: var(--brand); }
.nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--brand); }
.nav-cta { flex-shrink: 0; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero { padding: 80px 0 60px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-sub { font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.6rem; color: var(--brand); }
.hero-stats span { font-size: 0.85rem; color: var(--text-muted); }

.hero-visual { position: relative; height: 380px; }
.blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand), #8b5cf6);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  opacity: 0.9;
}
.card-float {
  position: absolute;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.9rem;
}
.card-float-1 { top: 20px; left: -10px; }
.card-float-2 { bottom: 30px; right: -10px; }

/* Logos */
.logos { padding: 40px 0; border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.logos-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; font-weight: 700; color: #b4b6c9; font-size: 1.1rem; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

/* About */
.about-inner { display: grid; grid-template-columns: 1fr 0.8fr; gap: 56px; align-items: center; }
.about-image {
  height: 320px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-light), #dbe0ff);
}
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text); font-weight: 500; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 48px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.card-icon { font-size: 2rem; margin-bottom: 12px; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-list { list-style: none; padding: 0; margin-top: 24px; }
.contact-list li { margin-bottom: 12px; font-weight: 500; }
.contact-list a { color: var(--brand); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; }
.form-row input, .form-row textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form-note { font-size: 0.85rem; color: var(--brand); min-height: 20px; margin: 12px 0 0; }

/* Footer */
.site-footer { background: var(--text); color: #cfd0e0; padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-inner p { color: #a8a9c4; margin: 0; font-size: 0.9rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #cfd0e0; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 220px; order: -1; }
  .about-image { order: -1; height: 220px; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-header.open .nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #eef0ff;
    --text-muted: #a5a7c4;
    --bg: #14152a;
    --bg-alt: #191a33;
    --border: #2a2b4a;
    --brand-light: #23244a;
  }
  .site-header { background: rgba(20,21,42,0.9); }
  .card, .contact-form, .site-header.open .nav { background: #1c1d3a; }
  .logos-row { color: #4b4d75; }
  .about-image { background: linear-gradient(135deg, #23244a, #2c2d5a); }
}
