:root {
  --primary: #0078D4;
  --primary-dark: #005a9e;
  --dark: #071827;
  --text: #263443;
  --muted: #6b7a89;
  --light: #ffffff;
  --soft: #f3f8fc;
  --shadow: 0 20px 50px rgba(7, 24, 39, 0.14);
  --radius: 22px;
  --transition: 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: "Inter", Arial, sans-serif; background: var(--light); color: var(--text); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 20px; }
li { margin-bottom: 10px; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 100px 0; }

.site-header { position: fixed; top: 0; width: 100%; z-index: 50; padding: 18px 0; transition: var(--transition); }
.site-header.scrolled { padding: 10px 0; }

.navbar {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(7, 24, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--dark); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #41b6ff);
  color: white; font-size: 0.85rem; letter-spacing: 0.5px;
}

.nav-links { display: flex; gap: 28px; list-style: none; padding-left: 0; }
.nav-link { font-weight: 700; font-size: 0.95rem; color: var(--dark); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary); }

.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; border-radius: 10px; background: var(--dark); }

.hero {
  min-height: 100vh; display: grid; align-items: center; color: white; position: relative; overflow: hidden;
  background: radial-gradient(circle at top right, rgba(0,120,212,0.45), transparent 32%),
              linear-gradient(135deg, #061421, #0b2940 52%, #071827);
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 60px; position: relative; z-index: 1; padding-top: 100px; }
.eyebrow { color: #77caff; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: 1; letter-spacing: -0.06em; margin-bottom: 26px; }
.hero-text { font-size: 1.2rem; max-width: 720px; color: #d7e9f7; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 800; transition: var(--transition);
}
.btn-primary { background: var(--primary); color: white; }
.btn-secondary { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: white; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.hero-card, .info-card, .list-panel, .why-card, .step, .contact-form { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(18px); padding: 34px; }
.hero-card h2 { margin-bottom: 26px; }
.focus-row { display: flex; justify-content: space-between; margin: 18px 0 8px; color: #eaf6ff; }
.meter { height: 12px; background: rgba(255,255,255,0.13); border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #69d2ff); }
.hero-card p { margin-top: 22px; color: #d7e9f7; }

.intro, .implementation { background: var(--soft); }
.intro-grid, .why-grid, .steps, .contact-grid, .footer-grid { display: grid; gap: 26px; }
.intro-grid { grid-template-columns: repeat(3, 1fr); }
.info-card { background: white; padding: 32px; }
.info-card h3, .why-card h3, .step h3 { color: var(--dark); margin-bottom: 10px; }

.two-column { display: grid; grid-template-columns: 1fr 0.85fr; gap: 60px; align-items: center; }
.two-column.reverse { grid-template-columns: 0.85fr 1fr; }

.section-copy h2, .section-heading h2, .contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; color: var(--dark); letter-spacing: -0.04em; margin-bottom: 22px;
}
.section-copy p, .section-heading p, .contact-copy p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }

.list-panel { background: var(--dark); color: white; padding: 34px; }
.list-panel h3 { margin-bottom: 20px; }

.why { background: linear-gradient(180deg, var(--soft), white); }
.section-heading { max-width: 800px; text-align: center; margin: 0 auto 50px; }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-card { padding: 30px; border: 1px solid #e5eef6; background: white; transition: var(--transition); }
.why-card:hover, .step:hover, .info-card:hover { transform: translateY(-7px); }
.why-card span { display: block; color: var(--primary); font-weight: 900; margin-bottom: 18px; }

.steps { grid-template-columns: repeat(4, 1fr); }
.step { background: var(--soft); padding: 30px; }
.step span {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--primary); color: white; border-radius: 14px; font-weight: 900; margin-bottom: 18px;
}

.contact { background: var(--dark); color: white; }
.contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.contact-copy h2 { color: white; }
.contact-copy p { color: #c9ddea; }
.contact-details { margin-top: 30px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,0.08); }
.contact-details a:hover { color: #77caff; }

.contact-form { background: white; padding: 34px; }
.contact-form label { display: block; color: var(--dark); font-weight: 800; margin-bottom: 8px; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid #dce6ee; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; font: inherit; color: var(--dark);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(0,120,212,0.18); border-color: var(--primary); }
.hidden-field { display: none; }
.form-status { margin-top: 14px; font-weight: 800; }

.footer { background: #04111d; color: #dbeaf5; padding: 60px 0 25px; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
.footer h3 { color: white; margin-bottom: 14px; }
.footer a { display: block; margin-bottom: 10px; color: #dbeaf5; }
.footer-brand { color: white; margin-bottom: 16px; }
.footer-bottom { width: min(1160px, calc(100% - 40px)); margin: 34px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); text-align: center; color: #9fb5c6; }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px;
  border: 0; border-radius: 999px; background: var(--primary); color: white;
  font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow); display: none;
}

.reveal { opacity: 0; transform: translateY(28px); transition: 0.75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 950px) {
  .hero-grid, .two-column, .two-column.reverse, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid, .why-grid, .steps, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 78px; right: 20px; width: min(280px, calc(100vw - 40px));
    display: none; flex-direction: column; gap: 16px; padding: 24px; border-radius: 22px; background: white; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 620px) {
  .section { padding: 76px 0; }
  .intro-grid, .why-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .navbar, .container { width: min(100% - 28px, 1160px); }
  .hero { min-height: auto; padding-top: 130px; }
  .hero h1 { font-size: 2.75rem; }
  .hero-card { padding: 24px; }
}
