/* ===== Veronix Technologies — styles ===== */
:root {
  --navy-900: #0d1b2a;
  --navy-800: #16283b;
  --navy-700: #1e3550;
  --navy-600: #274565;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eaf1f8;
  --text-dim: #9fb2c6;
  --white: #ffffff;
  --accent: #3d8bff;
  --accent-soft: rgba(61, 139, 255, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(61,139,255,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(61,139,255,.45); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 27, 42, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(13,27,42,.9); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo__img { height: 48px; width: auto; display: block; border-radius: 10px; border: 1px solid var(--line-strong); }
.logo--footer .logo__img { height: 44px; }
.logo__fallback[hidden] { display: none; }
.logo__fallback { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  font-weight: 800; font-size: 22px; letter-spacing: 1px; color: #fff;
  background: var(--navy-700); padding: 6px 12px; border-radius: 8px;
  border: 1px solid var(--line-strong);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; font-weight: 700; font-size: 15px; }
.logo__text span { font-weight: 500; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color .18s ease; }
.nav__link:hover { color: #fff; }
.nav__link--btn {
  color: #fff; border: 1px solid var(--line-strong); padding: 9px 18px;
  border-radius: var(--radius-sm); transition: all .18s ease;
}
.nav__link--btn:hover { background: var(--accent); border-color: var(--accent); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; padding: 160px 0 90px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(61,139,255,.22), transparent 62%);
  filter: blur(20px);
}
.hero__inner { position: relative; text-align: center; }
.hero__badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--navy-800);
  color: var(--text-dim); font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 26px;
}
.hero__title { font-size: clamp(34px, 6vw, 62px); font-weight: 800; line-height: 1.08; letter-spacing: -1px; }
.hero__title span { color: var(--accent); }
.hero__subtitle { max-width: 640px; margin: 22px auto 0; color: var(--text-dim); font-size: clamp(16px, 2.2vw, 19px); }
.hero__actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

.hero__stats { display: flex; gap: 48px; justify-content: center; margin-top: 64px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num { font-size: 40px; font-weight: 800; color: #fff; line-height: 1; }
.stat__value { display: flex; align-items: baseline; justify-content: center; }
.stat__unit { font-size: 30px; font-weight: 800; color: var(--accent); margin-left: 5px; }
.stat__label { color: var(--text-dim); font-size: 14px; margin-top: 8px; }
.stat { position: relative; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section--alt { background: var(--navy-800); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__tag {
  display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.section__lead { color: var(--text-dim); font-size: 17px; margin-top: 16px; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.card--accent { background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); border-color: rgba(61,139,255,.35); }
.card__icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  font-size: 24px; margin-bottom: 18px;
}
.card__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card__text { color: var(--text-dim); font-size: 15px; }

/* ===== Approach ===== */
.approach__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.approach__grid .section__head { text-align: left; margin: 0 0 24px; }
.approach__grid .section__tag { margin-bottom: 12px; }
.checklist { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.checklist li { position: relative; padding-left: 34px; color: var(--text-dim); font-size: 16px; }
.checklist li strong { color: #fff; font-weight: 600; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  background: var(--accent-soft); color: var(--accent); border-radius: 6px; font-weight: 700;
}
.approach__panel {
  background: var(--navy-900); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 26px 26px; box-shadow: var(--shadow);
}
.panel-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.panel-row span { color: var(--text-dim); }
.panel-row b { color: #fff; }
.panel-cta { margin-top: 22px; }
.panel-cta p { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; }

/* ===== Stack ===== */
.stack { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.stack span {
  padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--navy-800); color: var(--text); font-size: 15px; font-weight: 500;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.stack span:hover { border-color: var(--accent); color: #fff; transform: translateY(-3px); }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  position: relative; overflow: hidden;
}
.step__num { font-size: 40px; font-weight: 800; color: var(--navy-600); line-height: 1; margin-bottom: 16px; }
.step__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step__text { color: var(--text-dim); font-size: 15px; }

/* ===== Contact ===== */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact .section__head, .contact .section__tag { text-align: left; }
.contact__list { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 16px; align-items: baseline; }
.contact__list span { color: var(--text-dim); font-size: 14px; min-width: 80px; text-transform: uppercase; letter-spacing: 1px; }
.contact__list a { color: #fff; font-weight: 500; font-size: 17px; border-bottom: 1px solid transparent; }
.contact__list a:hover { border-bottom-color: var(--accent); }

.form {
  background: var(--navy-800); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.form__row { margin-bottom: 18px; }
.form label { display: block; font-size: 14px; color: var(--text-dim); font-weight: 500; }
.form input, .form textarea {
  width: 100%; margin-top: 8px; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--navy-900); border: 1px solid var(--line-strong); color: #fff;
  font-family: inherit; font-size: 15px; resize: vertical; transition: border-color .18s ease;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form input::placeholder, .form textarea::placeholder { color: #647a92; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; cursor: pointer; }
.form__consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px; accent-color: var(--accent); cursor: pointer; }
.form__consent span { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.form__consent a { color: var(--accent); border-bottom: 1px solid transparent; }
.form__consent a:hover { border-bottom-color: var(--accent); }
.form__note { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form__note.success { color: #4ade80; }
.form__note.error { color: #f87171; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .22s ease, border-color .22s ease;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan--featured {
  background: linear-gradient(170deg, var(--navy-700), var(--navy-800));
  border-color: rgba(61,139,255,.45); box-shadow: var(--shadow);
}
.plan__badge {
  position: absolute; top: -12px; left: 28px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.plan__name { font-size: 22px; font-weight: 800; }
.plan__tagline { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.plan__price { font-size: 34px; font-weight: 800; color: #fff; margin: 22px 0 4px; }
.plan__from { font-size: 16px; font-weight: 600; color: var(--text-dim); }
.plan__term { color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.plan__list { list-style: none; display: grid; gap: 12px; margin-bottom: 22px; }
.plan__list li { position: relative; padding-left: 28px; color: var(--text); font-size: 15px; }
.plan__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
  background: var(--accent-soft); color: var(--accent); border-radius: 5px;
}
.plan__for { color: var(--text-dim); font-size: 13px; font-style: italic; margin-bottom: 22px; }
.plan .btn { margin-top: auto; }

.pricing__note {
  display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 22px 26px;
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--navy-800); color: var(--text-dim); font-size: 15px;
}
.pricing__note b { color: #fff; font-weight: 600; }
.pricing__note-ico {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.pricing__terms { text-align: center; color: var(--text-dim); font-size: 14px; margin-top: 18px; }

/* ===== Contact: phone ===== */
.contact__phone {
  display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 16px 20px;
  border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--navy-800);
  transition: transform .18s ease, border-color .18s ease;
}
.contact__phone:hover { transform: translateY(-3px); border-color: var(--accent); }
.contact__phone-ico {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact__phone-body { display: flex; flex-direction: column; }
.contact__phone-label { color: var(--text-dim); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.contact__phone-num { color: #fff; font-weight: 700; font-size: 22px; letter-spacing: .5px; }

/* ===== Contact channels ===== */
.contact__group-title {
  color: var(--text-dim); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 600; margin: 26px 0 12px;
}
.contact__channels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--navy-800); transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.channel:hover { transform: translateY(-3px); border-color: transparent; }
.channel--tg:hover { background: linear-gradient(135deg, #2aabee, #229ed9); }
.channel--wa:hover { background: linear-gradient(135deg, #25d366, #1da851); }
.channel--max:hover { background: linear-gradient(135deg, #6b5bff, #8a3dff); }
.channel--zoom:hover { background: linear-gradient(135deg, #4a9dff, #2d8cff); }
.channel__icon {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800;
}
.channel--tg .channel__icon { background: linear-gradient(135deg, #2aabee, #229ed9); }
.channel--wa .channel__icon { background: linear-gradient(135deg, #25d366, #1da851); }
.channel--max .channel__icon { background: linear-gradient(135deg, #6b5bff, #8a3dff); }
.channel--zoom .channel__icon { background: linear-gradient(135deg, #4a9dff, #2d8cff); }
.channel__body { display: flex; flex-direction: column; flex: 1; }
.channel__title { color: #fff; font-weight: 600; font-size: 16px; }
.channel__sub { color: var(--text-dim); font-size: 13px; margin-top: 2px; }
.channel:hover .channel__sub { color: rgba(255,255,255,.85); }

/* ===== Floating quick contact (FAB) ===== */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__btn {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; box-shadow: 0 12px 30px rgba(61,139,255,.45);
  font-size: 26px; display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.fab__btn:hover { transform: scale(1.06); }
.fab__btn-close { display: none; }
.fab.open .fab__btn-open { display: none; }
.fab.open .fab__btn-close { display: block; }
.fab.open .fab__btn { background: var(--navy-700); }
.fab__menu {
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(12px) scale(.96); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.fab.open .fab__menu { opacity: 1; transform: none; pointer-events: auto; }
.fab__item {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: var(--shadow); transition: transform .16s ease;
}
.fab__item:hover { transform: translateX(-4px); }
.fab__item--phone { background: linear-gradient(135deg, #3d8bff, #2f6fd6); }
.fab__item--tg { background: linear-gradient(135deg, #2aabee, #229ed9); }
.fab__item--wa { background: linear-gradient(135deg, #25d366, #1da851); }
.fab__item--max { background: linear-gradient(135deg, #6b5bff, #8a3dff); }
.fab__item--zoom { background: linear-gradient(135deg, #4a9dff, #2d8cff); }
.fab__ico {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800;
}
@media (max-width: 720px) {
  .fab { right: 16px; bottom: 16px; }
  .fab__btn { width: 54px; height: 54px; font-size: 23px; }
}

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--navy-900); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__copy { color: var(--text-dim); font-size: 14px; }
.footer__nav { display: flex; gap: 24px; }
.footer__nav a { color: var(--text-dim); font-size: 14px; transition: color .18s ease; }
.footer__nav a:hover { color: #fff; }

/* ===== Works / Portfolio ===== */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .22s ease, border-color .22s ease;
}
.work:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.work__img {
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  color: #6f86a1; font-weight: 600; font-size: 15px;
  background: repeating-linear-gradient(45deg, #1a2c40, #1a2c40 12px, #1e3350 12px, #1e3350 24px);
  border-bottom: 1px solid var(--line);
}
.work__body { padding: 22px; }
.work__tag {
  display: inline-block; color: var(--accent); background: var(--accent-soft);
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.work__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.work__text { color: var(--text-dim); font-size: 15px; }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 20px;
}
.review__text { color: var(--text); font-size: 16px; line-height: 1.6; }
.review__author { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6b5bff); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px;
}
.review__author b { display: block; color: #fff; font-size: 15px; }
.review__author small { color: var(--text-dim); font-size: 13px; }

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .works, .reviews { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .approach__grid, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; transform: translateY(-120%); transition: transform .3s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__link--btn { text-align: center; margin-top: 12px; }
  .burger { display: flex; }
  .cards, .steps, .contact__channels, .pricing, .works, .reviews { grid-template-columns: 1fr; }
  .hero__stats { gap: 32px; }
  .section { padding: 72px 0; }
}
