:root {
  --ink-950: #03131e;
  --ink-900: #061b2a;
  --ink-850: #082235;
  --ink-800: #0a2a3c;
  --ink-700: #10445a;
  --brand: #29c8b6;
  --brand-strong: #41e3d1;
  --brand-soft: #9af4e9;
  --sky: #6ad8ff;
  --gold: #e7c46a;
  --paper: #f4fbfc;
  --paper-strong: #ffffff;
  --text: #e9fbff;
  --text-muted: #a9c9d1;
  --text-dark: #0a2a3c;
  --danger: #ff6b78;
  --success: #52d89a;
  --warning: #f3cc70;
  --line: rgba(148, 226, 232, 0.14);
  --line-strong: rgba(148, 226, 232, 0.26);
  --surface: rgba(8, 34, 52, 0.92);
  --surface-2: #0a2a3c;
  --surface-3: #0d354a;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px rgba(0, 10, 18, 0.22);
  --container: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--ink-950);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(106, 216, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 216, 255, .025) 1px, transparent 1px),
    radial-gradient(circle at 85% -10%, rgba(41, 200, 182, .14), transparent 34rem),
    var(--ink-950);
  background-size: 52px 52px, 52px 52px, auto, auto;
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 19, 30, .02), rgba(3, 19, 30, .74));
}

body.menu-open {
  overflow: hidden;
}

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

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(106, 216, 255, .75);
  outline-offset: 3px;
}

::selection {
  color: var(--ink-950);
  background: var(--brand-strong);
}

[hidden],
.is-hidden {
  display: none !important;
}

.container,
.page-wrap,
.content,
.admin-main {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header-slot {
  min-height: 76px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(3, 19, 30, .96);
  box-shadow: 0 8px 30px rgba(0, 8, 14, .14);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-logo-image {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(124, 236, 222, .24);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24), 0 0 24px rgba(41, 200, 182, .08);
}

.logo-copy {
  display: grid;
  line-height: 1.05;
}

.logo-copy strong {
  font-size: 1.03rem;
  letter-spacing: -.025em;
}

.logo-copy b {
  color: var(--brand);
}

.logo-copy small {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-dropdown-trigger {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 11px;
  border: 0;
  border-radius: 9px;
  color: #c8dfe4;
  background: transparent;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}

.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-item-dropdown.has-active > .nav-dropdown-trigger,
.nav-dropdown-trigger:hover {
  color: var(--paper-strong);
  background: rgba(41, 200, 182, .09);
}

.nav-links > li > a.active::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 1px;
  left: 12px;
  height: 2px;
  border-radius: 99px;
  background: var(--brand);
}

.nav-dropdown-caret {
  color: var(--brand);
  font-size: .7rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: 230px;
  display: none;
  gap: 4px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #071f2f;
  box-shadow: var(--shadow);
}

.nav-item-dropdown.open .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 9px;
  color: #d5ebef;
  font-size: .84rem;
  font-weight: 700;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  color: #fff;
  background: rgba(41, 200, 182, .1);
}

.nav-dropdown-icon {
  width: 21px;
  color: var(--brand);
  text-align: center;
}

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tool,
.nav-bell,
.menu-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
}

.nav-tool,
.nav-bell {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #d8f2f4;
}

.nav-tool:hover,
.nav-bell:hover {
  border-color: rgba(41, 200, 182, .44);
  color: var(--brand-strong);
}

.notif-badge {
  position: absolute;
  top: -5px;
  left: -5px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--ink-950);
  border-radius: 99px;
  color: #fff;
  background: var(--danger);
  font-size: .62rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-content: center;
  gap: 5px;
  padding: 9px;
  border-radius: 10px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 10px;
  background: currentColor;
}

/* Buttons and surfaces */
.btn,
.cta,
.primary-btn,
.secondary-btn,
.home-consultation-submit,
.home-investing-btn,
.vip-unlock-btn,
.signals-access-btn,
.google-btn,
.login-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--ink-950);
  background: var(--brand);
  cursor: pointer;
  font-weight: 800;
  transition: transform .16s var(--ease), background .16s ease, border-color .16s ease;
}

.btn:hover,
.cta:hover,
.primary-btn:hover,
.home-consultation-submit:hover,
.signals-access-btn:hover,
.login-btn:hover {
  transform: translateY(-2px);
  background: var(--brand-strong);
}

.btn.is-secondary,
.secondary-btn,
.hero-video-link,
.signals-access-btn.is-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: transparent;
}

.card,
.panel,
.feature-card,
.signal-card,
.plan,
.testimonial,
.newsletter,
.profile-info,
.ai-analysis,
.weekly-archive,
.signals-access-gate {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}

.card,
.panel {
  padding: clamp(20px, 3vw, 34px);
}

.section-heading,
.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-title,
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

.section-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.3;
}

.eyebrow,
.content-kicker,
.home-live-kicker,
.home-consultation-kicker,
.home-investing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.muted,
.section-copy,
.home-network-sub,
.home-testimonials-sub,
.home-consultation-lead {
  color: var(--text-muted);
}

/* Shared data grids and forms */

.signals-grid,
.analysis-grid,
.features-grid,
.plans,
.grid,
.cards-grid,
.stats-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 16px;
}

.level {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(148, 226, 232, .08);
  border-radius: 9px;
  background: rgba(3, 19, 30, .35);
}

.level-sl {
  grid-column: 1 / -1;
}

.level .k {
  color: var(--text-muted);
  font-size: .67rem;
  font-weight: 700;
}

.level .v {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #c7e0e5;
  background: rgba(255, 255, 255, .035);
  font-size: .67rem;
  font-weight: 800;
}

.badge-status.active {
  color: var(--success);
  border-color: rgba(82, 216, 154, .26);
  background: rgba(82, 216, 154, .07);
}

.badge-status.ended {
  color: var(--danger);
  border-color: rgba(255, 107, 120, .25);
  background: rgba(255, 107, 120, .07);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 800;
}

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

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

.form-group {
  display: grid;
  gap: 7px;
}

label {
  color: #bfd8dd;
  font-size: .76rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 47px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  background: rgba(3, 19, 30, .62);
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}

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

input::placeholder,
textarea::placeholder {
  color: #7598a2;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(41, 200, 182, .08);
}

.error-message {
  color: var(--danger);
}

/* Content pages */
.page-wrap,
body > .content {
  padding-block: 38px 76px;
}

.breadcrumb {
  margin-bottom: 14px;
  color: #789da7;
  font-size: .76rem;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.content-hero,
.hero:not(.market-hero) {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr .48fr;
  align-items: center;
  gap: 30px;
  margin: 0 0 22px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #08283a, #061b2a);
}

.content-hero::after,
.hero:not(.market-hero)::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 42%;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(41, 200, 182, .07)),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(106, 216, 255, .055) 25px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(106, 216, 255, .055) 25px);
  mask-image: linear-gradient(90deg, transparent, #000);
}

.content-hero-copy,
.content-hero-market,
.hero > * {
  position: relative;
  z-index: 1;
}

.content-hero h1,
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.1rem);
  letter-spacing: -.045em;
  line-height: 1.08;
}

.content-hero p,
.hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #b3d0d6;
}

.content-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.content-hero-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #c4dde2;
  font-size: .7rem;
  font-weight: 700;
}

.page-wrap > .card,
.page-wrap > section,
.content > section {
  margin-top: 14px;
}

.page-wrap .card h2,
.content .card h2 {
  margin-top: 0;
  color: #fff;
}

.page-wrap .card p,
.page-wrap .card li,
.content .card p,
.content .card li {
  color: #b7d0d6;
}

.page-wrap ul,
.content ul {
  padding-inline-start: 22px;
}

.page-wrap li + li,
.content li + li {
  margin-top: 7px;
}

/* Signals */
.page-signals .container {
  padding-block: 40px 80px;
}

.page-signals .container > h1 {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px;
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(41, 200, 182, .12), transparent 48%),
    #071f2f;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -.05em;
  line-height: 1.1;
}

.page-signals .container > h1::after {
  content: "LIVE DESK";
  position: absolute;
  left: 24px;
  bottom: 18px;
  color: rgba(154, 244, 233, .35);
  font-size: .68rem;
  letter-spacing: .2em;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.signal-card {
  overflow: hidden;
  padding: 18px;
}

.signal-card.buy {
  border-top: 3px solid var(--success);
}

.signal-card.sell {
  border-top: 3px solid var(--danger);
}

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

.signal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.live-pill {
  display: grid;
  justify-items: end;
  color: var(--brand);
  font-size: .66rem;
  font-weight: 800;
}

.signal-live-price {
  color: #fff;
  font-size: .98rem;
  font-variant-numeric: tabular-nums;
}

.chart-container {
  min-height: 420px;
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #071e2e;
}

.tv-iframe,
.chart-container iframe {
  width: 100%;
  height: 480px;
  border: 0;
}

.signals-access-gate,
.ai-analysis,
.weekly-archive,
.vip-section {
  margin-top: 16px;
  padding: 20px;
}

.weekly-archive-list,
.archive-signals-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.archive-week-btn {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
}

.archive-week-btn.active {
  border-color: var(--brand);
}

.weekly-archive-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-block: 14px;
}

.weekly-chip {
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

/* Analysis, news, video, VIP and contact legacy structures */
.analysis-wrapper,
.analysis-container,
.news-container,
.videos-container,
.vip-container,
.profile-container,
.login-container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding-block: 40px 80px;
}

.analysis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
  gap: 16px;
}

.analysis-card,
.news-card,
.video-card,
.feature-card,
.plan,
.profile-card,
.contact-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.analysis-card h3,
.news-card h3,
.video-card h3,
.feature-card h3,
.plan h3,
.contact-item h3 {
  margin-top: 0;
  color: #fff;
}

.analysis-card p,
.news-card p,
.video-card p,
.feature-card p,
.plan p,
.contact-item p {
  color: var(--text-muted);
}

.plans,
.features-grid {
  margin-top: 20px;
}

.plan.featured {
  border-color: rgba(231, 196, 106, .48);
}

.plan .price {
  color: var(--brand);
  font-size: 2rem;
  font-weight: 800;
}

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

.contact-item i {
  color: var(--brand);
}

.login-container,
.admin-login-container {
  max-width: 560px;
}

.page-login .login-container {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-block: 48px 76px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(41, 200, 182, .06), transparent 45%),
    var(--surface);
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 28px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3, 19, 30, .52);
}

.login-tab {
  padding: 9px;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 800;
  text-align: center;
}

.login-tab.active {
  color: var(--ink-950);
  background: var(--brand);
}

.page-login .login-form {
  gap: 12px;
}

.page-login .login-form button[type="submit"] {
  min-height: 48px;
  margin-top: 5px;
  border: 0;
  border-radius: 10px;
  color: var(--ink-950);
  background: var(--brand);
  cursor: pointer;
  font-weight: 800;
}

.page-login #googleSignInBtn {
  min-height: 4px;
}

.page-login .error-msg {
  padding: 10px 12px;
  border: 1px solid rgba(255, 107, 120, .24);
  border-radius: 9px;
  background: rgba(255, 107, 120, .06);
}

.login-card,
.admin-login-card,
.profile-info {
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.login-title,
.admin-login-title {
  margin: 0 0 22px;
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
}

.tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3, 19, 30, .42);
}

/* About */
.about-editorial-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(30px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #061b2a;
}

.about-editorial-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  letter-spacing: -.06em;
  line-height: 1;
}

.about-editorial-copy h1 span {
  display: block;
  margin-top: 12px;
  color: var(--brand);
}

.about-editorial-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--text-muted);
  line-height: 2;
}

.about-editorial-image {
  position: relative;
  margin: 0;
}

.about-editorial-image::before {
  content: "";
  position: absolute;
  inset: -12px 12px 12px -12px;
  z-index: 0;
  border: 1px solid rgba(41, 200, 182, .34);
  border-radius: 22px;
}

.about-editorial-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  object-fit: cover;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-block: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.about-metrics article {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 22px;
  border-inline-start: 1px solid var(--line);
}

.about-metrics article:first-child {
  border-inline-start: 0;
}

.about-metrics strong {
  color: var(--brand);
  font-size: .72rem;
}

.about-metrics span {
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
}

.about-story {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(30px, 7vw, 90px);
  padding-block: clamp(48px, 8vw, 90px);
  border-bottom: 1px solid var(--line);
}

.about-story h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  letter-spacing: -.035em;
  line-height: 1.25;
}

.about-story-copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 2.1;
}

.about-story-copy p + p {
  margin-top: 20px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-block: 14px 50px;
}

.about-feature {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.about-feature > span {
  color: var(--brand);
  font-size: .7rem;
  font-weight: 800;
}

.about-feature h3 {
  margin: 64px 0 8px;
  color: #fff;
}

.about-feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: .82rem;
}

.about-coach {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 42px;
}

.about-coach-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.about-coach-copy p {
  color: var(--text-muted);
}

.about-coach figure {
  margin: 0;
}

.about-coach img {
  width: 100%;
  max-height: 420px;
  border-radius: 14px;
  object-fit: cover;
}

.about-gallery-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.about-gallery-modern img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
}

/* News and media */
.news-hero-banner {
  width: min(var(--container), calc(100% - 40px));
  margin: 40px auto 14px;
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(110deg, rgba(41, 200, 182, .1), transparent 50%),
    #071f2f;
}

.news-hero-copy h2 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -.05em;
}

.news-hero-copy p {
  max-width: 720px;
  color: var(--text-muted);
}

.seo-block {
  margin-block: 14px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.seo-block h2 {
  color: #fff;
}

.seo-block p,
.seo-block li,
.sub,
.subhead {
  color: var(--text-muted);
}

#economicCalendarWidget {
  width: 100%;
  height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.calendar-lazy-shell {
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #071f2f;
}

.calendar-lazy-intro {
  max-width: 680px;
  padding: 42px 24px;
  text-align: center;
}

.calendar-lazy-intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.calendar-lazy-intro p {
  color: var(--text-muted);
}

.page-videos > .container {
  padding-block: 40px 80px;
}

.page-videos > .container > h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
}

.page-videos .grid {
  margin-top: 18px;
}

.page-videos .card iframe,
.page-videos .card .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-block: 14px;
  border: 0;
  border-radius: 10px;
  object-fit: cover;
}

.page-videos .card .title {
  color: #fff;
  font-weight: 800;
}

.page-videos .card .desc {
  color: var(--text-muted);
  font-size: .78rem;
}

.page-videos .actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.profile-container {
  padding-block: 50px 80px;
}

.profile-container > h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.logout-btn {
  min-height: 44px;
  margin-top: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 107, 120, .24);
  border-radius: 10px;
  color: var(--danger);
  background: rgba(255, 107, 120, .06);
  cursor: pointer;
  font-weight: 800;
}

.steel-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-block: 22px;
}

.steel-pane {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}

.steel-pane h3 {
  margin-top: 0;
  color: #fff;
}

.steel-main-cta a,
.hero-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  color: var(--ink-950);
  background: var(--brand);
  font-weight: 800;
}

.tab {
  flex: 1;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  color: var(--ink-950);
  background: var(--brand);
}

/* Notification panel and support */
.notif-dropdown,
.support-panel {
  position: fixed;
  z-index: 2200;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #061b2a;
  box-shadow: var(--shadow);
}

.notif-dropdown {
  top: 68px;
  left: max(14px, calc((100vw - var(--container)) / 2));
  width: min(390px, calc(100vw - 28px));
  max-height: min(560px, 74vh);
  overflow: auto;
  padding: 8px;
}

.notif-panel-head,
.support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.notif-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-bottom: 1px solid rgba(148, 226, 232, .08);
}

.notif-item strong {
  color: #fff;
  font-size: .83rem;
}

.notif-item p,
.notif-item small {
  margin: 0;
  color: var(--text-muted);
  font-size: .72rem;
}

.floating-tools {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 1800;
  display: grid;
  gap: 8px;
}

.floating-tool {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--ink-950);
  background: var(--brand);
  box-shadow: 0 12px 30px rgba(0, 10, 18, .28);
  cursor: pointer;
}

.floating-tool.whatsapp {
  color: #fff;
  background: #169c58;
}

.support-panel {
  right: 16px;
  bottom: 82px;
  width: min(390px, calc(100vw - 32px));
  height: min(590px, calc(100vh - 120px));
  display: none;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.support-panel.open {
  display: grid;
}

.support-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.support-messages {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  padding: 14px;
}

.support-message {
  max-width: 86%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 11px 11px 3px;
  color: #d8edf0;
  background: rgba(255, 255, 255, .035);
  font-size: .8rem;
}

.support-message.mine {
  margin-right: auto;
  border-color: rgba(41, 200, 182, .28);
  border-radius: 11px 11px 11px 3px;
  background: rgba(41, 200, 182, .1);
}

.support-form {
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
}

.support-form input {
  min-width: 0;
}

.support-form button {
  width: 46px;
  border: 0;
  border-radius: 10px;
  color: var(--ink-950);
  background: var(--brand);
  cursor: pointer;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 4000;
  max-width: calc(100vw - 32px);
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: #fff;
  background: #0a2a3c;
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Footer */
.footer-lite {
  border-top: 1px solid var(--line);
  background: #03131e;
}

.footer-lite-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 28px;
  padding-block: 56px 42px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  max-width: 300px;
  color: var(--text-muted);
  font-size: .8rem;
}

.footer-market-note {
  color: var(--brand);
  font-size: .68rem;
  font-weight: 800;
}

.footer-lite-details {
  border: 0;
}

.footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  list-style: none;
  cursor: default;
}

.footer-lite-links {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-lite-links a {
  color: var(--text-muted);
  font-size: .76rem;
}

.footer-lite-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  width: min(var(--container), calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(148, 226, 232, .08);
  color: #6f929c;
  font-size: .68rem;
}

/* Skeletons */
.skeleton {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .045), transparent);
  transform: translateX(-100%);
  animation: skeleton-pass 1.35s ease-in-out infinite;
}

@keyframes skeleton-pass {
  to { transform: translateX(100%); }
}

@media (max-width: 1080px) {
  .navbar {
    grid-template-columns: auto auto 1fr;
    gap: 12px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-actions {
    justify-self: end;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 0;
    z-index: 999;
    display: none;
    align-content: start;
    justify-content: stretch;
    gap: 3px;
    overflow-y: auto;
    padding: 18px;
    background: #03131e;
  }

  .navbar.open .nav-links {
    display: grid;
  }

  .nav-links > li > a,
  .nav-dropdown-trigger {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding-inline: 14px;
  }

  .nav-dropdown-menu {
    position: static;
    width: auto;
    margin: 4px 10px 8px;
    box-shadow: none;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
    background-size: 38px 38px, 38px 38px, auto, auto;
  }

  .container,
  .page-wrap,
  .content,
  .admin-main,
  .analysis-wrapper,
  .analysis-container,
  .news-container,
  .videos-container,
  .vip-container,
  .profile-container,
  .login-container {
    width: min(100% - 24px, var(--container));
  }

  .navbar {
    min-height: 68px;
    padding-inline: 12px;
  }

  .site-header-slot {
    min-height: 68px;
  }

  .nav-links {
    inset-block-start: 68px;
  }

  .logo-copy small {
    display: none;
  }

  .nav-tool,
  .nav-bell {
    width: 38px;
    height: 38px;
  }

  .signals-grid,
  .analysis-grid,
  .features-grid,
  .plans,
  .grid,
  .cards-grid,
  .stats-cards,
  .contact-grid,
  .weekly-archive-list,
  .archive-signals-list {
    grid-template-columns: 1fr;
  }

  .analysis-layout,
  .about-editorial-hero,
  .about-story,
  .about-coach,
  .content-hero,
  .hero:not(.market-hero) {
    grid-template-columns: 1fr;
  }

  .content-hero::after,
  .hero:not(.market-hero)::after {
    width: 100%;
    opacity: .42;
  }

  .form-grid,
  .filter-row {
    grid-template-columns: 1fr;
  }

  .about-metrics,
  .about-feature-grid,
  .about-gallery-modern,
  .steel-strategy-grid {
    grid-template-columns: 1fr;
  }

  .about-metrics article {
    border-top: 1px solid var(--line);
    border-inline-start: 0;
  }

  .about-metrics article:first-child {
    border-top: 0;
  }

  .about-feature h3 {
    margin-top: 32px;
  }

  .weekly-archive-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-lite-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 38px 26px;
  }

  .footer-brand {
    margin-bottom: 20px;
  }

  .footer-lite-col {
    border-top: 1px solid rgba(148, 226, 232, .08);
  }

  .footer-title {
    padding-block: 13px;
    cursor: pointer;
  }

  .footer-lite-links {
    padding-bottom: 14px;
  }

  .footer-bottom {
    width: calc(100% - 24px);
    display: grid;
    gap: 5px;
  }

  .floating-tools {
    right: 12px;
    bottom: 12px;
  }

  .support-panel {
    right: 8px;
    bottom: 72px;
    width: calc(100vw - 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
