:root {
  --bg: #0b1220;
  --bg2: #111827;
  --soft: #f8fafc;
  --soft2: #eef6ff;
  --card: #ffffff;
  --line: #dbe4ee;
  --text: #0f172a;
  --muted: #475569;
  --brand: #0ea5e9;
  --brand2: #0284c7;
  --white: #ffffff;
  --accent: #22c55e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--soft);
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
}

.hero {
  padding: 84px 24px 72px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg2) 55%, #0f1c35 100%);
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #7dd3fc;
  margin-bottom: 18px;
}

h1 {
  margin: 0 0 18px;
  font-size: 54px;
  line-height: 1.04;
  max-width: 900px;
}

.hero p {
  max-width: 860px;
  margin: 0 0 30px;
  font-size: 21px;
  color: #cbd5e1;
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.primary:hover {
  background: var(--brand2);
}

.btn.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-card,
.hero-side {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.hero-card h3,
.hero-side h3 {
  margin-top: 0;
  font-size: 22px;
}

.hero-card p,
.hero-side li,
.hero-side p {
  color: #dbe7f3;
}

.hero-side ul {
  padding-left: 18px;
  margin: 0;
}

section {
  padding: 68px 24px;
}

h2 {
  font-size: 36px;
  margin: 0 0 14px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 840px;
  margin: 0 0 34px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.card p,
.card li {
  color: var(--muted);
}

ul {
  padding-left: 18px;
  margin: 10px 0 0;
}

.band {
  background: var(--soft2);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.kpi strong {
  display: block;
  font-size: 30px;
  margin-bottom: 8px;
  color: var(--text);
}

.price-box {
  background: #0f172a;
  color: #fff;
  border-radius: 24px;
  padding: 38px;
}

.price-box p,
.price-box li {
  color: #d1d9e6;
}

.price-box ul {
  margin-top: 12px;
}

/* Site header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.header .nav {
  position: relative;
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.nav-logo .logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--brand2);
}

.nav-links .login-link {
  color: var(--text);
}

.nav-links .btn-primary {
  background: var(--brand);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
}

.nav-links .btn-primary:hover {
  background: var(--brand2);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 20px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  }

  .nav-links.mobile-menu {
    display: flex;
  }

  .nav-links .btn-primary {
    text-align: center;
  }

  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hamburger-line {
    transition: transform 0.2s, opacity 0.2s;
  }
}

/* Contact form */
.contact-section {
  background: var(--soft2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 36px;
  }
}

.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.contact-form-wrap h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.contact-form-wrap .sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.captcha-wrap {
  margin: 18px 0;
}

.form-status {
  margin-top: 14px;
  font-size: 15px;
  min-height: 1.4em;
}

.form-status.success {
  color: #15803d;
}

.form-status.error {
  color: #b91c1c;
}

.contact-form-wrap .btn-submit {
  margin-top: 8px;
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
}

.contact-form-wrap .btn-submit:hover {
  background: var(--brand2);
}

.contact-form-wrap .btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-intro {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
}

/* Footer */
.footer {
  background: var(--bg);
  color: #cbd5e1;
  padding: 56px 24px 24px;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content--simple {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7dd3fc;
}

.footer-col a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col--legal {
  align-self: start;
}

@media (max-width: 800px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo-lockup img {
  height: 36px;
  width: auto;
}

.footer-logo-lockup .footer-logo-img {
  filter: brightness(0) invert(1);
}

.footer-brand h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #fff;
}

.footer-brand > p {
  margin: 0 0 12px;
  max-width: 400px;
  line-height: 1.6;
  color: #94a3b8;
  font-size: 15px;
}

.footer-company {
  margin: 0 !important;
  font-size: 14px !important;
  color: #64748b !important;
}

.footer-company strong {
  color: #94a3b8;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

.footer-bottom p {
  margin: 0;
}

/* Legal pages */
.legal-main {
  padding: 32px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-main--wide {
  max-width: 900px;
}

.legal-main h1 {
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--text);
}

.legal-main .legal-updated {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
}

.legal-main h2 {
  font-size: 1.2rem;
  margin: 2rem 0 10px;
  color: var(--text);
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  margin: 0 0 12px;
}

.legal-main ul {
  margin: 12px 0 16px;
}

.legal-main a {
  color: var(--brand2);
}

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