* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 61px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f8fafc;
  color: #222;
  line-height: 1.55;
}

a {
  color: #0BADEC;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky glass header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 61px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(238, 241, 243, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0BADEC;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.site-logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.site-nav a {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #0BADEC;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.1s ease, background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}

.site-actions .btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
}

.btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #0BADEC;
  border: 1px solid #0BADEC;
}

.btn-outline:hover {
  background: #0BADEC;
  color: #fff;
}

.btn-primary {
  background: #F15B22;
  color: #fff;
}

.btn-primary:hover {
  background: #d64a1a;
}

/* Hero image */
.hero {
  width: 100%;
  height: 0;
  padding-bottom: 25.157%;
  margin: 24px 0;
  background: url('header.webp') top center no-repeat;
  background-size: contain;
  border-radius: 16px;
  overflow: hidden;
}

/* Title bar */
.title-bar {
  background: linear-gradient(135deg, #0BADEC 0%, #0887b8 100%);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  border-radius: 16px;
  margin: 0 0 24px;
}

.title-bar h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Subtitle */
.subtitle {
  text-align: center;
  padding: 0 0 24px;
  margin: 0;
  color: #0BADEC;
  font-size: 18px;
  font-weight: 500;
  text-transform: lowercase;
}

.subtitle p {
  margin: 0;
}

/* Info cards */
.info-cards {
  padding: 0 0 24px;
  margin: 0;
}

.info-cards .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-cards .card {
  padding: 32px;
}

.info-cards .card-title {
  background: transparent;
  color: #0BADEC;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
}

.info-cards .card p {
  color: #0BADEC;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-title {
  display: inline-block;
  background: #0BADEC;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
}

.card p {
  margin: 0;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

/* CTA */
.cta {
  padding: 0 0 24px;
  margin: 0;
}

.cta-box {
  background: #F15B22;
  color: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

/* Features */
.features {
  padding: 0 0 24px;
  margin: 0;
}

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

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pill {
  display: inline-block;
  background: #0BADEC;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.feature-card p {
  margin: 0;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

/* Prices */
.prices {
  padding: 40px 0 60px;
  margin: 0;
  background: #f7f9fb;
}

.prices-section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 32px;
  color: #111;
}

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

.price-plan-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border-top: 4px solid #0BADEC;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.price-plan-card.featured {
  border-top-color: #ff9800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #111;
}

.plan-badge {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: #9e9e9e;
  padding: 2px 8px;
  border-radius: 12px;
  vertical-align: middle;
}

.plan-subtitle {
  font-size: 14px;
  color: #777;
  margin: 0 0 16px;
}

.plan-price {
  font-size: 24px;
  font-weight: 700;
  color: #0BADEC;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #333;
  min-height: 44px;
  box-sizing: border-box;
}

.plan-features li.plan-no {
  color: #999;
}

.plan-features li > span:first-child {
  width: 26px;
  flex-shrink: 0;
  text-align: center;
  font-weight: 700;
  margin-right: 6px;
}

.plan-check {
  color: #0BADEC;
}

.plan-dash {
  color: #bbb;
}

.plan-value {
  color: #333;
}

.plan-help {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: #0BADEC;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.plan-help:hover {
  background: #0891c4;
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  background: #fff;
  color: #0BADEC;
  border: 1px solid #0BADEC;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.plan-cta:hover {
  background: #0BADEC;
  color: #fff;
  text-decoration: none;
}

.plan-cta:disabled {
  background: #fff;
  color: #9e9e9e;
  border-color: #9e9e9e;
  cursor: not-allowed;
}

.price-help-card {
  max-width: 480px;
}

.price-help-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.price-help-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

@media (max-width: 768px) {
  .price-plan-card.featured {
    transform: none;
  }
}

/* Anchor offsets for sticky header */
#about {
  scroll-margin-top: 61px;
}

#features {
  scroll-margin-top: 85px;
}

#prices {
  scroll-margin-top: 61px;
  padding-top: 30px;
}

/* Footer */
footer {
  background: transparent;
  padding: 24px 0;
  text-align: center;
}

.footer-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.footer-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.store-badge {
  height: 80px;
  width: auto;
}

.qr-code {
  width: 80px;
  height: 80px;
  display: block;
  object-fit: contain;
}

.footer-legal {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}

.footer-legal a {
  color: #0BADEC;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .features .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  body {
    padding-top: 60px;
  }

  .site-header {
    height: 60px;
  }

  .site-brand span {
    display: none;
  }

  .site-logo {
    width: 40px;
    height: 40px;
  }

  .site-actions .btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .site-nav {
    display: none;
  }

  .site-header .container {
    display: flex;
    justify-content: space-between;
  }

  .title-bar h1 {
    font-size: 20px;
  }

  .info-cards .container,
  .features .container,
  .price-cards {
    grid-template-columns: 1fr;
  }

  .cta-box {
    font-size: 17px;
  }
}

/* Auth modal + helper styles */
.hidden {
  display: none !important;
}

.message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 20px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  z-index: 300;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.message.success { background: #28a745; }
.message.error { background: #dc3545; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 20px;
  z-index: 200;
  overflow-y: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 20px;
  color: #222;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}

.modal-close:hover {
  color: #222;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d4dbe0;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
  background: #fff;
}

.field input:focus,
.field select:focus,
.phone-input-wrap:focus-within {
  outline: none;
  border-color: #0BADEC;
}

.hint {
  font-size: 13px;
  color: #666;
  margin: 6px 0 0;
}

.input-hint {
  font-size: 11px;
  color: #888;
  font-weight: 400;
  margin-left: 4px;
}

.field label .input-hint {
  display: inline-block;
  margin-left: 4px;
}

.hint.error,
.input-hint.error {
  color: #dc3545;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d4dbe0;
  border-radius: 8px;
  padding: 0 14px;
  transition: border-color 0.2s;
}

.phone-input-wrap:focus-within {
  outline: none;
  border-color: #0BADEC;
}

.phone-prefix {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  margin-right: 6px;
}

.phone-input-wrap input.phone-input {
  border: none;
  background: transparent;
  padding: 12px 0;
  flex: 1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
}

.phone-input-wrap input.phone-input:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.phone-input,
#reg-code,
#reset-code {
  text-align: left;
  direction: ltr;
}

#auth-modal .btn {
  display: flex;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

#auth-modal .btn:hover {
  transform: none;
  opacity: 1;
}

#auth-modal .btn:disabled {
  background: #f2b5a0;
  cursor: not-allowed;
}

#auth-modal .btn-blue {
  background: #0BADEC;
  color: #fff;
}

#auth-modal .btn-blue:hover {
  background: #0890c7;
}

#auth-modal .btn-secondary {
  background: #eef1f3;
  color: #444;
}

#auth-modal .btn-secondary:hover {
  background: #e1e7ea;
}

#auth-modal .register-submit-btn {
  margin-top: 16px;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid #eef1f3;
  margin-bottom: 20px;
}

.auth-tab {
  flex: 1;
  padding: 12px 8px;
  border: none;
  background: none;
  color: #555;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
}

.auth-tab.active,
.auth-tab:hover {
  color: #0BADEC;
  border-bottom-color: #0BADEC;
}

.auth-form.hidden {
  display: none !important;
}

.form-switch {
  text-align: center;
  font-size: 13px;
  color: #555;
  margin-top: 12px;
  margin-bottom: 0;
}

.form-switch a {
  color: #0BADEC;
  text-decoration: none;
}

.form-switch a:hover {
  text-decoration: underline;
}

.city-search-wrap {
  position: relative;
}

#city-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d4dbe0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  z-index: 10;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

#city-results li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
}

#city-results li:hover,
#city-results li.selected-city {
  background: #f0f8ff;
}

#city-selected {
  margin-top: 8px;
  font-size: 14px;
  color: #0BADEC;
  font-weight: 500;
}

.consent .checkbox {
  display: block;
  position: relative;
  padding-left: 22px;
  font-size: 12px;
  color: #555;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

.consent .checkbox input {
  position: absolute;
  left: 0;
  top: 0.1em;
  margin: 0;
  width: auto;
}

.consent .checkbox a {
  text-decoration: underline;
}

.math-captcha {
  background: #f8fbfc;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.math-captcha input {
  margin-top: 8px;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
}

.grecaptcha-badge {
  visibility: hidden;
}

@media (max-width: 520px) {
  .modal-card {
    border-radius: 0;
  }
}

/* Site stats */
.site-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: -8px 0 28px;
}
.site-stats .stat {
  flex: 0 1 220px;
  background: #fff;
  border: 2px solid #0BADEC;
  border-radius: 16px;
  padding: 14px 20px;
  text-align: center;
}
.site-stats .stat-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  color: #F15B22;
  font-variant-numeric: tabular-nums;
}
.site-stats .stat-label {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: #0BADEC;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
@media (max-width: 520px) {
  .site-stats { gap: 10px; }
  .site-stats .stat { padding: 10px 8px; }
  .site-stats .stat-num { font-size: 28px; }
  .site-stats .stat-label { font-size: 13px; }
}

.fox { color: #F15B22; font-weight: inherit; }
.site-brand .fox { font-weight: 800; }
.site-brand .brand-text { font-weight: 400; }
.site-brand .brand-text .fox { font-weight: 800; }
