/* ===== WANET — clean Microsoft-style UI (white by default) ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --ink: #18191b;
  --muted: #5b6168;
  --line: #e6e9ee;
  --brand: #1f5eff;       /* primary accent */
  --brand-dark: #0f44d6;
  --green: #1aa260;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 8px;
  border: 1px solid transparent; cursor: pointer; transition: .15s ease; white-space: nowrap; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-alt); }
.btn--lg { padding: 13px 26px; font-size: 15px; }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -.3px; }
.brand__dot { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, var(--brand), var(--green)); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 14px; color: var(--muted); font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; gap: 10px; }

/* ===== Hero ===== */
.hero { padding: 72px 0 64px; background:
  radial-gradient(1200px 400px at 80% -10%, rgba(31,94,255,.07), transparent 60%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--brand);
  background: rgba(31,94,255,.08); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 50px; line-height: 1.08; letter-spacing: -1.2px; font-weight: 800; }
.hero .accent { color: var(--brand); }
.lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero__cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Chat mock */
.hero__visual { display: flex; justify-content: center; }
.chat { position: relative; width: 320px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: #075e54; color: #fff; }
.chat__avatar { width: 36px; height: 36px; border-radius: 50%; background: #128c7e;
  display: grid; place-items: center; font-weight: 700; }
.chat__head small { display: block; opacity: .8; font-size: 11px; }
.chat__body { padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background: #ece5dd; min-height: 230px; }
.bubble { max-width: 78%; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.bubble--in { background: #fff; align-self: flex-start; border-top-left-radius: 3px; }
.bubble--out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 3px; }
.chat__tag { position: absolute; top: 12px; right: 12px; background: var(--brand); color: #fff;
  font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; }
.section h2 { font-size: 34px; letter-spacing: -.6px; margin-top: 8px; font-weight: 800; }
.section__sub { color: var(--muted); font-size: 17px; margin-top: 8px; max-width: 620px; }

/* Grids */
.grid { display: grid; gap: 18px; margin-top: 36px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: .15s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon { font-size: 26px; }
.card h3 { margin: 12px 0 6px; font-size: 17px; }
.card p { color: var(--muted); font-size: 14px; }
.feature { padding: 4px 0; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* App store */
.appstore { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.appstore__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center; transition: .15s ease; }
.app-tile:hover { box-shadow: var(--shadow); }
.app-tile span { font-size: 30px; display: block; }
.app-tile b { display: block; margin: 8px 0 4px; }
.app-tile small { color: var(--brand); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(31,94,255,.1); color: var(--brand); font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* CTA */
.cta { padding: 72px 0; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; text-align: center; }
.cta__inner h2 { font-size: 30px; margin-bottom: 22px; }
.cta .btn--primary { background: #fff; color: var(--brand); }
.cta .btn--primary:hover { background: #eef2ff; }

/* Footer */
.footer { background: #0c1118; color: #aeb6c2; padding: 56px 0 28px; }
.footer .brand { color: #fff; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { margin-top: 10px; font-size: 14px; max-width: 260px; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__cols h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer__cols a { display: block; font-size: 13.5px; margin-bottom: 8px; color: #aeb6c2; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #1c2530; font-size: 13px; }

/* ===== Auth pages ===== */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth__panel { background: linear-gradient(150deg, var(--brand), #0a2a8c); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.auth__panel h2 { font-size: 30px; letter-spacing: -.5px; }
.auth__panel p { margin-top: 14px; opacity: .9; max-width: 380px; }
.auth__points { margin-top: 28px; display: grid; gap: 14px; }
.auth__points div { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.auth__form { display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth__card { width: 100%; max-width: 380px; }
.auth__card .brand { margin-bottom: 24px; }
.auth__card h1 { font-size: 26px; letter-spacing: -.4px; }
.auth__card .sub { color: var(--muted); margin: 6px 0 26px; font-size: 14.5px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 15px; font-family: var(--font); transition: .15s; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,94,255,.12); }
.phone-row { display: flex; gap: 8px; }
.phone-row .cc { width: 76px; flex: none; text-align: center; }
.btn--block { width: 100%; }
.auth__alt { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.auth__alt a { color: var(--brand); font-weight: 600; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.hidden { display: none; }
.tabs { display: flex; gap: 6px; background: var(--bg-alt); border: 1px solid var(--line); padding: 4px; border-radius: 10px; margin-bottom: 22px; }
.tabs button { flex: 1; height: 36px; border: none; background: transparent; border-radius: 7px; font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--muted); }
.tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero h1 { font-size: 38px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .appstore { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth__panel { display: none; }
}
