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

:root {
  --purple-900: #2A1045;
  --purple-800: #3A1862;
  --purple-700: #4B1F78;
  --purple-500: #7A45B0;
  --purple-100: #F1EAF9;
  --orange-500: #F28C28;
  --orange-600: #DB7413;
  --orange-100: #FEF0E2;
  --white: #FFFFFF;
  --ink: #241733;
  --muted: #5F5470;
  --line: #E6DEF0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 16, 69, 0.08);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Poppins', 'Segoe UI', sans-serif; line-height: 1.2; margin: 0 0 0.6em; color: var(--purple-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--purple-700); }
img { max-width: 100%; display: block; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange-500); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--purple-700); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--purple-900); margin: 5px 0; transition: .2s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; font-family: inherit;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: 0 8px 20px rgba(242, 140, 40, .3); }
.btn-primary:hover { background: var(--orange-600); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; padding: .6rem 1.2rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(242,140,40,.28), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(122,69,176,.6), transparent 45%),
    linear-gradient(135deg, var(--purple-900), var(--purple-700));
  padding: 6.5rem 0 7rem;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--orange-500); }
.hero p.lead { font-size: 1.2rem; max-width: 56ch; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-500); margin-bottom: 1rem;
}
.hero .eyebrow { background: rgba(255,255,255,.1); padding: .35rem .8rem; border-radius: 999px; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }

/* Sections */
section { padding: 5.5rem 0; }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.bg-soft { background: var(--purple-100); }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--purple-500); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-600); margin-bottom: 1.2rem;
}
.icon svg { width: 26px; height: 26px; }
.card:nth-child(even) .icon { background: var(--purple-100); color: var(--purple-700); }

/* Why MDM */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .9rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--orange-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.6 4.4 10l-1.4 1.4L8 16.4l9-9L15.6 6z'/%3E%3C/svg%3E") center/80% no-repeat;
}
.stat-panel { background: linear-gradient(135deg, var(--purple-800), var(--purple-700)); color: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow); }
.stat-panel h3 { color: #fff; }
.stat-panel ul { list-style: none; padding: 0; margin: 0; }
.stat-panel li { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.15); display: flex; gap: 1rem; }
.stat-panel li:last-child { border-bottom: 0; }
.stat-panel strong { color: var(--orange-500); font-family: 'Poppins', sans-serif; min-width: 7.5rem; }

/* Approach */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 3.4rem; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; top: 0; left: 0;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.2rem; color: var(--orange-500);
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); }

/* Platforms */
.chips { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.chip { padding: .6rem 1.2rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; color: var(--purple-800); }

/* CTA */
.cta {
  background: linear-gradient(120deg, var(--purple-700), var(--purple-900));
  color: #fff; border-radius: 24px; padding: 3.5rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(242,140,40,.25); }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { color: rgba(255,255,255,.8); margin: 0; }
.cta > * { position: relative; z-index: 1; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--purple-900), var(--purple-700)); color: #fff; padding: 4.5rem 0 4rem; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 60ch; font-size: 1.1rem; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.field label { font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--purple-900); }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple-500); box-shadow: 0 0 0 4px rgba(122,69,176,.15); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: #EAF7EE; color: #17643A; }
.form-status.err { display: block; background: #FDECEC; color: #9B1C1C; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.info-card { background: var(--purple-100); border-radius: 20px; padding: 2.2rem; }
.info-card h3 { margin-bottom: 1rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.info-item .icon { margin: 0; flex: none; width: 44px; height: 44px; }
.info-item p { margin: 0; color: var(--muted); }
.info-item strong { display: block; color: var(--purple-900); }

/* Footer */
.site-footer { background: var(--purple-900); color: rgba(255,255,255,.75); padding: 3.5rem 0 2rem; margin-top: 5rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.site-footer img { height: 38px; width: auto; margin-bottom: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange-500); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .9rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); display: none; padding: .5rem 1.25rem 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: .8rem 0; }
  .nav-links a.btn { text-align: center; margin-top: .5rem; }
  .grid-3, .grid-4, .grid-2, .form-row { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
  .hero { padding: 4.5rem 0 5rem; }
  .cta { padding: 2.5rem 1.8rem; }
  .form-card { padding: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
