/* Mirror Legal Pages — Shared Styles */
/* Forest theme · acrylic glass-morphism · Geist (как в приложении, 16.06) */

@import url('/app/fonts/geist.css');
/* JetBrains Mono self-hosted внутри geist.css — remote Google Fonts убран (РФ без VPN, preflight-гейт 15.07) */

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

:root {
  --bg: #0a0e0c;
  --bg-secondary: #0d1510;
  --card: rgba(20, 35, 28, 0.6);
  --card-border: rgba(80, 140, 100, 0.15);
  --primary: #0a4d2e;
  --primary-light: #1a7a4a;
  --accent: #E8C98A;
  --accent-dim: rgba(232, 201, 138, 0.7);
  --text: #e8e4dc;
  --text-muted: #9aa39e;
  --text-dim: #6a7a72;
  --green-glow: rgba(10, 77, 46, 0.3);
  --font-main: 'Geist', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(10, 77, 46, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(10, 77, 46, 0.1) 0%, transparent 50%);
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 0 20px;
}

.navbar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 16px;
}

.navbar-logo {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.25em;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  flex-shrink: 0;
}

.navbar-logo span {
  color: var(--accent);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  list-style: none;
}

.navbar-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text);
  background: rgba(232, 201, 138, 0.08);
}

.navbar-links a.active {
  color: var(--accent);
}

/* ── HEADER ── */
.page-header {
  padding: 64px 20px 40px;
  text-align: center;
}

.page-header .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232, 201, 138, 0.1);
  border: 1px solid rgba(232, 201, 138, 0.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.page-header h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-header .subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ── MAIN CONTENT ── */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ── GLASS CARD ── */
.glass-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 20px;
}

.glass-card:last-child {
  margin-bottom: 0;
}

/* ── SECTION TYPOGRAPHY ── */
.section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--green-glow);
  border: 1px solid rgba(80, 140, 100, 0.3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

p {
  color: var(--text);
  margin-bottom: 14px;
  font-size: 15px;
}

p:last-child {
  margin-bottom: 0;
}

h2, h3, h4 {
  font-family: var(--font-main);
  color: var(--text);
}

ul, ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

li {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.6;
}

strong {
  color: var(--text);
  font-weight: 600;
}

em {
  color: var(--text-muted);
  font-style: normal;
}

/* ── HIGHLIGHT / NOTE ── */
.note {
  background: rgba(232, 201, 138, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.note strong {
  color: var(--accent);
}

/* ── REQUISITES TABLE ── */
.requisites {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.requisites tr {
  border-bottom: 1px solid rgba(80, 140, 100, 0.1);
}

.requisites tr:last-child {
  border-bottom: none;
}

.requisites td {
  padding: 10px 0;
  vertical-align: top;
}

.requisites td:first-child {
  color: var(--text-muted);
  width: 40%;
  padding-right: 16px;
  font-size: 13px;
}

.requisites td:last-child {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ── PRICING CARDS ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.pricing-card:hover {
  border-color: rgba(80, 140, 100, 0.35);
  transform: translateY(-4px);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card.featured {
  border-color: rgba(232, 201, 138, 0.3);
  background: rgba(30, 50, 40, 0.7);
}

.pricing-card.featured::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 1;
}

.pricing-card .plan-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.pricing-card .plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-card .plan-price {
  font-family: var(--font-main);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card .plan-period {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.pricing-card .plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  text-align: left;
}

.pricing-card .plan-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(80, 140, 100, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-card .plan-features li::before {
  content: '✦';
  color: var(--primary-light);
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

.pricing-card .plan-features li:last-child {
  border-bottom: none;
}

.btn-subscribe {
  display: inline-block;
  width: 100%;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(80, 140, 100, 0.3);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-align: center;
}

.btn-subscribe:hover {
  background: var(--primary-light);
  border-color: rgba(80, 140, 100, 0.5);
}

.btn-subscribe.btn-accent {
  background: var(--accent);
  color: #0a0e0c;
  border-color: var(--accent);
  font-weight: 600;
}

.btn-subscribe.btn-accent:hover {
  background: #f0d49c;
}

/* ── EMAIL LINK ── */
a[href^="mailto"] {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 14px;
}

a[href^="mailto"]:hover {
  text-decoration: underline;
}

a {
  color: var(--accent-dim);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--card-border);
  padding: 32px 20px;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-req {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ── CONTACT CARD ── */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(80, 140, 100, 0.08);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--green-glow);
  border: 1px solid rgba(80, 140, 100, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  color: var(--text);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .navbar-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
    gap: 8px;
  }

  .navbar-links {
    gap: 2px;
  }

  .navbar-links a {
    font-size: 12px;
    padding: 5px 8px;
  }

  .glass-card {
    padding: 20px 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .requisites td:first-child {
    width: 45%;
  }

  .page-header {
    padding: 40px 20px 28px;
  }
}

@media (max-width: 400px) {
  .navbar-links a {
    font-size: 11px;
    padding: 4px 6px;
  }
}

/* ─── legal-* классы (pricing.html и др. использовали их, но они не были определены — фикс 02.06) ─── */
.legal-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  max-width: 980px; margin: 0 auto; padding: 22px 24px;
  border-bottom: 1px solid var(--card-border, rgba(232,201,138,0.14));
}
.legal-logo {
  font-family: var(--font-main); font-weight: 700; font-size: 18px;
  letter-spacing: 0.14em; color: var(--accent); text-decoration: none;
}
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-nav a {
  color: var(--text-muted); text-decoration: none; font-size: 14px;
  transition: color .2s ease;
}
.legal-nav a:hover { color: var(--text); }
.legal-nav a.active { color: var(--accent); }
.legal-container { max-width: 860px; margin: 0 auto; padding: 40px 24px 80px; }
.legal-kicker {
  font-family: var(--font-mono, monospace); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.legal-title {
  font-size: clamp(28px, 5vw, 44px); font-weight: 700; line-height: 1.1;
  color: var(--text); margin: 0 0 18px;
}
.legal-intro { font-size: 16px; line-height: 1.6; color: var(--text-muted); margin: 0 0 40px; max-width: 680px; }
.legal-section-title {
  font-size: 22px; font-weight: 600; color: var(--text);
  margin: 48px 0 18px; padding-left: 14px; border-left: 3px solid var(--accent);
}
.legal-list { color: var(--text-muted); line-height: 1.7; padding-left: 20px; margin: 0 0 24px; }
.legal-list li { margin-bottom: 8px; }
.legal-cta {
  margin-top: 40px; padding: 24px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--card-border, rgba(232,201,138,0.2));
}
.legal-btn {
  display: inline-block; padding: 13px 28px; border-radius: 10px;
  background: var(--accent); color: #1a1208; font-weight: 600; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer; font-family: var(--font-main);
}
.legal-footer {
  max-width: 860px; margin: 0 auto; padding: 28px 24px;
  border-top: 1px solid var(--card-border, rgba(232,201,138,0.14));
  color: var(--text-dim); font-size: 13px; line-height: 1.6; text-align: center;
}
@media (max-width: 600px) {
  .legal-header { padding: 16px; }
  .legal-nav { gap: 6px 14px; }
  .legal-nav a { font-size: 12.5px; }
}
