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

:root {
  --navy: #1a2235;
  --navy2: #212c45;
  --navy3: #263050;
  --green: #93ac9d;
  --green-dark: #7a9688;
  --green-dim: rgba(147,172,157,0.15);
  --text: #dce8f0;
  --muted: #8fa3b8;
  --border: rgba(147,172,157,0.18);
  --bg: #0d1421;
  --white: #ffffff;
  --orange: #d4634a;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
.nav {
  background: rgba(26, 34, 53, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: height 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  height: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--green) 50%, transparent 100%);
  opacity: 0.5;
}
.nav-logo {
  display: flex;
  align-items: center;
  /* This gap now only effectively spaces the ICON from the TEXT */
  gap: 10px; 
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  /* Removed letter-spacing: -1px; to keep Cyrillic letters clean */
  letter-spacing: -0.2px; 
}
.nav-logo span {
  color: var(--green);
  margin: 0 -6px;
  font-weight: 800; /* One step heavier to balance the color */
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--navy2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(147,172,157,0.25);
}
.nav-logo-icon img { width: 100%; height: 100%; }
.nav-logo span { color: var(--green); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: #94a3b8; font-size: 0.9rem; }
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-links .nav-cabinet-link {
  color: var(--white);
  border: 1px solid rgba(147, 172, 157, 0.35);
  border-radius: 999px;
  padding: 7px 12px;
}
.nav-links .nav-cabinet-link:hover {
  border-color: var(--green);
  color: var(--green);
}

/* HERO */
@keyframes heroColorShift {
  0%   { background-color: #1a2235; }
  25%  { background-color: #1c2139; }
  50%  { background-color: #1b2038; }
  75%  { background-color: #1c2138; }
  100% { background-color: #1a2235; }
}
.hero {
  background-color: #1a2235;
  animation: heroColorShift 18s linear infinite;
  color: var(--white);
  text-align: center;
  padding: 88px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: min(600px, calc(100vw - 48px)); height: 600px;
  background: radial-gradient(circle, rgba(147,172,157,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 em { color: var(--green); font-style: normal; }
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #8fa3b8;
  max-width: 560px;
  margin: 0 auto 36px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; text-decoration: none; }
.btn-primary { background: var(--green); color: var(--navy); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(147,172,157,0.35); margin-left: 12px; }

/* SECTIONS */
section { padding: 64px 24px; background: var(--bg); }
section:nth-child(even) { background-color: #1a2235; animation: heroColorShift 25s linear infinite; }

.container { max-width: 900px; margin: 0 auto; }

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.section-sub { color: var(--muted); margin-bottom: 40px; font-size: 1.05rem; }

/* HOW IT WORKS */
.steps { display: flex; gap: 32px; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; }
.step-num {
  width: 40px; height: 40px;
  background: var(--green-dim);
  border: 2px solid var(--green);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* SMART ROUTING */
.routing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.routing-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(147,172,157,0.22);
  border-radius: 8px;
  background: rgba(26, 34, 53, 0.72);
}
.routing-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(147,172,157,0.16);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.routing-card h3 {
  min-height: 58px;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.35;
}
.routing-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}
.routing-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--green);
  background: rgba(147,172,157,0.09);
  color: var(--text);
  font-size: 0.95rem;
}

/* PLANS */
.plans { display: flex; gap: 24px; flex-wrap: wrap; }
.plan {
  flex: 1; min-width: 240px;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  background-color: #1a2235;
  animation: heroColorShift 22s linear infinite;
}
.plan.featured {
  border-color: var(--green);
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy3) 100%);
  color: var(--white);
}
.plan.featured .plan-name { color: var(--white); }
.plan.featured .plan-desc { color: #8fa3b8; }
.plan.featured ul li { color: var(--white); }
.plan.featured ul li.no { color: #8fa3b8; }
.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 99px;
  white-space: nowrap;
}
.plan-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.plan-price { font-size: 2rem; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan.featured .plan-price span { color: #8fa3b8; }
.plan-desc { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }
.plan ul { list-style: none; }
.plan ul li {
  display: flex;
  align-items: center; /* Vertically centers icon and text */
  padding: 8px 0;      /* Slightly more breathing room */
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.2;    /* Tighten line height for better alignment */
}
.plan .plan-name { color: var(--white); }
.plan .plan-desc { color: var(--muted); }
.plan ul li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  width: 24px;         /* Fixed width ensures text always starts at the same spot */
  margin-right: 10px;  /* Space between icon and text */
  flex-shrink: 0;      /* Prevents icon from squishing on small screens */
  
  content: "✓";
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
}
.plan ul li.no::before {
  content: "🔒";       /* Lock symbol */
  font-size: 0.85rem;  /* Emojis usually need to be slightly smaller to match text */
  opacity: 0.4;        /* Dims the lock icon */
  filter: grayscale(1); /* Ensures the lock is grey, not gold/colored */
}
.plan ul li.no {
  color: var(--muted); /* Dims the text accompanying the lock */
}

/* PRICING */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  -webkit-user-select: none;
  user-select: none;
}
.pricing-table th, .pricing-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.pricing-table thead { background: var(--navy); color: var(--white); }
.pricing-table thead th { font-weight: 600; }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr { background: var(--navy); }
.pricing-table tbody tr:hover { background: var(--navy2); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 0.9rem; }
.price-new { color: var(--green-dark); font-weight: 700; font-size: 1.05rem; }
.price-save { color: var(--green-dark); font-size: 0.85rem; font-weight: 600; }
.long-dash-indent { padding-left: 10px; }
.mobile-label { display: none; }
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 18px;
}
.pricing-plan-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.plan-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(26, 34, 53, 0.64);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-user-select: none;
  user-select: none;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.plan-tab:hover { border-color: var(--green-dark); }
.plan-tab.active {
  border-color: var(--green);
  background: var(--green-dim);
  color: var(--white);
}
.plan-tab small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}
.plan-tab.active small { color: var(--green); }
.pricing-plan-tabs .plan-tab {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  justify-items: center;
  gap: 3px 8px;
  min-height: 62px;
  border-radius: 14px;
  line-height: 1.2;
  padding: 10px 14px;
  text-align: center;
}
.pricing-plan-tabs .plan-tab span {
  grid-column: 1 / -1;
}
.pricing-plan-tabs .plan-tab span,
.pricing-plan-tabs .plan-tab small {
  white-space: nowrap;
}

/* DOWNLOAD */
.download-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}
.download-block h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.download-block p { color: #94a3b8; margin-bottom: 28px; }
.download-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.download-card {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-rows: minmax(78px, auto) minmax(132px, auto) auto;
  gap: 10px;
  background: rgba(15, 23, 42, 0.54);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  text-align: left;
  cursor: pointer;
  overflow: visible;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.download-card.is-recommended:not(.is-selected) {
  border-color: rgba(125, 196, 160, 0.35);
}
.download-card.is-recommended:not(.is-selected) .btn-primary {
  background: transparent;
  border: 2px solid rgba(147,172,157,0.35);
  color: var(--white);
}
.download-card.is-recommended:not(.is-selected) .btn-primary .download-card-btn-size {
  border-left-color: rgba(255, 255, 255, 0.22);
}
.download-card:hover,
.download-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(125, 196, 160, 0.55);
  box-shadow: 0 12px 28px rgba(2, 8, 23, 0.22), inset 0 1px 0 rgba(255,255,255,0.06);
  outline: none;
}
.download-card.is-selected {
  background: linear-gradient(180deg, rgba(22, 101, 192, 0.24), rgba(15, 23, 42, 0.72));
  border-color: rgba(125, 196, 160, 0.9);
  box-shadow: 0 16px 34px rgba(2, 8, 23, 0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}
.download-card.is-selected::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(125, 196, 160, 0.3);
  pointer-events: none;
}
.download-card-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.download-card-title {
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 1.08rem;
  color: var(--white);
  min-height: 78px;
  display: flex;
  align-items: flex-start;
}
.download-card-text {
  margin-bottom: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}
.download-card .btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 52px;
  padding-left: 16px;
  padding-right: 16px;
  white-space: nowrap;
  overflow: hidden;
  margin-left: 0;
}
.download-card .btn-outline {
  background: transparent;
  border: 2px solid rgba(147,172,157,0.35);
  color: var(--white);
  font-family: inherit;
}
.download-card.is-selected .btn,
.download-card.is-selected .btn-outline {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
}
.download-card-btn-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  flex: 0 0 auto;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(26, 34, 53, 0.18);
  color: inherit;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  opacity: 0.74;
  white-space: nowrap;
}
.download-card .btn-outline .download-card-btn-size {
  border-left-color: rgba(255, 255, 255, 0.22);
}
.download-card.is-selected .download-card-btn-size {
  border-left-color: rgba(26, 34, 53, 0.2);
  opacity: 0.8;
}
.download-actions {
  display: grid;
  grid-template-columns: minmax(180px, 38fr) minmax(0, 62fr);
  align-items: stretch;
  gap: 12px;
  margin-top: 22px;
}
.download-actions .btn {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  margin: 0;
  border: 2px solid transparent;
  font-family: inherit;
  text-align: center;
  min-height: 52px;
}
.download-actions .btn-outline {
  background: transparent;
  border: 2px solid rgba(147,172,157,0.35);
  color: var(--white);
  font-family: inherit;
}
.share-link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(147,172,157,0.22);
  border-radius: 10px;
  background: rgba(13, 20, 33, 0.48);
  text-align: left;
}
.share-link-value {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-link-panel .btn {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 0.88rem;
  white-space: nowrap;
}
.download-footnote {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: #8fa3b8;
}

/* CONTACTS */
.contacts-grid { display: flex; gap: 32px; flex-wrap: wrap; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-icon { font-size: 1.3rem; margin-top: 2px; }
.contact-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-val { font-size: 0.97rem; }

/* FOOTER */
footer {
  background: var(--navy);
  color: #64748b;
  text-align: center;
  padding: 28px 24px;
  font-size: 0.85rem;
}
footer a { color: #94a3b8; }
footer a:hover { color: var(--white); }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* LEGAL PAGES */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.legal-content h1 { font-size: 1.7rem; font-weight: 700; margin-bottom: 8px; }
.legal-content .updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 36px; }
.legal-content h2 { font-size: 1.1rem; font-weight: 700; margin: 32px 0 10px; }
.legal-content p { margin-bottom: 12px; color: var(--text); }
.legal-content ul { margin: 8px 0 12px 20px; }
.legal-content ul li { margin-bottom: 6px; }
.legal-content table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  font-size: 0.93rem;
}
.legal-content table th, .legal-content table td {
  border: 1px solid var(--border); padding: 10px 14px; text-align: left;
}
.legal-content table thead { background: var(--navy); font-weight: 600; }
.legal-plan-table {
  overflow: hidden;
  border-radius: 12px;
}
.legal-plan-table .legal-plan-group-row td {
  background: rgba(147, 172, 157, 0.12);
  border-color: rgba(147, 172, 157, 0.28);
  padding: 14px 16px;
}
.legal-plan-group-row strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 2px;
}
.legal-plan-group-row span {
  color: var(--muted);
  font-size: 0.84rem;
}
.legal-price-old {
  color: var(--muted);
  font-weight: 400;
  margin-right: 4px;
}

@media (max-width: 600px) {
  .nav { padding: 0 12px; height: 56px; }
  .nav-logo { gap: 8px; font-size: 1rem; }
  .nav-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .nav-logo-icon img { width: 100%; height: 100%; }
  .nav-links { gap: 0; }
  .nav-links a:not(.nav-cabinet-link) { display: none; }
  .nav-links .nav-cabinet-link { padding: 7px 10px; font-size: 0.82rem; }
  .steps, .plans, .contacts-grid { flex-direction: column; }
  .routing-grid { grid-template-columns: 1fr; }
  .routing-card { min-height: 0; }
  .routing-card h3 { min-height: 0; }
  .btn-outline { margin-left: 0; margin-top: 10px; }
  .download-block { padding: 32px 20px; }
  .download-cards { grid-template-columns: 1fr; }
  .download-card { padding: 22px 18px; }
  .download-card-title { min-height: 0; }
  .download-actions { grid-template-columns: 1fr; }
  .share-link-panel { grid-template-columns: 1fr; }
  .pricing-table th,
  .pricing-table td { padding: 14px 12px; }
  .pricing-table th { font-size: 0.92rem; }
  .pricing-table td { font-size: 0.95rem; }
  .legal-content {
    padding: 36px 16px 56px;
  }
  .legal-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .plan-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: -22px 0 18px;
    width: 100%;
  }
  .pricing-plan-tabs {
    grid-template-columns: 1fr;
  }
  .plan-tab {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
  }
  .plan-tab small {
    white-space: nowrap;
  }
  .pricing-plan-tabs .plan-tab span,
  .pricing-plan-tabs .plan-tab small {
    width: auto;
  }
  .pricing-plan-tabs .plan-tab {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    text-align: left;
  }
  .desktop-label { display: none; }
  .mobile-label { display: inline; }
}

@media (max-width: 360px) {
  .nav-logo { font-size: 0.9rem; }
  .nav-logo-icon {
    width: 30px;
    height: 30px;
  }
  .nav-links .nav-cabinet-link { padding: 6px 8px; font-size: 0.78rem; }
}

/* PAYMENT PAGE STYLES */
.checkout-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 32px;
  background: var(--navy);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.pay-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: 0.2s;
}
.pay-plan-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  width: 100%;
}
.pay-plan-tabs .plan-tab {
  width: 100%;
  min-height: 66px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  line-height: 1.2;
  text-align: center;
}
.pay-plan-tabs .plan-tab small {
  white-space: normal;
}
.pay-option:hover { border-color: var(--green-dark); }
.pay-option.selected { border-color: var(--green); background: var(--green-dim); }
.pay-option input { display: none; }

.pay-info { display: flex; flex-direction: column; }
.pay-period { font-weight: 700; color: var(--white); }
.pay-save { font-size: 0.8rem; color: var(--green); font-weight: 600; }

.pay-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  color: var(--white);
  font-size: 1.1rem;
}
.pay-amount-current { font-weight: 800; color: var(--white); font-size: 1.1rem; }
.pay-amount-old { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; }

.input-group { margin: 24px 0; }
.input-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--muted); }

.input-field {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}
.input-field::placeholder { color: var(--muted); opacity: 0.3; }

.lava-logo { height: 22px; width: auto; display: block; }
.lava-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1;
}

.plans-loading,
.plans-error {
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.plans-error {
  color: #ffb4a6;
  border-color: rgba(212, 99, 74, 0.45);
  background: rgba(212, 99, 74, 0.08);
}

.method-option {
  display: block;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: 0.2s;
}
.method-option:hover { border-color: var(--green-dark); }
.method-option.selected { border-color: var(--green); background: var(--green-dim); }
.method-option input { display: none; }

.method-title { display: block; font-weight: 700; color: var(--white); }
.method-description { display: block; margin-top: 6px; color: var(--muted); font-size: 0.85rem; line-height: 1.45; }

@media (max-width: 600px) {
  .pay-plan-tabs {
    grid-template-columns: 1fr;
  }
  .pay-plan-tabs .plan-tab {
    min-height: 46px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}
