:root {
  --bg: #06111f;
  --bg2: #0b1630;
  --card: rgba(255,255,255,.075);
  --card2: rgba(255,255,255,.105);
  --text: #eef7ff;
  --muted: rgba(238,247,255,.72);
  --line: rgba(255,255,255,.14);
  --cyan: #27dcff;
  --blue: #4b76ff;
  --violet: #9b5cff;
  --green: #37f0b2;
  --shadow: 0 28px 90px rgba(0,0,0,.45);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(39,220,255,.16), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(155,92,255,.18), transparent 32%),
    linear-gradient(135deg, #04101d 0%, #081832 48%, #050914 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 92px 0; position: relative; }
.page-glow {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(85px);
  opacity: .22;
  pointer-events: none;
  z-index: -1;
}
.page-glow-one { background: var(--cyan); top: -180px; left: -120px; }
.page-glow-two { background: var(--violet); bottom: 10%; right: -180px; }

.header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 13, 27, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #001323;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 26px rgba(39,220,255,.4);
}
.brand strong {
  display: block;
  letter-spacing: .08em;
  font-size: 17px;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover { color: var(--text); }

.header-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
}
.header-cta:hover { background: rgba(255,255,255,.14); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}
.burger span {
  display: block;
  height: 2px;
  margin: 6px 5px;
  background: var(--text);
  border-radius: 2px;
}

.hero {
  min-height: 100vh;
  padding-top: 170px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,16,29,.93) 0%, rgba(4,16,29,.76) 42%, rgba(4,16,29,.38) 100%),
    url("/assets/hero-ai-automation.png") center right / cover no-repeat;
  opacity: .98;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 150px;
  background: linear-gradient(transparent, var(--bg));
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  gap: 52px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #9ff4ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 10px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .92;
  letter-spacing: -.055em;
}
h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 18px;
}
h3 {
  font-size: 22px;
  line-height: 1.12;
  margin-bottom: 12px;
}
.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  margin-bottom: 34px;
}
.hero-actions, .hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #031424;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-color: transparent;
  box-shadow: 0 0 40px rgba(39,220,255,.22);
}
.btn-secondary {
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.hero-tags { margin-top: 28px; }
.hero-tags span, .audience-list span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.055);
}

.hero-card, .card, .visual-card, .step, .form, .contact-note {
  background: linear-gradient(180deg, var(--card2), rgba(255,255,255,.045));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero-card {
  border-radius: var(--radius);
  padding: 26px;
  overflow: hidden;
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 20% 0%, rgba(39,220,255,.24), transparent 30%),
              radial-gradient(circle at 100% 90%, rgba(155,92,255,.22), transparent 30%);
  z-index: -1;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 13px;
}
.pulse {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(55,240,178,.12), 0 0 24px rgba(55,240,178,.72);
}
.flow {
  margin: 30px 0;
  display: grid;
  gap: 14px;
}
.flow div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,.16);
  position: relative;
}
.flow div + div::before {
  content: "↓";
  position: absolute;
  top: -22px;
  left: 22px;
  color: var(--cyan);
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mini-grid div {
  min-height: 105px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
}
.mini-grid b {
  display: block;
  margin-bottom: 18px;
  font-size: 24px;
  color: var(--cyan);
}
.mini-grid span { color: var(--muted); }

.strip { padding: 34px 0; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.strip-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.055);
}
.strip-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}
.strip-grid span { color: var(--muted); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}
.section-head h2 { max-width: 720px; }
.section-head p:last-child {
  max-width: 430px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  min-height: 250px;
  padding: 26px;
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s, background .2s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(39,220,255,.46);
  background: linear-gradient(180deg, rgba(39,220,255,.13), rgba(255,255,255,.045));
}
.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(39,220,255,.24), rgba(155,92,255,.28));
  color: #bdf8ff;
  font-weight: 900;
}
.card p, .step p, .feature-text p, .contact p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
}

.feature {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.035), transparent);
}
.feature-grid {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 42px;
  align-items: center;
}
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.check-list li {
  padding-left: 32px;
  color: var(--muted);
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--green);
  font-weight: 900;
}
.visual-card {
  border-radius: 34px;
  padding: 10px;
  overflow: hidden;
}
.visual-card img {
  border-radius: 26px;
  min-height: 330px;
  object-fit: cover;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius);
}
.step b {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #001323;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.audience {
  padding-top: 30px;
}
.audience-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
}
.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact {
  padding-top: 70px;
}
.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 42px;
  align-items: start;
}
.contact-note {
  display: inline-block;
  margin-top: 22px;
  padding: 20px;
  border-radius: 22px;
  color: var(--muted);
}
.form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius);
}
.form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.24);
  color: var(--text);
  padding: 15px 16px;
  font: inherit;
  outline: none;
}
input:focus, textarea:focus {
  border-color: rgba(39,220,255,.7);
  box-shadow: 0 0 0 4px rgba(39,220,255,.08);
}
.form small { color: rgba(238,247,255,.5); }
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(55,240,178,.12);
  border: 1px solid rgba(55,240,178,.28);
  color: #bcffe9;
}
.form-status.is-visible { display: block; }

.footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: grid;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(5,13,27,.94);
  }
  .hero-grid, .feature-grid, .audience-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 140px;
  }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(4,16,29,.94) 0%, rgba(4,16,29,.78) 60%, #06111f 100%),
      url("/assets/hero-ai-automation.png") center / cover no-repeat;
  }
  .strip-grid, .cards, .steps { grid-template-columns: 1fr 1fr; }
  .section-head {
    display: block;
  }
}

@media (max-width: 640px) {
  .container, .header { width: min(100% - 24px, 1180px); }
  .section { padding: 66px 0; }
  .hero { min-height: auto; padding-bottom: 70px; }
  h1 { font-size: 46px; }
  .strip-grid, .cards, .steps, .mini-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { display: grid; }
}
