:root {
  --bg: #eef9fe;
  --panel: #ffffff;
  --text: #12395c;
  --muted: #63758a;
  --blue: #155995;
  --cyan: #10a8df;
  --sky: #e6f7fd;
  --line: #cfeefa;
  --dark: #071527;
  --shadow: 0 28px 90px rgba(21, 89, 149, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(16,168,223,.24), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(21,89,149,.20), transparent 32%),
    linear-gradient(180deg, #f5fcff 0%, #eef9fe 46%, #ffffff 100%);
  overflow-x: hidden;
}
a { color: inherit; }

.hero {
  min-height: 92vh;
  padding: 22px min(4vw, 54px) 58px;
  background: #071527;
  color: white;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,21,39,.96) 0%, rgba(7,21,39,.83) 35%, rgba(7,21,39,.42) 66%, rgba(7,21,39,.24) 100%),
    linear-gradient(180deg, rgba(7,21,39,.22) 0%, rgba(7,21,39,.08) 54%, rgba(7,21,39,.62) 100%),
    url("../assets/ai-working-robot.jpg") center right / cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: -1;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.nav {
  max-width: 1180px;
  margin: 0 auto 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-weight: 950; font-size: 22px; letter-spacing: -.04em; }
.logo-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 14px 40px rgba(16,168,223,.35); font-size: 18px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: #d8ecf8; text-decoration: none; border: 1px solid rgba(255,255,255,.16); padding: 9px 13px; border-radius: 999px; font-size: 13px; font-weight: 800; background: rgba(255,255,255,.06); }
.nav-links a:hover { background: rgba(255,255,255,.12); }

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 52px;
  align-items: center;
}
.kicker { text-transform: uppercase; letter-spacing: .22em; color: #5ccdf0; font-size: 12px; font-weight: 950; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 5.7vw, 68px); line-height: .94; letter-spacing: -.06em; margin: 14px 0 20px; max-width: 720px; }
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.46; color: #cfe1f0; max-width: 720px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 18px; border-radius: 999px; text-decoration: none; font-weight: 950; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; box-shadow: 0 16px 40px rgba(16,168,223,.28); }
.btn.secondary { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.18); }
.btn.large { min-height: 58px; padding-inline: 24px; }
.trust-row { display: flex; gap: 8px; flex-wrap: wrap; color: #cae3f3; font-size: 13px; }
.trust-row span { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); padding: 8px 10px; border-radius: 999px; }

.robot-hero { position: relative; min-height: 560px; }
.robot-hero img, .robot-glow { display: none; }
.metric-card { position: absolute; background: rgba(255,255,255,.50); backdrop-filter: blur(14px); color: var(--text); border: 1px solid rgba(216,236,248,.66); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); max-width: 190px; z-index: 3; }
.metric-card strong { display: block; font-size: 38px; color: var(--blue); line-height: 1; }
.metric-card span { color: var(--muted); font-weight: 800; font-size: 13px; }
.metric-card.one { left: 0; bottom: 190px; }
.metric-card.two { right: 0; bottom: 122px; }
.metric-card.three { right: 46px; top: 88px; }

.section { max-width: 1180px; margin: 0 auto; padding: 78px min(4vw, 34px); }
.revolution { padding-top: 46px; padding-bottom: 36px; }
.revolution-card { position: relative; overflow: hidden; border-radius: 38px; padding: clamp(28px, 5vw, 56px); background: radial-gradient(circle at 88% 12%, rgba(16,168,223,.34), transparent 30%), linear-gradient(135deg, #071527, #12395c 64%, #0b2b4b); color: white; box-shadow: var(--shadow); }
.revolution-card::after { content: "AI"; position: absolute; right: -18px; bottom: -44px; font-size: clamp(110px, 20vw, 240px); font-weight: 950; letter-spacing: -.12em; color: rgba(255,255,255,.045); line-height: .8; }
.section .revolution-card h2 { color: white; font-size: clamp(48px, 8vw, 104px); line-height: .82; letter-spacing: -.08em; margin: 14px 0 18px; max-width: 900px; }
.revolution-lead { color: #d8ecf8; font-size: clamp(19px, 2.4vw, 27px); line-height: 1.42; max-width: 940px; margin-bottom: 26px; }
.revolution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 1; }
.revolution-grid div { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); border-radius: 22px; padding: 18px; backdrop-filter: blur(12px); }
.revolution-grid strong { display: block; font-size: 24px; color: white; margin-bottom: 8px; }
.revolution-grid span { color: #cfe1f0; line-height: 1.45; }
.revolution-punch { position: relative; z-index: 1; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); color: white; font-size: clamp(22px, 3vw, 36px); line-height: 1.16; font-weight: 950; letter-spacing: -.04em; max-width: 920px; }
.section-head { max-width: 850px; margin: 0 auto; text-align: center; }
.section-head.compact { margin-bottom: 28px; }
.section h2, .cta h2 { font-size: clamp(34px, 4.8vw, 58px); line-height: .98; letter-spacing: -.055em; color: var(--blue); margin: 10px 0 16px; }
.section-head p { color: var(--muted); font-size: 19px; line-height: 1.6; }

.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-card { background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: 0 20px 70px rgba(21,89,149,.10); min-height: 360px; display: flex; flex-direction: column; }
.case-card.featured { grid-column: span 2; background: linear-gradient(135deg, #ffffff, #e6f7fd); }
.icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: #e6f7fd; font-size: 26px; margin-bottom: 16px; }
.case-card h3 { color: var(--blue); font-size: 25px; line-height: 1.05; margin-bottom: 12px; letter-spacing: -.03em; }
.case-card p { color: #3c5267; line-height: 1.55; }
.case-card ul { margin: auto 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.case-card li { position: relative; padding-left: 25px; color: #334155; font-weight: 750; }
.case-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 950; }

.references { padding-top: 44px; }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.reference-card { position: relative; overflow: hidden; min-height: 390px; padding: 26px; border-radius: 28px; color: white; background: linear-gradient(145deg, #071527, #12395c); box-shadow: var(--shadow); }
.reference-card::after { content: ""; position: absolute; width: 210px; height: 210px; right: -105px; bottom: -105px; border-radius: 50%; background: rgba(16,168,223,.18); }
.reference-card > * { position: relative; z-index: 1; }
.reference-tag { display: inline-flex; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #8de3ff; background: rgba(255,255,255,.07); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.reference-card h3 { margin: 24px 0 14px; font-size: 34px; letter-spacing: -.045em; }
.reference-card p { color: #d8ecf8; line-height: 1.58; }
.reference-card ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.reference-card li { position: relative; padding-left: 24px; color: white; font-weight: 800; }
.reference-card li::before { content: "✓"; position: absolute; left: 0; color: #5ccdf0; }
.reference-note { margin: 18px auto 0; max-width: 780px; color: var(--muted); text-align: center; font-weight: 700; }

.process { padding-top: 30px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps div { background: #071527; color: white; border-radius: 28px; padding: 24px; min-height: 230px; position: relative; overflow: hidden; }
.steps div::after { content:""; position:absolute; inset:auto -30px -60px auto; width:160px; height:160px; border-radius:50%; background:rgba(16,168,223,.22); }
.steps span { display:grid; place-items:center; width:48px; height:48px; border-radius:16px; background:linear-gradient(135deg,var(--blue),var(--cyan)); font-weight:950; margin-bottom:22px; }
.steps h3 { font-size: 24px; margin-bottom: 10px; }
.steps p { color: #cfe1f0; line-height: 1.55; }

.order-section { padding-top: 44px; }
.order-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; align-items: start; }
.order-copy { background: linear-gradient(135deg, #071527, #12395c); color: white; border-radius: 34px; padding: 30px; min-height: 100%; box-shadow: var(--shadow); position: sticky; top: 18px; }
.order-copy h2 { color: white; font-size: clamp(34px, 4vw, 52px); line-height: .98; letter-spacing: -.055em; margin: 12px 0 16px; }
.order-copy p { color: #cfe1f0; font-size: 18px; line-height: 1.58; }
.order-note { margin-top: 24px; padding: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); border-radius: 22px; display: grid; gap: 6px; }
.order-note span { color: #d8ecf8; line-height: 1.45; }
.order-form { background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 34px; padding: 24px; box-shadow: 0 20px 70px rgba(21,89,149,.12); display: grid; gap: 14px; }
.form-row.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.order-form label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 850; }
.order-form input, .order-form select, .order-form textarea { width: 100%; border: 1px solid #bde6f6; border-radius: 16px; padding: 13px 14px; font: inherit; color: var(--text); background: #fff; outline: none; }
.order-form textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(16,168,223,.14); }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.checkbox-grid label { display: flex; align-items: center; gap: 9px; border: 1px solid #d8ecf8; background: #f8fcff; border-radius: 16px; padding: 11px 12px; color: #334155; }
.checkbox-grid input { width: auto; accent-color: var(--cyan); }
.form-submit { width: 100%; margin-top: 4px; }
.form-status { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.form-status.ok { background: #ecfdf5; color: #166534; border: 1px solid #bbf7d0; padding: 11px 12px; border-radius: 14px; }
.legal-consent { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.legal-consent a, .form-status a { color: var(--blue); font-weight: 850; }
.site-footer { padding: 30px min(4vw, 34px); color: #d8ecf8; background: var(--dark); border-top: 1px solid rgba(255,255,255,.1); }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 24px; align-items: center; }
.footer-inner strong, .footer-inner span { display: block; }
.footer-inner span { margin-top: 5px; color: #91a9bc; font-size: 13px; }
.footer-links, .footer-contact { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-links a, .footer-contact a { color: #d8ecf8; font-size: 13px; font-weight: 800; }
.footer-contact { justify-content: flex-end; }

.cta { max-width: 1120px; margin: 24px auto 70px; padding: 36px; border-radius: 34px; background: linear-gradient(135deg, #071527, #12395c); color: white; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow); }
.cta h2 { color: white; margin-bottom: 12px; }
.cta p { color: #cfe1f0; font-size: 18px; line-height: 1.55; max-width: 720px; margin-bottom: 0; }

@media (max-width: 920px) {
  .hero { min-height: auto; padding: 16px 14px 42px; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(7,21,39,.90) 0%, rgba(7,21,39,.74) 48%, rgba(7,21,39,.90) 100%),
      url("../assets/ai-working-robot.jpg") 62% top / cover no-repeat;
  }
  .nav { margin-bottom: 36px; align-items: flex-start; }
  .nav-links { display: none; }
  .hero-grid, .case-grid, .reference-grid, .steps, .cta, .order-grid, .revolution-grid { grid-template-columns: 1fr; }
  .order-copy { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { justify-content: flex-start; }
  .form-row.two, .checkbox-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .robot-hero { min-height: 250px; padding-bottom: 92px; }
  .case-card.featured { grid-column: auto; }
  .cta { margin-inline: 14px; padding: 24px; }
}

@media (max-width: 560px) {
  .logo { font-size: 20px; }
  .logo-mark { width: 42px; height: 42px; }
  h1 { font-size: 38px; line-height: .96; letter-spacing: -.045em; }
  .lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .trust-row span { width: 100%; text-align: center; }
  .robot-hero { min-height: auto; padding-bottom: 0; }
  .metric-card { position: static; max-width: none; margin-top: 10px; }
  .metric-card strong { font-size: 32px; }
  .section { padding: 54px 14px; }
  .order-section { padding-top: 36px; }
  .order-copy, .order-form { border-radius: 22px; padding: 18px; }
  .order-copy h2 { font-size: 32px; }
  .order-copy p { font-size: 16px; }
  .order-form input, .order-form select, .order-form textarea { border-radius: 13px; padding: 11px 12px; }
  .checkbox-grid label { border-radius: 13px; padding: 10px; }
  .section h2, .cta h2 { font-size: 34px; }
  .section-head p { font-size: 16px; }
  .case-card { border-radius: 22px; padding: 18px; min-height: auto; }
  .case-card h3 { font-size: 22px; }
  .steps div { border-radius: 22px; min-height: auto; }
  .cta .btn { width: 100%; }
}
