/* ==========================================================================
   TRADINGVIZTA - MASTER DESIGN SYSTEM
   Clean Light Fintech Theme — trustworthy, editorial, institutional
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
  /* Surfaces */
  --bg-dark: #f6f8fb;            /* page background (name kept for compatibility) */
  --bg-soft: #eef3f9;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-accent: #f1f5fb;

  /* Brand */
  --primary: #d97706;
  --primary-hover: #b45309;
  --primary-glow: rgba(217, 119, 6, 0.25);
  --primary-subtle: rgba(217, 119, 6, 0.08);

  --secondary: #2563eb;
  --secondary-glow: rgba(29, 78, 216, 0.18);

  --navy: #0b1a30;

  --bull: #059669;
  --bear: #dc2626;
  --gold: #d97706;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
  --grad-brand-hover: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  --grad-text: linear-gradient(120deg, #1e3a8a 0%, #2563eb 55%, #0891b2 100%);
  --grad-ai: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #06b6d4 100%);
  --grad-card: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
  --grad-shine: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);

  /* Text */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #475569;
  --text-subtle: #64748b;

  /* Borders */
  --border-glass: #e3e8ef;
  --border-strong: #cfd8e3;
  --border-active: rgba(217, 119, 6, 0.45);
  --border-focus: #2563eb;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -2px rgba(15, 23, 42, 0.05), 0 12px 28px -6px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 10px 30px -8px var(--primary-glow);

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(217, 119, 6, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 95% 10%, rgba(29, 78, 216, 0.06) 0%, transparent 70%);
  background-repeat: no-repeat;
}

/* Subtle graph-paper texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-size: 44px 44px;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
  z-index: -1;
}

::selection {
  background: rgba(217, 119, 6, 0.18);
  color: var(--text-main);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

strong {
  color: var(--text-main);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Reusable shine sweep — applied to buttons and cards via ::after */
@keyframes shine-sweep {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}

/* ==========================================================================
   TICKER TAPE (LIVE MARKET BAR)
   ========================================================================== */
.market-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #0b1f3a 0%, #102a4c 50%, #0b1f3a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 9px 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  z-index: 100;
}

/* Edge fades so items glide in/out */
.market-ticker-wrap::before,
.market-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.market-ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #0b1f3a, transparent);
}

.market-ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #0b1f3a, transparent);
}

.ticker-content {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
  gap: 36px;
}

.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ticker-item .sym {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ticker-item .val {
  color: #cbd5e1;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.ticker-item .chg {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ticker-item .chg.up {
  color: #34d399;
  background: rgba(52, 211, 153, 0.14);
}

.ticker-item .chg.down {
  color: #fb7185;
  background: rgba(251, 113, 133, 0.14);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 20px -12px rgba(15, 23, 42, 0.12);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--grad-brand);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 16px -6px rgba(217, 119, 6, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-shine);
  transform: translateX(-120%) skewX(-20deg);
}

.brand-logo:hover .logo-icon::after {
  animation: shine-sweep 0.9s ease;
}

.brand-logo span.accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.93rem;
  position: relative;
  padding: 6px 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

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

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-brand);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.005em;
  line-height: 1.2;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(4, 120, 87, 0.4);
  box-shadow: 0 8px 20px -8px rgba(217, 119, 6, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: var(--transition);
}

.btn-header-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: var(--grad-shine);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 14px 28px -10px rgba(217, 119, 6, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-header-cta:hover::after {
  animation: shine-sweep 0.8s ease;
}

.btn-header-cta svg {
  transition: transform 0.3s ease;
}

.btn-header-cta:hover svg {
  transform: translateX(3px);
}

.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 64px 0 84px;
  overflow: hidden;
}

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

.hero-content ul li {
  color: var(--text-body) !important;
  font-weight: 500;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(29, 78, 216, 0.06));
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary-hover);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

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

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--navy);
}

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

.hero-description {
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.75;
  max-width: 600px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
}

.stat-item {
  padding-left: 16px;
  border-left: 3px solid transparent;
  border-image: var(--grad-brand) 1;
}

.stat-item h3 {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat-item h3 span {
  color: var(--primary);
}

.stat-item p {
  font-size: 0.74rem;
  color: var(--text-subtle);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   LEAD GENERATION FORM CARD
   ========================================================================== */
.lead-card {
  background: var(--grad-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 30px 30px;
  box-shadow: 0 1px 0 #ffffff inset, 0 30px 60px -24px rgba(15, 23, 42, 0.22), 0 0 0 6px rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.lead-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
}

.lead-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.lead-card-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 8px;
}

.lead-card-header p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 16px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-body);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.form-group label span.required {
  color: var(--bear);
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.25s ease;
}

.input-icon-wrap:focus-within svg {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: var(--shadow-xs), inset 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: var(--transition);
}

.form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.form-control:hover {
  border-color: #b6c2d1;
}

select.form-control {
  padding-left: 14px;
  padding-right: 34px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

select.form-control option {
  background: #ffffff;
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
  background-color: #ffffff;
}

.form-control.is-invalid {
  border-color: var(--bear);
  background-color: #fef2f2;
}

.error-msg {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bear);
  margin-top: 5px;
  display: none;
}

.form-group.has-error .error-msg {
  display: block;
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 20px;
}

.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: var(--transition);
}

.form-check input[type="checkbox"]:checked {
  background: var(--grad-brand);
  border-color: var(--primary);
}

.form-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 5px;
  width: 4px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-check label {
  font-size: 0.78rem;
  color: var(--text-subtle);
  line-height: 1.55;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--grad-brand);
  background-size: 160% 160%;
  background-position: 0% 50%;
  border: 1px solid rgba(4, 120, 87, 0.4);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 12px 24px -10px rgba(217, 119, 6, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: var(--transition);
}

.btn-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: var(--grad-shine);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
}

.btn-submit:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 18px 30px -12px rgba(217, 119, 6, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-submit:hover::after {
  animation: shine-sweep 0.85s ease;
}

.btn-submit:active,
.btn-header-cta:active {
  transform: translateY(0);
}

.btn-submit svg {
  transition: transform 0.3s ease;
}

.btn-submit:hover svg {
  transform: translateX(3px);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Neutral / secondary button variant used in modal */
.btn-submit.btn-ghost {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-submit.btn-ghost:hover {
  background: var(--bg-accent);
  box-shadow: var(--shadow-sm);
}

/* WhatsApp button variant */
.btn-submit.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-color: rgba(18, 140, 126, 0.4);
  box-shadow: 0 12px 24px -10px rgba(37, 211, 102, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.form-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-top: 14px;
}

/* ==========================================================================
   SECTIONS, FEATURE CARDS & ADVANTAGE SECTION
   ========================================================================== */
.section-pad {
  padding: 92px 0;
}

/* Alternating soft band used by tinted sections */
.section-tint {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

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

.feature-box {
  background: var(--grad-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Gradient top accent that grows on hover */
.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shine sweep across card */
.feature-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-20deg);
  pointer-events: none;
  z-index: 1;
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: var(--shadow-md), 0 20px 40px -20px rgba(217, 119, 6, 0.25);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-box:hover::after {
  animation: shine-sweep 1s ease;
}

.feature-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(29, 78, 216, 0.08));
  color: var(--primary);
  border: 1px solid rgba(217, 119, 6, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.feature-box:hover .feature-icon-badge {
  background: var(--grad-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 20px -8px rgba(217, 119, 6, 0.55);
}

.feature-box h4 {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 0.93rem;
  line-height: 1.7;
}

/* Small info tiles inside showcase section */
.info-tile {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-tile:hover {
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  background: #ffffff;
  position: relative;
}

.media-frame img {
  border-radius: calc(var(--radius-lg) - 6px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-frame:hover img {
  transform: scale(1.02);
}

/* Highlighted stat panels on services page */
.stat-panel {
  background: linear-gradient(160deg, #ffffff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  box-shadow: inset 0 1px 0 #ffffff, var(--shadow-sm);
}

/* ==========================================================================
   INTERACTIVE SIP & RETURNS CALCULATOR
   ========================================================================== */
.calc-card {
  background: var(--grad-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
}

.slider-group {
  margin-bottom: 30px;
}

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

.slider-label {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-main);
}

.slider-value-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-hover);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(29, 78, 216, 0.06));
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 119, 6, 0.22);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 5px solid var(--primary);
  cursor: pointer;
  box-shadow: 0 4px 10px -2px rgba(217, 119, 6, 0.5);
  transition: transform 0.15s ease;
}

input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 5px solid var(--primary);
  cursor: pointer;
  box-shadow: 0 4px 10px -2px rgba(217, 119, 6, 0.5);
}

input[type="range"]::-moz-range-progress {
  background: var(--grad-brand);
  height: 6px;
  border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-output-box {
  background: linear-gradient(160deg, #0b1f3a 0%, #12305a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(11, 31, 58, 0.55);
}

.calc-output-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b 45%, #3b82f6);
}

.calc-output-box p,
.calc-output-box .calc-metric-sub {
  color: #94a3b8;
}

.calc-metric-sub {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.calc-total-wealth {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-family: var(--font-heading);
  background: linear-gradient(120deg, #ffffff 0%, #a7f3d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 10px 0 22px;
  font-variant-numeric: tabular-nums;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-item p {
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.breakdown-item h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

#calcInvestedAmount {
  color: #cbd5e1 !important;
}

#calcWealthGain {
  color: #34d399 !important;
}

/* ==========================================================================
   MOST ACTIVE CONTRACTS WIDGET (F&O / OPTION CHAIN PULSE)
   ========================================================================== */
.contracts-widget-card {
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(217, 119, 6, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(29, 78, 216, 0.05) 0%, transparent 70%),
    #ffffff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

.contracts-widget-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
}

.contracts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.contracts-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contracts-title-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--grad-brand);
  box-shadow: 0 10px 20px -8px rgba(217, 119, 6, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contracts-main-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.contracts-timestamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-weight: 600;
  line-height: 1.4;
  padding: 3px 12px 3px 10px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  font-variant-numeric: tabular-nums;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-ring 2s infinite;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 9px 18px 9px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.2;
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.btn-view-more::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(217, 119, 6, 0.12) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
}

.btn-view-more:hover {
  border-color: var(--primary);
  color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm), 0 0 0 4px rgba(217, 119, 6, 0.08);
}

.btn-view-more:hover::after {
  animation: shine-sweep 0.8s ease;
}

.btn-view-more-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-view-more.is-expanded .btn-view-more-icon {
  transform: rotate(180deg);
}

.contracts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

/* Each column is its own panel with an accent colour */
.contracts-col {
  --accent: var(--primary);
  --accent-soft: rgba(5, 150, 105, 0.1);
  --accent-border: rgba(5, 150, 105, 0.22);
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.contracts-col--puts {
  --accent: #dc2626;
  --accent-soft: rgba(220, 38, 38, 0.08);
  --accent-border: rgba(220, 38, 38, 0.2);
}

.contracts-col--oi {
  --accent: var(--secondary);
  --accent-soft: rgba(29, 78, 216, 0.08);
  --accent-border: rgba(29, 78, 216, 0.2);
}

.contracts-col:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.contracts-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-glass);
  border-top: 3px solid var(--accent);
  background: linear-gradient(180deg, var(--accent-soft) 0%, #ffffff 100%);
}

.contracts-col-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: #ffffff;
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-xs);
}

.contracts-col-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.contracts-col-tag {
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: #ffffff;
  border: 1px solid var(--accent-border);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.contracts-table-wrap {
  overflow-x: auto;
}

.contracts-table {
  width: 100%;
  border-collapse: collapse;
}

.contracts-table th {
  background: #f8fafc;
  color: var(--text-subtle);
  padding: 10px 18px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-glass);
}

.contracts-table .th-left { text-align: left; }
.contracts-table .th-right { text-align: right; }

.contracts-table td {
  padding: 12px 18px;
  font-size: 0.82rem;
  border-bottom: 1px solid #f0f3f7;
  white-space: nowrap;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
  transition: background 0.2s ease;
}

.contracts-table tbody tr:last-child td {
  border-bottom: none;
}

.contracts-table tbody tr:hover td {
  background: var(--accent-soft);
}

.contracts-table tbody tr.extra-contract-row td {
  animation: row-in 0.4s ease both;
}

@keyframes row-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.contracts-table .col-contract {
  text-align: left;
}

.contracts-table .col-contract a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.ct-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}

.ct-strike {
  color: var(--text-main);
  font-weight: 800;
}

.contracts-table .col-contract a:hover .ct-name {
  color: var(--accent);
}

.ct-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-subtle);
}

.ct-type {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid;
}

.ct-type--ce {
  color: #047857;
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.25);
}

.ct-type--pe {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.07);
  border-color: rgba(220, 38, 38, 0.22);
}

.ct-type--fut {
  color: #1d4ed8;
  background: rgba(29, 78, 216, 0.07);
  border-color: rgba(29, 78, 216, 0.22);
}

.contracts-table .col-ltp {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: right;
}

.contracts-table .col-chg {
  text-align: right;
}

.chg-abs {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.chg-pct {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.contracts-table .up .chg-abs { color: #059669; }
.contracts-table .down .chg-abs { color: #dc2626; }

.contracts-table .up .chg-pct {
  color: #047857;
  background: rgba(5, 150, 105, 0.1);
}

.contracts-table .down .chg-pct {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.08);
}

.contracts-footnote {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-subtle);
  text-align: center;
}

/* ==========================================================================
   TESTIMONIALS / SOCIAL PROOF
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--grad-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.18;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.stars-row {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 0.97rem;
  color: var(--text-body);
  font-weight: 400;
  margin-bottom: 22px;
  line-height: 1.75;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-glass);
}

.client-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px var(--border-glass);
}

.client-meta h5 {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.client-meta p {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-subtle);
}

.client-profit-tag {
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-hover);
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0 24px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.07rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 20px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-hover);
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.2);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--grad-brand);
  color: #ffffff;
  border-color: transparent;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ==========================================================================
   SECONDARY BOTTOM CTA BANNER
   ========================================================================== */
.cta-banner {
  background:
    radial-gradient(circle at 15% 20%, rgba(52, 211, 153, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(56, 189, 248, 0.22) 0%, transparent 45%),
    linear-gradient(135deg, #0b1f3a 0%, #0f3b4f 55%, #064e3b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  margin: 70px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(11, 31, 58, 0.5);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 36px 36px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  pointer-events: none;
}

.cta-banner > * {
  position: relative;
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 14px;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.cta-banner .btn-submit {
  background: #ffffff;
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
}

.cta-banner .btn-submit::after {
  background: linear-gradient(120deg, transparent 0%, rgba(217, 119, 6, 0.18) 50%, transparent 100%);
}

.cta-banner .btn-submit:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   FOOTER & LEGAL DISCLAIMER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5fa 100%);
  border-top: 1px solid var(--border-glass);
  padding: 72px 0 30px;
  font-size: 0.9rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  color: var(--navy);
}

.footer-col > div[style] {
  color: var(--text-muted) !important;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary-hover);
  padding-left: 4px;
}

.disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  font-size: 0.8rem;
  color: #78350f;
  line-height: 1.7;
  margin-bottom: 30px;
}

.disclaimer-box strong {
  color: #78350f;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-subtle);
  font-size: 0.82rem;
  font-weight: 500;
}

.footer-bottom a:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   MODAL (CONFIRMATION & LEAD DATA VIEWER)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 38px 32px 32px;
  position: relative;
  text-align: center;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 80px -24px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.modal-dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
}

.modal-backdrop.show .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-accent);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: #e2e8f0;
}

.modal-icon-success {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(29, 78, 216, 0.08));
  border: 2px solid rgba(217, 119, 6, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  box-shadow: 0 0 0 8px rgba(217, 119, 6, 0.06);
}

.modal-steps {
  background: var(--bg-accent);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(18, 140, 126, 0.55), 0 0 0 4px rgba(255, 255, 255, 0.9);
  z-index: 90;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 30px -6px rgba(18, 140, 126, 0.65), 0 0 0 4px rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #ffffff;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-notice.show {
  transform: translateX(0);
}

/* ==========================================================================
   STOCK MARKET THEME LAYER
   Monospace prices, candlestick backdrops, market status & pulse cards
   ========================================================================== */

/* Tabular monospace for every price-like number */
.ticker-item .val,
.ticker-item .chg,
.stat-item h3,
.slider-value-badge,
.calc-total-wealth,
.breakdown-item h5,
.contracts-timestamp,
.contracts-table .col-ltp,
.chg-abs,
.chg-pct,
.client-profit-tag,
.pulse-price,
.pulse-abs,
.pulse-chg,
.pulse-range,
.frame-quote {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

/* ---------- Section label: tiny candlestick glyph ---------- */
.section-subtitle {
  position: relative;
  padding-left: 20px;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 3px;
  width: 4px;
  border-radius: 1px;
}

.section-subtitle::before {
  left: 0;
  height: 8px;
  background: #dc2626;
  box-shadow: 0 -3px 0 -1px #dc2626;
}

.section-subtitle::after {
  left: 7px;
  height: 13px;
  background: var(--primary);
}

.section-head .section-subtitle {
  padding-left: 20px;
}

/* ---------- Hero candlestick backdrop ---------- */
.hero-section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: url('../assets/images/candles-bg.svg') no-repeat center bottom / 100% 100%;
  opacity: 0.09;
  mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.hero-section {
  isolation: isolate;
}

/* Stats styled like quote tiles */
.stat-item h3 {
  font-size: 1.7rem;
  font-weight: 700;
}

/* ---------- Header NSE status pill ---------- */
.market-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-xs);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--text-muted);
}

.ms-label {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.ms-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.market-status[data-state="open"] {
  border-color: rgba(5, 150, 105, 0.3);
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.market-status[data-state="open"] .ms-dot {
  background: var(--primary);
  animation: pulse-ring 2s infinite;
}

.market-status[data-state="open"] .ms-state {
  color: var(--primary-hover);
}

.market-status[data-state="pre"] {
  border-color: rgba(217, 119, 6, 0.3);
  background: linear-gradient(135deg, #fffbeb, #ffffff);
}

.market-status[data-state="pre"] .ms-dot {
  background: var(--gold);
}

.market-status[data-state="pre"] .ms-state {
  color: #b45309;
}

/* ---------- Market Pulse strip ---------- */
.market-pulse {
  position: relative;
  margin-top: -36px;
  padding-bottom: 20px;
  z-index: 2;
}

.pulse-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pulse-bar-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse-bar-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(160deg, #0f2747, #0b1f3a);
  box-shadow: 0 8px 18px -8px rgba(11, 31, 58, 0.6);
}

.pulse-bar-title h2 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.pulse-bar-title p {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-subtle);
}

.pulse-note {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px dashed var(--border-strong);
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pulse-card {
  --tone: var(--primary);
  --tone-soft: rgba(5, 150, 105, 0.1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pulse-card.is-down {
  --tone: #dc2626;
  --tone-soft: rgba(220, 38, 38, 0.08);
}

.pulse-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tone);
}

.pulse-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.75) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-20deg);
  pointer-events: none;
}

.pulse-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.pulse-card:hover::after {
  animation: shine-sweep 1s ease;
}

.pulse-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.pulse-sym {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.pulse-exch {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-subtle);
}

.pulse-chg {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  color: var(--tone);
  background: var(--tone-soft);
  white-space: nowrap;
}

.pulse-price {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.pulse-abs {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--tone);
  margin-top: 2px;
}

.pulse-spark {
  display: block;
  width: 100%;
  height: 56px;
  margin: 10px 0 12px;
  overflow: visible;
}

.spark-line {
  fill: none;
  stroke: var(--tone);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.spark-area {
  fill: var(--tone-soft);
  stroke: none;
}

.pulse-range {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-subtle);
  white-space: nowrap;
}

.range-track {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.35), #e2e8f0 50%, rgba(5, 150, 105, 0.35));
}

.range-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--tone);
  transform: translate(-50%, -50%);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Features: numbered like a watchlist ---------- */
.features-grid {
  counter-reset: feat;
}

.feature-box {
  counter-increment: feat;
}

.feature-icon-badge::after {
  content: counter(feat, decimal-leading-zero);
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.feature-box:hover .feature-icon-badge::after {
  color: var(--primary);
}

/* ---------- Floating quote chip on image frames ---------- */
.frame-quote {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.45);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.fq-sym {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.fq-chg {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.fq-chg.up {
  color: #047857;
  background: rgba(5, 150, 105, 0.12);
}

.fq-chg.down {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.1);
}

/* ---------- Inner page headers with chart backdrop ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 75%;
  background: url('../assets/images/candles-bg.svg') no-repeat center bottom / 100% 100%;
  opacity: 0.08;
  mask-image: linear-gradient(to top, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.page-hero h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--navy);
}

/* ---------- CTA banner candlesticks ---------- */
.cta-banner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  background: url('../assets/images/candles-bg.svg') no-repeat center bottom / 100% 100%;
  opacity: 0.16;
  mask-image: linear-gradient(to top, #000 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 100%);
  pointer-events: none;
}

.nav-links a {
  white-space: nowrap;
}

@media (max-width: 1240px) {
  .market-status {
    display: none;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.88rem;
  }
}

@media (max-width: 1100px) {
  .pulse-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) and (min-width: 769px) {
  .nav-actions .btn-header-cta {
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  .nav-actions .btn-header-cta svg {
    display: none;
  }

  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .pulse-grid {
    grid-template-columns: 1fr;
  }

  .market-pulse {
    margin-top: -20px;
  }
}

/* ==========================================================================
   CRYPTOCURRENCY MARKET WATCH
   ========================================================================== */
.crypto-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 55%, #ffffff 100%);
  border-top: 1px solid var(--border-glass);
}

.crypto-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}

/* ---------- Dark overview panel ---------- */
.crypto-overview {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  border-radius: 24px;
  color: #e2e8f0;
  background:
    radial-gradient(circle at 0% 0%, rgba(247, 147, 26, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
    linear-gradient(160deg, #0b1f3a 0%, #1e1b4b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -28px rgba(30, 27, 75, 0.7);
}

.crypto-overview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 32px 32px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  z-index: -1;
  pointer-events: none;
}

.crypto-overview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.crypto-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a7f3d0;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.crypto-live .live-dot {
  background: #34d399;
}

.crypto-overview-note {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.crypto-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.crypto-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.crypto-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.crypto-stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.crypto-stat-chg {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.crypto-stat-chg.up { color: #34d399; }
.crypto-stat-chg.down { color: #f87171; }

.dominance-bar {
  height: 6px;
  margin-top: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.dominance-bar span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #f7931a, #fbbf24);
}

/* Fear & Greed gauge */
.sentiment-gauge {
  position: relative;
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
}

.sentiment-gauge svg {
  display: block;
  width: 100%;
  height: auto;
}

.gauge-needle {
  transform-box: view-box;
  transform-origin: 100px 100px;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-readout {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.gauge-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 4px;
}

.gauge-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #fbbf24;
}

.gauge-caption {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.crypto-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.crypto-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.crypto-points li span {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #0b1f3a;
  background: linear-gradient(135deg, #fbbf24, #f7931a);
}

.btn-submit.crypto-cta {
  margin-top: auto;
  background: linear-gradient(135deg, #f7931a 0%, #f59e0b 50%, #fbbf24 100%);
  background-size: 160% 160%;
  color: #1e1b4b;
  border-color: rgba(247, 147, 26, 0.5);
  box-shadow: 0 14px 28px -12px rgba(247, 147, 26, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-submit.crypto-cta:hover {
  box-shadow: 0 18px 32px -12px rgba(247, 147, 26, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ---------- Watchlist card ---------- */
.crypto-watchlist {
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.crypto-watch-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-glass);
  background: linear-gradient(180deg, #faf9ff 0%, #ffffff 100%);
}

.crypto-watch-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}

.crypto-watch-head p {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-subtle);
}

.currency-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-full);
  background: var(--bg-accent);
  border: 1px solid var(--border-glass);
}

.currency-toggle button {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.currency-toggle button:hover {
  color: var(--text-main);
}

.currency-toggle button.active {
  background: #ffffff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.crypto-table {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.crypto-row {
  --tone: #059669;
  --tone-soft: rgba(5, 150, 105, 0.1);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(70px, 1fr) minmax(0, 1.2fr) 90px;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #f0f3f7;
  transition: background 0.25s ease;
}

.crypto-row.is-down {
  --tone: #dc2626;
  --tone-soft: rgba(220, 38, 38, 0.08);
}

.crypto-row:last-child {
  border-bottom: none;
}

.crypto-table .crypto-row:not(.crypto-row-head) {
  flex: 1;
}

.crypto-row:not(.crypto-row-head):hover {
  background: #fafbfd;
}

.crypto-row-head {
  padding-top: 10px;
  padding-bottom: 10px;
  background: #f8fafc;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.crypto-row-head span:nth-child(3),
.crypto-row-head span:nth-child(4) {
  text-align: right;
}

.crypto-asset {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.coin-badge {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -6px rgba(15, 23, 42, 0.4);
}

.coin-btc { background: linear-gradient(135deg, #fbbf24, #f7931a); }
.coin-eth { background: linear-gradient(135deg, #8c9eff, #627eea); }
.coin-sol { background: linear-gradient(135deg, #9945ff, #14f195); }
.coin-bnb { background: linear-gradient(135deg, #fcd34d, #f3ba2f); color: #3f2d00; }
.coin-xrp { background: linear-gradient(135deg, #475569, #23292f); }
.coin-ada { background: linear-gradient(135deg, #3b82f6, #0033ad); }

.coin-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.coin-sym {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}

.crypto-spark {
  width: 100%;
  height: 36px;
  overflow: visible;
}

.crypto-spark path {
  fill: none;
  stroke: var(--tone);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.crypto-price {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crypto-chg {
  text-align: right;
}

.crypto-chg span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  color: var(--tone);
  background: var(--tone-soft);
  white-space: nowrap;
}

/* Price tick flash */
@keyframes flash-up {
  0% { background: rgba(5, 150, 105, 0.14); }
  100% { background: transparent; }
}

@keyframes flash-down {
  0% { background: rgba(220, 38, 38, 0.12); }
  100% { background: transparent; }
}

.crypto-row.flash-up { animation: flash-up 1.2s ease; }
.crypto-row.flash-down { animation: flash-down 1.2s ease; }

/* ---------- Risk notice ---------- */
.crypto-disclaimer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--gold);
  color: #92400e;
}

.crypto-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.crypto-disclaimer p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #78350f;
}

.crypto-disclaimer strong {
  color: #78350f;
}

@media (max-width: 992px) {
  .crypto-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .crypto-overview {
    padding: 22px 18px;
  }

  .crypto-watch-head {
    padding: 18px 16px;
  }

  .crypto-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 12px 16px;
  }

  .crypto-spark,
  .crypto-row-head span:nth-child(2) {
    display: none;
  }

  .crypto-price {
    font-size: 0.84rem;
  }

  .coin-badge {
    width: 34px;
    height: 34px;
  }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .calc-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 24px;
  }

  .contracts-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .split-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-actions .btn-header-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 18px;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding: 64px 0;
  }

  .cta-banner {
    padding: 44px 22px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .contracts-widget-card {
    padding: 24px 14px 20px;
    border-radius: 20px;
  }

  .contracts-header {
    padding: 0 4px;
  }

  .contracts-title-icon {
    width: 42px;
    height: 42px;
  }

  .contracts-main-title {
    font-size: 1.25rem;
  }

  .contracts-table th,
  .contracts-table td {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ==========================================================================
   AI FOREX BOT CAMPAIGN CREATIVE STYLES
   Exact Match to "Meet your AI Forex trading bot." & "AI-POWERED FOREX TRADING"
   ========================================================================== */

.badge-creative-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 9999px;
  border: 1.5px solid #d97706;
  background: rgba(245, 158, 11, 0.08);
  color: #b45309;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.14);
  margin-bottom: 22px;
}

.badge-creative-pill .bot-emblem {
  font-size: 1.15rem;
  line-height: 1;
}

.badge-creative-pill .tag-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b1a30;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  margin-left: 4px;
}

.hero-creative-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  color: #0b1a30;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-creative-title .underline-accent {
  position: relative;
  display: inline-block;
  color: #0b1a30;
}

.hero-creative-title .underline-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #d97706, #fbbf24);
  border-radius: 4px;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #b45309 0%, #d97706 40%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-creative-subhead {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
  line-height: 1.35;
}

.btn-creative-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0a1120;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid #fef08a;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-creative-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  color: #000;
}

.btn-creative-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 34px;
  border-radius: 9999px;
  background: #0b1a30;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(11, 26, 48, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-creative-navy:hover {
  transform: translateY(-2px);
  background: #132744;
  color: #ffffff;
  border-color: rgba(245, 158, 11, 0.6);
}

.btn-creative-navy .gold-arrow,
.btn-creative-gold .gold-arrow {
  color: #f59e0b;
  font-weight: 900;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.btn-creative-gold .gold-arrow {
  color: #0a1120;
}

.btn-creative-navy:hover .gold-arrow,
.btn-creative-gold:hover .gold-arrow {
  transform: translateX(4px);
}

.creative-disclaimer {
  margin-top: 18px;
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.creative-disclaimer::before {
  content: "⚠️";
  font-size: 0.95rem;
}

/* Hero Creative Showcase Frame */
.hero-creative-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.creative-image-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(11, 26, 48, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.8);
  max-width: 440px;
  width: 100%;
  background: #ffffff;
  transition: transform 0.4s ease;
}

.creative-image-frame:hover {
  transform: translateY(-4px);
}

.creative-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.creative-floating-badge {
  position: absolute;
  background: rgba(11, 26, 48, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  animation: floatPulse 4s ease-in-out infinite;
}

.creative-floating-badge.badge-top-right {
  top: 24px;
  right: -16px;
}

.creative-floating-badge.badge-bottom-left {
  bottom: 24px;
  left: -20px;
  animation-delay: 2s;
}

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

/* Forex Global Sessions Clock */
.forex-sessions-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0 20px;
}

.session-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.session-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.session-card.is-active {
  border-color: #10b981;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.session-flag {
  font-size: 1.5rem;
  margin-right: 12px;
}

.session-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.session-info p {
  font-size: 0.76rem;
  color: var(--text-subtle);
  margin: 0;
}

.session-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.session-status.open {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.session-status.closed {
  background: rgba(100, 116, 139, 0.1);
  color: #64748b;
}

/* Real-Time Bot Execution Terminal */
.bot-trade-feed {
  background: #0a1120;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 18px;
  padding: 24px;
  color: #f1f5f9;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.trade-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.trade-feed-log {
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.trade-log-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #10b981;
  transition: all 0.3s ease;
}

.trade-log-entry.sell-trade {
  border-left-color: #f59e0b;
}

.trade-log-entry:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* Creative Campaign Showcase Grid */
.creative-gallery-section {
  padding: 56px 36px;
  background: #0b1a30;
  color: #ffffff;
  border-radius: 28px;
  margin: 60px 0;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.creative-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 36px;
}

.creative-card-item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: #112240;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.creative-card-item:hover {
  transform: translateY(-6px);
  border-color: #f59e0b;
}

.creative-card-item img {
  width: 100%;
  height: auto;
  display: block;
}

.creative-card-desc {
  padding: 18px;
}

.creative-card-desc h4 {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.creative-card-desc p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-creative-title {
    font-size: 2.2rem;
  }
  .creative-floating-badge {
    position: static;
    margin: 8px 0;
    width: 100%;
    justify-content: center;
  }
  .creative-gallery-section {
    padding: 36px 18px;
  }
}


/* ==========================================================================
   AI FOREX BRAND LAYER
   Unifies the page on navy + gold (CTA) + AI blue, and fixes layout issues
   in the forex sections (header fit, hero badges, sessions, radar, gallery)
   ========================================================================== */

/* ---------- Gold buttons use dark ink, like the ad creatives ---------- */
.btn-header-cta,
.btn-submit {
  color: #0b1a30;
  border-color: rgba(180, 83, 9, 0.35);
}

.btn-submit:hover,
.btn-header-cta:hover {
  box-shadow: 0 16px 30px -12px rgba(217, 119, 6, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-creative-gold,
.btn-creative-navy {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-creative-gold {
  border: 1px solid rgba(180, 83, 9, 0.35);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
  background-size: 160% 160%;
  background-position: 0% 50%;
  box-shadow: 0 12px 26px -12px rgba(217, 119, 6, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-creative-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
  background-size: 160% 160%;
  background-position: 100% 50%;
  color: #0a1120;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -12px rgba(217, 119, 6, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-creative-gold::after,
.btn-creative-navy::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
}

.btn-creative-navy::after {
  background: linear-gradient(120deg, transparent 0%, rgba(251, 191, 36, 0.22) 50%, transparent 100%);
}

.btn-creative-gold:hover::after,
.btn-creative-navy:hover::after {
  animation: shine-sweep 0.85s ease;
}

.feature-box:hover .feature-icon-badge {
  color: #0b1a30 !important;
}

/* Section labels in AI blue so gold stays reserved for actions */
.hero-title .gradient-text,
.brand-logo span.accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
}

.ticker-item .chg.up { color: #34d399; }

/* ---------- Header: keep everything on one row ---------- */
.brand-logo,
.brand-logo > div {
  white-space: nowrap;
}

.nav-links {
  gap: 22px;
}

.nav-links a {
  font-size: 0.9rem;
}

/* "Free Walkthrough" duplicates the header button on desktop */
@media (min-width: 1181px) {
  .nav-links li:last-child {
    display: none;
  }
}

.site-header .market-status[data-state="open"] .ms-dot {
  background: #10b981 !important;
}

.site-header .market-status[data-state="open"] {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.site-header .market-status[data-state="open"] .ms-state {
  color: #047857;
}

.site-header .market-status[data-state="closed"] .ms-dot {
  background: #94a3b8 !important;
}

@media (max-width: 1500px) {
  .site-header .market-status {
    display: none;
  }
}

@media (max-width: 1280px) {
  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.86rem;
  }
}

/* Collapse to the menu button before links start to collide */
@media (max-width: 1180px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.95rem;
  }
}

@media (max-width: 560px) {
  .nav-actions .btn-creative-gold {
    display: none;
  }

  .brand-logo {
    font-size: 1.2rem;
  }
}

/* ---------- Hero: badges sit on the frame edge, not over ad text ---------- */
.hero-creative-title {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-creative-subhead {
  color: var(--navy);
  font-weight: 600;
}

.hero-creative-showcase {
  padding: 30px 30px 40px;
}

.hero-creative-showcase::before {
  content: '';
  position: absolute;
  inset: 8% 4%;
  background: radial-gradient(circle at 50% 40%, rgba(37, 99, 235, 0.18) 0%, rgba(245, 158, 11, 0.12) 40%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.creative-image-frame {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.creative-image-frame img {
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(11, 26, 48, 0.4), 0 0 0 1px rgba(226, 232, 240, 0.9), 0 0 0 8px rgba(255, 255, 255, 0.7);
}

.creative-floating-badge {
  border-color: rgba(251, 191, 36, 0.45);
  line-height: 1.35;
  white-space: nowrap;
}

.creative-floating-badge.badge-top-right {
  top: -22px;
  right: -26px;
}

.creative-floating-badge.badge-bottom-left {
  bottom: -26px;
  left: -26px;
}

.stat-item {
  border-image: linear-gradient(180deg, #f59e0b, #2563eb) 1;
}

/* ---------- Global sessions ---------- */
.forex-sessions-bar {
  margin: 20px 0 0;
}

.session-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  background: #ffffff;
}

.session-card > div {
  min-width: 0;
}

.session-info p {
  line-height: 1.45;
}

.session-status {
  margin-left: 40px;
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.session-card.is-active {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1), var(--shadow-sm);
}

/* ---------- Live trade terminal ---------- */
.bot-trade-feed {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
    linear-gradient(160deg, #0b1a30 0%, #0a1120 100%);
}

.bot-trade-feed::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 28px 28px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
}

.bot-trade-feed > * {
  position: relative;
}

.trade-feed-header {
  flex-wrap: wrap;
  gap: 12px;
}

.trade-log-entry {
  flex-wrap: wrap;
  gap: 8px 16px;
  animation: row-in 0.45s ease both;
}

.trade-log-entry > div {
  flex-wrap: wrap;
}

/* ---------- FX radar tables: fit inside their panels ---------- */
.contracts-col--calls {
  --accent: #10b981;
}

.contracts-table th,
.contracts-table td {
  padding-left: 14px;
  padding-right: 14px;
}

.contracts-table td.col-contract {
  white-space: normal;
}

.contracts-table td.col-contract > .ct-name,
.contracts-table td.col-contract > .ct-meta {
  display: flex;
}

.contracts-table td.col-contract > .ct-meta {
  margin-top: 4px;
}

.ct-meta {
  flex-wrap: wrap;
}

.contracts-table .col-ltp {
  white-space: nowrap;
}

/* ---------- Calculator: readable note on the dark result card ---------- */
.calc-defense-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  text-align: left;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.calc-defense-note strong {
  color: #fbbf24;
}

/* ---------- Campaign gallery: equal cards ---------- */
.creative-gallery-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 0%, rgba(245, 158, 11, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(37, 99, 235, 0.28) 0%, transparent 45%),
    linear-gradient(160deg, #0b1a30 0%, #0a1120 100%);
}

.creative-gallery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 36px 36px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  z-index: -1;
  pointer-events: none;
}

.creative-gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.creative-card-item {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #112240 0%, #0d1b33 100%);
}

.creative-card-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.creative-card-item:hover img {
  transform: scale(1.03);
}

.creative-card-item > img {
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.creative-card-desc {
  position: relative;
  flex: 1;
  padding: 20px 22px 22px;
  background: inherit;
}

.creative-card-desc h4 {
  font-weight: 700;
  line-height: 1.3;
}

.creative-card-desc p {
  line-height: 1.65;
}

@media (max-width: 992px) {
  .creative-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-creative-showcase {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .creative-gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-creative-showcase {
    padding: 0;
  }

  .creative-floating-badge {
    white-space: normal;
  }

  .hero-content > div[style*="display: flex"] > a {
    flex: 1 1 100%;
  }

  .bot-trade-feed {
    padding: 18px 14px;
  }

  .trade-feed-log {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   HERO LEAD FORM + AI BOT DASHBOARD ROW
   ========================================================================== */
.hero-grid {
  align-items: start;
}

.hero-content {
  padding-top: 12px;
}

.hero-lead-card {
  padding: 30px 28px 24px;
  border-radius: 24px;
}

.hero-lead-card .lead-card-header {
  margin-bottom: 20px;
}

.hero-lead-card .badge-creative-pill {
  padding: 6px 14px;
  font-size: 0.72rem;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-lead-card .badge-creative-pill .bot-emblem {
  font-size: 1rem;
}

.hero-lead-card .lead-card-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 8px;
}

.hero-lead-card .lead-card-header p {
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.hero-lead-card .form-group {
  margin-bottom: 14px;
}

.hero-lead-card .form-check {
  margin: 12px 0 18px;
}

.hero-lead-card .form-security-note {
  margin-top: 14px;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  line-height: 1.5;
}

/* Dashboard row: sessions + live terminal beside the ad creative */
.bot-dashboard {
  padding: 8px 0 72px;
}

.bot-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 36px;
  align-items: center;
}

.bot-dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sessions-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.sessions-card h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.bot-dashboard .forex-sessions-bar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bot-dashboard .session-card {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.bot-dashboard .session-status {
  margin-left: 0;
}

.bot-dashboard .hero-creative-showcase {
  padding: 28px 26px 40px;
}

.bot-dashboard .creative-image-frame {
  max-width: 360px;
}

@media (max-width: 1100px) {
  .bot-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    padding-top: 0;
  }

  .hero-form-wrapper {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .bot-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .bot-dashboard .hero-creative-showcase {
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .bot-dashboard .forex-sessions-bar {
    grid-template-columns: 1fr;
  }

  .sessions-card {
    padding: 20px 16px;
  }

  .hero-lead-card {
    padding: 26px 18px 20px;
  }

  .bot-dashboard .hero-creative-showcase {
    padding: 0;
  }
}

.bot-dashboard .creative-floating-badge.badge-bottom-left {
  bottom: -40px;
}

.bot-dashboard .hero-creative-showcase {
  padding-bottom: 52px;
}
