/* BigMass introduction page — the app's blue-and-white system (§63): navy for brand
   surfaces, one action blue, white page, light-grey cards. Amber only for "Mass" on navy. */
:root {
  --navy: #0b2a5b;
  --navy-2: #0e3470;
  --blue: #1f6feb;
  --blue-hover: #185ccc;
  --ink: #0f172a;
  --text: #334155;
  --muted: #5b6b82;
  --card: #f4f6f9;
  --line: #e3e8ef;
  --amber: #ffae19;
  --success: #16a34a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
.lang-ka { --font: "Noto Sans Georgian", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
.lang-ka h1 { font-size: clamp(1.75rem, 3.8vw, 2.75rem); }
.lang-ka h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
p { margin: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 820px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 12px;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 40px; padding: 8px 14px; }
.btn-lg { min-height: 52px; padding: 13px 22px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: var(--card); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- header ---- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { border-radius: 9px; }
.wordmark { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.brand-light .wordmark { color: #fff; }
.brand-light .wordmark .mass { color: var(--amber); }
.nav { display: flex; align-items: center; gap: 22px; margin-left: 12px; flex: 1; }
.nav > a { color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav > a:hover { color: var(--blue); }
.footer-langs a { font-size: 14px; font-weight: 600; color: var(--muted); padding: 4px 6px; border-radius: 8px; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-xs { width: 14px; height: 14px; }

/* language menu (a <details> dropdown: works without JavaScript) */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 10px; border-radius: 10px;
  color: var(--navy); font-weight: 700; font-size: 14px; user-select: none;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: var(--card); }
.lang-menu .chevron { color: var(--muted); transition: transform .2s; }
.lang-menu[open] .chevron { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 176px;
  display: grid; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow);
}
.lang-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: 15px;
}
.lang-list a:hover { background: var(--card); color: var(--navy); }
.lang-list a[aria-current] { color: var(--navy); }
.lang-list a[aria-current] .icon { color: var(--blue); }
.menu-button {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: var(--navy); cursor: pointer; align-items: center; justify-content: center;
}
@media (max-width: 1020px) {
  .menu-button { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav > a:last-child { border-bottom: 0; }
  .header.open .nav { display: flex; }
}
@media (max-width: 420px) {
  .header-row { gap: 10px; }
  .header-actions { gap: 4px; }
  .header-actions .btn-primary { padding: 8px 12px; font-size: 14px; }
  .lang-menu summary { padding: 8px 6px; gap: 4px; }
  .lang-menu summary .chevron { display: none; }
  .wordmark { font-size: 19px; }
}

/* ---- hero ---- */
.hero {
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(31, 111, 235, .45), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(31, 111, 235, .25), transparent 60%),
    var(--navy);
  color: #dbe5f5; overflow: hidden;
}
.hero h1 { color: #fff; margin: 14px 0 18px; }
.hero .lead { font-size: 18px; color: #c9d6ec; max-width: 34em; margin-bottom: 28px; }
.hero-grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 0; align-items: end; }
.hero-copy { padding-bottom: 56px; }
.hero-note { margin-top: 18px; font-size: 14px; color: #9fb3d4; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: .02em; color: var(--blue); }
.eyebrow-light {
  display: inline-block; color: #cfe0ff; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18); padding: 6px 12px; border-radius: 999px;
}
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 380px; }
.hero-visual .phone { width: min(270px, 62vw); }
.hero-visual .phone-front { position: relative; z-index: 2; transform: translateY(24px); }
.hero-visual .phone-back { display: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 24px; padding-top: 72px; }
  .hero-copy { padding-bottom: 96px; }
  .hero-visual { min-height: 560px; }
  .hero-visual .phone { width: 280px; }
  .hero-visual .phone-front { position: absolute; left: 4%; bottom: -40px; transform: none; }
  .hero-visual .phone-back { display: block; position: absolute; right: 2%; bottom: 10px; opacity: .92; transform: rotate(4deg); }
}

/* ---- phone frame ---- */
.phone {
  aspect-ratio: 390 / 844; overflow: hidden; background: #fff;
  border: 9px solid #0a0f1c; border-radius: 38px;
  box-shadow: 0 30px 60px rgba(5, 14, 35, .35), 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; height: auto; }

/* ---- trust strip ---- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-row { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-top: 22px; padding-bottom: 22px; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 15px; }
.trust-row .icon { color: var(--success); }

/* ---- sections ---- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-tint { background: var(--card); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-number {
  width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.step-icon { color: var(--blue); }
.step h3 { margin-bottom: 8px; }
.step p, .feature p { color: var(--muted); font-size: 15.5px; }

.features { display: grid; gap: 18px; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: #e8f0fe; color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature h3 { margin-bottom: 8px; }

.gallery { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); justify-items: center; }
.gallery figure { margin: 0; width: 100%; max-width: 270px; }
.gallery .phone { box-shadow: 0 18px 40px rgba(15, 23, 42, .18); }
.gallery figcaption { margin-top: 16px; text-align: center; font-weight: 700; color: var(--navy); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a {
  display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 15px;
}
.chips a:hover { border-color: var(--blue); color: var(--blue); }

/* ---- professionals ---- */
.pros { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #c9d6ec; }
.pros h2 { color: #fff; margin: 14px 0 14px; }
.pros .lead { color: #c9d6ec; font-size: 18px; margin-bottom: 22px; }
.pros-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .pros-grid { grid-template-columns: 1.1fr .9fr; } }
.checklist { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: #e2eaf7; }
.checklist .icon { color: #4ade80; margin-top: 3px; }
.pros-visual { display: flex; justify-content: center; }
.pros-visual .phone { width: min(280px, 70vw); }

/* ---- FAQ ---- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chevron { color: var(--muted); transition: transform .2s; }
.faq details[open] .chevron { transform: rotate(180deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---- CTA + footer ---- */
.cta-band { background: var(--navy); padding: 56px 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d6ec; margin-top: 8px; }
.footer { background: #071d40; color: #9fb3d4; padding: 48px 0 28px; font-size: 15px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; } }
.footer-grid p { margin-top: 14px; max-width: 28em; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #dbe5f5; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: #fff; }
.footer-langs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer-langs a { color: #9fb3d4; }
.footer-langs a[aria-current] { color: #fff; background: rgba(255, 255, 255, .1); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
