:root {
  --navy-900: #06112b;
  --navy-800: #0a1a3f;
  --navy-700: #0f2a63;
  --blue-600: #1559d6;
  --blue-500: #1f7bff;
  --cyan-400: #35c4ff;
  --ink: #0b1733;
  --muted: #5a6785;
  --line: #e3e9f5;
  --bg: #f5f8fe;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(10, 30, 80, .08);
  --grad: linear-gradient(100deg, var(--blue-600), var(--cyan-400));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.hidden { display: none; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(10, 30, 80, .06);
  color: var(--navy-800);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 30px; font-weight: 600; font-size: .95rem; }
.nav a { opacity: .75; transition: opacity .2s; position: relative; }
.nav a:hover { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--grad); transition: right .25s; }
.nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: #eaf0fb; border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--navy-800); font: inherit; font-weight: 700; font-size: .8rem;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; opacity: .7;
}
.lang button.active { background: var(--grad); color: #fff; opacity: 1; }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 9px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #f5f8fe, #eef4ff); padding: 28px 16px 0; }
.hero-img {
  width: min(1180px, 100%, 70vh * 1.777); height: auto;
  margin: 0 auto; border-radius: 22px; box-shadow: 0 20px 50px rgba(10, 30, 80, .18);
}
@media (max-width: 760px) {
  .hero { padding: 16px 12px 0; }
  .hero-img { border-radius: 14px; }
}

/* ---------- Intro ---------- */
.intro {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(53,196,255,.16), transparent 60%),
    radial-gradient(700px 360px at 10% 100%, rgba(31,123,255,.10), transparent 60%),
    linear-gradient(180deg, #eef4ff, #ffffff);
  color: var(--ink);
  padding: 72px 0 80px;
}
.intro-inner { text-align: center; max-width: 820px; }
.intro .lead { margin-inline: auto; }
.intro .cta-row { justify-content: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800;
  color: var(--blue-500); margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--cyan-400); }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 0; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(31,123,255,.35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(31,123,255,.5); }
.btn-ghost { color: var(--navy-800); border: 1px solid #c9d5ec; background: #fff; }
.btn-ghost:hover { background: #eef4ff; border-color: var(--blue-500); }

.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.stats li {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius);
}
.stats b { font-size: 1.9rem; font-weight: 800; min-width: 74px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10,30,80,.13); }
.card-accent { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff; border-color: transparent; }
.card-accent p { color: rgba(255,255,255,.75) !important; }
.card-accent .checks li { color: rgba(255,255,255,.9); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad); margin-bottom: 20px; box-shadow: 0 8px 20px rgba(31,123,255,.3);
}
.card-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.35rem; font-weight: 800; }
.card > p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: .95rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(31,123,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.card-accent .checks li::before { background-color: rgba(53,196,255,.2); }

/* Features (dark) */
.section-dark {
  background:
    radial-gradient(700px 360px at 10% 10%, rgba(31,123,255,.25), transparent 60%),
    radial-gradient(600px 300px at 90% 90%, rgba(53,196,255,.15), transparent 60%),
    var(--navy-900);
  color: #fff;
}
.section-dark .section-head p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: background .25s, border-color .25s;
}
.feature:hover { background: rgba(255,255,255,.07); border-color: rgba(53,196,255,.4); }
.feature svg { width: 34px; height: 34px; fill: none; stroke: var(--cyan-400); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.feature h4 { font-size: 1.1rem; font-weight: 700; }
.feature p { color: rgba(255,255,255,.68); margin: 0; font-size: .95rem; }

/* Screens */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 50px rgba(0,0,0,.45); transition: transform .3s;
}
.shot:hover img { transform: translateY(-4px) scale(1.01); }
.shot figcaption { text-align: center; margin-top: 14px; color: rgba(255,255,255,.75); font-weight: 600; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); text-align: center; }
.why-item svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: rgba(31,123,255,.1); fill: none; stroke: var(--blue-500); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 16px; display: block; }
.why-item h4 { font-size: 1.08rem; }
.why-item p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Contact */
.section-contact { background: var(--white); }
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.contact-info > p { color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact-list svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(31,123,255,.1); fill: none; stroke: var(--blue-500); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact-list a:hover { color: var(--blue-500); }

.contact-form {
  background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
  display: grid; gap: 16px; box-shadow: var(--shadow);
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 500; padding: 12px 14px; border-radius: 12px; border: 1px solid #cfd8ea;
  background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31,123,255,.15);
}
.contact-form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); padding: 28px 0; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-logo { height: 32px; width: auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(10,30,80,.08);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 16px 16px; border-top: 1px solid var(--line); opacity: 1; }
  .nav a::after { display: none; }
  .cards, .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .intro { padding: 48px 0 56px; }
  .contact-form { padding: 22px; }
  .contact-form .btn { justify-self: stretch; }
  .footer-inner { justify-content: center; text-align: center; }
}
@media (max-width: 380px) {
  .brand img { height: 32px; }
  .lang button { padding: 6px 9px; }
}
@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
}
