/* ============================================================
   TRAE 首页 - Header + Hero 复刻（对齐 enterprise-replica 设计规范）
   ============================================================ */

:root {
  /* 颜色 */
  --bg-base-default: #0a0b0d;
  --text-default: #f5f9fe;
  --text-secondary: #a6aab5;
  --bg-brand: #32f08c;
  --bg-brand-hover: #10b981;
  --text-onbrand: #0a0d0b;
  --bg-overlay-l2: rgba(237, 239, 242, .08);
  --gradient-brand: linear-gradient(90deg, #059669 0%, #10b981 50%, #32f08c 100%);

  /* 字体 */
  --font-default: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* 尺寸 */
  --header-height: 56px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-base-default);
  color: var(--text-default);
  font-family: var(--font-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
  width: min(100%, 1600px);
  margin-inline: auto;
  height: var(--header-height);
  padding-inline: 16px;
  background: var(--bg-base-default);
}

.logo {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: transform .3s ease, filter .3s ease;
}
.logo img { display: block; }
.logo:hover {
  transform: scale(1.03);
}

.navDesktop {
  display: none;
  align-items: center;
  gap: 12px;
  justify-self: center;
}
.navItem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  padding: 2px 8px;
  height: 20px;
  transition: color .15s ease;
}
.navItem:hover { color: var(--text-default); }
.navItem.active {
  color: #ffffff;
  font-weight: 600;
}

.navItem .fa-caret-down {
    margin-left: 4px;
    font-size: 10px;
    transition: transform .2s ease;
}

.navItemWithDropdown:hover .fa-caret-down {
    transform: rotate(180deg);
}

.navItemWithDropdown {
    position: relative;
}

/* ===== 简单文本下拉 (兼容) ===== */
.dropdownMenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 18px;
    z-index: 1000;
    min-width: 240px;
}

.navItemWithDropdown:hover .dropdownMenu {
    display: block;
}

.dropdownMenu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    white-space: nowrap;
    background-color: #1a1b1d;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background-color .2s ease, color .2s ease;
}

.dropdownMenu a:hover {
    background-color: var(--bg-brand);
    color: var(--text-onbrand);
}

/* ===== Unity Menu 富卡片下拉（还原原版设计） ===== */
.unityMenu { position: relative; }

.unityDropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  margin-top: 12px;
  width: 760px;
  max-width: 92vw;
  padding: 16px;
  background: linear-gradient(180deg, #1a1b1f 0%, #131418 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 0 1px rgba(50,240,140,.05) inset;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.unityMenu:hover .unityDropdown {
  display: grid;
}

.unityMenuDedicated .unityDropdown {
  width: 520px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* 用不可见的桥接元素避免鼠标从导航到下拉时卡顿 */
.unityMenu::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.unityLink {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
  color: inherit;
  text-decoration: none;
  position: relative;
  margin: 2px;
}

/* 桌面版子菜單分割線：右側漸變豎線 + 底部漸變橫線 */
.unityLink::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, .08) 20%,
    rgba(255, 255, 255, .08) 80%,
    transparent 100%);
  pointer-events: none;
  transition: opacity .2s ease;
}
/* 最後一行不需要底線 */
.unityDropdown .unityLink:nth-last-child(1)::after,
.unityDropdown .unityLink:nth-last-child(2):nth-child(odd)::after {
  display: none;
}
/* 單列（專用服務器）最後一項無底線 */
.unityMenuDedicated .unityDropdown .unityLink:last-child::after {
  display: none;
}
/* 左側列的右邊加一條漸變豎線 */
.unityDropdown .unityLink:nth-child(odd)::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  right: -1px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 255, 255, .08) 20%,
    rgba(255, 255, 255, .08) 80%,
    transparent 100%);
  pointer-events: none;
  transition: opacity .2s ease;
}
.unityMenuDedicated .unityDropdown .unityLink::before {
  display: none;
}

.unityLink:hover {
  background: linear-gradient(180deg, rgba(50, 240, 140, .12) 0%, rgba(50, 240, 140, .04) 100%);
  border-color: rgba(50, 240, 140, .35);
  box-shadow: 0 6px 20px rgba(50, 240, 140, .12);
  transform: translateY(-1px);
}
.unityLink:hover::after,
.unityLink:hover::before {
  opacity: 0;
}

.unityBox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.unityIcon {
  flex: 0 0 auto;
  width: 32px;
  height: 24px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.08);
}

.unityIcon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unityContent { flex: 1 1 auto; min-width: 0; }

.unityTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.unityReco {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #32f08c, #059669);
  border-radius: 3px;
  line-height: 1.4;
}

.unitySubline {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.unityMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.unityTag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text-secondary);
  background: rgba(255,255,255,.02);
  line-height: 1.5;
}

.unityTag.tagRoute {
  color: #8ab4ff;
  border-color: rgba(138,180,255,.3);
  background: rgba(138,180,255,.08);
}

.unityTag.tagDdos {
  color: #ff8a8a;
  border-color: rgba(255,138,138,.3);
  background: rgba(255,138,138,.08);
}

.unityTag.tagIpv6 {
  color: #7ee0b8;
  border-color: rgba(126,224,184,.3);
  background: rgba(126,224,184,.08);
}

.unityTag.tagGlobal {
  color: #c4a6ff;
  border-color: rgba(196,166,255,.3);
  background: rgba(196,166,255,.08);
}

@media (max-width: 900px) {
  .unityDropdown,
  .unityMenu:hover .unityDropdown { display: none !important; }
}

.navHotTag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  padding: 0 4px;
  border-radius: 2px;
  background: var(--bg-overlay-l2);
}
.navHotTag span {
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.navDropdownIcon {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  transition: transform .2s ease;
}

.navActions {
  display: none;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

/* 語言切換 */
.langSwitch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.15);
  overflow: hidden;
  height: 30px;
  margin-right: 4px;
}
.langOption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 100%;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: background .15s ease, color .15s ease;
}
.langOption:hover { color: #fff; }
.langOption.isActive {
  background: rgba(50, 240, 140, .18);
  color: #fff;
}

.navBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  min-width: 84px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease;
}
.navBtn i { font-size: 12px; }
.navBtnGhost {
  background: var(--bg-overlay-l2);
  color: var(--text-default);
}
.navBtnGhost:hover { background: rgba(237, 239, 242, .13); }
.navBtnBrand {
  background: var(--bg-brand);
  color: var(--text-onbrand);
}
.navBtnBrand:hover { background: var(--bg-brand-hover); }

.actionBox {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #fff;
}

/* ============================================================
   移动端全屏菜单
   ============================================================ */
.menuBox {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--bg-base-default);
  z-index: 20;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s ease;
}
.menuBox.open {
  transform: translateY(0);
  visibility: visible;
}
.menu {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding-inline: 16px;
  background: var(--bg-base-default);
}

.menuBtnGroup {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}
.menuBrandBtn,
.menuTertiaryBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .025em;
  cursor: pointer;
  transition: background .15s ease;
}
.menuBrandBtn {
  background: var(--bg-brand);
  color: var(--text-onbrand) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  text-decoration: none;
}
.menuBrandBtn span { color: #ffffff; }
.menuBrandBtn:hover { background: var(--bg-brand-hover); }
.menuTertiaryBtn {
  background: var(--bg-overlay-l2);
  color: var(--text-default) !important;
  text-decoration: none;
}
.menuTertiaryBtn span { color: var(--text-default); }
.menuTertiaryBtn:hover { background: rgba(237, 239, 242, .14); }

.menuNavBox {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  overflow-y: auto;
}
.menuItem {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
  font-weight: 500;
  line-height: 25.6px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  transition: color .15s ease, background .15s ease;
}
.menuItem:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, .04);
}
.menuItem span { color: inherit; }
.menuItem.itemActive { color: #ffffff; font-weight: 600; }
.menuItem.itemActive .menuTitle > span:first-child { color: #ffffff; font-weight: 600; }
.menuTitle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.menuTag {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  padding: 0 4px;
  border-radius: 2px;
  background: var(--bg-overlay-l2);
}

/* 移动端可折叠子菜单 */
.menuGroup {
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.menuGroup .menuItem {
  border-bottom: none;
}
.menuItemToggle {
  width: 100%;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.menuArrow {
  color: var(--text-secondary);
  font-size: 12px;
  transition: transform .2s ease;
}
.menuItemToggle[aria-expanded="true"] .menuArrow {
  transform: rotate(180deg);
}
.menuSub {
  display: none;
  padding: 4px 0 12px;
  margin: 0 -4px;
}
.menuSub.isOpen {
  display: block;
}
.menuSubItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background .15s ease;
  position: relative;
}
.menuSub .menuSubItem + .menuSubItem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: rgba(255, 255, 255, .06);
}
.menuSubItem:hover,
.menuSubItem:active {
  background: rgba(50, 240, 140, .1);
}
.menuSubItem > img {
  flex: 0 0 auto;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .08);
}
.menuSubBody {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.menuSubTitle {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.menuSubDesc {
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menuTag span {
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.productDropTrigger { justify-content: space-between; }
.productDropIcon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  color: rgba(255, 255, 255, .92);
}
.menuOverlay {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 1;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.menuBox.open .menuOverlay { opacity: 1; }

/* ============================================================
   首页 Hero（双栏布局：左标题 / 右描述+下载）
   ============================================================ */
.homeContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.topLine {
  align-self: stretch;
  height: 1px;
  background: rgba(255, 255, 255, .18);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.homeBody {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.adsBox {
  display: inline-flex;
  flex-wrap: wrap;
  color: #fff;
  font-size: 13px;
  line-height: 20.8px;
}
.adsLink {
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.homeColumns {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
}

.mainSection {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
.titleBox {
  margin: 0;
  font-family: var(--font-default);
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 500;
  line-height: 1.2;
}
.title1 { color: var(--text-default); }
.title2 { color: var(--text-secondary); }

.secondSection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 24px;
}
.secondInner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
  width: fit-content;
}

.soloDesc {
  display: flex;
  flex-direction: column;
  color: var(--text-default);
  font-size: 16px;
  line-height: 25.6px;
  margin: 0 0 8px;
  max-width: 578px;
}
.soloDesc p { margin: 0; }
.brandName {
  display: inline-block;
  white-space: nowrap;
  font-weight: 600;
}

.downloadActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.downloadBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  width: 200px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease;
}
.downloadBtn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.downloadPrimary {
  background: var(--bg-brand);
  color: var(--text-onbrand);
}
.downloadPrimary:hover { background: var(--bg-brand-hover); }
.downloadPrimary svg path { fill: #fff; }

.downloadSecondary {
  background: transparent;
  color: var(--text-default);
  border: 1px solid #fff;
}
.downloadSecondary:hover { background: var(--bg-overlay-l2); }

.downloadNote {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
}
.downloadNoteIcon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
.downloadNoteIcon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--bg-brand);
}
.downloadNoteText {
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
  line-height: 22.4px;
  white-space: nowrap;
}

/* ============================================================
   响应式断点
   ============================================================ */
@media (min-width: 744px) {
  .header { padding-inline: 24px; }
  .topLine { margin-bottom: 20px; margin-top: 36px; }
  .menu { padding-inline: 24px; }
}

@media (min-width: 1060px) {
  :root { --header-height: 72px; }

  .header { padding-inline: 32px; }

  .navDesktop { display: flex; }
  .navActions { display: flex; }
  .actionBox { display: none; }

  .homeColumns { flex-direction: row; }
  .mainSection { flex: 631 1; }
  .secondSection { flex: 1 1; align-items: flex-end; padding-right: 24px; }

  .downloadBtn { height: 60px; width: 300px; padding: 0 14px; }
  .downloadSecondary { width: auto; }
}

/* ============================================================
   Hero 动画背景（光晕 + 网格 + 粒子）
   ============================================================ */
.heroAnimBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(50, 240, 140, .10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(16, 185, 129, .06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(50, 240, 140, .04) 0%, transparent 50%),
    #0a0b0d;
}

.heroGlow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  mix-blend-mode: screen;
}
.heroGlow1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #32f08c 0%, transparent 70%);
  top: -10%; left: -5%;
  animation: glowDrift1 18s ease-in-out infinite;
}
.heroGlow2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
  top: 40%; right: -10%;
  animation: glowDrift2 22s ease-in-out infinite;
}
.heroGlow3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #32f08c 0%, transparent 70%);
  bottom: -15%; left: 30%;
  animation: glowDrift3 25s ease-in-out infinite;
}

@keyframes glowDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 60px) scale(1.1); }
  66% { transform: translate(-40px, 100px) scale(.95); }
}
@keyframes glowDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-100px, -50px) scale(1.05); }
  66% { transform: translate(60px, 80px) scale(1.1); }
}
@keyframes glowDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -60px) scale(1.15); }
}

.heroGrid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(50, 240, 140, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 240, 140, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 0%, transparent 70%);
  animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: .5; }
  50% { opacity: .9; }
}

.heroParticles { position: absolute; inset: 0; }
.heroParticles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--bg-brand);
  box-shadow: 0 0 8px 2px rgba(50, 240, 140, .05);
  animation: particleFloat linear infinite;
}
.heroParticles span:nth-child(1)  { left: 10%;  top: 20%;  animation-duration: 12s; animation-delay: 0s;   width: 3px; height: 3px; }
.heroParticles span:nth-child(2)  { left: 25%;  top: 60%;  animation-duration: 15s; animation-delay: 1s;   width: 5px; height: 5px; }
.heroParticles span:nth-child(3)  { left: 45%;  top: 30%;  animation-duration: 10s; animation-delay: 3s;   width: 3px; height: 3px; }
.heroParticles span:nth-child(4)  { left: 60%;  top: 75%;  animation-duration: 18s; animation-delay: .5s;  width: 4px; height: 4px; }
.heroParticles span:nth-child(5)  { left: 80%;  top: 40%;  animation-duration: 14s; animation-delay: 2s;   width: 3px; height: 3px; }
.heroParticles span:nth-child(6)  { left: 15%;  top: 85%;  animation-duration: 20s; animation-delay: 4s;   width: 4px; height: 4px; }
.heroParticles span:nth-child(7)  { left: 55%;  top: 10%;  animation-duration: 16s; animation-delay: 1.5s; width: 3px; height: 3px; }
.heroParticles span:nth-child(8)  { left: 70%;  top: 55%;  animation-duration: 11s; animation-delay: 2.5s; width: 5px; height: 5px; }
.heroParticles span:nth-child(9)  { left: 90%;  top: 80%;  animation-duration: 17s; animation-delay: 3.5s; width: 3px; height: 3px; }
.heroParticles span:nth-child(10) { left: 35%;  top: 45%;  animation-duration: 13s; animation-delay: .8s;  width: 4px; height: 4px; }

@keyframes particleFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-120px) translateX(30px); opacity: 0; }
}

/* ============================================================
   通用 Section 容器
   ============================================================ */
.sectionInner {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-inline: 16px;
  padding-block: 80px;
}
.sectionHead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  text-align: center;
}
.sectionTag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(50, 240, 140, .35);
  border-radius: 2px;
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sectionTitle {
  margin: 0;
  color: var(--text-default);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.2;
}
.sectionSub {
  margin: 0;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.7;
}

@media (min-width: 744px) { .sectionInner { padding-inline: 24px; padding-block: 96px; } }
@media (min-width: 1060px) { .sectionInner { padding-inline: 32px; padding-block: 120px; } }

/* ============================================================
   產品展示區（彈性雲服務器 / 專用服務器）
   ============================================================ */
.productSection {
  border-top: 1px solid rgba(255, 255, 255, .06);
  position: relative;
}
.sectionTitleHi {
  background: linear-gradient(120deg, #a0fde7 0%, #32f08c 50%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* Tab 切換 */
.productTabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
}
.productTab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: color .25s ease, background .25s ease;
}
.productTab i { font-size: 13px; }
.productTab:hover { color: #fff; }
.productTab.isActive {
  background: rgba(50, 240, 140, .12);
  color: #32f08c;
  box-shadow: 0 0 0 1px rgba(50, 240, 140, .3) inset;
}
.productTabBadge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  background: #32f08c;
  color: #0a0d0b;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: .3px;
}

/* Panel */
.productPanel { display: none; }
.productPanel.isActive { display: block; animation: pFadeIn .4s ease; }
@keyframes pFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Grid */
.productGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.productGrid8 { grid-template-columns: 1fr; }
.productGrid2 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .productGrid8 { grid-template-columns: 1fr 1fr; }
  .productGrid2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1060px) {
  .productGrid8 { grid-template-columns: repeat(4, 1fr); }
}

/* 卡片 */
.pCard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.pCard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 50% -20%, rgba(50, 240, 140, .12), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.pCard:hover {
  transform: translateY(-4px);
  border-color: rgba(50, 240, 140, .45);
  background: linear-gradient(180deg, rgba(50, 240, 140, .04), rgba(255, 255, 255, .02));
  box-shadow: 0 16px 40px rgba(50, 240, 140, .12);
}
.pCard:hover::before { opacity: 1; }

/* 精選卡（第一張） */
.pCardFeatured {
  background: linear-gradient(180deg, rgba(50, 240, 140, .08), rgba(255, 255, 255, .01));
  border-color: rgba(50, 240, 140, .28);
}
.pCardFeatured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #32f08c, transparent);
}

/* 卡片頂部：國旗 + 徽章 */
.pCardTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  position: relative;
  z-index: 1;
}
.pFlag {
  width: 32px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.pReco {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  background: rgba(50, 240, 140, .14);
  color: #32f08c;
  font-size: 10px;
  font-weight: 600;
  border-radius: 3px;
  letter-spacing: .3px;
  border: 1px solid rgba(50, 240, 140, .3);
}

/* 標題 */
.pTitle {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* 描述 */
.pDesc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .55);
  min-height: 63px;
  position: relative;
  z-index: 1;
}

/* 標籤 */
.pTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.pTag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 3px;
  border: 1px solid transparent;
  letter-spacing: .2px;
}
.pTagRoute {
  background: rgba(50, 240, 140, .1);
  color: #32f08c;
  border-color: rgba(50, 240, 140, .2);
}
.pTagDdos {
  background: rgba(96, 242, 189, .1);
  color: #60f2bd;
  border-color: rgba(96, 242, 189, .2);
}
.pTagIpv6 {
  background: rgba(160, 253, 231, .08);
  color: #a0fde7;
  border-color: rgba(160, 253, 231, .18);
}
.pTagGlobal {
  background: rgba(50, 240, 140, .14);
  color: #32f08c;
  border-color: rgba(50, 240, 140, .3);
}
.pTagCn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg, rgba(50, 240, 140, .18), rgba(96, 242, 189, .12));
  color: #a0fde7;
  border-color: rgba(50, 240, 140, .35);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(50, 240, 140, .15);
}
.pTagCn i { font-size: 9px; color: #32f08c; }

/* 卡片底部 CTA */
.pCardFoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, .08);
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
  transition: color .25s ease;
  position: relative;
  z-index: 1;
}
.pCardFoot i {
  font-size: 11px;
  transition: transform .25s ease;
}
.pCard:hover .pCardFoot { color: #32f08c; }
.pCard:hover .pCardFoot i { transform: translateX(4px); }

/* 寬卡（專用服務器） */
.pCardWide { padding: 32px; }
.pCardWide .pTitle { font-size: 18px; }
.pCardWide .pDesc { font-size: 14px; }

/* ============================================================
   IDE 4 屏轮播
   ============================================================ */
.ideSection {
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(50, 240, 140, .04), transparent);
}
.carousel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.carouselViewport {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
}
.carouselTrack {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.carouselSlide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px;
  align-items: center;
}
.carouselVisual {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #0d0e11;
  position: relative;
  overflow: hidden;
}
.carouselVisual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 24px 24px;
}
.carouselVisual.v1 { background: radial-gradient(400px 260px at 30% 40%, rgba(50, 240, 140, .35), transparent 60%), radial-gradient(300px 200px at 80% 70%, rgba(50, 240, 140, .18), transparent 60%), #0d0e11; }
.carouselVisual.v2 { background: radial-gradient(400px 260px at 70% 30%, rgba(16, 185, 129, .35), transparent 60%), radial-gradient(300px 200px at 20% 80%, rgba(50, 240, 140, .25), transparent 60%), #0d0e11; }
.carouselVisual.v3 { background: radial-gradient(400px 260px at 50% 50%, rgba(160, 253, 231, .18), transparent 60%), radial-gradient(300px 200px at 20% 20%, rgba(50, 240, 140, .28), transparent 60%), #0d0e11; }
.carouselVisual.v4 { background: radial-gradient(400px 260px at 40% 60%, rgba(62, 225, 163, .22), transparent 60%), radial-gradient(300px 200px at 80% 30%, rgba(16, 185, 129, .3), transparent 60%), #0d0e11; }

.carouselCaption { display: flex; flex-direction: column; gap: 12px; padding: 8px; }
.carouselIndex {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--bg-brand);
}
.carouselCaption h3 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.3; color: var(--text-default); }
.carouselCaption p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.8; }

.carouselCtrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.carouselBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .03);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.carouselBtn:hover {
  color: var(--text-default);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .35);
}
.carouselDots { display: flex; gap: 8px; }
.cDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: all .2s ease;
}
.cDot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--bg-brand);
}

@media (min-width: 1060px) {
  .carouselSlide { grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 48px; }
  .carouselCaption { padding: 0; gap: 16px; }
}

/* ============================================================
   价值 Tabs
   ============================================================ */
.valueSection { border-top: 1px solid rgba(255, 255, 255, .06); }
.valueTabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.valueTabList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.valueTab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: inherit;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.valueTab:hover {
  color: var(--text-default);
  background: rgba(255, 255, 255, .03);
}
.valueTab.active {
  color: var(--text-default);
  background: rgba(50, 240, 140, .08);
  border-color: rgba(50, 240, 140, .3);
}
.valueTabIdx {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--bg-brand);
  min-width: 40px;
}
.valueTabTitle {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.valuePanel { display: none; }
.valuePanel.active {
  display: block;
  animation: valueFade .35s ease;
}
@keyframes valueFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.valueVisual {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #0d0e11;
  margin-bottom: 20px;
}
.valueVisual.vp01 { background: radial-gradient(500px 300px at 30% 40%, rgba(50, 240, 140, .3), transparent 60%), #0d0e11; }
.valueVisual.vp02 { background: radial-gradient(500px 300px at 70% 30%, rgba(50, 240, 140, .18), transparent 60%), #0d0e11; }
.valueVisual.vp03 { background: radial-gradient(500px 300px at 50% 60%, rgba(16, 185, 129, .3), transparent 60%), #0d0e11; }
.valueVisual.vp04 { background: radial-gradient(500px 300px at 60% 40%, rgba(160, 253, 231, .18), transparent 60%), #0d0e11; }
.valueDesc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

@media (min-width: 1060px) {
  .valueTabs { grid-template-columns: 1fr 1.2fr; gap: 64px; }
}

/* ============================================================
   Linux 啟動預覽 Terminal
   ============================================================ */
.termSection {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 0;
}
.termSection .sectionInner { padding-block: 40px; }
.termSection .sectionHead { margin-bottom: 24px; }
.termCard {
  max-width: 960px;
  margin: 0 auto;
  background: #0d0f0e;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5), 0 0 0 1px rgba(50, 240, 140, .05) inset;
}
.termBar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  background: linear-gradient(180deg, #1a1c1b, #131514);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.termDot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.termDotR { background: #ff5f56; }
.termDotY { background: #ffbd2e; }
.termDotG { background: #27c93f; }
.termTitle {
  flex: 1;
  text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .55);
}
.termReset {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.termReset:hover {
  color: #32f08c;
  border-color: rgba(50, 240, 140, .4);
  background: rgba(50, 240, 140, .08);
}
.termScreen {
  height: 420px;
  padding: 20px 24px;
  overflow: auto;
  background: #0a0c0b;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: #d5dcd8;
  white-space: pre-wrap;
  word-break: break-word;
}
.termScreen::-webkit-scrollbar { width: 6px; }
.termScreen::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .12); border-radius: 3px; }
.termPlaceholder {
  color: rgba(255, 255, 255, .35);
  font-style: italic;
}
.termMuted { color: rgba(255, 255, 255, .42); }
.termWarn  { color: #f5c451; }
.termOk    {
  color: #32f08c;
  font-weight: 600;
  padding: 0 2px;
}
.termCursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #32f08c;
  vertical-align: text-bottom;
  margin-left: 4px;
  animation: termBlink 1s steps(1) infinite;
}
@keyframes termBlink { 50% { opacity: 0; } }

.termNote {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .02);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.termNoteDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #32f08c;
  box-shadow: 0 0 8px #32f08c;
  animation: termPulse 1.6s ease-in-out infinite;
}
@keyframes termPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@media (max-width: 599px) {
  .termScreen { height: 340px; padding: 16px; font-size: 11.5px; }
}

/* ============================================================
   CTA 註冊區（Are you ready?）
   ============================================================ */
.ctaSection {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 0;
}
.ctaSection .sectionInner { padding-block: 40px; }
.ctaBox {
  position: relative;
  padding: 72px 40px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #0d100e 0%, #0a0d0b 100%);
  border: 1px solid rgba(50, 240, 140, .18);
  text-align: center;
  isolation: isolate;
}
.ctaBg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.ctaGlow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .5;
}
.ctaGlow1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #32f08c 0%, transparent 65%);
  top: -180px;
  left: -120px;
}
.ctaGlow2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #10b981 0%, transparent 65%);
  bottom: -180px;
  right: -120px;
}
.ctaGrid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(50, 240, 140, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 240, 140, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent);
}

.ctaContent {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ctaKicker {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: #32f08c;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(50, 240, 140, .3);
  border-radius: 4px;
  background: rgba(50, 240, 140, .06);
}
.ctaTitle {
  margin: 8px 0 0;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, #a0fde7 60%, #32f08c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ctaSub {
  margin: 0 0 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.6;
}
.ctaActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
.ctaBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
}
.ctaBtnPrimary {
  color: #0a0d0b;
  background: #32f08c;
  box-shadow: 0 8px 24px rgba(50, 240, 140, .28);
}
.ctaBtnPrimary:hover {
  transform: translateY(-2px);
  background: #60f2bd;
  box-shadow: 0 12px 32px rgba(50, 240, 140, .42);
}
.ctaBtnPrimary i { transition: transform .25s; }
.ctaBtnPrimary:hover i { transform: translateX(4px); }
.ctaBtnGhost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
}
.ctaBtnGhost:hover {
  color: #32f08c;
  border-color: #32f08c;
  background: rgba(50, 240, 140, .06);
}

@media (max-width: 599px) {
  .ctaBox { padding: 56px 24px; }
  .ctaBtn { width: 100%; justify-content: center; }
}

/* ============================================================
   隐私与安全
   ============================================================ */
.privacySection { border-top: 1px solid rgba(255, 255, 255, .06); }
.privacyGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.privacyCard {
  padding: 28px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  transition: border-color .2s ease, transform .2s ease;
}
.privacyCard:hover {
  border-color: rgba(50, 240, 140, .4);
  transform: translateY(-2px);
}
.privacyIco {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(50, 240, 140, .14);
  color: #32f08c;
  margin-bottom: 16px;
  font-size: 18px;
}
.privacyCard h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-default);
}
.privacyCard p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}
@media (min-width: 744px) { .privacyGrid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #08090b;
}
.footer .sectionInner {
  padding-block: 56px;
}
.footerTop {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footerBrand p,
.footerBrand .footerNotes {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
  max-width: 380px;
}
.footerCols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footerCol h5 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-default);
  letter-spacing: .04em;
}
.footerCol ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footerCol a {
  color: var(--text-secondary);
  font-size: 13px;
  transition: color .15s ease;
}
.footerCol a:hover { color: var(--text-default); }
.footerBottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
}

.footerContact {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.paymentMethods {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.paymentMethods img {
    height: 22px;
    opacity: 0.85;
    transition: opacity .2s ease, transform .2s ease;
}

.paymentMethods img:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.footerDivider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 32px 0 20px;
}

.footerBottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 0;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}

.footerLegal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footerCopyright {
    color: rgba(255,255,255,.5);
    font-size: 12px;
}

.footerLegalLink {
    color: rgba(255,255,255,.5);
    font-size: 12px;
    transition: color .2s ease;
}

.footerLegalLink:hover { color: #fff; }

.footerNotes {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 12px;
}

.footerSocials {
    display: flex;
    gap: 12px;
}

.footerSocials a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    color: var(--text-secondary);
    font-size: 14px;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.footerSocials a:hover {
    color: #fff;
    border-color: rgba(50,240,140,.6);
    background: rgba(50,240,140,.1);
}
.footerMeta {
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 744px) {
  .footerCols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1060px) {
  .footerTop {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .footerCols {
    display: contents;
  }
  .footerCol {
    min-width: 0;
  }
}
