/* MonteLang — лендинг. Неоновая карибская бирюза + коралловый краб. Mobile-first. */
:root {
  --deep: #04302e;        /* тёмная бирюза-фон (текст белым) */
  --deep-2: #0a4f4a;
  --aqua: #17e6cf;        /* НЕОНОВАЯ карибская бирюза — акцент/свечение */
  --aqua-2: #00c9b5;
  --aqua-ink: #0a8074;    /* читаемый teal для текста на светлом */
  --coral: #ff6a45;       /* оранжевый акцент / CTA */
  --coral-deep: #ec4f2c;
  --coral-soft: #ffe3da;
  --paper: #eef9f7;       /* светлый аква-белый */
  --surface: #ffffff;
  --ink: #0b1f1d;
  --muted: #506b68;
  --line: #d5ece8;
  --radius: 20px;
  --wrap: 1120px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Unbounded", var(--font);
  --glow-aqua: 0 0 34px rgba(23, 230, 207, .55);
  --glow-coral: 0 14px 30px -10px rgba(255, 106, 69, .75);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--aqua-ink);
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; margin: 0; }

/* ---- Buttons (высокий контраст) ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font-weight: 700; font-size: 1rem; padding: 15px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--glow-coral); }
.btn-primary:hover { background: var(--coral-deep); }
/* Неоновая аква-кнопка с ТЁМНЫМ текстом — максимальный контраст, вибрирует */
.btn-aqua { background: var(--aqua); color: #04302e; box-shadow: var(--glow-aqua); }
.btn-aqua:hover { background: #2bf3dc; }
/* На тёмном фоне: прозрачная с аква-обводкой и белым текстом */
.btn-ghost { background: rgba(23, 230, 207, .08); border-color: var(--aqua); color: #eafffb; }
.btn-ghost:hover { background: rgba(23, 230, 207, .18); }
.btn-dark { background: var(--deep-2); color: #fff; }
.btn-dark:hover { background: var(--deep); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(238, 249, 247, .85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.12rem; display: flex; align-items: center; gap: .4em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.nav-cta) { color: var(--muted); font-weight: 600; font-size: .93rem; }
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { padding: 9px 17px; font-size: .88rem; color: #fff; }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(90% 80% at 88% 8%, rgba(23,230,207,.30), transparent 60%),
    radial-gradient(120% 120% at 12% 100%, rgba(23,230,207,.14), transparent 55%),
    linear-gradient(160deg, #0a5751 0%, var(--deep) 70%);
  color: #eafffb; position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center;
  padding: 64px 0 92px;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.15rem, 6.2vw, 3.9rem); color: #fff; margin-top: 16px; }
.hero h1 .hl { color: var(--aqua); text-shadow: var(--glow-aqua); }
.hero p.lead { font-size: clamp(1.04rem, 2.3vw, 1.28rem); color: #b9ece6; max-width: 42ch; margin-top: 18px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero .trust { margin-top: 16px; font-size: .9rem; color: #86cfc8; }
.hero-art { display: flex; justify-content: center; align-items: center; }
.crab { width: 100%; max-width: 360px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.wave { display: block; width: 100%; height: 56px; margin-top: -1px; position: relative; z-index: 2; }

/* ---- Sections ---- */
section { padding: clamp(54px, 9vw, 82px) 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); margin-top: 10px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }

/* ---- Features ---- */
.features { background: var(--surface); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(10,79,74,.5); border-color: var(--aqua); }
.card .ico { font-size: 1.8rem; line-height: 1; filter: drop-shadow(0 4px 10px rgba(23,230,207,.35)); }
.card h3 { font-size: 1.12rem; margin: 14px 0 6px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---- Steps ---- */
.steps { background: var(--paper); }
.step .num { font-family: var(--display); font-weight: 800; font-size: 2.5rem; color: var(--coral); line-height: 1; }
.step h3 { font-size: 1.15rem; margin: 12px 0 6px; }
.step p { color: var(--muted); margin: 0; }

/* ---- Pricing ---- */
.pricing {
  background: linear-gradient(180deg, var(--deep-2), var(--deep));
  color: #eafffb; position: relative;
}
.pricing .section-head h2 { color: #fff; }
.pricing .section-head p { color: #b9ece6; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: stretch; }
.plan {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column;
}
.plan.pop { border-color: var(--aqua); background: rgba(23,230,207,.1); box-shadow: var(--glow-aqua); }
.plan .tag { font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 2.1rem; color: #fff; margin: 10px 0 2px; }
.plan .price small { font-family: var(--font); font-weight: 500; font-size: .92rem; color: #86cfc8; }
.plan .anchor { color: #b9ece6; font-size: .92rem; min-height: 2.6em; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 9px; }
.plan li { padding-left: 26px; position: relative; color: #d6f5f1; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--aqua); font-weight: 800; }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: #86cfc8; font-size: .9rem; margin-top: 24px; }

/* ---- FAQ ---- */
.faq { background: var(--surface); }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; background: var(--paper); }
.faq details[open] { border-color: var(--aqua); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* ---- Final CTA ---- */
.final { background: var(--paper); text-align: center; }
.final h2 { font-size: clamp(1.8rem, 5vw, 2.7rem); }
.final p { color: var(--muted); max-width: 46ch; margin: 14px auto 26px; }

/* ---- Footer ---- */
.site-footer { background: var(--deep); color: #a8d8d2; padding: 52px 0 28px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 30px 56px; justify-content: space-between; }
.foot-brand { max-width: 280px; }
.foot-brand .brand { color: #fff; }
.foot-brand p { font-size: .92rem; margin-top: 12px; }
.foot-col h4 { font-family: var(--font); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); margin: 0 0 12px; }
.foot-col a { display: block; color: #c9ece8; font-size: .95rem; padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 38px; padding-top: 20px; font-size: .85rem; color: #7fbdb6; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot-bottom a { color: #c9ece8; }

/* ---- Legal / doc pages ---- */
.doc { background: var(--surface); }
.doc .wrap { max-width: 780px; padding-top: 50px; padding-bottom: 66px; }
.doc h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 6px 0 4px; }
.doc .updated { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.doc h2 { font-size: 1.24rem; margin: 32px 0 10px; }
.doc p, .doc li { color: #25403d; font-size: 1rem; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--coral-deep); text-decoration: underline; }
.doc .back { display: inline-block; margin-bottom: 18px; color: var(--aqua-ink); font-weight: 700; }
.placeholder { background: var(--coral-soft); border-radius: 4px; padding: 0 5px; font-style: italic; }

/* ---- Showcase: телефон с чатом ---- */
.showcase { background: var(--surface); }
.showcase-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.showcase-copy h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin-top: 10px; }
.showcase-copy p { color: var(--muted); margin: 14px 0 18px; font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "🦀"; position: absolute; left: 0; }
.phone {
  justify-self: center; width: 300px; max-width: 100%;
  background: #0b1f1d; border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 60px -24px rgba(4,48,46,.6), var(--glow-aqua);
}
.phone-screen { background: linear-gradient(180deg, #0a4f4a, var(--deep)); border-radius: 30px; padding: 20px 13px; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.4; }
.bubble .tr { display: block; font-size: .8rem; opacity: .72; margin-top: 3px; }
.bubble.bot { align-self: flex-start; background: #12403c; color: #eafffb; border-bottom-left-radius: 5px; }
.bubble.me { align-self: flex-end; background: var(--coral); color: #fff; border-bottom-right-radius: 5px; }
.vocab { align-self: flex-start; margin-top: 2px; background: rgba(23,230,207,.14); border: 1px solid rgba(23,230,207,.4); color: #d6f5f1; font-size: .82rem; padding: 8px 12px; border-radius: 12px; }
.vocab b { color: var(--aqua); }

/* ---- Compare: vs репетитор ---- */
.compare { background: var(--paper); }
.compare .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { min-width: 480px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cmp-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: center; }
.cmp-row > span { padding: 14px 16px; font-size: .95rem; }
.cmp-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.cmp-head { background: var(--paper); font-weight: 800; font-family: var(--display); }
.cmp-head .cmp-us { color: var(--aqua-ink); }
.cmp-row > span:first-child { color: var(--muted); }
.cmp-us { background: rgba(23,230,207,.09); font-weight: 700; color: var(--ink); }

/* ---- Mobile (вертикальный телефон) ---- */
@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 6px; padding: 40px 0 74px; }
  .hero-art { order: -1; }               /* краб над заголовком */
  .crab { max-width: 230px; }
  .hero h1 { margin-top: 8px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .hero .cta-row .btn { flex: 1 1 auto; min-width: 190px; }
  .section-head { margin-bottom: 30px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .phone { order: -1; }
  .ticks { text-align: left; max-width: 340px; margin: 0 auto; }
}
@media (max-width: 420px) {
  .btn { font-size: .95rem; padding: 14px 20px; }
  .card, .plan { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
