/* HOPS landing page (hops.ge). The app's own palette, the logo's navy and teal, Noto Sans; weights stay at 700 or
   lighter (the owner, 1 November: "texts are too bold"). Small labels take capitals in English only, never in Georgian. */

:root {
  --navy: #06234A;          /* the logo's navy */
  --navy-deep: #041730;
  --navy-2: #0A3F6B;
  --teal: #087F83;          /* the logo's teal: buttons (white on it reads 4.8:1) */
  --teal-hover: #066A6D;
  --teal-app: #14998A;      /* the app's "go" teal */
  --teal-light: #5FD4C6;    /* teal words on navy */
  --teal-tint: #E2F3F0;
  --teal-text: #0B6B60;
  --ink: #0F1B26;
  --muted: #52616D;
  --line: #E3E8EC;
  --surface: #F2F4F7;
  --red: #C8352B;
  --red-tint: #FCEAE8;
  --amber: #8F5400;
  --amber-tint: #FFF3DB;
  --blue: #3B4AA0;
  --blue-tint: #E8EBFA;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 27, 38, .06), 0 8px 24px -12px rgba(15, 27, 38, .18);
  --shadow-lg: 0 40px 90px -30px rgba(4, 23, 48, .55), 0 0 0 1px rgba(15, 27, 38, .06);
  --font: 'Noto Sans Georgian', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1rem/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; border-radius: 6px; }
.i { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .78rem 1.2rem; border-radius: 12px; border: 1px solid transparent;
  font: 600 .98rem/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55rem .95rem; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: .95rem 1.4rem; font-size: 1.02rem; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-hover); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .04); }
.btn-outline-light:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #EDF0F3; }

/* header: always on navy, so it reads over every section */
.top { position: sticky; top: 0; z-index: 50; background: rgba(6, 35, 74, .94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand .mark { width: 30px; height: 30px; }
.brand span { font: 700 1.3rem/1 'Noto Sans', var(--font); letter-spacing: .14em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: rgba(255, 255, 255, .84); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .nav-lang { display: none; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.lang { color: rgba(255, 255, 255, .84); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 10px; border-radius: 10px; }
.lang:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.menu-btn { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; color: #fff; cursor: pointer; }
.menu-btn .i:last-child { display: none; }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .top[data-open] .nav { display: flex; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 2px; padding: 12px 16px 18px;
    background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
  .top[data-open] .nav a { padding: 12px; font-size: 1.02rem; }
  .top[data-open] .nav .nav-lang { display: block; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 6px; padding-top: 16px; }
  .top[data-open] .menu-btn .i:first-child { display: none; }
  .top[data-open] .menu-btn .i:last-child { display: block; }
}
@media (max-width: 600px) {
  .top-row { height: 60px; gap: 12px; }
  .top[data-open] .nav { top: 60px; }
  .top-actions { margin-left: auto; gap: 8px; }
  .top-actions .lang { display: none; }
  .brand span { font-size: 1.15rem; }
}

/* hero */
.hero { position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(760px 480px at 88% 0%, rgba(20, 153, 138, .32), transparent 62%),
    radial-gradient(720px 520px at 0% 100%, rgba(10, 85, 133, .55), transparent 64%),
    linear-gradient(135deg, #051B3A 0%, var(--navy) 48%, var(--navy-2) 100%); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(900px 600px at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(900px 600px at 70% 30%, #000, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 112px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9); font-size: .9rem; font-weight: 500; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 4px rgba(95, 212, 198, .18); }
.hero h1 { margin-top: 22px; font-size: clamp(2.3rem, 4.4vw, 3.7rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
/* Georgian words run long: a wider column and a slightly smaller headline keep each sentence on one line */
@media (min-width: 1001px) { :lang(ka) .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
:lang(ka) .hero h1 { font-size: clamp(2rem, 3.1vw, 2.8rem); line-height: 1.2; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--teal-light); }
.hero .lead { margin-top: 22px; max-width: 34em; font-size: 1.14rem; color: rgba(255, 255, 255, .82); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 22px; font-size: .92rem; color: rgba(255, 255, 255, .62); }
.hero-visual { position: relative; padding: 0 36px 52px 0; }
.hero-desktop { transform: perspective(1800px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }
.hero-phone { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 230px; transform: rotate(3deg); }

/* device frames */
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #EDF0F3; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9D1D8; }
.device { background: linear-gradient(145deg, #1d232b, #0c1015); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.device img { width: 100%; }
.device-phone { padding: 3.6%; border-radius: 13% / 6%; }
.device-phone img { border-radius: 10% / 4.6%; }
.device-tablet { padding: 2.2%; border-radius: 4.2% / 6%; }
.device-tablet img { border-radius: 2% / 2.9%; }

/* sections */
.section { padding: 104px 0; scroll-margin-top: 60px; }
@media (max-width: 600px) { .section { padding: 72px 0; } }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.label { display: inline-block; margin-bottom: 14px; color: var(--teal-text); font-size: .88rem; font-weight: 600; letter-spacing: .02em; }
:lang(en) .label { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); text-wrap: balance; }
.section-head .sub { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }
.on-dark .label { color: var(--teal-light); }
.on-dark h2 { color: #fff; }
.on-dark .sub { color: rgba(255, 255, 255, .75); }

.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px; box-shadow: var(--shadow); }
.card h3, .feature h3 { font-size: 1.12rem; }
.card p, .feature p { margin-top: 8px; color: var(--muted); }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-text); }
.ico .i { width: 22px; height: 22px; }
.ico-amber { background: var(--amber-tint); color: var(--amber); }
.ico-red { background: var(--red-tint); color: var(--red); }
.ico-blue { background: var(--blue-tint); color: var(--blue); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* how it works */
.how { background: var(--surface); }
.steps { display: grid; gap: 96px; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.step-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.step-rev .step-copy { order: 2; }
.step-copy h3 { margin-top: 18px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.step-copy p { margin-top: 14px; font-size: 1.06rem; color: var(--muted); }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: #fff;
  font: 600 1.1rem/1 'Noto Sans', var(--font); }
.step-visual.device-phone { width: min(300px, 70%); justify-self: center; }
.step-visual.device-tablet { width: 100%; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s; }
.feature:hover { border-color: #C9D1D8; box-shadow: var(--shadow); }
.feature .ico { margin-bottom: 16px; }

/* who */
.who { background: var(--surface); }
.place .ico { background: rgba(6, 35, 74, .08); color: var(--navy); }

/* video */
.video { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(800px 420px at 50% 0%, rgba(20, 153, 138, .25), transparent 70%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.player { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.player video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.player video::cue { font-family: var(--font); font-size: 1.05em; background: rgba(4, 16, 34, .78); color: #fff; }
.play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border: 0; border-radius: 50%; background: var(--teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 0 10px rgba(8, 127, 131, .28), 0 20px 40px -10px rgba(0, 0, 0, .6);
  transition: transform .15s, background .15s; }
.play[hidden] { display: none; }
.play:hover { transform: scale(1.05); background: var(--teal-hover); }
.play .i { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.player[data-playing] .play { display: none; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 4px 24px; color: var(--muted); max-width: 46em; }

/* contact */
.contact { padding-top: 24px; }
.contact-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px; border-radius: 24px; color: #fff;
  background: radial-gradient(600px 360px at 100% 0%, rgba(95, 212, 198, .28), transparent 65%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); box-shadow: var(--shadow-lg); }
.contact-card .label { color: var(--teal-light); }
.contact-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); text-wrap: balance; }
.contact-card .sub { margin-top: 14px; font-size: 1.1rem; color: rgba(255, 255, 255, .8); }
.contact-ways { display: grid; gap: 12px; }
.way { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  text-decoration: none; font-size: 1.08rem; font-weight: 600; }
.way:hover { background: rgba(255, 255, 255, .13); }
.way .ico { margin: 0; width: 42px; height: 42px; background: rgba(95, 212, 198, .16); color: var(--teal-light); }
.way small { display: block; font-size: .8rem; font-weight: 500; color: rgba(255, 255, 255, .65); }
.contact-ways .btn { margin-top: 4px; }

/* footer */
.foot { padding: 56px 0 40px; background: var(--navy-deep); color: rgba(255, 255, 255, .72); }
.foot-row { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.foot-brand p { margin-top: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 6px; }
.foot-links a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.foot-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: rgba(255, 255, 255, .5); }

/* narrower screens */
@media (max-width: 1100px) {
  .feature-grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 64px; padding-bottom: 80px; }
  .hero-visual { max-width: 680px; }
  .hero-desktop { transform: none; }
  .step, .faq-grid, .contact-card { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .step-rev .step-copy { order: 0; }
  .steps { gap: 72px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: 40px 28px; }
}
@media (max-width: 600px) {
  .hero .lead { font-size: 1.05rem; }
  .cta-row .btn { width: 100%; }
  .hero-visual { padding: 0 18px 40px 0; }
  .feature-grid, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .card, .feature { padding: 22px; }
  .play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .foot-row { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: 32px 20px; border-radius: 20px; }
  .way { font-size: 1rem; }
}
