:root {
  --bg-main: #050b18;
  --bg-card: #07101f;
  --bg-card-soft: #0b182a;
  --accent-green: #12f4a3;
  --accent-orange: #f7931a;
  --accent-blue: #2dd4ff;
  --text-main: #f9fafb;
  --text-muted: #9ba4b5;
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.75);
}

/* ====== LOADING SPINNER ====== */
.loading-spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(18, 244, 163, 0.1);
  border-top: 4px solid var(--accent-green);
  border-right: 4px solid var(--accent-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: relative;
}

.loading-spinner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid rgba(18, 244, 163, 0.2);
  border-top: 3px solid var(--accent-green);
  border-radius: 50%;
  animation: spin 0.6s linear infinite reverse;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #0b1b33 0, var(--bg-main) 45%, #030712 100%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Faint candlestick background */
body::before {
  content: "";
  position: fixed;
  inset: -40px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.6;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(45, 212, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(18, 244, 163, 0.12), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: linear-gradient(to right, rgba(7, 16, 31, 0.9), rgba(7, 12, 25, 0.96));
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 16px;
  z-index: 40;
  gap: 12px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-link,
.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.logo-link:hover,
.brand-link:hover {
  opacity: 0.8;
}

.logo-link {
  cursor: pointer;
}

.brand-link {
  cursor: pointer;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: inline-block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(45, 212, 255, 0.6));
}

.brand-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(18, 244, 163, 0.08);
  border: 1px solid rgba(18, 244, 163, 0.4);
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
  align-items: center;
}

.nav-links a,
.nav-links button {
  padding: 6px 8px;
  border-radius: 999px;
  transition: all 0.18s ease-out;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
}

.btn-chart-analysis {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue)) !important;
  color: var(--bg-main) !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 12px rgba(18, 244, 163, 0.3) !important;
  transition: all 0.3s ease !important;
}

.btn-chart-analysis:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(18, 244, 163, 0.5) !important;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green)) !important;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle::after {
  content: "▼";
  font-size: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.nav-dropdown.active .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: linear-gradient(to right, rgba(7, 16, 31, 0.98), rgba(7, 12, 25, 0.98));
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 180px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 50;
}

.nav-dropdown .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 13px;
  border-radius: 0;
  transition: all 0.18s ease-out;
}

.nav-dropdown .dropdown-menu a:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
  padding-left: 20px;
}

/* Subscribe Now Button in Header */
.btn-subscribe-header {
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid rgba(18, 244, 163, 0.6);
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.15), rgba(5, 150, 105, 0.1));
  color: var(--accent-green);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(18, 244, 163, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  position: relative;
  overflow: hidden;
}

.btn-subscribe-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(18, 244, 163, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-subscribe-header:hover::before {
  left: 100%;
}

.btn-subscribe-header:hover {
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.25), rgba(5, 150, 105, 0.15));
  border-color: rgba(18, 244, 163, 0.8);
  box-shadow: 0 6px 20px rgba(18, 244, 163, 0.4);
  transform: translateY(-2px);
  color: var(--accent-green);
}

.btn-subscribe-header:active {
  transform: translateY(0);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* User Profile Section */
.user-profile-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-profile-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.user-profile-info:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #020617;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(18, 244, 163, 0.3);
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.user-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  width: fit-content;
}

.user-badge.free {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}

.user-badge.paid {
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.2), rgba(5, 150, 105, 0.15));
  border: 1px solid rgba(18, 244, 163, 0.5);
  color: var(--accent-green);
  box-shadow: 0 2px 8px rgba(18, 244, 163, 0.2);
}

.btn-signout {
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.btn-signout:hover {
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.7);
  transform: translateY(-1px);
}

.nav-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-muted);
}

.btn-login,
.btn-primary {
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.btn-login {
  background: transparent;
  color: var(--text-muted);
  border-color: rgba(148, 163, 184, 0.6);
}

.btn-login:hover {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

.btn-primary {
  background: linear-gradient(135deg, #12f4a3, #2dd4ff);
  color: #020617;
  box-shadow: 0 16px 40px rgba(18, 244, 163, 0.45);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(18, 244, 163, 0.6);
}

/* HERO SECTION */
.hero {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.hero-left {
  padding: 10px 6px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  font-weight: 500;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 18px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-muted);
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.6);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.stat {
  min-width: 110px;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.stat-value {
  font-size: 18px;
  font-weight: 600;
}

.stat-value span {
  font-size: 12px;
  color: var(--accent-green);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-ghost {
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.5);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease-out;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

.hero-footer-note {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #fef3c7, var(--accent-green));
  box-shadow: 0 0 12px rgba(18, 244, 163, 0.7);
}

/* GENERATE SIGNAL CARD */
.hero-right {
  display: flex;
  align-items: stretch;
}

.signal-card {
  width: 100%;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
}

.signal-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(45, 212, 255, 0.2), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(18, 244, 163, 0.12), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.signal-card-inner {
  position: relative;
  z-index: 1;
}

.signal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.signal-header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.signal-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.signal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.market-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--accent-green);
}

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

.field-label {
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-weight: 500;
}

.select-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.select,
.btn-generate {
  flex: 1;
  min-width: 0;
}

select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
  outline: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-green) 50%),
    linear-gradient(135deg, var(--accent-green) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.btn-generate button {
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #12f4a3, #06b6d4);
  color: #020617;
  box-shadow: 0 16px 40px rgba(18, 244, 163, 0.6);
  transition: all 0.18s ease-out;
  letter-spacing: 0.3px;
}

.btn-generate button:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.signal-result {
  margin-top: 16px;
  padding: 14px 12px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #0b1729, #020617);
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
  display: block;
}

.signal-result::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(55, 65, 81, 0.5), transparent);
}

.signal-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.signal-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-green);
}

.signal-direction {
  font-size: 18px;
  font-weight: 600;
}

.signal-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.signal-levels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 16px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(55, 65, 81, 0.5);
}

.signal-levels div {
  margin-bottom: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  line-height: 1.6;
}

.signal-levels div:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.signal-levels strong {
  color: var(--text-main);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.confidence-bar {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.confidence-fill {
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
  box-shadow: 0 0 18px rgba(18, 244, 163, 0.7);
}

.confidence-label {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* DAILY SIGNALS SECTION */
.section {
  margin-top: 52px;
  scroll-margin-top: 100px;
}

#signals {
  scroll-margin-top: 100px;
  padding-top: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.section-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.section-link {
  font-size: 12px;
  color: var(--accent-blue);
  cursor: pointer;
}

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

.signal-card-sm {
  background: radial-gradient(circle at top, #0b1729, #020617);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.signal-card-sm::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(55, 65, 81, 0.5), transparent);
}

.signal-card-sm.signal-buy::before {
  background: linear-gradient(90deg, transparent, rgba(18, 244, 163, 0.6), transparent);
  box-shadow: 0 0 20px rgba(18, 244, 163, 0.4);
}

.signal-card-sm.signal-sell::before {
  background: linear-gradient(90deg, transparent, rgba(248, 113, 113, 0.6), transparent);
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.4);
}

.signal-card-sm:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.95);
}

.signal-card-sm.signal-buy:hover {
  border-color: rgba(18, 244, 163, 0.5);
  box-shadow: 0 24px 40px rgba(18, 244, 163, 0.2);
}

.signal-card-sm.signal-sell:hover {
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow: 0 24px 40px rgba(248, 113, 113, 0.2);
}

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

.pair-title {
  font-size: 13px;
  font-weight: 500;
}

.pair-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text-muted);
}

.direction-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.direction-buy {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.7);
}

.direction-sell {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.7);
}

.signal-levels-horizontal {
  margin: 12px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.level-box {
  flex: 1;
  min-width: 85px;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 10px;
  padding: 10px 8px;
  border: 1.5px solid rgba(55, 65, 81, 0.7);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* EUR/USD: Allow text to overflow for full visibility */
.eurusd-card .level-box {
  overflow: visible !important;
}

.level-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(55, 65, 81, 0.6);
  border-radius: 10px 10px 0 0;
}

.level-box:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 163, 184, 0.9);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.level-box .level-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
  order: 1;
}

/* EUR/USD specific: Smaller font size for full price visibility */
.eurusd-card .level-box {
  min-width: 100px !important;
  padding: 10px 5px !important;
  overflow: visible !important;
}

.eurusd-card .level-box .level-value {
  font-size: 8.5px !important;
  letter-spacing: -0.2px;
  word-break: keep-all;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: none !important;
  width: auto !important;
}

.level-box .level-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  line-height: 1.2;
  order: 2;
  margin-top: 2px;
}

.level-box.level-entry {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
  border-color: rgba(148, 163, 184, 0.5);
}

.level-box.level-entry::before {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.4), rgba(148, 163, 184, 0.8), rgba(148, 163, 184, 0.4));
}

.level-box.level-entry:hover {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.9));
  border-color: rgba(148, 163, 184, 0.8);
  box-shadow: 0 6px 20px rgba(148, 163, 184, 0.15);
}

.level-box.level-tp1 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
  border-color: rgba(16, 185, 129, 0.5);
}

.level-box.level-tp1::before {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.4), var(--accent-green), rgba(16, 185, 129, 0.4));
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.level-box.level-tp1 .level-value {
  color: var(--accent-green);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.level-box.level-tp1:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.15));
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
  transform: translateY(-3px) scale(1.02);
}

.level-box.level-tp2 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
  border-color: rgba(16, 185, 129, 0.5);
}

.level-box.level-tp2::before {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.4), var(--accent-green), rgba(16, 185, 129, 0.4));
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.level-box.level-tp2 .level-value {
  color: var(--accent-green);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.level-box.level-tp2:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.15));
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
  transform: translateY(-3px) scale(1.02);
}

.level-box.level-sl {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.15), rgba(220, 38, 38, 0.1));
  border-color: rgba(248, 113, 113, 0.5);
}

.level-box.level-sl::before {
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.4), #f87171, rgba(248, 113, 113, 0.4));
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.4);
}

.level-box.level-sl .level-value {
  color: #f87171;
  text-shadow: 0 0 8px rgba(248, 113, 113, 0.5);
}

.level-box.level-sl:hover {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.2), rgba(220, 38, 38, 0.15));
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow: 0 6px 20px rgba(248, 113, 113, 0.3);
  transform: translateY(-3px) scale(1.02);
}

.signal-meta-info {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(55, 65, 81, 0.5);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}

/* Blur effect for free users - Applied immediately to prevent flash of content */
.signal-card-sm.free-user .direction-tag {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
  transition: filter 0s; /* No transition to prevent visible flash */
}

.signal-card-sm.free-user .level-box .level-value {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
  transition: filter 0s; /* No transition to prevent visible flash */
}

/* COUNTDOWN CONTAINER */
.countdown-container {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid;
  background: rgba(15, 23, 42, 0.9);
  cursor: default;
  user-select: none;
  letter-spacing: 0.5px;
}

.countdown-container.weekend {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), rgba(100, 116, 139, 0.15));
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text-muted);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  font-size: 15px;
  padding: 16px 28px;
  font-weight: 700;
}

.countdown-container.weekend:hover {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.25), rgba(100, 116, 139, 0.2));
  border-color: rgba(148, 163, 184, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.countdown-container.countdown {
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.2), rgba(5, 150, 105, 0.15));
  border-color: rgba(18, 244, 163, 0.7);
  color: var(--accent-green);
  box-shadow: 0 6px 20px rgba(18, 244, 163, 0.4);
  font-size: 14px;
}

.countdown-container.countdown:hover {
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.25), rgba(5, 150, 105, 0.2));
  border-color: rgba(18, 244, 163, 0.8);
  box-shadow: 0 8px 24px rgba(18, 244, 163, 0.5);
  transform: translateY(-2px);
}

.countdown-container.generating {
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.25), rgba(5, 150, 105, 0.2));
  border-color: rgba(18, 244, 163, 0.9);
  color: var(--accent-green);
  box-shadow: 0 8px 24px rgba(18, 244, 163, 0.5);
  animation: pulse 2s ease-in-out infinite;
  font-size: 15px;
  padding: 16px 28px;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(18, 244, 163, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 10px 28px rgba(18, 244, 163, 0.7);
    transform: scale(1.02);
  }
}

/* Telegram Join Button */
.countdown-telegram-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.telegram-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, rgba(37, 150, 190, 0.2), rgba(0, 136, 204, 0.15));
  border: 2px solid rgba(37, 150, 190, 0.6);
  border-radius: 999px;
  color: #2dd4ff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 150, 190, 0.3);
  position: relative;
  overflow: hidden;
}

.telegram-join-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.telegram-join-btn:hover::before {
  left: 100%;
}

.telegram-join-btn:hover {
  background: linear-gradient(135deg, rgba(37, 150, 190, 0.3), rgba(0, 136, 204, 0.2));
  border-color: rgba(45, 212, 255, 0.8);
  box-shadow: 0 6px 20px rgba(45, 212, 255, 0.5);
  transform: translateY(-2px);
  color: var(--accent-blue);
}

.telegram-join-btn:active {
  transform: translateY(0);
}

.telegram-join-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  animation: telegramIconPulse 2s ease-in-out infinite;
}

@keyframes telegramIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* HOW IT WORKS + PRICING */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.step-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(5, 12, 24, 0.96));
  padding: 14px 14px 12px;
}

.step-number {
  font-size: 11px;
  color: var(--accent-blue);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.step-title {
  font-size: 13px;
  font-weight: 500;
  margin: 4px 0;
}

.step-text {
  font-size: 12px;
  color: var(--text-muted);
}

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

.price-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at top, #020617, #020617);
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
}

.price-card.pro {
  border-color: rgba(18, 244, 163, 0.8);
  box-shadow: 0 22px 50px rgba(18, 244, 163, 0.4);
  background: radial-gradient(circle at top, rgba(18, 244, 163, 0.22), #020617);
}

.price-name {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.price-tag {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.price-tag span {
  font-size: 11px;
  color: var(--text-muted);
}

.price-list {
  margin-top: 6px;
  margin-bottom: 10px;
  list-style: none;
  font-size: 11px;
  color: var(--text-muted);
}

.price-list li {
  margin-bottom: 4px;
}

.btn-price {
  width: 100%;
  padding: 8px 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.price-card.pro .btn-price {
  border-color: transparent;
  background: linear-gradient(135deg, #12f4a3, #2dd4ff);
  color: #020617;
}

.btn-price:hover {
  filter: brightness(1.06);
}

/* FOOTER */
footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  font-size: 11px;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-cta {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(55, 65, 81, 0.5);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-green);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.15), rgba(5, 150, 105, 0.1));
  border: 2px solid rgba(18, 244, 163, 0.5);
  border-radius: 999px;
  color: var(--accent-green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(18, 244, 163, 0.2);
  position: relative;
  overflow: hidden;
}

.footer-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(18, 244, 163, 0.2), transparent);
  transition: left 0.5s ease;
}

.footer-btn:hover::before {
  left: 100%;
}

.footer-btn:hover {
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.25), rgba(5, 150, 105, 0.15));
  border-color: rgba(18, 244, 163, 0.8);
  box-shadow: 0 6px 20px rgba(18, 244, 163, 0.4);
  transform: translateY(-2px);
  color: var(--accent-green);
}

.footer-btn:active {
  transform: translateY(0);
}

.contact-icon {
  font-size: 16px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.store-badges {
  display: flex;
  gap: 10px;
}

.store-pill {
  border-radius: 999px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.store-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.store-pill:hover::before {
  left: 100%;
}

.store-pill-ios {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.2), rgba(0, 122, 255, 0.1));
  border: 2px solid rgba(0, 122, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

.store-pill-ios:hover {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.3), rgba(0, 122, 255, 0.15));
  border-color: rgba(0, 122, 255, 0.7);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
  transform: translateY(-2px);
}

.store-pill-android {
  background: linear-gradient(135deg, rgba(164, 198, 57, 0.2), rgba(124, 179, 66, 0.1));
  border: 2px solid rgba(164, 198, 57, 0.5);
  box-shadow: 0 4px 12px rgba(164, 198, 57, 0.2);
}

.store-pill-android:hover {
  background: linear-gradient(135deg, rgba(164, 198, 57, 0.3), rgba(124, 179, 66, 0.15));
  border-color: rgba(164, 198, 57, 0.7);
  box-shadow: 0 6px 20px rgba(164, 198, 57, 0.4);
  transform: translateY(-2px);
}

.store-icon {
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
}

.store-pill-ios .store-icon {
  color: #007AFF;
}

.store-pill-android .store-icon {
  color: #A4C639;
}

.store-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.store-pill-ios .store-text {
  color: #007AFF;
}

.store-pill-android .store-text {
  color: #A4C639;
}

/* RESPONSIVE */
/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.98), rgba(5, 12, 24, 0.98));
  border-left: 1px solid var(--border-soft);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  background: rgba(7, 16, 31, 0.98);
  z-index: 1;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-logo-mark {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(45, 212, 255, 0.6));
}

.mobile-brand-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mobile-brand-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(18, 244, 163, 0.08);
  border: 1px solid rgba(18, 244, 163, 0.4);
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
  margin-top: 2px;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 8px;
}

.mobile-menu-nav > a {
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.mobile-menu-nav > a:hover,
.mobile-menu-nav > a:active {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(18, 244, 163, 0.4);
  color: var(--accent-green);
  transform: translateX(4px);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 16px 0;
}

.mobile-user-section,
.mobile-guest-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
}

.mobile-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #020617;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(18, 244, 163, 0.3);
}

.mobile-user-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-user-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.mobile-user-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  width: fit-content;
}

.mobile-user-badge.free {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}

.mobile-user-badge.paid {
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.2), rgba(5, 150, 105, 0.15));
  border: 1px solid rgba(18, 244, 163, 0.5);
  color: var(--accent-green);
  box-shadow: 0 2px 8px rgba(18, 244, 163, 0.2);
}

.mobile-menu-btn-signout,
.mobile-menu-btn-login,
.mobile-menu-btn-primary {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-menu-btn-signout {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.5);
  color: #f87171;
}

.mobile-menu-btn-signout:hover {
  background: rgba(248, 113, 113, 0.25);
  border-color: rgba(248, 113, 113, 0.7);
  transform: translateY(-2px);
}

.mobile-menu-btn-login {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-main);
}

.mobile-menu-btn-login:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.7);
}

.mobile-menu-btn-primary {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: #020617;
  box-shadow: 0 4px 12px rgba(18, 244, 163, 0.3);
}

.mobile-menu-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 244, 163, 0.5);
}

.mobile-menu-btn-subscribe {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(18, 244, 163, 0.6);
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.15), rgba(5, 150, 105, 0.1));
  color: var(--accent-green);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(18, 244, 163, 0.2);
  text-align: center;
  display: block;
}

.mobile-menu-btn-subscribe:hover {
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.25), rgba(5, 150, 105, 0.15));
  border-color: rgba(18, 244, 163, 0.8);
  box-shadow: 0 6px 20px rgba(18, 244, 163, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .navbar {
    padding-inline: 14px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    order: 3;
    margin-left: auto;
  }
  .btn-subscribe-header {
    display: none !important;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-right {
    order: -1;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .signals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .signal-card-sm {
    padding: 16px 14px;
  }
  
  .signal-levels-horizontal {
    gap: 6px;
  }
  
  .level-box {
    min-width: 70px;
    padding: 8px 6px;
  }
  
  /* EUR/USD tablet: Smaller font */
  .eurusd-card .level-box {
    min-width: 85px !important;
    overflow: visible !important;
  }
  
  .eurusd-card .level-box .level-value {
    font-size: 8px !important;
  }
  
  .level-box .level-value {
    font-size: 12px;
  }
  
  .level-box .level-label {
    font-size: 8px;
    margin-bottom: 4px;
  }
  .steps-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 14px;
    padding-bottom: 40px;
  }
  .navbar {
    border-radius: 18px;
    padding: 10px 14px;
  }
  .nav-left {
    gap: 8px;
  }
  .logo-mark {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 16px;
  }
  .brand-badge {
    font-size: 10px;
    padding: 1px 6px;
  }
  .hero {
    margin-top: 20px;
    gap: 20px;
  }
  .hero-left {
    padding: 0;
  }
  .hero-title {
    font-size: 24px;
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 13px;
  }
  .hero-badges {
    gap: 6px;
  }
  .hero-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .hero-stats {
    gap: 12px;
  }
  .stat {
    min-width: 90px;
  }
  .stat-value {
    font-size: 16px;
  }
  .signals-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  
  .signal-card-sm {
    padding: 14px 12px;
  }
  
  .signal-levels-horizontal {
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .level-box {
    min-width: 70px;
    padding: 8px 6px;
    flex: 1;
  }
  
  /* EUR/USD mobile: Even smaller font for full price visibility */
  .eurusd-card .level-box {
    min-width: 85px !important;
    overflow: visible !important;
  }
  
  .eurusd-card .level-box .level-value {
    font-size: 7.5px !important;
  }
  
  .level-box .level-value {
    font-size: 12px;
  }
  
  .level-box .level-label {
    font-size: 8px;
    margin-bottom: 4px;
  }
  .steps-grid,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .signal-result {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .footer-cta {
    margin-top: 16px;
  }
  
  .footer-cta .btn-primary {
    width: 100%;
  }

  /* Signal Card Mobile */
  .signal-card {
    padding: 16px 14px;
  }
  .signal-title {
    font-size: 14px;
  }
  .signal-subtitle {
    font-size: 10px;
  }
  .select-row {
    flex-direction: column;
  }
  .select,
  .btn-generate {
    width: 100%;
  }

  /* Section Headers Mobile */
  .section-title {
    font-size: 22px;
  }
  .section-subtitle {
    font-size: 13px;
  }

  /* Countdown & Telegram Mobile */
  .countdown-telegram-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .countdown-container {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
  }
  .telegram-join-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  /* Mobile Menu */
  .mobile-menu {
    width: 100%;
    max-width: 100vw;
  }
}

/* WhatsApp Live Chat Button */
.whatsapp-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.whatsapp-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  z-index: 2;
  position: relative;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Help Popup */
.help-popup {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 999;
  max-width: 320px;
  animation: slideInRight 0.4s ease-out;
  display: none;
}

.help-popup.show {
  display: block;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.help-popup-content {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  position: relative;
}

.help-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.help-popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  transform: rotate(90deg);
}

.help-popup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.help-popup-icon {
  font-size: 32px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.help-popup-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.help-popup-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.help-popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.help-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #2FE576, #25D366);
}

.help-popup-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 640px) {
  .whatsapp-chat-widget {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-btn {
    width: 56px;
    height: 56px;
  }

  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }

  .help-popup {
    bottom: 90px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}

/* Privacy Policy Popup */
.privacy-policy-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.privacy-policy-popup.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.privacy-policy-popup-content {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  position: relative;
  max-width: 420px;
  width: 100%;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.privacy-policy-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.privacy-policy-popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  transform: rotate(90deg);
}

.privacy-policy-popup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.privacy-policy-popup-icon {
  font-size: 36px;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

.privacy-policy-popup-header h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.privacy-policy-popup-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.privacy-policy-popup-buttons {
  display: flex;
  gap: 12px;
}

.privacy-policy-popup-btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.privacy-policy-popup-btn-primary {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: #020617;
  box-shadow: 0 4px 12px rgba(18, 244, 163, 0.3);
}

.privacy-policy-popup-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 244, 163, 0.5);
}

.privacy-policy-popup-btn-secondary {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-main);
}

.privacy-policy-popup-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
}

@media (max-width: 640px) {
  .privacy-policy-popup-content {
    padding: 24px;
  }

  .privacy-policy-popup-buttons {
    flex-direction: column;
  }
}

/* ====== WEEKLY PERFORMANCE POPUP ====== */
.performance-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.performance-popup.show {
  opacity: 1;
  visibility: visible;
}

.performance-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.performance-popup-content {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.performance-popup.show .performance-popup-content {
  transform: scale(1) translateY(0);
}

.performance-content {
  padding: 32px;
}

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

.performance-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 32px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.performance-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.summary-card {
  background: var(--bg-card-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.summary-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-value {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-main);
}

.summary-value.win {
  color: var(--accent-green);
}

.summary-value.loss {
  color: #f87171;
}

.performance-breakdown {
  margin-bottom: 32px;
}

.performance-breakdown h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.breakdown-item {
  background: var(--bg-card-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.breakdown-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breakdown-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main);
}

.performance-daily {
  margin-top: 32px;
}

.performance-daily h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
}

.daily-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.daily-item {
  background: var(--bg-card-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.daily-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.daily-day {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.daily-date-num {
  font-size: 12px;
  color: var(--text-muted);
}

.daily-stats {
  display: flex;
  gap: 16px;
  align-items: center;
}

.daily-stat {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.daily-stat.win {
  color: var(--accent-green);
  background: rgba(18, 244, 163, 0.1);
}

.daily-stat.loss {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

@media (max-width: 640px) {
  .performance-popup-content {
    width: 95%;
    max-height: 95vh;
  }
  
  .performance-content {
    padding: 24px;
  }
  
  .performance-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .breakdown-grid {
    grid-template-columns: 1fr;
  }
  
  .daily-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .daily-stats {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ====== CHART ANALYSIS POPUP ====== */
.chart-analysis-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.chart-analysis-popup.show {
  opacity: 1;
  visibility: visible;
}

.chart-analysis-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.chart-analysis-content {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.chart-analysis-popup.show .chart-analysis-content {
  transform: scale(1) translateY(0);
}

.chart-analysis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(135deg, rgba(18, 244, 163, 0.1), rgba(45, 212, 255, 0.1));
}

.chart-analysis-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-analysis-body {
  padding: 32px;
}

/* Upload Section */
.chart-upload-section {
  text-align: center;
}

.upload-area {
  border: 2px dashed var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  background: var(--bg-card-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area:hover {
  border-color: var(--accent-green);
  background: rgba(18, 244, 163, 0.05);
}

.upload-icon {
  font-size: 64px;
  opacity: 0.6;
}

.upload-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.btn-upload {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: var(--bg-main);
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-upload:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 244, 163, 0.4);
}

.upload-preview {
  margin-top: 24px;
}

.upload-preview img {
  max-width: 100%;
  max-height: 400px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  margin-bottom: 16px;
}

.preview-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-remove,
.btn-analyze {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-remove {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.btn-remove:hover {
  background: rgba(248, 113, 113, 0.2);
}

.btn-analyze {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  color: var(--bg-main);
}

.btn-analyze:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 244, 163, 0.4);
}

.chart-loading-section {
  text-align: center;
  padding: 60px 40px;
}

/* Results Section */
.chart-results-section {
  animation: fadeIn 0.5s ease;
}

.chart-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.btn-back {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
}

.result-direction {
  display: flex;
  align-items: center;
  gap: 12px;
}

.direction-icon {
  font-size: 24px;
}

.direction-text {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.result-direction.buy .direction-text {
  color: var(--accent-green);
}

.result-direction.sell .direction-text {
  color: #f87171;
}

.confidence-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.chart-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.result-card {
  background: var(--bg-card-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-green);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

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

.result-card.result-entry::before {
  background: var(--accent-blue);
}

.result-card.result-tp1::before {
  background: var(--accent-green);
}

.result-card.result-tp2::before {
  background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
}

.result-card.result-sl::before {
  background: #f87171;
}

.result-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.result-card-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.result-card-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.result-card-distance {
  font-size: 11px;
  color: var(--text-muted);
}

.chart-ranges-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.range-card {
  background: var(--bg-card-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.3s ease;
}

.range-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.range-card.range-buy {
  border-left: 4px solid var(--accent-green);
}

.range-card.range-sell {
  border-left: 4px solid #f87171;
}

.range-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.range-icon {
  font-size: 20px;
}

.range-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.range-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  font-family: 'Courier New', monospace;
}

.range-card.range-buy .range-value {
  color: var(--accent-green);
}

.range-card.range-sell .range-value {
  color: #f87171;
}

.range-description {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.chart-analysis-details {
  background: var(--bg-card-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.chart-analysis-details h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
}

.analysis-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.analysis-notes {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.notes-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.notes-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .chart-analysis-popup {
    padding: 10px;
  }
  
  .chart-analysis-content {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
    padding: 0;
  }
  
  .chart-analysis-header {
    padding: 16px;
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    z-index: 10;
    border-bottom: 1px solid var(--border-color);
  }
  
  .chart-analysis-body {
    padding: 16px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  
  .chart-upload-section {
    padding: 20px 0;
  }
  
  .upload-area {
    padding: 30px 16px;
  }
  
  .upload-preview {
    padding: 16px;
  }
  
  .chart-results-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .chart-ranges-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .analysis-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .chart-results-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .result-direction {
    flex-direction: column;
    text-align: center;
  }
  
  .mobile-menu-btn-chart-analysis {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    margin-top: 8px;
    padding-top: 12px;
  }
  
  .mobile-menu-btn-chart-analysis:hover {
    background: rgba(148, 163, 184, 0.05);
  }
}

