:root {
  --green: #005bac;
  --green-dark: #071b3a;
  --red: #e3341a;
  --gold: #d69a24;
  --gold-soft: #fff4d9;
  --ink: #14213d;
  --muted: #5f6c7b;
  --line: #dce6f2;
  --soft: #f3f7fc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(10, 38, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(220, 230, 242, 0.95);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(10, 38, 79, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 220px;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), #b81916);
  color: #fff;
}

.brand-text {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 24px;
  color: #43514d;
  font-size: 15px;
  font-weight: 700;
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 800;
}

.header-cta,
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px rgba(217, 54, 46, 0.24);
}

.btn-secondary {
  border: 1px solid var(--red);
  background: #fff;
  color: var(--red);
}

.btn-card {
  width: 100%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px rgba(227, 52, 26, 0.18);
}

.wide {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 72px 0 0;
  overflow: hidden;
  background: #eef5ff;
}

.hero-bg {
  position: absolute;
  inset: 72px 0 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(214, 154, 36, 0.2), transparent 26%),
    radial-gradient(circle at 80% 24%, rgba(227, 52, 26, 0.12), transparent 28%),
    radial-gradient(circle at 78% 26%, rgba(0, 91, 172, 0.14), transparent 30%),
    linear-gradient(115deg, #f7fbff 0%, #edf5ff 48%, #d8eafd 100%);
}

.hero-grid {
  position: relative;
  min-height: 688px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: #0b1b35;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-desc {
  max-width: 720px;
  color: #35465c;
  font-size: 18px;
  line-height: 1.9;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 34px;
}

.hero-badges span {
  border: 1px solid rgba(214, 154, 36, 0.32);
  border-radius: 8px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fff 0%, var(--gold-soft) 100%);
  color: #1e314f;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(10, 38, 79, 0.06);
}

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

.hero-visual {
  justify-self: end;
  width: min(100%, 590px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 70px rgba(10, 38, 79, 0.14);
  backdrop-filter: blur(10px);
}

.scene-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(10, 38, 79, 0.12);
}

.scene-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.scene-main img {
  object-position: center 58%;
}

.scene-taxi img {
  object-position: right center;
}

.scene-ship img,
.scene-equipment img {
  object-position: center center;
}

.scene-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 7px 11px;
  background: linear-gradient(135deg, rgba(227, 52, 26, 0.94), rgba(169, 39, 24, 0.92));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.scene-main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7.6;
}

.scene-taxi {
  aspect-ratio: 1.2 / 1;
}

.scene-ship {
  aspect-ratio: 1.2 / 1;
}

.scene-equipment {
  aspect-ratio: 1.2 / 1;
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-stats span {
  display: grid;
  gap: 4px;
  min-height: 68px;
  border-radius: 8px;
  padding: 12px;
  background: var(--gold-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-stats b {
  color: var(--red);
  font-size: 20px;
  line-height: 1.1;
}

.section {
  padding: 88px 0;
}

.white {
  background: #fff;
}

.soft {
  background: var(--soft);
}

.dark {
  background: var(--green-dark);
  color: #fff;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.2;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.dark .section-head p:not(.eyebrow) {
  color: #d9e7f8;
}

.plan-grid,
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdff;
  box-shadow: 0 10px 30px rgba(10, 38, 79, 0.06);
}

.plan-card.featured {
  border-color: rgba(217, 54, 46, 0.42);
  box-shadow: 0 18px 44px rgba(217, 54, 46, 0.13);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.card-top h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.card-top span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--gold-soft);
  color: #8c5c0b;
  font-size: 13px;
  font-weight: 900;
}

.audience {
  min-height: 56px;
  color: var(--muted);
  line-height: 1.7;
}

.highlight {
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(90deg, var(--gold-soft), #fff8eb);
  color: #9b1f14;
  border-left: 4px solid var(--gold);
  font-weight: 900;
}

.plan-card ul {
  flex: 1;
  margin: 8px 0 26px;
  padding-left: 20px;
  color: #34445a;
  line-height: 2;
}

.notice {
  margin: 28px 0 0;
  border: 1px solid #f0d2c2;
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff8eb;
  color: #5a4218;
  line-height: 1.8;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.mini-grid div,
.step-grid article,
.adv-grid article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: #fff;
}

.mini-grid b,
.mini-grid span {
  display: block;
}

.mini-grid b {
  margin-bottom: 8px;
}

.mini-grid span {
  color: var(--muted);
  line-height: 1.6;
}

.calc-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.calc-card label,
.lead-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
  color: #1b2f4b;
  font-weight: 900;
}

input,
select {
  width: 100%;
  height: 48px;
  border: 1px solid #cbd8e6;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: #18211f;
  font: inherit;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 52, 26, 0.1);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 16px;
}

.metrics div {
  border-radius: 8px;
  padding: 16px;
  background: var(--gold-soft);
}

.metrics span {
  display: block;
  color: #637287;
  font-size: 13px;
}

.metrics b {
  display: block;
  margin-top: 8px;
  color: var(--red);
  font-size: 22px;
}

.small {
  color: #6b7889;
  font-size: 13px;
  line-height: 1.7;
}

.success-tip {
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--gold-soft);
  color: #8c5c0b;
  font-weight: 800;
}

.error-tip {
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff1f1;
  color: var(--red);
  font-weight: 800;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-grid b {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
}

.step-grid h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.step-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.adv-grid article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.adv-grid h3 {
  font-size: 21px;
}

.adv-grid p {
  color: #d9e7f8;
  line-height: 1.8;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.lead-form label {
  margin: 0;
}

.full {
  grid-column: 1 / -1;
}

.narrow {
  max-width: 900px;
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

details:last-child {
  border-bottom: 0;
}

summary {
  cursor: pointer;
  color: #14213d;
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer {
  padding: 54px 0 32px;
  background: #071b3a;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.footer p {
  color: #d7e4f4;
  line-height: 1.8;
}

.service-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.service-contact span {
  display: block;
  color: #a8bbd4;
  font-size: 14px;
}

.service-contact a {
  display: inline-block;
  margin: 8px 0 6px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}

.service-contact p {
  margin: 0;
}

.service-contact img {
  width: 116px;
  height: 116px;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9fb0c8;
  font-size: 13px;
}

.mobile-bar {
  display: none;
}

.admin-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff8eb 0%, #eef5ff 100%);
}

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 14%, rgba(214, 154, 36, 0.22), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(227, 52, 26, 0.12), transparent 28%),
    linear-gradient(135deg, #fff8eb 0%, #ffffff 55%, #eef5ff 100%);
}

.login-shell {
  width: min(440px, 100%);
}

.login-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 6vw, 46px);
}

.login-intro {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.7;
}

.login-form {
  display: grid;
  gap: 18px;
}

.login-form label {
  display: grid;
  gap: 9px;
  color: #1b2f4b;
  font-weight: 900;
}

.admin-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.admin-top h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

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

.table-wrap {
  overflow-x: auto;
}

.lead-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.lead-table th,
.lead-table td {
  border-bottom: 1px solid var(--line);
  padding: 15px 16px;
  text-align: left;
  white-space: nowrap;
}

.lead-table th {
  background: #fff8eb;
  color: #203653;
  font-size: 14px;
}

.lead-table td {
  color: #34445a;
}

.empty-cell {
  height: 150px;
  color: var(--muted);
  text-align: center !important;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 66px;
  }

  .brand {
    min-width: auto;
  }

  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 82px 0 64px;
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
  }

  .plan-grid,
  .adv-grid,
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand-text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 14px;
  }

  .hero-bg {
    top: 66px;
    background:
      radial-gradient(circle at 18% 12%, rgba(214, 154, 36, 0.18), transparent 30%),
      radial-gradient(circle at 76% 22%, rgba(227, 52, 26, 0.1), transparent 34%),
      linear-gradient(180deg, #fffaf0 0%, #edf5ff 58%, #f3f7fc 100%);
  }

  .hero-badges,
  .plan-grid,
  .adv-grid,
  .step-grid,
  .mini-grid,
  .metrics,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-height: 0;
  }

  .scene-card,
  .scene-main,
  .scene-taxi,
  .scene-ship,
  .scene-equipment,
  .hero-stats {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
  }

  .scene-main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 8.8;
  }

  .scene-taxi,
  .scene-ship,
  .scene-equipment {
    aspect-ratio: 1.35 / 1;
  }

  .scene-equipment {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7.5;
  }

  .hero-stats {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    right: auto;
    bottom: auto;
  }

  .hero-stats span {
    min-height: auto;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .hero-stats b {
    font-size: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .calc-card,
  .lead-form,
  .plan-card {
    padding: 22px;
  }

  .service-contact {
    align-items: flex-start;
    justify-content: space-between;
  }

  .service-contact a {
    font-size: 24px;
  }

  .service-contact img {
    width: 104px;
    height: 104px;
  }

  .mobile-bar {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -10px 30px rgba(10, 38, 79, 0.12);
  }

  .mobile-bar a {
    display: grid;
    place-items: center;
    height: 44px;
    border-radius: 8px;
    font-weight: 900;
  }

  .mobile-bar a:first-child {
    border: 1px solid var(--red);
    color: var(--red);
  }

  .mobile-bar a:last-child {
    background: var(--red);
    color: #fff;
  }

  body {
    padding-bottom: 66px;
  }
}
