:root {
  --bg: #f8fbff;
  --text: #0a1a2e;
  --muted: #5d6778;
  --surface: #ffffff;
  --grad: linear-gradient(135deg, #1e90ff 0%, #00c6d4 100%);
  --radius: 16px;
  --shadow: 0 14px 40px rgba(9,25,55,0.12);
  --max-width: 1240px;
  font-family: 'Inter', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.site-header {
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand img {
  height: 46px;
  border-radius: 12px;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-nav a {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.lang-switcher select {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #d9e1ef;
  background: #fff;
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 40px 0 50px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.12;
  margin-bottom: 12px;
  font-weight: 800;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  text-align: center;
}

.btn-ghost {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #d2dbeb;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  text-align: center;
}

/* Hero image */
.hero-graphic {
  width: 100%;
  max-width: 560px;
  display: block;
  border-radius: 12px;
}

/* Trust row */
.trust-row {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-item {
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--muted);
  box-shadow: var(--shadow);
}

/* Form */
.quick {
  padding: 18px 0;
}

.form-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.form-top p {
  color: var(--muted);
  margin-bottom: 12px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field .label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,
.field select {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #d9e1ef;
  background: #fbfeff;
  font-size: 15px;
  width: 100%;
}

.full-accept {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-submit {
  background: var(--grad);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  width: 100%;
}

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

.features-grid {
  display: grid;
  gap: 18px;
}

.feature {
  background: var(--surface);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.feature-icon {
  margin-bottom: 12px;
}

/* Page card */
.page-card {
  background: var(--surface);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.muted {
  color: var(--muted);
}

/* Mobile bottom nav */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e6eef8;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 999;
}

.mobile-bottom-nav a {
  font-size: 11px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.mobile-bottom-nav a span {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}

/* Mobile language popup */
.mobile-lang-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffffee;
  display: none;
  z-index: 9999;
  padding: 18px;
  border-top: 1px solid #e6eef8;
}

.mobile-lang-box h3 {
  margin: 0 0 12px;
  text-align: center;
}

.mobile-lang-box a {
  display: block;
  padding: 12px;
  margin-bottom: 10px;
  background: #f0f7ff;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  text-align: center;
}

.btn-close {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #e6eef8;
  font-weight: 700;
}

@media (min-width: 840px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 44px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mobile-bottom-nav {
    display: none;
  }
  .mobile-lang-popup {
    display: none !important;
  }
}
