/* ===============================
   VARIABLES
================================ */
:root{
  --bg:#05070c;
  --bg2:#070a12;
  --text:#eef2ff;
  --muted:#b3bddb;
  --line:rgba(255,255,255,.08);
  --card:rgba(255,255,255,.05);
  --grad:linear-gradient(90deg,#38bdf8,#6366f1,#a855f7);

  --radius-sm:14px;
  --radius-md:18px;
  --radius-lg:24px;

  --max:1200px;
}

/* ===============================
   BASE RESET (SAFE)
================================ */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  font-size:16px; /* НЕ ПИПАМЕ */
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 700px at 15% 10%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(900px 650px at 85% 20%, rgba(168,85,247,.16), transparent 55%),
    linear-gradient(180deg,var(--bg),var(--bg2));
  overflow-x:hidden;
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

/* ===============================
   CONTAINER
================================ */
.container{
  width:min(var(--max), calc(100% - 48px));
  margin-inline:auto;
}

/* ===============================
   HEADER (НЕ ВЛИЯЕ НА ТЕКСТА)
================================ */
.header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(5,7,12,.65);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  height:72px;
  flex-wrap:nowrap;
}

.brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}

.brand-logo{
  height:56px;
  width:auto;
  display:block;
  filter:drop-shadow(0 4px 14px rgba(0,0,0,.55));
}

.nav{
  display:flex;
  gap:22px;
  align-items:center;
  white-space:nowrap;
}

.nav a{
  font-size:15px;
  font-weight:500;
  color:var(--muted);
}

.nav a:hover{
  color:var(--text);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:14px;
}

.lang{
  display:flex;
  gap:8px;
  font-size:14px;
  color:var(--muted);
}

.lang-link{
  padding:6px 8px;
  border-radius:10px;
}

.lang-link.is-active{
  background:rgba(255,255,255,.06);
  color:var(--text);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  font-size:15px;
  font-weight:600;
  border-radius:16px;
  border:1px solid var(--line);
  white-space:nowrap;
}

.btn-primary{
  background:var(--grad);
  color:#07101a;
  border-color:rgba(255,255,255,.15);
}

.btn-ghost{
  background:rgba(255,255,255,.05);
  color:var(--text);
}

/* ===============================
   HERO (ГОЛЯМ, СИЛЕН)
================================ */
.hero{
  padding:72px 0 56px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.25fr .85fr;
  gap:40px;
  align-items:start;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  font-size:14px;
  color:var(--muted);
}

.pill .dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--grad);
}

h1{
  margin:20px 0 16px;
  font-size:clamp(40px,5vw,64px);
  line-height:1.05;
  letter-spacing:-0.02em;
}

.lead{
  max-width:62ch;
  font-size:18px;
  color:var(--muted);
}

.hero-cta{
  margin-top:28px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.hero-stats{
  margin-top:32px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.stat{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:18px;
}

.stat-num{
  font-size:18px;
  font-weight:800;
}

.stat-label{
  margin-top:6px;
  font-size:14px;
  color:var(--muted);
}

/* ===============================
   RIGHT PANEL
================================ */
.glass-card{
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius-lg);
  padding:24px;
}

.glass-title{
  font-size:18px;
  font-weight:700;
  margin-bottom:14px;
}

.checklist{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.checklist li{
  position:relative;
  padding-left:28px;
  font-size:15px;
  color:var(--muted);
}

.checklist li strong{
  color:var(--text);
}

.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:2px;
  width:18px;
  height:18px;
  border-radius:6px;
  background:rgba(56,189,248,.22);
  border:1px solid rgba(56,189,248,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}

/* ===============================
   SECTIONS (НОРМАЛЕН ТЕКСТ)
================================ */
.section{
  padding:88px 0;
}

.section.alt{
  background:rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head{
  max-width:72ch;
}

.section-head h2{
  margin:0 0 14px;
  font-size:34px;
  letter-spacing:-0.02em;
}

.section-head p{
  margin:0;
  font-size:17px;
  color:var(--muted);
}

/* Cards */
.cards{
  margin-top:36px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:24px;
}

.card-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
}

.card h3{
  margin:16px 0 10px;
  font-size:20px;
}

.card p{
  margin:0;
  font-size:15px;
  color:var(--muted);
}

/* ===============================
   CONTACT (ПО-ГОЛЯМ, ЧЕТИМ)
================================ */
.contact-grid{
  margin-top:40px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
}

.form{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:28px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:18px;
}

label{
  font-size:15px;
  font-weight:500;
}

input,
textarea{
  padding:14px 14px;
  font-size:16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(0,0,0,.25);
  color:var(--text);
}

textarea{
  resize:vertical;
}

.checkbox{
  display:flex;
  gap:10px;
  font-size:14px;
  color:var(--muted);
  margin:18px 0 22px;
}

/* ===============================
   FOOTER
================================ */
.footer{
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.25);
}

.footer-inner{
  padding:28px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.footer-brand{
  font-weight:800;
}

.footer-sub{
  font-size:13px;
  color:var(--muted);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 980px){
  .nav{
    display:none;
  }

  .hero-grid{
    grid-template-columns:1fr;
  }

  .cards{
    grid-template-columns:1fr;
  }

  .hero-stats{
    grid-template-columns:1fr;
  }

  .contact-grid{
    grid-template-columns:1fr;
  }

  h1{
    font-size:clamp(34px,7vw,46px);
  }

  .brand-logo{
    height:44px;
  }

  .header-inner{
    height:64px;
  }
}

