:root {
  --ink: #13252d;
  --ink-strong: #07171c;
  --muted: #647780;
  --muted-strong: #40545d;
  --canvas: #eef5f3;
  --paper: #f8fbfa;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(19, 37, 45, 0.12);
  --line-strong: rgba(19, 37, 45, 0.18);
  --accent: #0c9f8e;
  --accent-dark: #087264;
  --accent-soft: rgba(12, 159, 142, 0.12);
  --amber: #d8a441;
  --steel: #255a68;
  --graphite: #0f242b;
  --shadow-sm: 0 12px 30px rgba(10, 28, 35, 0.08);
  --shadow: 0 26px 70px rgba(10, 28, 35, 0.14);
  --shadow-hard: 0 34px 90px rgba(10, 28, 35, 0.2);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 14%, rgba(12, 159, 142, 0.22), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(37, 90, 104, 0.18), transparent 24rem),
    linear-gradient(135deg, #f7fbfa 0%, #eef6f4 45%, #f4efe1 100%);
  font-family: "Manrope", "Satoshi", "HarmonyOS Sans SC", "Microsoft YaHei UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(19, 37, 45, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 37, 45, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 78%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.36;
  pointer-events: none;
}

.ambient-one {
  top: 18vh;
  left: -150px;
  background: #5fdcca;
}

.ambient-two {
  right: -120px;
  bottom: 7vh;
  background: #d8b657;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(24px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.brand-mark,
.site-nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  min-width: 0;
  color: var(--ink-strong);
  font-size: 0.96rem;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand-mark span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-symbol {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent),
    linear-gradient(135deg, var(--accent), var(--graphite));
  box-shadow: 0 14px 28px rgba(12, 159, 142, 0.24);
}

.site-nav a,
.ghost-button,
.language-pill {
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 760;
  padding: 10px 12px;
  border-radius: 14px;
}

.site-nav a:hover,
.ghost-button:hover,
.language-pill:hover {
  color: var(--ink-strong);
  background: rgba(12, 159, 142, 0.08);
}

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 820;
  letter-spacing: -0.02em;
}

.nav-button,
.primary-button {
  color: #fff;
  padding: 0 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 16px 34px rgba(12, 159, 142, 0.24);
}

.nav-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(12, 159, 142, 0.28);
}

.secondary-button {
  color: var(--ink);
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.secondary-button:hover {
  border-color: rgba(12, 159, 142, 0.3);
  background: #fff;
}

.block-button {
  width: 100%;
}

.hero-screen {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
  width: min(1320px, calc(100% - 44px));
  min-height: calc(100svh - 114px);
  margin: 0 auto;
  padding: 58px 0 44px;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid rgba(12, 159, 142, 0.24);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 26px rgba(12, 159, 142, 0.08);
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

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

h1 {
  margin: 18px 0 18px;
  color: var(--ink-strong);
  font-size: clamp(2.35rem, 3.7vw, 3.85rem);
  line-height: 1.07;
  letter-spacing: -0.055em;
}

h2 {
  color: var(--ink-strong);
  font-size: clamp(1.65rem, 2.45vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.048em;
}

h3 {
  color: var(--ink-strong);
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.hero-lead,
.section-heading p,
.split-section p,
.feature-card p,
.plan-card p,
.auth-card p,
.download-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-lead {
  max-width: 610px;
  font-size: 1.07rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.metric-strip div,
.feature-card,
.plan-card,
.dashboard-card,
.table-card,
.download-card,
.auth-card,
.timeline-card,
.glass-console {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
}

.metric-strip div {
  padding: 16px;
  border-radius: 18px;
}

.metric-strip strong {
  display: block;
  color: var(--ink-strong);
  font-size: 1.48rem;
  line-height: 1;
  letter-spacing: -0.055em;
}

.metric-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.46;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
}

.compression-orbit {
  position: relative;
  display: grid;
  width: min(560px, 90vw);
  min-height: 500px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 20%, rgba(12, 159, 142, 0.42), transparent 15rem),
    linear-gradient(145deg, #10262e 0%, #162f37 48%, #0b191f 100%);
  box-shadow: var(--shadow-hard);
}

.compression-orbit::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
}

.compression-orbit::after {
  position: absolute;
  top: 34px;
  right: 34px;
  color: rgba(255, 255, 255, 0.52);
  content: "LOCAL FTP WATCHER";
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.orbit-core {
  position: relative;
  z-index: 1;
  display: grid;
  width: 182px;
  height: 182px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, var(--accent), #126474);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
  font-size: 2.62rem;
  font-weight: 920;
  letter-spacing: -0.065em;
}

.orbit-node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 70px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 880;
}

.node-a { top: 104px; left: 58px; }
.node-b { top: 172px; right: 54px; }
.node-c { right: 92px; bottom: 92px; }
.node-d { bottom: 126px; left: 56px; }

.glass-console {
  position: absolute;
  right: clamp(0px, 2vw, 24px);
  bottom: 34px;
  z-index: 3;
  width: min(430px, 84vw);
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(9, 31, 38, 0.18);
}

.console-top span {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.console-top span:nth-child(2) {
  background: #4bbcc1;
}

.console-top span:nth-child(3) {
  background: var(--amber);
}

.console-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.console-row strong {
  color: var(--ink-strong);
}

.console-progress {
  height: 9px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(12, 159, 142, 0.12);
}

.console-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--amber));
}

.content-section,
.split-section,
.table-page,
.form-page {
  width: min(1320px, calc(100% - 44px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 880;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.feature-grid,
.pricing-grid,
.dashboard-grid,
.download-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.plan-card,
.dashboard-card,
.download-card {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.feature-card:hover,
.plan-card:hover,
.download-card:hover,
.dashboard-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--graphite), var(--accent));
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: center;
}

.timeline-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-grid.expanded {
  align-items: stretch;
}

.plan-card {
  position: relative;
}

.plan-card.featured {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 78% 8%, rgba(12, 159, 142, 0.44), transparent 14rem),
    linear-gradient(145deg, #10262e, #07171c);
  box-shadow: var(--shadow-hard);
  transform: translateY(-8px);
}

.plan-card.featured:hover {
  transform: translateY(-10px);
}

.plan-card.featured h3,
.plan-card.featured .price-line strong {
  color: #fff;
}

.plan-card.featured p,
.plan-card.featured .mini-meta,
.plan-card.featured li {
  color: rgba(255, 255, 255, 0.75);
}

.plan-badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #17250d;
  background: var(--amber);
  font-size: 0.74rem;
  font-weight: 920;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
}

.price-line strong {
  color: var(--ink-strong);
  font-size: 2.12rem;
  letter-spacing: -0.065em;
}

.mini-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.plan-card ul {
  display: grid;
  gap: 11px;
  min-height: 132px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.plan-card li::before {
  content: "\2713";
  margin-right: 9px;
  color: var(--accent);
  font-weight: 900;
}

.portal-shell {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 22px;
  width: min(1360px, calc(100% - 44px));
  margin: 46px auto 0;
  padding-bottom: 80px;
}

.portal-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 8px;
  align-self: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.sidebar-title {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-sidebar a {
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--muted-strong);
  font-weight: 820;
}

.portal-sidebar a.active,
.portal-sidebar a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.portal-hero,
.page-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 0%, rgba(12, 159, 142, 0.16), transparent 20rem),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.page-hero.compact {
  display: block;
  padding: 38px;
}

.page-hero h1,
.portal-hero h1 {
  max-width: 840px;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 2.8vw, 2.95rem);
  line-height: 1.1;
}

.dashboard-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.dashboard-card.wide {
  grid-row: span 2;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.card-heading h2 {
  margin-bottom: 0;
  font-size: 1.24rem;
  letter-spacing: -0.035em;
}

.card-heading a {
  color: var(--accent-dark);
  font-weight: 880;
}

.license-list,
.compact-list {
  display: grid;
  gap: 12px;
}

.license-card,
.compact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
}

.license-card p {
  margin-bottom: 6px;
  color: var(--muted);
}

.license-days {
  min-width: 116px;
  text-align: right;
}

.license-days strong {
  display: block;
  color: var(--ink-strong);
  font-size: 2.2rem;
  letter-spacing: -0.065em;
}

.license-days span,
.license-days small {
  display: block;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-pill.expired,
.status-pill.cancelled,
.status-pill.suspended {
  color: #96354a;
  background: rgba(150, 53, 74, 0.12);
}

.table-card {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-grid {
  grid-template-columns: repeat(3, 1fr);
}

.download-meta {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 10px;
  color: var(--muted);
  font-weight: 820;
}

.download-card small {
  display: block;
  min-height: 42px;
  color: var(--muted);
  word-break: break-word;
}

.download-card .secondary-button {
  margin-top: 22px;
}

.form-page {
  display: grid;
  min-height: calc(100vh - 180px);
  place-items: center;
}

.form-page.split {
  grid-template-columns: 1fr 0.85fr;
  gap: 24px;
  place-items: stretch;
}

.auth-card {
  width: min(720px, 100%);
  padding: 34px;
  border-radius: var(--radius-xl);
}

.auth-card.large {
  width: min(960px, 100%);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.form-grid label,
.form-grid .full {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.form-grid .full,
.form-grid button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

textarea {
  min-height: 126px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(12, 159, 142, 0.5);
  box-shadow: 0 0 0 4px rgba(12, 159, 142, 0.1);
}

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

.form-note a {
  color: var(--accent-dark);
  font-weight: 900;
}

.checkout-summary {
  align-self: center;
}

.message-stack {
  position: fixed;
  top: 98px;
  right: 28px;
  z-index: 50;
  display: grid;
  gap: 10px;
}

.message {
  max-width: 380px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  font-weight: 800;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1320px, calc(100% - 44px));
  margin: 0 auto;
  padding: 34px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .hero-screen,
  .split-section,
  .portal-shell,
  .form-page.split {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 500px;
  }

  .feature-grid,
  .pricing-grid,
  .download-grid,
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portal-sidebar {
    position: static;
    grid-template-columns: repeat(4, 1fr);
  }

  .sidebar-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    top: 0;
    width: min(100% - 28px, 1320px);
    flex-wrap: wrap;
    margin-top: 14px;
  }

  .site-nav,
  .nav-actions {
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 100%;
  }

  .hero-screen {
    width: min(100% - 28px, 1320px);
    min-height: auto;
    padding-top: 42px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .compression-orbit {
    min-height: 430px;
  }

  .orbit-core {
    width: 146px;
    height: 146px;
    font-size: 2.1rem;
  }

  .metric-strip,
  .feature-grid,
  .pricing-grid,
  .download-grid,
  .dashboard-grid,
  .form-grid,
  .portal-sidebar {
    grid-template-columns: 1fr;
  }

  .portal-hero,
  .page-hero,
  .license-card,
  .site-footer {
    display: block;
  }

  .license-days {
    margin-top: 18px;
    text-align: left;
  }

  .content-section,
  .split-section,
  .table-page,
  .form-page,
  .portal-shell,
  .site-footer {
    width: min(100% - 28px, 1320px);
  }

  h1 {
    font-size: clamp(2.05rem, 9.2vw, 3.05rem);
  }

  .page-hero h1,
  .portal-hero h1 {
    font-size: clamp(1.75rem, 7.8vw, 2.55rem);
  }
}
