/* ==========================================================================
   Starway HK E-Commerce Limited (星渡有限公司)
   Corporate Official Website Stylesheet
   ========================================================================== */

:root {
  --bg-deep: #040712;
  --bg-surface: #0a1024;
  --bg-card: rgba(13, 21, 44, 0.72);
  --bg-card-hover: rgba(18, 29, 60, 0.88);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(56, 189, 248, 0.38);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-violet: #a855f7;
  --accent-emerald: #10b981;

  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #6366f1 55%, #a855f7 100%);
  --gradient-text: linear-gradient(120deg, #ffffff 10%, #7dd3fc 52%, #a5b4fc 95%);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.14);
  --shadow-card: 0 20px 50px rgba(2, 6, 23, 0.55);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-width: 1200px;
  --nav-height: 76px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

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

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

#starway-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}

.bg-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, #000 35%, transparent 100%);
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.24;
}

.ambient-orb-1 {
  width: 540px;
  height: 540px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, #38bdf8, transparent 70%);
}

.ambient-orb-2 {
  width: 520px;
  height: 520px;
  bottom: 10%;
  left: -180px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(4, 7, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.18);
  flex-shrink: 0;
}

.brand-mark img, .brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
}

.lang-toggle:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
  background: rgba(30, 41, 59, 0.8);
}

.lang-toggle .lang-active {
  color: var(--accent-cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(56, 189, 248, 0.38);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--border-glow);
  background: rgba(30, 41, 59, 0.85);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(6, 10, 24, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px 28px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.mobile-drawer a:hover {
  color: var(--accent-cyan);
}

.hero {
  padding: calc(var(--nav-height) + 72px) 0 96px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.09);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #bae6fd;
  font-size: 0.83rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 34px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #f8fafc, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-visual {
  position: relative;
}

.holo-console {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.88), rgba(7, 12, 28, 0.92));
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  padding: 26px;
  overflow: hidden;
}

.holo-console::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #38bdf8, #a855f7, transparent);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.console-dots {
  display: flex;
  gap: 7px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.console-dots span:nth-child(1) { background: #f43f5e; opacity: 0.85; }
.console-dots span:nth-child(2) { background: #f59e0b; opacity: 0.85; }
.console-dots span:nth-child(3) { background: #10b981; opacity: 0.85; }

.console-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 3px 10px;
  border-radius: 999px;
}

.orbital-stage {
  position: relative;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.24);
}

.orbit-ring-1 {
  width: 196px;
  height: 196px;
  animation: spin 26s linear infinite;
}

.orbit-ring-2 {
  width: 138px;
  height: 138px;
  border-color: rgba(129, 140, 248, 0.35);
  border-style: solid;
  animation: spin-reverse 18s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 14px #38bdf8;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-ring-2 .orbit-node {
  background: #c084fc;
  box-shadow: 0 0 14px #c084fc;
  top: auto;
  bottom: -5px;
}

.orbit-core {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.35), rgba(99, 102, 241, 0.22) 60%, rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.28);
  z-index: 2;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.console-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-module {
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition);
}

.mini-module:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.mini-module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mini-module-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.status-pill {
  font-size: 0.68rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 7px;
  border-radius: 999px;
}

.mini-module-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.24;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

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

.glass-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at top right, rgba(56, 189, 248, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.glass-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(99, 102, 241, 0.16));
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
}

.card-title {
  font-size: 1.24rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.75;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.76rem;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.mission-panel {
  padding: 38px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(14, 24, 52, 0.85), rgba(8, 13, 30, 0.92));
  border: 1px solid rgba(99, 102, 241, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.mission-quote {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text-primary);
  padding-left: 18px;
  border-left: 3px solid var(--accent-cyan);
}

.value-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition);
}

.pillar-item:hover {
  border-color: var(--border-glow);
}

.pillar-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}

.pillar-item h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pillar-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}

.process-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.process-step {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.process-card h4 {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.tech-strip {
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: rgba(10, 16, 36, 0.8);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tech-strip-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #e0f2fe;
}

.registry-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(13, 22, 48, 0.88), rgba(7, 11, 24, 0.94));
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.registry-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.34);
  color: #6ee7b7;
  font-size: 0.82rem;
  font-weight: 600;
}

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

.registry-item {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.registry-item.span-2 {
  grid-column: span 2;
}

.registry-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.registry-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

.registry-value.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #bae6fd;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-card .contact-main {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  overflow-wrap: break-word;
  word-break: normal;
}

.contact-card .contact-sub {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.copy-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.copy-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  color: #ffffff;
}

.contact-form-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(4, 7, 18, 0.75);
  color: var(--text-primary);
  font-size: 0.94rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

textarea.form-control {
  min-height: 118px;
  resize: vertical;
}

.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 5, 14, 0.9);
  padding: 56px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a, .footer-col p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--accent-cyan);
}

.legal-hero {
  padding: calc(var(--nav-height) + 64px) 0 40px;
}

.legal-card {
  padding: 44px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 72px;
}

.legal-card h2 {
  font-size: 1.28rem;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p, .legal-card li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.8;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  padding: 13px 20px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registry-item.span-2 {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions .btn-contact-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: calc(var(--nav-height) + 42px) 0 68px;
    min-height: auto;
  }

  .section {
    padding: 68px 0;
  }

  .cards-grid-4,
  .process-grid,
  .registry-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .registry-item.span-2 {
    grid-column: span 1;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .metric-value {
    font-size: 1.28rem;
  }

  .registry-card,
  .mission-panel,
  .contact-form-card,
  .legal-card {
    padding: 24px;
  }
}
