.atcs-portal {
  --teal: #39c7c0;
  --teal-dark: #087f79;
  --orange: #e56f2f;
  --black: #0f1117;
  --ink: #151922;
  --white: #ffffff;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --line: #d7dde8;
  --muted-line: #edf1f6;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  padding-bottom: 74px;
  overflow-x: hidden;
}

body.atcs-portal-page #main-header,
body.atcs-portal-page #top-header,
body.atcs-portal-page #main-footer,
body.atcs-portal-page .entry-title.main_title,
body.atcs-portal-page #sidebar {
  display: none !important;
}

body.atcs-portal-page #page-container {
  padding-top: 0 !important;
}

body.atcs-portal-page #main-content,
body.atcs-portal-page #main-content .container,
body.atcs-portal-page #left-area,
body.atcs-portal-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.atcs-portal-page #main-content .container::before {
  display: none !important;
}

body.atcs-portal-page .entry-content > .atcs-portal {
  width: 100%;
  min-height: 100vh;
}

body.atcs-portal-page {
  overflow-x: hidden;
}

.atcs-portal * {
  box-sizing: border-box;
}

.atcs-portal a {
  color: inherit;
}

.atcs-portal img {
  display: block;
  max-width: 100%;
  height: auto;
}

.atcs-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: rgba(15, 17, 23, 0.98);
  color: var(--white);
  border-bottom: 3px solid var(--teal);
  padding: 12px 18px;
}

.atcs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: 0;
}

.atcs-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--black);
  font-size: 13px;
  font-weight: 950;
}

.atcs-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 900;
  padding: 8px 12px;
}

.atcs-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 69px;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px 18px;
}

.atcs-nav.is-open {
  display: grid;
  gap: 8px;
}

.atcs-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  padding: 9px 12px;
}

.atcs-nav .atcs-nav-join {
  background: var(--teal);
  color: var(--black);
}

.atcs-section,
.atcs-final,
.atcs-auth,
.atcs-gate {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.atcs-section {
  padding: 68px 0;
}

.atcs-hero {
  display: grid;
  gap: 34px;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 72vh;
  padding: 72px max(18px, calc((100% - 1120px) / 2)) 64px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.atcs-hero-copy {
  position: relative;
  z-index: 1;
}

.atcs-hero h1,
.atcs-gate h1,
.atcs-auth h1 {
  margin: 0 0 18px;
  max-width: 920px;
  color: inherit;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.atcs-section h1,
.atcs-section h2,
.atcs-final h2 {
  margin: 0 0 18px;
  max-width: 920px;
  color: var(--black);
  font-size: clamp(31px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.atcs-card h3,
.atcs-price-card h3,
.atcs-showcase-panel h2 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 23px;
  line-height: 1.14;
  letter-spacing: 0;
}

.atcs-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.atcs-orange {
  color: var(--orange);
}

.atcs-lede,
.atcs-hero p,
.atcs-final p {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  font-weight: 750;
}

.atcs-lede-dark,
.atcs-section p,
.atcs-section li,
.atcs-card p,
.atcs-card li,
.atcs-price-card p,
.atcs-price-card li,
.atcs-auth p,
.atcs-gate p,
.atcs-faq p {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 750;
}

.atcs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.atcs-btn,
.atcs-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: var(--black);
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
  padding: 13px 18px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.atcs-btn:hover,
.atcs-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 17, 23, 0.18);
}

.atcs-btn-primary {
  background: var(--teal);
}

.atcs-btn-secondary {
  background: var(--orange);
  color: var(--white);
}

.atcs-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-weight: 900;
  color: var(--teal-dark);
}

.atcs-metrics {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.atcs-metrics span {
  border-left: 5px solid var(--teal);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 800;
  padding: 12px 14px;
}

.atcs-metrics span:nth-child(2) {
  border-left-color: var(--orange);
}

.atcs-metrics span strong {
  color: var(--teal);
  font-weight: 950;
}

.atcs-hero-showcase {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #151a24;
  padding: 14px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.atcs-hero-showcase img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--black);
}

.atcs-showcase-panel {
  border-left: 5px solid var(--orange);
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
}

.atcs-showcase-panel .atcs-kicker,
.atcs-showcase-panel p {
  color: var(--black);
}

.atcs-mini-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.atcs-mini-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--black);
  font-weight: 900;
  padding: 10px 12px;
}

.atcs-card,
.atcs-price-card,
.atcs-form,
.atcs-notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.atcs-card,
.atcs-price-card,
.atcs-form {
  padding: 22px;
}

.atcs-card,
.atcs-price-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.atcs-card::before,
.atcs-price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
}

.atcs-card:nth-child(2n)::before,
.atcs-price-card:nth-child(2n)::before {
  background: var(--orange);
}

.atcs-card:hover,
.atcs-price-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: 0 22px 52px rgba(17, 24, 39, 0.14);
}

.atcs-grid {
  display: grid;
  gap: 18px;
}

.atcs-grid-2,
.atcs-grid-3,
.atcs-grid-4,
.atcs-dashboard-grid {
  grid-template-columns: 1fr;
}

.atcs-image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}

.atcs-image-card {
  display: grid;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.atcs-image-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(17, 24, 39, 0.14);
}

.atcs-image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--black);
}

.atcs-image-card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.atcs-image-card-body strong {
  color: var(--black);
  font-size: 24px;
  line-height: 1.08;
}

.atcs-image-card-body small {
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.atcs-strip {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--black);
  color: var(--white);
}

.atcs-strip span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-weight: 950;
}

.atcs-soft {
  width: 100%;
  max-width: none;
  background: var(--paper);
  padding-left: max(18px, calc((100% - 1120px) / 2));
  padding-right: max(18px, calc((100% - 1120px) / 2));
}

.atcs-black {
  width: 100%;
  max-width: none;
  background: var(--black);
  color: var(--white);
  padding-left: max(18px, calc((100% - 1120px) / 2));
  padding-right: max(18px, calc((100% - 1120px) / 2));
}

.atcs-black h1,
.atcs-black h2,
.atcs-black h3,
.atcs-black p,
.atcs-black li,
.atcs-black .atcs-kicker {
  color: var(--white);
}

.atcs-black .atcs-card {
  background: #151a24;
  border-color: #2b3444;
}

.atcs-black .atcs-card h3,
.atcs-black .atcs-card p,
.atcs-black .atcs-card li {
  color: var(--white);
}

.atcs-black .atcs-card::before {
  background: var(--orange);
}

.atcs-checks {
  padding-left: 22px;
}

.atcs-checks li {
  margin: 9px 0;
}

.atcs-price {
  color: var(--black);
  font-size: 38px;
  font-weight: 950;
  line-height: 1;
  margin: 12px 0;
}

.atcs-price-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.atcs-price-card.is-featured {
  border: 3px solid var(--orange);
}

.atcs-price-card ul {
  flex: 1;
  padding-left: 22px;
}

.atcs-locked {
  border-color: var(--orange);
}

.atcs-locked::before {
  background: var(--orange);
}

.atcs-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
  margin-bottom: 10px;
}

.atcs-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--black);
  font-weight: 950;
  margin-bottom: 14px;
}

.atcs-final,
.atcs-gate,
.atcs-auth {
  padding: 70px 0;
}

.atcs-final {
  margin-bottom: 36px;
}

.atcs-auth {
  display: grid;
  gap: 28px;
  align-items: start;
}

.atcs-form {
  display: grid;
  gap: 14px;
}

.atcs-form label {
  display: grid;
  gap: 7px;
  color: var(--black);
  font-weight: 900;
}

.atcs-form input,
.atcs-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--black);
  font: inherit;
  padding: 13px;
}

.atcs-notice {
  width: min(1120px, calc(100% - 36px));
  margin: 16px auto 0;
  border-left: 5px solid var(--teal);
  color: var(--black);
  font-weight: 850;
  padding: 14px 18px;
}

.atcs-faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.atcs-faq summary {
  color: var(--black);
  cursor: pointer;
  font-size: 19px;
  font-weight: 950;
}

.atcs-dashboard-grid {
  display: grid;
  gap: 18px;
}

.atcs-market-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.atcs-market-toolbar span,
.atcs-market-disclaimer {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.atcs-market-grid,
.atcs-market-ticker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.atcs-market-section,
.atcs-market-inline {
  padding-top: 58px;
  padding-bottom: 58px;
}

.atcs-market-card {
  min-height: 230px;
  border-top: 0;
}

.atcs-market-card::before {
  background: var(--teal);
}

.atcs-market-card.is-down::before {
  background: var(--orange);
}

.atcs-market-card.is-muted::before {
  background: var(--line);
}

.atcs-market-name {
  min-height: 52px;
}

.atcs-market-price {
  color: var(--black);
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
  margin: 12px 0 8px;
}

.atcs-market-change {
  color: var(--teal-dark);
  font-weight: 950;
}

.atcs-market-card.is-down .atcs-market-change {
  color: var(--orange);
}

.atcs-black .atcs-market-card {
  background: #151a24;
  border-color: #2b3444;
}

.atcs-black .atcs-market-price,
.atcs-black .atcs-market-name,
.atcs-black .atcs-market-change,
.atcs-black .atcs-market-toolbar span,
.atcs-black .atcs-market-disclaimer {
  color: var(--white);
}

.atcs-mobile-bar {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--black);
  border-top: 3px solid var(--teal);
}

.atcs-mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  color: var(--white);
  font-weight: 950;
  text-decoration: none;
}

.atcs-mobile-bar a:first-child {
  background: var(--teal);
  color: var(--black);
}

.woocommerce .atcs-portal button,
.atcs-portal .woocommerce button,
.atcs-portal .woocommerce a.button {
  border-radius: 8px;
  background: var(--teal);
  color: var(--black);
  font-weight: 950;
}

@media (min-width: 760px) {
  .atcs-menu-toggle {
    display: none;
  }

  .atcs-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border-bottom: 0;
    background: transparent;
  }

  .atcs-nav a {
    min-height: 40px;
  }

  .atcs-hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(380px, 0.82fr);
  }

  .atcs-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .atcs-dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .atcs-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .atcs-market-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .atcs-market-ticker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .atcs-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .atcs-strip span {
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .atcs-auth {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  }
}

@media (max-width: 759px) {
  .atcs-hero {
    width: 100vw;
    max-width: 100vw;
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .atcs-hero > *,
  .atcs-hero-copy {
    width: 100%;
    max-width: 340px;
    min-width: 0;
  }

  .atcs-hero h1,
  .atcs-gate h1,
  .atcs-auth h1 {
    max-width: 340px;
    font-size: 28px;
    line-height: 1.12;
    overflow-wrap: normal;
  }

  .atcs-hero p,
  .atcs-lede,
  .atcs-final p {
    max-width: 340px;
    font-size: 16px;
  }

  .atcs-brand {
    min-width: 0;
  }

  .atcs-brand > span:last-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .atcs-btn {
    width: 100%;
  }

  .atcs-nav-wrap {
    position: sticky;
  }

  .atcs-mobile-bar {
    display: grid;
  }
}
