
/* ===== DESIGN TOKENS ===== */
:root {
  --bg-void:    rgba(5, 7, 10, 0.42);
  --bg-deep:    rgba(8, 11, 20, 0.58);
  --bg-base:    rgba(10, 12, 27, 0.65);
  --bg-card:    #1c1c1c;
  --bg-card2:   #282828;
  --glass:      rgba(28, 28, 28, 0.92);
  --glass-hi:   rgba(28, 28, 28, 0.96);
  --green:      #5b8cff;
  --green-light:#8eb4ff;
  --green-dark: #3b49df;
  --green-dim:  rgba(59, 73, 223, 0.14);
  --green-glow: rgba(91, 140, 255, 0.35);
  --neon-blue:       #00d4ff;
  --neon-blue-deep:  #3b49df;
  --neon-blue-core:  #e8f9ff;
  --neon-blue-glow:  rgba(0, 212, 255, 0.7);
  --flow-blue:       #0077ff;
  --flow-cyan:       #00ffff;
  --flow-violet:     #8800ff;
  --grey-dark:  #1c1c1c;
  --grey-mid:   #6b7a94;
  --grey-light: #9aa8c4;
  --text-hi:    #ffffff;
  --text-mid:   rgba(255, 255, 255, 0.72);
  --text-lo:    rgba(255, 255, 255, 0.55);
  --text-on-accent: #ffffff;
  --navy:       #3b49df;
  --navy-light: var(--navy);
  --border:     rgba(255, 255, 255, 0.08);
  --border-hi:  rgba(255, 255, 255, 0.14);
  --ff-head:    'Barlow Condensed', sans-serif;
  --ff-body:    'Figtree', sans-serif;
  --ff-mono:    'JetBrains Mono', monospace;
  --radius:     8px;
  --radius-lg:  16px;
  --btn-radius: 9999px;
  --nav-h:      68px;
  --nav-surface:#1c1c1c;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --hud-accent: #5b8cff;
  --hud-accent-bright: #8eb4ff;
  --hud-glow: rgba(91, 140, 255, 0.6);
  --hud-bracket: 24px;
  --hud-stroke: 2px;
  color-scheme: dark;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #000000; }
body {
  font-family: var(--ff-body);
  background: transparent;
  color: var(--text-mid);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-hi);
}

/* Flow stream canvas — fixed viewport, lines anchored to sections and move on scroll */
.flow-stream-wrap {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.flow-stream-bg {
  display: block;
  width: 100%;
  height: 100%;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* Removed gradient text utilities */

/* Glassmorphism */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.glass-hi {
  background: var(--glass-hi);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-hi);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ===== HUD CORNER-BRACKET CARD FRAME ===== */
.hud-frame,
.bento-card,
.discover-card,
.partner-card,
.service-detail-card,
.product-card,
.team-card,
.value-card,
.work-card,
.pricing-card,
.model-card,
.security-card,
.testimonial-card,
.mizar-tool-card,
.card,
.provider-card-new,
.provider-card,
.provider-stat-card,
.simulator-container,
.mv-split,
.faq-item,
.contact-form,
.metric-card,
.blog-card,
.trader-card {
  position: relative;
}

.hud-frame::after,
.bento-card::after,
.discover-card::after,
.partner-card::after,
.service-detail-card::after,
.product-card::after,
.team-card::after,
.value-card::after,
.work-card::after,
.pricing-card::after,
.model-card::after,
.security-card::after,
.testimonial-card::after,
.mizar-tool-card::after,
.card::after,
.provider-card-new::after,
.provider-card::after,
.provider-stat-card::after,
.simulator-container::after,
.mv-split::after,
.faq-item::after,
.contact-form::after,
.metric-card::after,
.blog-card::after,
.trader-card::after {
  content: none;
}

.bento-card:hover::after,
.discover-card:hover::after,
.partner-card:hover::after,
.service-detail-card:hover::after,
.product-card:hover::after,
.team-card:hover::after,
.value-card:hover::after,
.work-card:hover::after,
.pricing-card:hover::after,
.model-card:hover::after,
.security-card:hover::after,
.testimonial-card:hover::after,
.mizar-tool-card:hover::after,
.card:hover::after,
.provider-card-new:hover::after,
.provider-card:hover::after,
.provider-stat-card:hover::after,
.simulator-container:hover::after,
.mv-split:hover::after,
.faq-item:hover::after,
.faq-item.open::after,
.contact-form:hover::after,
.metric-card:hover::after,
.blog-card:hover::after,
.trader-card:hover::after,
.pricing-card.featured::after,
.provider-card.active::after {
  filter: none;
}

.hud-index {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--hud-accent-bright);
  background: transparent;
  border: none;
  text-shadow: 0 0 14px var(--hud-glow);
}

.hud-index::before,
.hud-index::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}

.hud-index::before {
  top: 0;
  right: 0;
  border-top: var(--hud-stroke) solid var(--hud-accent);
  border-right: var(--hud-stroke) solid var(--hud-accent);
  box-shadow: 2px -2px 10px var(--hud-glow);
}

.hud-index::after {
  bottom: 0;
  left: 0;
  border-bottom: var(--hud-stroke) solid var(--hud-accent);
  border-left: var(--hud-stroke) solid var(--hud-accent);
  box-shadow: -2px 2px 10px var(--hud-glow);
}

.tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tag::before { content: '//'; color: var(--navy-light); opacity: 0.6; }

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--text-hi);
}
.section-title span {
  color: var(--navy-light);
}

h1 .highlight,
h2 .highlight,
h3 .highlight,
h4 .highlight,
.section-title .highlight,
.section-title span {
  color: var(--navy-light) !important;
}
.section-sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 14px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===== HOMEPAGE SECTION OVERRIDES ===== */
.services-section .tag,
.services-section .section-title,
.services-section .section-sub,
.bento-section .tag,
.bento-section .section-title,
.bento-section .section-sub {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--btn-radius);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::before {
  opacity: 1;
}
.btn-primary {
  background: var(--green);
  color: var(--text-on-accent);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--green-glow);
  background: var(--green-dark);
}
.btn-outline {
  border: 1px solid var(--border-hi);
  color: var(--text-hi);
  background: transparent;
}
.btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: var(--green-dim);
  box-shadow: 0 0 20px var(--green-glow);
}
.btn-green {
  background: var(--green);
  color: var(--text-on-accent);
  border: none;
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--green-glow);
  background: var(--green-dark);
}
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* Pill-shaped buttons site-wide */
.btn,
.service-btn,
.simulator-btn,
.discover-btn,
.partner-btn,
.next-btn,
.preset-btn,
.amount-btn,
.order-btn,
.results-tab-btn,
.chart-toggle-btn,
.btn-cookie-accept,
.btn-cookie-decline,
button[type="submit"]:not(.chatbot-send) {
  border-radius: var(--btn-radius);
}

/* Square / icon controls — perfect circles */
.chatbot-button,
.chatbot-send,
.chatbot-close,
.carousel-nav-btn,
.legal-modal-close,
.contact-modal-close,
.faq-toggle,
.amount-control-btn,
.amount-btn-small {
  border-radius: 50%;
}

/* ===== CARD BASE ===== */
.card {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  padding: 28px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 140, 255,0.05), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.card:hover {
  background: var(--bg-card);
  transform: translateY(-4px);
  box-shadow: none;
}
.card:hover::before { opacity: 0; }

/* ===== BACKGROUNDS ===== */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
  opacity: 0.3;
}
.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.2;
}
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.06;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}
.glow-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--flow-violet);
  opacity: 0.1;
  top: -250px;
  right: -250px;
}
.glow-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--flow-cyan);
  opacity: 0.08;
  bottom: -200px;
  left: -200px;
  animation-delay: -10s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}


/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1001;
  transition: var(--transition);
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.navbar.scrolled {
  background: var(--nav-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text-hi);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-icon {
  width: 34px; height: 34px;
  background: var(--green);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-accent);
  font-size: 16px;
  font-weight: 900;
}
.nav-logo span { color: #ffffff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: #ffffff;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #ffffff;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: #1c1c1c;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 12px 16px;
  border-radius: var(--btn-radius);
  transition: var(--transition);
}
.mobile-menu a:hover { color: #ffffff; background: var(--green-dim); }

/* ===== PAGE SYSTEM ===== */
.page { display: none; }
.page.active { display: block; }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero--home {
  background-image: url('bin/images/home.jpg');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}
.hero--home .hero-content {
  position: relative;
  z-index: 2;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #000000;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 8%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--green);
}
.hero-title {
  font-family: var(--ff-head);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-stretch: condensed;
}
.hero-title .accent { color: #ffffff; }
.hero-title .accent2 {
  color: var(--navy-light);
}

.hero-title .systems-with {
  color: #ffffff;
}
.hero-desc {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.5;
  max-width: 500px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
/* Hero right: terminal widget */
.hero-visual {
  position: relative;
}
.terminal {
  background: #060e17;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(91, 140, 255,0.1), 0 40px 80px rgba(0,0,0,0.5);
}
.terminal-bar {
  background: #0a1928;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.terminal-bar .title {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--text-lo);
  margin-left: auto;
}
.terminal-body { padding: 20px; font-family: var(--ff-mono); font-size: 13px; line-height: 1.8; }
.t-comment { color: var(--text-lo); }
.t-key { color: #ffffff; }
.t-val { color: #ffffff; }
.t-num { color: #ffffff; }
.t-str { color: #ffffff; }
.t-blink { animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 16px;
}
.metric-card {
  background: #1c1c1c;
  border-radius: 0;
  padding: 12px;
  text-align: center;
}
.metric-val {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}
.metric-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--text-lo);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ===== TICKER STRIP ===== */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--text-mid);
  border-right: 1px solid var(--border);
}
.ticker-item .up { color: #ffffff; }
.ticker-item .down { color: #ff4444; }

/* ===== EXCHANGES SECTION ===== */
.exchanges-section {
  padding: 40px 0;
  background: transparent;
}
.exchanges-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.exchanges-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin: 0 auto 32px;
  text-align: center;
  width: 100%;
}
.exchanges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  border: none;
}
.exchange-item {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.exchange-item:nth-child(3n) {
  border-right: none;
}
.exchange-item:nth-child(n+4) {
  border-bottom: none;
}
.exchange-item img {
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
}
.exchange-item:hover img {
  opacity: 0.8;
  filter: grayscale(0%);
  transform: translateY(-1px);
}
.exchange-item:hover {
  color: #ffffff;
}
.exchange-logo {
  width: auto;
  object-fit: contain;
  display: block;
}
.exchange-logo--wide {
  max-width: 170px;
  max-height: 42px;
}
.exchange-logo--compact {
  max-width: 150px;
  max-height: 42px;
}
.exchange-item--text span {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s ease;
}
.exchange-item--text:hover span {
  color: #ffffff;
}

/* ===== STATS SECTION ===== */
.stats-section { padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: transparent; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat-item {
  background: transparent;
  padding: 40px 32px;
  text-align: center;
  transition: background 0.3s ease;
}
.stat-item:hover { background: transparent; }
.stat-number {
  font-family: var(--ff-head);
  font-size: 54px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-number sup { font-size: 0.4em; vertical-align: super; }
.stat-desc { font-size: 13px; color: var(--text-mid); margin-top: 8px; font-weight: 500; letter-spacing: 0.02em; }

/* ===== SERVICES SECTION ===== */
.services-section { 
  padding: 60px 0; 
  position: relative; 
  background: transparent;
}
.services-showcase {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}
.service-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.service-feature.in-view {
  opacity: 1;
  transform: translateX(0);
}
.service-feature:nth-child(even) {
  transform: translateX(80px);
}
.service-feature:nth-child(even).in-view {
  transform: translateX(0);
}
.service-feature:last-child {
  border-bottom: none;
}
.service-feature:nth-child(even) {
  direction: rtl;
}
.service-feature:nth-child(even) > * {
  direction: ltr;
}
.service-content h3 {
  font-family: var(--ff-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.service-content h3 .highlight {
  color: var(--navy-light);
  display: block;
}
.service-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}
.service-content .service-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 2px solid var(--green);
  border-radius: var(--btn-radius);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  transition: var(--transition);
}
.service-content .service-btn:hover {
  background: var(--green);
  color: var(--text-on-accent);
}
.service-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-feature-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  display: block;
}
.service-phone {
  position: relative;
  width: 280px;
  height: 560px;
  background: #2a2d39;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 
    0 40px 80px rgba(0,0,0,0.3),
    0 20px 40px rgba(0,0,0,0.2),
    inset 0 2px 0 rgba(255,255,255,0.1);
  z-index: 2;
}
.service-phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  z-index: 10;
}
.service-phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.service-laptop {
  position: relative;
  width: 520px;
  height: 340px;
  background: #2a2d39;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 
    0 40px 80px rgba(0,0,0,0.3),
    0 20px 40px rgba(0,0,0,0.2),
    inset 0 2px 0 rgba(255,255,255,0.1);
  z-index: 2;
}
.service-laptop::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 8px;
  background: #1a1d29;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.service-laptop-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}
.service-tablet {
  position: relative;
  width: 420px;
  height: 320px;
  background: #2a2d39;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 
    0 40px 80px rgba(0,0,0,0.3),
    0 20px 40px rgba(0,0,0,0.2),
    inset 0 2px 0 rgba(255,255,255,0.1);
  z-index: 2;
}
.service-tablet-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}
.notification-badge {
  position: absolute;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: floatBadge 3s ease-in-out infinite;
}
.notification-badge.badge-1 {
  top: 40px;
  right: -100px;
  animation-delay: 0s;
}
.notification-badge.badge-2 {
  top: 100px;
  left: -140px;
  animation-delay: 1s;
}
.notification-badge.badge-3 {
  bottom: 120px;
  right: -110px;
  animation-delay: 2s;
}
.notification-badge.badge-4 {
  bottom: 20px;
  left: -110px;
  animation-delay: 1.5s;
}
.badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.badge-icon.success {
  background: rgba(91, 140, 255,0.15);
  color: #ffffff;
}
.badge-icon.warning {
  background: rgba(255,193,7,0.15);
  color: #ffc107;
}
.badge-icon.error {
  background: rgba(244,67,54,0.15);
  color: #f44336;
}
.badge-icon.info {
  background: rgba(33,150,243,0.15);
  color: #2196f3;
}
.badge-text {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-hi);
  line-height: 1.3;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ===== BENTO GRID — WHY US ===== */
.bento-section { padding: 60px 0; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1px;
  margin-top: 40px;
  background: var(--border);
}
.bento-a { grid-column: span 7; grid-row: span 2; }
.bento-b { grid-column: span 5; }
.bento-c { grid-column: span 5; }
.bento-d { grid-column: span 4; }
.bento-e { grid-column: span 4; }
.bento-f { grid-column: span 4; }
.bento-card {
  border-radius: 0;
  padding: 36px;
  background: var(--bg-card);
  border: none;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  background: var(--bg-card);
}
/* Why BlockRouteLabs: outline-only boxes (no card fill). */
.bento-section .bento-grid {
  gap: 16px;
  background: transparent;
}
.bento-section .bento-card,
.bento-section .bento-card:hover {
  background: transparent !important;
  border: 1px solid var(--border) !important;
}
/* Keep Why BlockRouteLabs cards in original style (no HUD corner outlines). */
.bento-section .bento-card::after {
  content: none;
}
.bento-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.bento-card h3 {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.bento-card h3 span { color: #ffffff; }
.bento-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}
/* Bento A — large card with animated rings */
.bento-a-visual {
  margin-top: 36px;
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-image: radial-gradient(circle at center, #000 42%, transparent 76%);
  mask-image: radial-gradient(circle at center, #000 42%, transparent 76%);
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ringPulse 4s ease-in-out infinite;
}
.ring-1 {
  width: 120px;
  height: 120px;
  border-color: rgba(91, 140, 255, 0.55);
  box-shadow: 0 0 14px rgba(91, 140, 255, 0.22);
  animation-delay: 0s;
}
.ring-2 {
  width: 180px;
  height: 180px;
  border-color: rgba(91, 140, 255, 0.32);
  opacity: 0.72;
  animation-delay: 0.5s;
}
.ring-3 {
  width: 240px;
  height: 240px;
  border-color: rgba(91, 140, 255, 0.14);
  opacity: 0.38;
  animation-delay: 1s;
}
.ring-4 {
  width: 300px;
  height: 300px;
  border-color: transparent;
  opacity: 0;
  visibility: hidden;
  animation: none;
  box-shadow: none;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.7; }
}
.ring-2 { animation-name: ringPulseMid; }
.ring-3 { animation-name: ringPulseOuter; }
@keyframes ringPulseMid {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.02); opacity: 0.45; }
}
@keyframes ringPulseOuter {
  0%, 100% { transform: scale(1); opacity: 0.38; }
  50% { transform: scale(1.015); opacity: 0.18; }
}
.ring-center {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 36px rgba(91, 140, 255, 0.55);
}
/* Security dots */
.sec-dots { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.sec-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
}
.sec-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}
/* Mini chart bento */
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-top: 16px;
}
.mini-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--green), rgba(91, 140, 255,0.2));
  transition: height 0.3s;
}

/* ===== PROCESS ===== */
.process-section { padding: 60px 0; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 0;
  margin-top: 40px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  transition: var(--transition);
}
.step:hover .step-num {
  background: var(--green);
  color: var(--text-on-accent);
  box-shadow: 0 0 20px var(--green-glow);
}
.step-title { font-family: var(--ff-head); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-desc { font-size: 12px; color: var(--text-mid); line-height: 1.5; }
.step-timing {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin: 0 0 8px;
}
.process-steps--hire {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.process-steps--hire::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green) 15%, var(--green) 85%, transparent);
  z-index: 0;
  pointer-events: none;
}

/* ===== PARTNER SECTION ===== */
.partner-section {
  padding: 60px 0;
  background: transparent;
}

/* ===== OUR PARTNERS LOGOS SECTION ===== */
.partners-logos-section {
  padding: 50px 0;
  background: transparent;
}
.partners-logos-header {
  text-align: center;
  margin-bottom: 40px;
}
.partners-logos-title {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}
.partners-logos-title .highlight {
  color: #ffffff;
}
.partners-logos-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 500px;
  margin: 0 auto;
}
.partners-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}
.partner-logo-item {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  background: transparent;
}
.partner-logo-item:nth-child(3n) {
  border-right: none;
}
.partner-logo-item:nth-last-child(-n+3) {
  border-bottom: none;
}
.partner-logo-item:hover {
  background: transparent;
}
.partner-logo-item img {
  max-width: 100%;
  max-height: 50px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
}
.partner-logo-item:hover img {
  opacity: 0.8;
  filter: grayscale(0%);
}
.partner-logo-placeholder {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-lo);
  text-align: center;
  letter-spacing: -0.01em;
}

/* ===== DISCOVER SECTION ===== */
.discover-section {
  margin: 0;
  padding: 60px 0 70px;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.discover-section::before {
  content: none;
}
.discover-section::after {
  content: none;
}
.discover-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 1;
}
.discover-content {
  width: min(760px, 64%);
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.discover-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(1100px, 100vw);
  transform: translate(calc(-50% - 80px), -50%);
  pointer-events: none;
}
.discover-visual img {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.discover-badge {
  position: absolute;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: floatBadge 3s ease-in-out infinite;
}
.discover-badge.badge-top {
  top: 60px;
  left: 40px;
  animation-delay: 0s;
}
.discover-badge.badge-mid {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  animation-delay: 1s;
}
.discover-badge.badge-bottom {
  bottom: 80px;
  left: 60px;
  animation-delay: 2s;
}
.discover-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.discover-badge-icon.green {
  background: rgba(91, 140, 255,0.15);
  color: #ffffff;
}
.discover-badge-icon.blue {
  background: rgba(33,150,243,0.15);
  color: #2196f3;
}
.discover-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.discover-badge-title {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-hi);
}
.discover-badge-subtitle {
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--text-mid);
}
.discover-content h2 {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-hi);
}
.discover-content h2 .highlight {
  color: var(--text-hi);
  display: block;
}
.discover-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: none;
}
.discover-cta {
  margin-bottom: 40px;
}
.discover-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border: 2px solid var(--green);
  border-radius: var(--btn-radius);
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  transition: var(--transition);
}
.discover-btn:hover {
  background: var(--green);
  color: var(--text-on-accent);
  box-shadow: 0 4px 20px rgba(91, 140, 255,0.3);
}
.discover-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.discover-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  text-align: center;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.discover-card:hover {
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.discover-card h4 {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.discover-card p {
  font-size: 15px;
  color: var(--text-lo);
  line-height: 1.3;
  margin: 0;
  font-weight: 400;
}
@media (max-width: 900px) {
  .discover-section {
    background-position: center;
  }
  .discover-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .discover-section::before {
    content: none;
  }
  .discover-section::after {
    content: none;
  }
  .discover-content {
    width: 100%;
    margin-left: 0;
  }
  .discover-visual {
    width: 100%;
    max-width: 100%;
  }
  .discover-visual img {
    max-width: 100%;
    margin: 0 auto;
  }
  .discover-cards {
    grid-template-columns: 1fr;
  }
}
.partner-header {
  text-align: center;
  margin-bottom: 40px;
}
.partner-title {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}
.partner-title .highlight {
  color: #ffffff;
}
.partner-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.partner-card {
  background: transparent;
  border: none;
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.partner-icon {
  width: 180px;
  height: 180px;
  margin: 0 auto 32px;
  position: relative;
}
.partner-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.partner-card h3 {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.partner-card h3 .highlight {
  color: #ffffff;
}
.partner-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}
.partner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 2px solid var(--green);
  border-radius: var(--btn-radius);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  transition: var(--transition);
}
.partner-btn:hover {
  background: var(--green);
  color: var(--text-on-accent);
  box-shadow: 0 4px 20px rgba(91, 140, 255,0.3);
}

/* ===== SIMULATOR SECTION ===== */
.simulator-section {
  padding: 60px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.simulator-header {
  text-align: center;
  margin-bottom: 32px;
}
.simulator-title {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.simulator-title .highlight {
  color: var(--navy-light);
}
.simulator-subtitle {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 920px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.simulator-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border: 2px solid var(--green);
  border-radius: var(--btn-radius);
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  transition: var(--transition);
}
.simulator-btn:hover {
  background: var(--green);
  color: var(--text-on-accent);
  box-shadow: 0 4px 20px rgba(91, 140, 255,0.3);
}
.simulator-visual {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.simulator-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.device-mockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  perspective: 1000px;
}
.device {
  position: relative;
  border-radius: 24px;
  background: #2a2d39;
  padding: 12px;
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.3),
    0 10px 20px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: visible;
  transition: transform 0.3s ease;
}
.device::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.device-tablet {
  width: 340px;
  height: 240px;
  transform: rotate(-8deg) translateY(10px);
  z-index: 1;
}
.device-laptop {
  width: 520px;
  height: 340px;
  z-index: 3;
  border-radius: 16px;
  padding: 8px;
}
.device-laptop::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 8px;
  background: #1a1d29;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.device-mobile {
  width: 160px;
  height: 300px;
  transform: rotate(8deg) translateY(10px);
  z-index: 1;
  border-radius: 28px;
  padding: 10px;
}
.device-mobile::before {
  border-radius: 28px;
}
.device-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}
.device-laptop .device-screen {
  border-radius: 8px;
}
.device-mobile .device-screen {
  border-radius: 20px;
}
.screen-content {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.screen-header {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-mid);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.screen-chart-area {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, rgba(91, 140, 255,0.08), rgba(91, 140, 255,0.02));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid rgba(91, 140, 255,0.15);
}
.laptop-screen-content {
  width: 100%;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.laptop-title {
  text-align: center;
  padding: 16px 0;
}
.laptop-title h3 {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--text-hi);
  margin-bottom: 6px;
}
.laptop-title h3 .highlight {
  color: var(--navy-light);
}
.laptop-title p {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-mid);
  text-transform: uppercase;
}
.laptop-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-box {
  background: rgba(91, 140, 255,0.08);
  border: 1px solid rgba(91, 140, 255,0.2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.stat-label {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-mid);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
}
.laptop-cta {
  text-align: center;
  margin-top: 8px;
}
.laptop-cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--green);
  color: var(--text-hi);
  border-radius: 8px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(91, 140, 255,0.3);
}
.mobile-screen-content {
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-header {
  text-align: center;
  padding: 8px 0;
}
.mobile-header h4 {
  font-family: var(--ff-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-hi);
  margin-bottom: 2px;
}
.mobile-header p {
  font-family: var(--ff-mono);
  font-size: 8px;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mobile-chart {
  flex: 1;
  background: rgba(91, 140, 255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(91, 140, 255,0.15);
}

/* ===== CTA BAND ===== */
.cta-band {
  margin: 0;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  background: transparent;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-band-title {
  font-family: var(--ff-head);
  font-size: clamp(36px,5vw,64px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.cta-band-title span {
  color: #ffffff;
}
.cta-band-sub { font-size: 17px; color: var(--text-mid); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER (agency layout) ===== */
.site-footer,
footer.site-footer,
footer.footer {
  background: var(--nav-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 0;
  position: relative;
  color: rgba(255,255,255,0.72);
}

.site-footer .container--wide {
  max-width: 1320px;
}

.footer-top,
.footer-main {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) minmax(0, 1.85fr);
  gap: 56px 72px;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-link {
  display: inline-flex;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  max-width: 340px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(91, 140, 255, 0.45);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: rgba(91, 140, 255, 0.1);
  transition: var(--transition);
}

.footer-social:hover {
  border-color: var(--green);
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 4px 20px var(--green-glow);
}

.footer-cta {
  margin-top: 4px;
}

.site-footer .footer-cta.btn::before {
  display: none;
}

.site-footer .footer-cta.btn-primary {
  box-shadow: none;
}

.site-footer .footer-cta.btn-primary:hover {
  transform: none;
  box-shadow: none;
  background: var(--green-dark);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  align-items: start;
}

.footer-col-title {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  transition: var(--transition);
  line-height: 1.4;
}

.footer-col ul a:hover {
  color: #fff;
  padding-left: 2px;
}

/* Registry / corporate block */
.footer-registry {
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-registry-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
}

.footer-registry-primary {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px 40px 32px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.footer-registry-entity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
}

.footer-registry-entity:first-child {
  padding-top: 0;
}

.footer-registry-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.footer-registry-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.footer-registry-value {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}

.footer-registry-secondary {
  padding: 32px 0 32px 40px;
}

.footer-registry-title {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.footer-registry-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-bottom: 16px;
}

.footer-registry-id {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-registry-id-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.footer-registry-id-value {
  font-family: var(--ff-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}

.footer-registry-verify {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.48);
  margin-bottom: 20px;
  max-width: 560px;
}

.footer-registry-verify a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-registry-verify a:hover {
  color: #fff;
}

.footer-registry-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
  font-size: 13px;
}

.footer-registry-links a {
  color: rgba(255,255,255,0.78);
  transition: color 0.2s ease;
  padding: 0;
  border-radius: 0;
}

.footer-registry-links a:hover {
  color: #ffffff;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-registry-links-sep {
  color: rgba(255,255,255,0.2);
  user-select: none;
}

/* Regulatory disclosures */
.footer-regulatory,
.footer-disclosures {
  padding: 40px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-regulatory-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-regulatory-title {
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 8px;
}

.footer-col-policies {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px 6px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  white-space: nowrap;
}

.footer-col-policies a {
  color: rgba(255,255,255,0.72);
  transition: color 0.2s ease;
}

.footer-col-policies a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col-policies-sep {
  color: rgba(255,255,255,0.2);
  user-select: none;
}

.footer-regulatory-intro {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
  margin: 0;
  max-width: none;
  white-space: nowrap;
}

.footer-regulatory-grid,
.footer-regulatory-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-regulatory-block {
  padding: 32px 0;
}

.footer-regulatory-block:first-child {
  padding-top: 0;
}

.footer-regulatory-block + .footer-regulatory-block {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-regulatory-block h6 {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-regulatory-block p {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255,255,255,0.52);
  margin-bottom: 12px;
}

.footer-regulatory-block p:last-child,
.footer-regulatory-block ul:last-child {
  margin-bottom: 0;
}

.footer-regulatory-block ul {
  margin: 0 0 14px 0;
  padding-left: 1.25rem;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
}

.footer-regulatory-block li {
  margin-bottom: 6px;
}

.footer-regulatory-block li:last-child {
  margin-bottom: 0;
}

.footer-regulatory-block strong {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
}

.footer-disclosure-col h5 {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 24px 0 32px;
}

.footer-copyright {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.footer-bottom-meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* Legacy footer class aliases */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

@media (max-width: 1100px) {
  .footer-top,
  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-regulatory-intro {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .footer-top,
  .footer-main {
    padding: 56px 0 40px;
  }
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-col-policies {
    flex-wrap: wrap;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
  .footer-regulatory-block {
    padding: 28px 0;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .company-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .separator {
    display: none;
  }
}

/* ===== MAPS SECTION ===== */
.maps-section {
  position: relative;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 12px;
  transition: var(--transition);
}

.map-container:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

.location-info {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }
  
  .location-info {
    padding: 0 16px;
  }
  
  .location-info > div {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===== LEGAL SECTIONS ===== */
.legal-sections {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 40px 0 20px;
  margin-top: 32px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.legal-section h3 {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.legal-content {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.legal-content p {
  margin-bottom: 12px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-highlight {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

@media (max-width: 768px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== BILLING TOGGLE ===== */
.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.toggle-container {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
}

.toggle-label.active {
  color: #ffffff;
}

/* Pricing page toggle switch - click-based */
.billing-toggle .toggle-switch {
  position: relative;
  width: 48px;
  height: 24px;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.billing-toggle .toggle-switch.active {
  background: var(--green);
}

.billing-toggle .toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--bg-card);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.billing-toggle .toggle-slider.active {
  transform: translateX(24px);
}

.savings-badge {
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

.price-annual {
  display: none;
}

/* ===== SERVICES PAGE ===== */
.page-hero {
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
}
.page-hero .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8%;
  text-align: left;
}
.page-hero h1,
.page-hero h2,
.page-hero p,
.page-hero .tag {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}
.page-hero .section-sub {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  max-width: 560px;
}

.page-hero .tag {
  color: var(--navy-light);
  justify-content: flex-start;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: #000000;
  z-index: 0;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-bg--about::before {
  background-image: url('bin/images/about.jpg');
  background-position: center 35%;
}

.page-hero-bg--services::before {
  background-image: url('bin/images/services.jpg');
  background-position: center 40%;
}

.page-hero-bg--products::before {
  background-image: url('bin/images/products.jpg');
  background-position: center 45%;
}

.page-hero-bg--pricing::before {
  background-image: url('bin/images/pricing.jpg');
  background-position: center 40%;
}

.page-hero-bg--contact::before {
  background-image: url('bin/images/contactus.jpg');
  background-position: center 35%;
}

.page-hero-bg--careers::before {
  background-image: url('bin/images/home.jpg');
  background-position: center 30%;
}

.page-hero-bg--home::before {
  background-image: url('bin/images/home.jpg');
  background-position: center 55%;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: 28px;
}

.page-hero .page-hero-badges .hero-badge {
  margin: 0;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.25) 60%, transparent);
  z-index: 1;
  pointer-events: none;
}
.services-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0px; margin-top: 60px; }
.service-detail-card {
  background-color: transparent;
  border-radius: 0;
  padding: 36px;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: none;
  margin: 5px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  cursor: pointer;
  filter: grayscale(100%);
}

.service-detail-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 42%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.service-detail-card > * {
  position: relative;
  z-index: 2;
}

.service-detail-card:hover {
  box-shadow: none;
  filter: grayscale(0%);
  transform: translateY(-4px);
}
.service-detail-icon {
  display: none;
}
.service-detail-card h3 {
  font-family: var(--ff-head);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}
.service-detail-card p { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }
.service-features { display: flex; flex-direction: column; gap: 8px; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
}
.feature-check {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

/* ===== MIZAR NEXT LEVEL TOOLS SECTION ===== */
.mizar-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.mizar-tool-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mizar-tool-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(51, 146, 232, 0.15);
}

.mizar-tool-card h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}

.mizar-tool-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Fastest Execution Styles */
.execution-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.block-sequence {
  display: flex;
  align-items: center;
  gap: 12px;
}

.block {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 10px;
  text-align: center;
  min-width: 60px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.block-inactive {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

.block-active {
  background: rgba(51, 146, 232, 0.2);
  border: 2px solid #3392E8;
  color: #3392E8;
  animation: blockGlow 2s infinite;
}

.mizar-tx-highlight {
  background: #00CF46;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 600;
}

@keyframes blockGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(51, 146, 232, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(51, 146, 232, 0); }
}

/* Advanced Orders Styles */
.orders-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.price-chart {
  width: 120px;
  height: 50px;
}

.chart-line {
  width: 100%;
  height: 100%;
}

.order-buttons {
  display: flex;
  gap: 8px;
}

.order-btn {
  padding: 6px 12px;
  border-radius: var(--btn-radius);
  font-size: 10px;
  font-weight: 600;
  animation: orderPulse 3s infinite;
}

.order-btn.tp {
  background: rgba(0, 207, 70, 0.2);
  border: 1px solid #00CF46;
  color: #00CF46;
  animation-delay: 0s;
}

.order-btn.dca {
  background: rgba(51, 146, 232, 0.2);
  border: 1px solid #3392E8;
  color: #3392E8;
  animation-delay: 1s;
}

.order-btn.sl {
  background: rgba(255, 72, 102, 0.2);
  border: 1px solid #FF4866;
  color: #FF4866;
  animation-delay: 2s;
}

@keyframes orderPulse {
  0%, 90%, 100% { opacity: 0.6; transform: scale(1); }
  5%, 15% { opacity: 1; transform: scale(1.1); }
}

/* Smart Routing Styles */
.routing-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.token-source {
  display: flex;
  justify-content: center;
}

.token-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3392E8, #58A6EC);
}

.routing-paths {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.routing-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.routing-path.best-path {
  background: rgba(0, 207, 70, 0.1);
  border: 1px solid rgba(0, 207, 70, 0.3);
}

.dex-box {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.best-badge {
  background: #00CF46;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 600;
}

/* Volatility Bot Styles */
.volatility-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.volatility-chart {
  width: 160px;
  height: 80px;
}

.vol-chart {
  width: 100%;
  height: 100%;
}

/* Copy Trading Styles */
.copy-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trader-comparison {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  min-width: 60px;
}

.trader-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3392E8, #58A6EC);
}

.trader-name {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
}

.trader-profit {
  font-size: 11px;
  font-weight: 600;
  color: #00CF46;
}

.copy-arrow {
  animation: arrowPulse 2s infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* AI Research Styles */
.ai-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-interface {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.ai-logo {
  animation: aiPulse 3s infinite;
}

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

.research-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  background: rgba(51, 146, 232, 0.1);
  border: 1px solid rgba(51, 146, 232, 0.3);
  border-radius: 4px;
  opacity: 0;
  animation: resultAppear 3s infinite;
}

.result-row:nth-child(1) { animation-delay: 0.5s; }
.result-row:nth-child(2) { animation-delay: 1s; }
.result-row:nth-child(3) { animation-delay: 1.5s; }

.result-icon {
  font-size: 12px;
}

.result-text {
  font-size: 10px;
  color: #3392E8;
  font-weight: 600;
}

.result-value {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes resultAppear {
  0%, 20%, 80%, 100% { opacity: 0; transform: translateY(10px); }
  30%, 70% { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mizar-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mizar-tools-grid {
    grid-template-columns: 1fr;
  }
  
  .mizar-tool-card {
    min-height: 240px;
    padding: 24px;
  }
}

/* ===== PRODUCTS PAGE ===== */
.products-grid { 
  display: grid; 
  grid-template-columns: repeat(3,1fr); 
  gap: 24px; 
  margin-top: 60px; 
  justify-content: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.product-card {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  transition: background 0.3s ease;
  position: relative;
}
.product-card:hover {
  background: var(--bg-card);
}

.product-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.product-badge {
  font-family: var(--ff-mono);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}
.badge-cyan { background: var(--green-dim); color: #ffffff; border: 1px solid rgba(91, 140, 255,0.25); }
.badge-green { background: var(--green-dim); color: #ffffff; border: 1px solid rgba(91, 140, 255,0.25); }
.badge-gold { background: var(--green-dim); color: #ffffff; border: 1px solid rgba(91, 140, 255,0.25); }
.product-card h3 { font-family: var(--ff-head); font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.product-card .tagline { font-size: 13px; color: var(--text-mid); }
.product-body { 
  padding: 24px 24px 20px 24px; 
  position: relative;
  overflow: visible;
}
.product-specs { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
  margin-bottom: 20px; 
  transition: none;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 3;
  min-height: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: transparent;
  padding: 0;
}


.spec-row { display: flex; justify-content: space-between; font-size: 13px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.spec-row:last-child { border-bottom: none; }

.pnl-chart {
  width: 100%;
  height: 70px;
  position: relative;
  margin-bottom: 20px;
  background: rgba(91, 140, 255,0.08);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(91, 140, 255,0.2);
}

.pnl-chart::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
    rgba(91, 140, 255,0.1) 0%,
    rgba(91, 140, 255,0.15) 25%,
    rgba(91, 140, 255,0.2) 50%,
    rgba(91, 140, 255,0.25) 75%,
    rgba(91, 140, 255,0.3) 100%
  );
  clip-path: polygon(
    0% 85%, 
    8% 80%, 
    16% 75%, 
    24% 70%, 
    32% 65%, 
    40% 55%, 
    48% 45%, 
    56% 35%, 
    64% 30%, 
    72% 25%, 
    80% 20%, 
    88% 15%, 
    96% 10%, 
    100% 8%, 
    100% 100%, 
    0% 100%
  );
}

.pnl-chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  clip-path: polygon(
    0% 85%, 
    8% 80%, 
    16% 75%, 
    24% 70%, 
    32% 65%, 
    40% 55%, 
    48% 45%, 
    56% 35%, 
    64% 30%, 
    72% 25%, 
    80% 20%, 
    88% 15%, 
    96% 10%, 
    100% 8%
  );
  transform: translateY(-50px) scaleY(25);
  transform-origin: bottom;
}

.pnl-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 10px;
}

.pnl-stat {
  text-align: center;
}

.pnl-value {
  font-family: var(--ff-head);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 3px;
}

.pnl-label {
  color: var(--text-mid);
  font-size: 9px;
  font-weight: 500;
}

.stat-value {
  font-weight: 600;
  color: #ffffff;
}
.spec-row .label { color: var(--text-mid); }
.spec-row .value { color: var(--text-hi); font-weight: 600; }

/* ===== PORTFOLIO PAGE ===== */
.portfolio-grid { display: flex; flex-direction: column; gap: 32px; margin-top: 60px; }
.case-study {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  transition: var(--transition);
}
.case-study:hover { border-color: var(--border-hi); }
.case-num {
  font-family: var(--ff-head);
  font-size: 80px;
  font-weight: 900;
  color: var(--border-hi);
  line-height: 1;
  margin-bottom: 12px;
}
.case-study h3 { font-family: var(--ff-head); font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.case-study p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.case-results { display: flex; flex-direction: column; gap: 12px; }
.result-item {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.result-label { font-size: 13px; color: var(--text-mid); }
.result-value { font-family: var(--ff-head); font-size: 20px; font-weight: 800; color: #ffffff; }

/* ===== ABOUT PAGE ===== */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.team-card {
  background: var(--bg-card);
  border-radius: 0;
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--text-on-accent);
  margin: 0 auto 16px;
  box-shadow: 0 0 30px rgba(91, 140, 255,0.2);
}
.team-card h3 { font-family: var(--ff-head); font-size: 22px; font-weight: 800; }
.team-role { font-family: var(--ff-mono); font-size: 11px; color: #ffffff; letter-spacing: 0.1em; margin: 4px 0 12px; }
.team-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.team-tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--green-dim);
  color: #ffffff;
  border: 1px solid rgba(91, 140, 255,0.2);
}
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }

.value-card:not(.work-card) {
  background: transparent;
  border-radius: 0;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.value-card:not(.work-card):hover {
  background: var(--bg-card);
}

.value-card h4 { 
  font-family: var(--ff-head); 
  font-size: 20px; 
  font-weight: 800; 
  margin: 10px 0 8px; 
}

.value-card p { 
  font-size: 14px; 
  color: var(--text-mid); 
  line-height: 1.6; 
}

/* ===== ABOUT — MISSION & VISION ===== */
.mission-vision-section {
  padding: 100px 0 80px;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.mv-header {
  max-width: 720px;
  margin-bottom: 56px;
}
.mv-header-sub {
  margin-top: 14px;
  text-align: left;
  margin-left: 0;
}
.mv-split {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: 420px;
  overflow: hidden;
  margin-bottom: 24px;
}
.mv-split--reverse {
  grid-template-columns: 40fr 60fr;
}
.mv-split--reverse .mv-split-content {
  grid-column: 2;
  grid-row: 1;
}
.mv-split--reverse .mv-split-visual {
  grid-column: 1;
  grid-row: 1;
}
.mv-split-content {
  background: #000;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mv-split-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  min-height: 280px;
  padding: clamp(32px, 4vw, 48px);
}
.mv-split-visual-bg {
  position: absolute;
  inset: -12%;
  background-size: cover;
  background-position: center;
  filter: blur(10px) saturate(1.1) brightness(0.45);
  transform: scale(1.05);
}
.mv-split-visual--mission .mv-split-visual-bg {
  background-image: url('bin/images/about.jpg');
}
.mv-split-visual--vision .mv-split-visual-bg {
  background-image: url('bin/images/home.jpg');
}
.mv-split-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.mv-split-accent {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  text-align: left;
}
.mv-accent-index {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.mv-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.mv-timeline li {
  display: grid;
  grid-template-columns: minmax(56px, 72px) 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mv-timeline li:first-child {
  padding-top: 0;
}
.mv-timeline li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.mv-timeline-year {
  font-family: var(--ff-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy-light);
  line-height: 1;
}
.mv-timeline-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}
.mv-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 20px;
}
.mv-title {
  font-family: var(--ff-head);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #ffffff;
  max-width: none;
}
.mv-body {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 28px;
  max-width: none;
}
.mv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.mv-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.mv-list li:last-child {
  margin-bottom: 0;
}
.mv-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}
.mv-footer-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  padding: 28px 32px;
  background: transparent;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
}
.mv-strip-item {
  text-align: center;
  padding: 8px 12px;
}
.mv-strip-value {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.mv-strip-label {
  display: block;
  margin-top: 6px;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lo);
}
.mv-strip-divider {
  width: 1px;
  height: 40px;
  background: var(--border-hi);
  justify-self: center;
}
.mv-commitment-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: 28px 32px;
  border: 1px solid var(--border-hi);
  background: transparent;
}
.mv-commitment-tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin: 0 0 10px;
}
.mv-commitment-quote {
  font-family: var(--ff-head);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
  max-width: 52ch;
}
.mv-commitment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .mv-split,
  .mv-split--reverse {
    grid-template-columns: 1fr;
  }
  .mv-split--reverse .mv-split-content,
  .mv-split--reverse .mv-split-visual {
    grid-column: auto;
    grid-row: auto;
  }
  .mv-split-content {
    order: 1;
    padding: 40px 24px;
  }
  .mv-split-visual {
    order: 2;
    min-height: 240px;
  }
  .mv-footer-strip {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 24px 20px;
  }
  .mv-strip-divider {
    display: none;
  }
  .mv-commitment-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
}
@media (max-width: 520px) {
  .mission-vision-section {
    padding: 72px 0 56px;
  }
  .mv-split-content {
    padding: 32px 20px;
  }
  .mv-footer-strip {
    grid-template-columns: 1fr;
  }
}

/* How We Work Cards - No Click Effect */
.work-card {
  background: var(--bg-card);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
  filter: grayscale(100%);
  z-index: 1;
  border-radius: 0;
}

.work-card:hover {
  box-shadow: 0 4px 12px rgba(91, 140, 255, 0.2);
  filter: grayscale(0%);
  transform: translateY(-4px);
}

/* Modal Overlay */
.work-card-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.5s;
  display: flex;
}

.work-card-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
}

/* Modal Card */
.work-card-modal {
  background: var(--bg-card);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 90vw;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.7) translateY(30px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.work-card-modal-overlay.active .work-card-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Close Button */
.work-card-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: white;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

.work-card-modal-overlay.active .work-card-modal-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.3s;
}

.work-card-modal-close:hover {
  background: var(--green);
  border-color: #ffffff;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 4px 12px rgba(91, 140, 255, 0.4);
}

/* Service Detail Card Modal */
.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.5s;
  display: flex;
  padding: 20px;
}

.service-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
}

.service-modal-card {
  background: var(--bg-card);
  width: 90vw;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.7) translateY(30px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-modal-overlay.active .service-modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.service-modal-content {
  padding: 48px;
  overflow-y: auto;
  flex: 1;
  position: relative;
  z-index: 1;
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
}

.service-modal-bg {
  display: none;
}

.service-modal-content > * {
  position: relative;
  z-index: 1;
}

.service-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: white;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

.service-modal-overlay.active .service-modal-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.3s;
}

.service-modal-close:hover {
  background: var(--green);
  border-color: #ffffff;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 4px 12px rgba(91, 140, 255, 0.4);
}

.service-modal-content h3 {
  font-family: var(--ff-head);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-hi);
}

.service-modal-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
}

.service-modal-content .service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-modal-content .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-mid);
  padding: 8px 0;
}

.service-modal-content .feature-check {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.work-card::before {
  display: none;
}

.work-card::after {
  display: none;
}

.work-card > * {
  display: none;
}

.work-card h4 {
  display: none;
}

.work-card p {
  display: none;
}

/* ===== PRICING PAGE ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.pricing-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.pricing-card:hover {
  background: var(--bg-card);
  border-color: var(--border-hi);
}
.pricing-card.featured {
  background: transparent;
  border-color: var(--green);
  transform: scale(1.03);
}
.pricing-card.featured:hover {
  background: var(--bg-card);
  border-color: var(--green);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-mono);
  font-size: 11px;
  padding: 4px 16px;
  border-radius: 20px;
  background: var(--green);
  color: var(--text-on-accent);
  font-weight: 600;
  white-space: nowrap;
}
.pricing-card h3 { font-family: var(--ff-head); font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.pricing-card .price-desc { font-size: 13px; color: var(--text-mid); margin-bottom: 28px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px; }
.price-from { font-family: var(--ff-mono); font-size: 13px; color: var(--text-mid); }
.price-num {
  font-family: var(--ff-head);
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}
.price-period { font-size: 14px; color: var(--text-mid); }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-feature { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.price-feature .check { color: #ffffff; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.price-feature .x { color: var(--text-lo); flex-shrink: 0; margin-top: 2px; }
.price-models { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 60px; }
.model-card {
  background: var(--bg-card);
  border-radius: 0;
  padding: 0;
  text-align: center;
  transition: filter 0.4s ease, transform 0.4s ease;
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  filter: grayscale(100%);
}
.model-card:hover,
.model-card.is-color {
  filter: grayscale(0%);
  transform: translateY(-4px);
}

.model-card > * {
  position: relative;
  z-index: 2;
}

.model-card h4 { 
  display: none;
}

.model-card p:not(:last-child) {
  display: none;
}

.model-card p:last-child {
  opacity: 1;
  transform: none;
  transition: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: #ffffff;
  font-weight: 800;
  width: auto;
  box-shadow: none;
}

/* ===== BLOG PAGE ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.blog-card {
  background: var(--bg-card);
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-base), var(--bg-card2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-dim), transparent);
}
.blog-body { padding: 24px; }
.blog-cat {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: #ffffff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
}
.blog-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.blog-meta { display: flex; justify-content: space-between; font-family: var(--ff-mono); font-size: 11px; color: var(--text-lo); }

/* ===== FAQ PAGE ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  transition: background 0.3s ease;
}
.faq-item:hover,
.faq-item.open {
  background: var(--bg-card);
}
.faq-question {
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  transition: var(--transition);
}
.faq-question:hover { color: #ffffff; }
.faq-toggle {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--text-mid);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-toggle {
  background: var(--green);
  color: var(--text-on-accent);
  border-color: #ffffff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; margin-top: 60px; align-items: start; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  align-self: start;
}
.contact-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 16px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  transition: background 0.3s ease;
}
.contact-item:hover {
  background: var(--bg-card);
}
.contact-icon { font-size: 24px; }
.contact-item h4 { font-family: var(--ff-head); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-mid); }
.contact-form {
  background: transparent;
  border-radius: 0;
  padding: 40px;
}
.contact-form h3 { font-family: var(--ff-head); font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.contact-form .subtitle { font-size: 14px; color: var(--text-mid); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--text-hi);
  font-family: var(--ff-body);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-lo); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.18);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success .icon { font-size: 48px; margin-bottom: 16px; }
.form-success h4 { font-family: var(--ff-head); font-size: 28px; font-weight: 800; margin-bottom: 8px; color: #ffffff; }
.form-success p { color: var(--text-mid); }

/* Animated Checkmark */
.success-checkmark {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}

.checkmark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: var(--green);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--green);
  animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: var(--green);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  stroke: var(--green);
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

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

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 60px rgba(91, 140, 255, 0.1);
  }
}

/* ===== SECURITY PAGE ===== */
.security-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 60px; }
.security-card {
  background: var(--bg-card);
  border-radius: 0;
  padding: 0;
  transition: all 0.4s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  filter: grayscale(100%);
  cursor: pointer;
}

.security-card:hover,
.security-card.is-color {
  filter: grayscale(0%);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.security-card > * {
  position: relative;
  z-index: 2;
}

.security-card h3 { 
  display: none;
}

.security-card p {
  display: none;
}
.security-banner {
  background: rgba(91, 140, 255,0.06);
  border: 1px solid rgba(91, 140, 255,0.2);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}
.security-banner .icon { font-size: 48px; }
.security-banner h3 { font-family: var(--ff-head); font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.security-banner p { font-size: 15px; color: var(--text-mid); }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 60px 0 70px; background: transparent; }
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}
.testimonials-track {
  display: flex;
  transition: transform 0.7s ease-in-out;
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 calc(100% / 3);
  min-width: calc(100% / 3);
  box-sizing: border-box;
  padding: 0 12px;
}
.testimonial-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: var(--bg-card);
  border-color: var(--border-hi);
}
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.testimonial-dot.active {
  background: var(--green);
  transform: scale(1.2);
}
@media (max-width: 900px) {
  .testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 8px;
  }
}
.t-stars { color: #FFD700; font-size: 14px; margin-bottom: 14px; }
.t-quote { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-on-accent);
}
.t-name { font-weight: 600; font-size: 14px; }
.t-title { font-size: 12px; color: var(--text-mid); }

/* ===== SECTION PADDING ===== */
.section { padding: 60px 0; }
.section + .section { padding-top: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-3, .services-grid, .products-grid, .team-grid, .pricing-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
  .grid-4, .stats-grid { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(3,1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding: 48px 6%; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-feature {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .service-feature:nth-child(even) > * {
    grid-column: auto;
    grid-row: auto;
  }
  .service-visual {
    min-height: 0;
    order: -1;
  }
  .service-laptop {
    width: min(520px, 100%);
    height: auto;
    aspect-ratio: 520 / 340;
  }
  .service-phone {
    width: min(280px, 72vw);
    height: auto;
    aspect-ratio: 280 / 560;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-a,
  .bento-b,
  .bento-c,
  .bento-d,
  .bento-e,
  .bento-f {
    grid-column: span 1;
    grid-row: auto;
  }
  .bento-a {
    grid-column: 1 / -1;
  }
  .partner-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .page-hero {
    min-height: min(100vh, 100dvh);
    height: auto;
    overflow: hidden;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .nav-inner { padding: 0 16px; gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .services-detail-grid, .contact-grid, .security-grid, .case-study { grid-template-columns: 1fr; }
  .grid-3, .services-grid, .products-grid, .team-grid, .pricing-grid, .blog-grid, .testimonials-grid, .metrics-row, .values-grid { grid-template-columns: 1fr; }
  .grid-4, .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-models { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .contact-info { position: static; }

  /* Contact form — center the whole block on mobile */
  .contact-grid {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    gap: 40px;
    justify-items: center;
  }
  .contact-form {
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 0 24px;
    box-sizing: border-box;
  }
  .contact-form .tag {
    justify-content: center;
  }
  .contact-form h3,
  .contact-form .subtitle {
    text-align: center;
  }
  .contact-form form {
    width: 100%;
  }
  .contact-form .form-group,
  .contact-form .form-row {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-form .form-group label {
    text-align: left;
  }
  .contact-form .btn {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .contact-info {
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    min-height: 100dvh;
    min-height: 100vh;
  }
  .hero-content {
    padding: 36px 5% 48px;
    gap: 28px;
  }
  .hero-title {
    font-size: clamp(34px, 11vw, 52px);
  }
  .hero-desc {
    font-size: 15px;
    max-width: none;
  }
  .hero-badges {
    gap: 12px 16px;
  }
  .section-title {
    font-size: clamp(30px, 9vw, 44px);
  }
  .page-hero {
    min-height: 100dvh;
    min-height: 100vh;
    height: auto !important;
    align-items: flex-end;
    padding: calc(var(--nav-h) + 36px) 0 56px;
    overflow: visible;
  }
  .page-hero .container {
    padding: 0 5%;
  }
  .page-hero-bg::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.25));
  }
  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
  }
  .page-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .page-hero-badges {
    gap: 12px 16px;
  }

  .exchanges-section {
    overflow: hidden;
    width: 100%;
  }
  .exchanges-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;
  }
  .exchanges-label {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4px;
    box-sizing: border-box;
  }
  .exchanges-marquee {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .exchanges-marquee-track,
  .exchanges-marquee .exchanges-grid {
    display: flex !important;
    grid-template-columns: none !important;
    width: max-content;
    max-width: none;
    gap: 0;
    margin: 0;
    animation: mobile-marquee-rtl 26s linear infinite;
    border: none;
  }
  .exchanges-marquee .exchange-item {
    flex: 0 0 42vw;
    width: 42vw;
    min-width: 140px;
    min-height: 72px;
    padding: 16px 18px;
    border: none !important;
    border-right: 1px solid var(--border) !important;
  }
  .partners-logos-grid:not(.partners-marquee-track) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .exchange-item {
    min-width: 0;
    padding: 14px 10px;
    justify-content: center;
  }
  .partner-logo-item {
    min-width: 0;
  }
  .partner-logo-item:nth-child(3n) {
    border-right: 1px solid var(--border);
  }
  .partner-logo-item:nth-child(2n) {
    border-right: none;
  }
  .partner-logo-item:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--border);
  }
  .partner-logo-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .exchange-logo,
  .exchange-logo--wide,
  .exchange-logo--compact {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 32px;
    margin: 0 auto;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-a,
  .bento-b,
  .bento-c,
  .bento-d,
  .bento-e,
  .bento-f {
    grid-column: 1;
  }
  .bento-card {
    padding: 24px;
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .partner-icon {
    width: 140px;
    height: 140px;
  }
  .service-laptop {
    width: 100%;
  }
  .cta-band-title {
    font-size: clamp(32px, 10vw, 48px);
  }
  .service-detail-card {
    min-height: 280px;
    padding: 24px 20px;
    margin: 0;
    cursor: default;
  }
  .service-modal-overlay,
  .service-modal-overlay.active {
    display: none !important;
    pointer-events: none !important;
  }
  .services-detail-grid {
    gap: 12px;
    margin-top: 36px;
  }
  .fab-dock {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .chatbot-button {
    width: 54px;
    height: 54px;
  }
  .chatbot-window {
    right: 12px;
    left: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: auto;
    height: min(68dvh, calc(100dvh - var(--nav-h) - 100px));
    min-height: 280px;
    max-height: calc(100dvh - var(--nav-h) - 96px);
  }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .process-steps { grid-template-columns: 1fr; }
  .page-hero {
    height: auto !important;
    min-height: 92dvh;
  }
}

/* ===== AI CHATBOT ===== */
.chatbot-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
}
.chatbot-button {
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 1px solid rgba(91, 140, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
  position: relative;
  color: #ffffff;
}
.chatbot-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-icon-close {
  display: none;
}
.chatbot-button.is-open .chatbot-icon-chat {
  display: none;
}
.chatbot-button.is-open .chatbot-icon-close {
  display: block;
}
.chatbot-button:hover {
  transform: scale(1.08);
  border-color: var(--green);
  box-shadow: 0 8px 28px var(--green-glow);
}
.chatbot-notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #ff4444;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 3px solid var(--bg-card);
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.chatbot-window {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: min(440px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 180px));
  min-height: 360px;
  max-height: calc(100vh - 180px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
}
.chatbot-window.open {
  display: flex;
}
.chatbot-header {
  background: #141414;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbot-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-operator-icon {
  width: 48px;
  height: 48px;
  background: rgba(91, 140, 255, 0.12);
  border: 1px solid rgba(91, 140, 255, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.chatbot-operator-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}
.chatbot-header-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-hi);
  margin: 0 0 2px 0;
}
.chatbot-header-info p {
  font-size: 13px;
  color: var(--text-mid);
  margin: 0;
}
.chatbot-close {
  background: transparent;
  border: none;
  color: var(--text-lo);
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}
.chatbot-close:hover {
  background: rgba(91, 140, 255, 0.12);
  color: var(--text-hi);
}
.chatbot-messages {
  flex: 1;
  padding: 22px;
  overflow-y: auto;
  background: #0a0a0a;
}
.chatbot-message {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chatbot-message.bot {
  align-items: flex-start;
}
.chatbot-message.user {
  align-items: flex-end;
}
.chatbot-message-content {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.chatbot-message.bot .chatbot-message-content {
  background: #1c1c1c;
  border: 1px solid var(--border);
  color: var(--text-hi);
}
.chatbot-message.bot .chatbot-message-content p {
  margin: 0 0 8px;
}
.chatbot-message.bot .chatbot-message-content p:last-child {
  margin-bottom: 0;
}
/* Stacked short “list-looking” paragraphs — keep them tight */
.chatbot-message.bot .chatbot-message-content p + p {
  margin-top: 0;
  margin-bottom: 6px;
}
.chatbot-message.bot .chatbot-message-content br + br {
  display: none; /* collapse double line-breaks; use real <p>/<ul> instead */
}
.chatbot-message.bot .chatbot-message-content ul,
.chatbot-message.bot .chatbot-message-content ol {
  margin: 6px 0 8px 18px;
  padding: 0;
}
.chatbot-message.bot .chatbot-message-content li {
  margin: 0 0 4px;
  line-height: 1.45;
}
.chatbot-message.bot .chatbot-message-content li:last-child {
  margin-bottom: 0;
}
.chatbot-message.bot .chatbot-message-content strong {
  color: #ffffff;
}
.chatbot-message.bot .chatbot-message-content a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}
.chatbot-message.bot .chatbot-message-content a:hover {
  color: #ffffff;
}
.chatbot-message.user .chatbot-message-content {
  background: var(--green);
  color: white;
}
.chatbot-input-area {
  padding: 16px 20px;
  background: #141414;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-input-wrapper {
  display: none;
}
.chatbot-status {
  display: none;
}
.chatbot-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(91, 140, 255, 0.35);
  border-radius: 24px;
  font-size: 14px;
  font-family: var(--ff-body);
  outline: none;
  background: #0a0a0a;
  transition: var(--transition);
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}
.chatbot-input::placeholder {
  color: var(--text-lo);
}
.chatbot-input:focus {
  border-color: var(--green-dark);
}
.chatbot-send {
  width: 40px;
  height: 40px;
  background: var(--green);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.chatbot-send:hover {
  background: var(--green-dark);
}

@media (max-width: 520px) {
  .chatbot-window {
    right: 12px;
    left: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: auto;
    height: min(68dvh, calc(100dvh - var(--nav-h) - 100px));
    min-height: 280px;
    max-height: calc(100dvh - var(--nav-h) - 96px);
  }
  .chatbot-messages {
    padding: 18px;
  }
  .chatbot-message-content {
    max-width: 92%;
    font-size: 14px;
  }
}
.chatbot-status {
  font-size: 12px;
  color: var(--text-mid);
  text-align: center;
}
.chatbot-typing {
  display: none;
  padding: 0 0 4px;
  margin: -8px 0 8px;
  background: none;
  border: none;
  box-shadow: none;
  width: auto;
  text-align: left;
  box-sizing: border-box;
  align-items: center;
  gap: 5px;
}
.chatbot-typing.active {
  display: flex;
}
.chatbot-typing span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-lo);
  margin: 0;
  animation: typing 1.4s infinite;
}
.chatbot-typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.chatbot-typing span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Chatbot Tabs */
.chatbot-tabs {
  display: flex;
  background: #141414;
  border-top: 1px solid var(--border);
  padding: 8px;
  gap: 4px;
}
.chatbot-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.chatbot-tab svg {
  width: 20px;
  height: 20px;
}
.chatbot-tab.active {
  color: #ffffff;
  background: rgba(91, 140, 255, 0.15);
}
.chatbot-tab:hover {
  background: rgba(255, 255, 255, 0.05);
}
.chatbot-tab.active:hover {
  background: rgba(91, 140, 255, 0.22);
}
.chatbot-tab-badge {
  position: absolute;
  top: 4px;
  right: 20px;
  background: #ff4444;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* Tab Content */
.chatbot-tab-content {
  display: none;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.chatbot-tab-content.active {
  display: flex;
}

/* Home Tab Styles */
.chatbot-home-tab {
  padding: 20px;
  gap: 16px;
}
.chatbot-recent-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  margin: 0 0 12px 0;
}
.chatbot-recent-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #1c1c1c;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: none;
  position: relative;
}
.chatbot-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.chatbot-recent-info {
  flex: 1;
  min-width: 0;
}
.chatbot-recent-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 4px;
}
.chatbot-recent-text {
  font-size: 13px;
  color: var(--text-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chatbot-recent-time {
  font-size: 12px;
  color: var(--text-lo);
  flex-shrink: 0;
}
.chatbot-unread-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4444;
}
.chatbot-quick-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #1c1c1c;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: none;
  cursor: pointer;
  transition: var(--transition);
}
.chatbot-quick-action:hover {
  border-color: rgba(91, 140, 255, 0.35);
  box-shadow: 0 4px 16px rgba(91, 140, 255, 0.12);
  transform: translateY(-2px);
}
.chatbot-action-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 4px;
}
.chatbot-action-subtitle {
  font-size: 12px;
  color: var(--text-mid);
}
.chatbot-action-arrow {
  font-size: 20px;
  color: #ffffff;
}

/* Messages Tab Styles */
.chatbot-messages-tab {
  padding: 0;
}
.chatbot-messages-tab .chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: transparent;
}
.chatbot-messages-tab .chatbot-input-area {
  padding: 16px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== SERVICE CARDS HOVER EFFECT ===== */
.service-detail-card.flip-card {
  background: var(--green-light);
  border: none;
  border-radius: 0;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-detail-card.flip-card h3 {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  text-align: center;
  line-height: 1.2;
  color: white;
  transition: all 0.3s ease;
}

.service-detail-card.flip-card .flip-card-inner {
  display: none;
}

.service-detail-card.flip-card .service-content {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: var(--bg-card);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.service-detail-card.flip-card:hover {
  background: var(--bg-card);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-detail-card.flip-card:hover h3 {
  opacity: 0;
  visibility: hidden;
}

.service-detail-card.flip-card:hover .service-content {
  opacity: 1;
  visibility: visible;
}

.service-detail-card.flip-card .service-content h3 {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: left;
  color: var(--text-hi);
}

.service-detail-card.flip-card .service-content p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-detail-card.flip-card .service-content .service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-detail-card.flip-card .service-content .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
}

.service-detail-card.flip-card .service-content .feature-check {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

/* ===== PRICING CARD BUTTON CENTERING ===== */
.pricing-card {
  text-align: center;
}

.pricing-card .btn {
  display: inline-block;
  margin: 0 auto;
}
/* ===== ENHANCED TEAM CARDS ===== */
.team-card.enhanced {
  background: var(--bg-card);
  border-radius: 0;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.team-card.enhanced:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.team-card-header {
  padding: 32px 32px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  gap: 20px;
}

.team-avatar.premium {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 900;
  color: white;
  box-shadow: 0 8px 25px rgba(91, 140, 255,0.3);
  flex-shrink: 0;
}

.team-info h3 {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: var(--text-hi);
}

.team-info .team-role {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.team-location {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}

.team-description {
  padding: 0 32px 24px;
}

.team-description p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.team-expertise {
  padding: 0 32px 24px;
}

.team-expertise h5 {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.expertise-grid span {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}

.team-card.enhanced .team-tags {
  padding: 24px 32px 32px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.team-tag.premium {
  background: var(--green);
  color: white;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(91, 140, 255,0.2);
}

.team-card.enhanced .team-tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 20px;
  background: #e2e8f0;
  color: #64748b;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  letter-spacing: 0.02em;
}
/* ===== COMPACT TEAM CARDS ===== */
.team-card.compact {
  max-height: 480px;
}

.team-avatar-image {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.team-avatar-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(91, 140, 255,0.3);
}

.team-avatar.backup {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.team-description.compact {
  padding: 0 32px 20px;
}

.team-description.compact p {
  font-size: 14px;
  line-height: 1.6;
}

.team-expertise.compact {
  padding: 0 32px 20px;
}

.team-expertise.compact h5 {
  font-size: 13px;
  margin-bottom: 10px;
}

.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.expertise-list span {
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 500;
}

.team-card.compact .team-tags {
  padding: 20px 32px 28px;
}

.team-card.compact .team-tag {
  font-size: 9px;
  padding: 5px 10px;
}
/* ===== MINIMAL TEAM CARDS ===== */
.team-card.minimal {
  max-height: none;
  min-height: 290px;
}

.team-card.minimal .team-card-header {
  padding: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.team-card.minimal .team-avatar-image {
  width: 182px;
  height: 182px;
}

.team-card.minimal .team-avatar-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 35px rgba(91, 140, 255,0.25);
}

.team-card.minimal .team-avatar-image .team-avatar.premium {
  width: 182px;
  height: 182px;
  font-size: 52px;
}

.team-card.minimal .team-info {
  text-align: center;
}

.team-card.minimal .team-info h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.team-card.minimal .team-info .team-role {
  font-size: 12px;
  margin-bottom: 10px;
}

.team-card.minimal .team-location {
  font-size: 14px;
}

.team-card.minimal .team-description.compact {
  padding-bottom: 32px;
}

/* ===== BENTO ANIMATIONS ===== */

/* Uptime Ring Animation with SVG */
.uptime-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uptime-ring svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.progress-circle {
  stroke-dasharray: 213.628;
  stroke-dashoffset: 213.628; /* Start completely empty */
  transition: none; /* Remove any conflicting transitions */
}

/* Animation that fills the circle clockwise from 0% to 99.9% */
@keyframes circleProgress {
  from {
    stroke-dashoffset: 213.628; /* Completely empty */
  }
  to {
    stroke-dashoffset: 0.214; /* 99.9% filled */
  }
}

.uptime-ring.animate .progress-circle {
  animation: circleProgress 2s ease-out forwards;
}

.uptime-inner {
  position: relative;
  z-index: 10;
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
}

.uptime-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-mono);
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  z-index: 3;
}

/* Mini Bars Animation */
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}

.mini-bar {
  width: 12px;
  background: linear-gradient(to top, var(--green), var(--green-light));
  border-radius: 2px;
  height: 0;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
}

/* Individual bar animations with proper staggered delays */
.mini-bars.animate .mini-bar:nth-child(1) { 
  animation: barGrow 0.8s ease-out 0.0s forwards; 
  --target-height: 40%;
}
.mini-bars.animate .mini-bar:nth-child(2) { 
  animation: barGrow 0.8s ease-out 0.2s forwards; 
  --target-height: 65%;
}
.mini-bars.animate .mini-bar:nth-child(3) { 
  animation: barGrow 0.8s ease-out 0.4s forwards; 
  --target-height: 50%;
}
.mini-bars.animate .mini-bar:nth-child(4) { 
  animation: barGrow 0.8s ease-out 0.6s forwards; 
  --target-height: 80%;
}
.mini-bars.animate .mini-bar:nth-child(5) { 
  animation: barGrow 0.8s ease-out 0.8s forwards; 
  --target-height: 60%;
}
.mini-bars.animate .mini-bar:nth-child(6) { 
  animation: barGrow 0.8s ease-out 1.0s forwards; 
  --target-height: 95%;
}
.mini-bars.animate .mini-bar:nth-child(7) { 
  animation: barGrow 0.8s ease-out 1.2s forwards; 
  --target-height: 75%;
}
.mini-bars.animate .mini-bar:nth-child(8) { 
  animation: barGrow 0.8s ease-out 1.4s forwards; 
  --target-height: 100%;
}

@keyframes barGrow {
  0% { 
    height: 0; 
    opacity: 0; 
    transform: scaleY(0);
  }
  50% { 
    opacity: 1; 
  }
  100% { 
    height: var(--target-height); 
    opacity: 1; 
    transform: scaleY(1);
  }
}
/* ===== LOGO REFLECTION EFFECTS ===== */

/* Navbar Logo Reflection Effect */
.nav-logo {
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.nav-logo:hover::before {
  left: 100%;
}

.nav-logo:hover {
  transform: scale(1.05);
}
/* Footer Logo Container - No Effects */
.footer-logo-container {
  display: inline-flex;
  align-items: center;
}

/* ===== LEGAL MODAL STYLES ===== */

/* Make company links clickable */
.company-link {
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}

.company-link:hover {
  color: #ffffff;
}

/* Modal Overlay */
.legal-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.legal-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal Content */
.legal-modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

/* Modal Header */
.legal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}

.legal-modal-header h2 {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

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

.legal-modal-close:hover {
  background: var(--bg-deep);
  color: var(--text-hi);
  transform: rotate(90deg);
}

/* Modal Body */
.legal-modal-body {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
  position: relative;
}

/* Watermark Logo Background */
.legal-modal-body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background-image: url('bin/logos/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.legal-modal-body > * {
  position: relative;
  z-index: 1;
}

.legal-modal-body h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-modal-body h3:first-child {
  margin-top: 0;
}

.legal-modal-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.legal-modal-body ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-modal-body li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.legal-modal-body strong {
  color: var(--text-hi);
  font-weight: 600;
}

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

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

/* Scrollbar Styling for Modal */
.legal-modal-body::-webkit-scrollbar {
  width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
  background: var(--bg-deep);
  border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
  background: var(--grey-light);
  border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--grey-mid);
}


/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent {
  position: fixed;
  left: auto;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateY(150%);
  background: rgba(16, 16, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 0;
  z-index: 10000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(91, 140, 255, 0.08);
  width: min(560px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-content {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.cookie-consent-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 140, 255, 0.55), transparent);
}

.cookie-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(91, 140, 255, 0.10);
  border: 1px solid rgba(91, 140, 255, 0.22);
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
}

.cookie-icon::before {
  content: "";
  width: 16px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: translateY(3px);
}

.cookie-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 10px;
  border: 2px solid currentColor;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  transform: translateY(-6px);
}

.cookie-text {
  text-align: left;
  min-width: 0;
  overflow-wrap: break-word;
}

.cookie-text h3 {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-hi);
  margin: 0 0 8px 0;
  letter-spacing: 0.01em;
}

.cookie-text p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0;
}

.cookie-text a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cookie-text a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  grid-column: 2;
  margin-top: 2px;
}

.btn-cookie-accept,
.btn-cookie-decline {
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn-cookie-accept {
  background: var(--green);
  color: white;
  min-width: 168px;
  box-shadow: 0 10px 26px rgba(91, 140, 255, 0.24);
}

.btn-cookie-accept:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(91, 140, 255, 0.35);
}

.btn-cookie-decline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-hi);
  border: 1px solid rgba(255, 255, 255, 0.10);
  min-width: 132px;
}

.btn-cookie-decline:hover {
  background: var(--bg-base);
  color: var(--text-hi);
  border-color: var(--border-hi);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
  .cookie-consent {
    left: 12px !important;
    right: 12px !important;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 16px;
  }

  .cookie-consent-content {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    width: 100%;
    max-width: 100%;
  }

  .cookie-icon {
    width: 36px;
    height: 36px;
  }
  
  .cookie-text {
    min-width: 0;
    max-width: 100%;
  }

  .cookie-text h3 {
    font-size: 16px;
  }
  
  .cookie-text p {
    font-size: 12.5px;
    line-height: 1.55;
  }
  
  .cookie-actions {
    grid-column: 1 / -1;
    flex-direction: column;
    min-width: 0;
    width: 100%;
  }
  
  .btn-cookie-accept,
  .btn-cookie-decline {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    white-space: normal !important;
    box-sizing: border-box;
  }
}


/* ===== CONTACT US SIDE BUTTON (desktop) ===== */
.contact-side-button {
  position: fixed;
  right: -52px;
  top: 50%;
  transform: translateY(-50%) rotate(270deg);
  transform-origin: center center;
  z-index: 9998;
  background: var(--green);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 12px 12px 0 0;
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: -4px 0 15px rgba(91, 140, 255, 0.3);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  visibility: visible;
}

.contact-side-button.sliding {
  right: calc(50vw - 210px);
  transform: translateY(-50%) rotate(270deg);
  opacity: 0;
}

.contact-side-button.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.contact-side-button:hover {
  background: var(--green-dark);
  box-shadow: -6px 0 20px rgba(91, 140, 255, 0.5);
  right: -48px;
}

.contact-side-button::before {
  content: '✉';
  margin-right: 8px;
  font-size: 18px;
}

/* Contact FAB — mobile only (created by JS) */
.contact-fab {
  display: none;
}

/* Desktop contact modal = centered overlay */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, backdrop-filter 0.6s ease, background 0.6s ease, visibility 0s linear 0.6s;
  display: flex;
  pointer-events: none;
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.6s ease, backdrop-filter 0.6s ease, background 0.6s ease, visibility 0s linear 0s;
  pointer-events: all;
}

.contact-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  position: relative;
  transform: translateX(100vw);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

.contact-modal.active .contact-modal-content {
  transform: translateX(0);
  opacity: 1;
}

.contact-modal-header {
  background: #141414;
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.contact-modal-header h2 {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 5px 0;
}

.contact-modal-header p {
  font-size: 12px;
  opacity: 0.9;
  margin: 0;
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.contact-modal-body {
  padding: 24px;
}

/* Mobile only: circle FAB left of chat + chatbot-style contact widget */
@media (max-width: 768px) {
  .contact-side-button {
    display: none !important;
  }

  .fab-dock {
    position: fixed;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .fab-dock .chatbot-widget {
    position: static;
    right: auto;
    bottom: auto;
    z-index: auto;
  }

  .contact-fab {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(91, 140, 255, 0.35);
    background: var(--bg-card);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
  }

  .contact-fab:hover {
    transform: scale(1.08);
    border-color: var(--green);
    box-shadow: 0 8px 28px var(--green-glow);
  }

  .contact-fab.is-open {
    border-color: var(--green);
    background: rgba(91, 140, 255, 0.14);
  }

  .contact-fab-icon-close {
    display: none;
  }

  .contact-fab.is-open .contact-fab-icon-mail {
    display: none;
  }

  .contact-fab.is-open .contact-fab-icon-close {
    display: block;
  }

  .fab-dock .chatbot-button {
    width: 54px;
    height: 54px;
  }

  .contact-modal {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: auto;
    height: auto;
    max-height: calc(100dvh - var(--nav-h) - 96px);
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1;
    visibility: visible;
    display: none;
    pointer-events: none;
    overflow: visible;
    transition: none;
  }

  .contact-modal.active {
    display: flex;
    pointer-events: auto;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .contact-modal-content {
    max-width: none;
    width: 100%;
    max-height: calc(100dvh - var(--nav-h) - 96px);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: none !important;
    opacity: 1 !important;
    transition: none;
  }

  .contact-modal.active .contact-modal-content {
    transform: none !important;
    opacity: 1 !important;
  }

  .contact-modal-header {
    padding: 12px 16px;
    border-radius: 0;
    flex-shrink: 0;
  }

  .contact-modal-header h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px 0;
  }

  .contact-modal-header p {
    font-size: 13px;
    color: var(--text-mid);
    opacity: 1;
    padding-right: 36px;
  }

  .contact-modal-close {
    top: 12px;
    right: 12px;
    background: transparent;
    border-radius: 8px;
    color: var(--text-lo);
    font-size: 28px;
  }

  .contact-modal-close:hover {
    background: rgba(91, 140, 255, 0.12);
    color: var(--text-hi);
    transform: none;
  }

  .contact-modal-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    background: #0a0a0a;
  }

  .contact-info-item:hover {
    transform: none;
  }
}


.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-info-item:hover {
  background: #1c1c1c;
  border-color: rgba(91, 140, 255, 0.35);
  transform: none;
  box-shadow: 0 4px 12px rgba(91, 140, 255, 0.15);
}

.contact-info-icon {
  width: 45px;
  height: 45px;
  background: rgba(91, 140, 255, 0.12);
  border: 1px solid rgba(91, 140, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-text {
  flex: 1;
  text-align: left;
}

.contact-info-text h4 {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
  margin: 0 0 3px 0;
}

.contact-info-text p {
  font-size: 13px;
  color: #ffffff;
  margin: 0;
  word-break: break-word;
  font-weight: 500;
}

.contact-modal-cta {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.contact-modal-cta p {
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.contact-modal-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 11px 24px;
  font-size: 13px;
}

/* Responsive Contact Modal */
@media (max-width: 768px) {
  .contact-modal-header {
    padding: 14px 16px;
  }
  
  .contact-modal-body {
    padding: 16px;
  }
  
  .contact-info-item {
    padding: 14px;
  }

  .contact-info-icon {
    width: 40px;
    height: 40px;
  }
}

/* ===== SITE ALERT MODAL ===== */
.site-alert-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.site-alert-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.site-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.site-alert-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-alert-modal.active .site-alert-panel {
  transform: translateY(0) scale(1);
}

.site-alert-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-mid);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.site-alert-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-hi);
}

.site-alert-kicker {
  margin: 0 0 12px;
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1.2;
}

.site-alert-message {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
}

.site-alert-ok {
  min-width: 120px;
  justify-content: center;
}

.site-alert-modal--error .site-alert-kicker {
  color: #ff8a80;
}

.site-alert-modal--error .site-alert-panel {
  border-color: rgba(239, 83, 80, 0.35);
}

@media (max-width: 768px) {
  .site-alert-panel {
    padding: 24px 20px 20px;
  }

  .site-alert-kicker {
    font-size: 20px;
  }

  .site-alert-message {
    font-size: 14px;
  }
}

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

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

/* ===== COPYTRADE SIMULATOR STYLES ===== */
.simulator-container {
  max-width: 1200px;
  margin: 60px auto 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.simulator-tabs {
  display: flex;
  background: transparent;
  border-bottom: 1px solid var(--border);
  gap: 0;
  padding: 0;
}

.simulator-tab {
  flex: 1;
  padding: 20px 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--text-mid);
  cursor: not-allowed;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  opacity: 0.6;
}

.simulator-tab:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: var(--border);
}

.simulator-tab.completed {
  background: transparent;
  cursor: pointer;
  opacity: 1;
}

.simulator-tab.active {
  background: var(--bg-card);
  color: var(--text-hi);
  opacity: 1;
}

.simulator-tab.results-tab {
  background: var(--green);
  color: white;
  cursor: not-allowed;
  opacity: 0.6;
}

.simulator-tab.results-tab.completed {
  cursor: pointer;
  opacity: 1;
}

.simulator-tab.completed:hover:not(.active) {
  background: var(--bg-card);
}

.tab-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.tab-check-icon svg {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.simulator-tab.completed .tab-check-icon {
  background: var(--green);
  border-color: #ffffff;
}

.simulator-tab.completed .tab-check-icon svg {
  opacity: 1;
  stroke: white;
}

.tab-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
}

.tab-value {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: inherit;
}

.tab-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
}

.simulator-tab.active .tab-label {
  color: var(--text-mid);
}

.simulator-tab.results-tab .tab-label {
  color: rgba(255, 255, 255, 0.8);
}

.simulator-tab.results-tab.completed .tab-label {
  color: white;
}

.simulator-content {
  padding: 40px;
  min-height: 500px;
  background: transparent;
}

.simulator-tab-content {
  display: none;
}

.simulator-tab-content.active {
  display: block;
}

/* Amount Tab Styles - New Design */
.amount-selector-new {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 0;
}

.simulation-main-title span {
  color: #ffffff;
}

.simulation-main-title {
  font-family: var(--ff-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--text-hi);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.simulation-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 60px;
  line-height: 1.5;
}

.amount-input-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.amount-control-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-hi);
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amount-control-btn:hover {
  background: var(--bg-card2);
  border-color: var(--border-hi);
}

.amount-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 200px;
  justify-content: center;
}

.amount-display .currency-symbol {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

#simulationAmountDisplay {
  font-family: var(--ff-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--text-hi);
}

.next-btn {
  padding: 16px 48px;
  background: var(--green);
  border: none;
  border-radius: var(--btn-radius);
  color: white;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.next-btn:hover {
  background: #1e8b4f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 140, 255, 0.3);
}

/* Amount Tab Styles - Original Design */
.amount-selector {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.amount-selector h3 {
  font-family: var(--ff-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-hi);
  margin-bottom: 40px;
}

.amount-input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 30px;
  position: relative;
}

.currency-symbol {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-right: 8px;
}

.amount-input {
  font-family: var(--ff-head);
  font-size: 48px;
  font-weight: 900;
  color: var(--text-hi);
  background: transparent;
  border: none;
  outline: none;
  text-align: center;
  width: 300px;
  border-bottom: 2px solid var(--border);
  padding: 10px 0;
}

.amount-input:focus {
  border-bottom-color: #ffffff;
}

.amount-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 20px;
}

.amount-btn {
  padding: 8px 16px;
  background: rgba(91, 140, 255, 0.2);
  border: 1px solid rgba(91, 140, 255, 0.4);
  border-radius: var(--btn-radius);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.amount-btn:hover {
  background: rgba(91, 140, 255, 0.3);
  border-color: #ffffff;
}

.amount-presets {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.preset-btn {
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  color: var(--text-mid);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.preset-btn.active,
.preset-btn:hover {
  background: var(--green);
  border-color: #ffffff;
  color: white;
}

.amount-note {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.6;
}

/* Period Tab Styles - New Design */
.period-selector-new {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 0;
}

.period-dropdown-container {
  margin-bottom: 60px;
}

.period-dropdown {
  width: 300px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-hi);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.period-dropdown:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.1);
}

.period-dropdown:hover {
  background-color: var(--bg-card2);
  border-color: var(--border-hi);
}

/* Period Tab Styles - Original Design */
.period-selector {
  max-width: 700px;
  margin: 0 auto;
}

.period-selector h3 {
  font-family: var(--ff-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-hi);
  margin-bottom: 40px;
  text-align: center;
}

.period-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.period-option {
  position: relative;
}

.period-option input[type="radio"] {
  display: none;
}

.period-option label {
  display: block;
  padding: 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.period-option input[type="radio"]:checked + label,
.period-option.active label {
  background: rgba(91, 140, 255, 0.05);
  border-color: #ffffff;
}

.period-option label:hover {
  background: var(--bg-card2);
  border-color: var(--border-hi);
}

.period-duration {
  display: block;
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 8px;
}

.period-desc {
  font-size: 14px;
  color: var(--text-mid);
}

.period-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 12px;
}

.info-item {
  text-align: center;
}

.info-label {
  display: block;
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.info-value {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

/* Providers Tab Styles - New Carousel Design */
.providers-carousel-container {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.carousel-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.carousel-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav-btn:hover {
  background: var(--bg-card2);
  border-color: var(--border-hi);
  color: var(--text-hi);
}

.carousel-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--green);
  transform: scale(1.2);
}

.providers-carousel {
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 40px;
}

.providers-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 400%; /* 4 slides */
}

.providers-slide {
  width: 25%; /* 1/4 of track width */
  display: flex;
  gap: 16px;
  padding: 0 10px;
  box-sizing: border-box;
}

.provider-card-new {
  flex: 1;
  background: transparent;
  border-radius: 0;
  padding: 24px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.provider-card-new:hover {
  background: var(--bg-card);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.provider-header-new h4 {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-hi);
  margin: 0;
}

.provider-performance {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(91, 140, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.provider-chart-new {
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.performance-chart-svg {
  width: 100%;
  height: 100%;
}

.provider-amount-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
}

.amount-btn-small {
  width: 32px;
  height: 32px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border);
  background: var(--bg-card2);
  color: var(--text-hi);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amount-btn-small:hover {
  background: rgba(91, 140, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.amount-display-small {
  min-width: 80px;
  text-align: center;
}

.amount-value {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
}

.allocation-summary-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.summary-label {
  font-size: 14px;
  color: var(--text-mid);
  margin-right: 8px;
}

.summary-amount {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-hi);
}

.total-allocated .summary-amount {
  color: #ffffff;
}

.remaining-balance .summary-amount {
  color: var(--text-mid);
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
  .providers-slide {
    flex-direction: column;
    gap: 16px;
  }
  
  .provider-card-new {
    min-height: 240px;
  }
  
  .allocation-summary-new {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Providers Tab Styles - Original Design */
.providers-selector h3 {
  font-family: var(--ff-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-hi);
  margin-bottom: 40px;
  text-align: center;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.provider-card {
  background: var(--bg-card);
  border-radius: 0;
  padding: 24px;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.provider-card.active {
  background: rgba(91, 140, 255, 0.05);
  opacity: 1;
}

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

.provider-header h4 {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-hi);
  margin: 0;
}

.provider-toggle {
  position: relative;
}

.provider-toggle input[type="checkbox"] {
  display: none;
}

.provider-toggle label {
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  display: block;
  transition: all 0.3s ease;
}

.provider-toggle label::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--bg-card);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.provider-toggle input[type="checkbox"]:checked + label {
  background: var(--green);
}

.provider-toggle input[type="checkbox"]:checked + label::after {
  transform: translateX(20px);
}

.provider-chart {
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-chart {
  width: 100%;
  height: 100%;
}

.provider-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stat {
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-value {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.allocation-slider {
  margin-top: 16px;
}

.allocation-slider label {
  display: block;
  font-size: 12px;
  color: var(--text-hi);
  margin-bottom: 8px;
  font-weight: 600;
}

.slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.allocation-summary {
  text-align: center;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 12px;
}

.total-allocation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: var(--text-hi);
}

.allocation-warning {
  color: #ff6b6b;
  font-weight: 600;
}

/* Results Tab Styles - New Design */
.results-dashboard-new {
  padding: 20px 0;
}

.results-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  justify-content: center;
}

.results-tab-btn {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.results-tab-btn.active {
  background: var(--green);
  border-color: #ffffff;
  color: white;
}

.results-tab-btn:hover:not(.active) {
  border-color: var(--border-hi);
  color: var(--text-hi);
}

.results-metrics-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.metric-box .metric-value {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 8px;
}

.metric-box .metric-value.positive {
  color: #ffffff;
}

.metric-box .metric-label {
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 500;
}

.results-insights {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
}

.results-insights h3 {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.insight-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.insight-icon {
  color: #ffffff;
  font-size: 8px;
}

.insight-text {
  flex: 1;
  font-size: 14px;
  color: var(--text-hi);
  line-height: 1.6;
}

.insight-link {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.insight-link:hover {
  text-decoration: underline;
}

.results-charts-section {
  margin-bottom: 30px;
}

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

.charts-header h3 {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: 0.5px;
}

.provider-filter,
.symbols-filter {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-hi);
  cursor: pointer;
  outline: none;
}

.charts-grid-top,
.charts-grid-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* More Stats Section */
.more-stats-section {
  margin-top: 30px;
  margin-bottom: 30px;
}

.more-stats-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.more-stats-toggle:hover .more-stats-title {
  color: #ffffff;
}

.more-stats-title {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-hi);
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.more-stats-arrow {
  color: #ffffff;
  transition: transform 0.3s ease;
}

.more-stats-toggle.open .more-stats-arrow {
  transform: rotate(180deg);
}

.more-stats-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.more-stats-content.open {
  max-height: 2000px;
  margin-top: 24px;
}

.provider-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.provider-stat-card {
  background: transparent;
  border-radius: 0;
  padding: 24px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.provider-stat-card:hover {
  background: var(--bg-card);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.provider-stat-name {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-hi);
}

.provider-stat-tabs {
  display: flex;
  gap: 8px;
}

.provider-stat-tab {
  padding: 6px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.3s ease;
}

.provider-stat-tab.active {
  background: var(--green);
  border-color: #ffffff;
  color: white;
}

.provider-stat-tab:hover:not(.active) {
  border-color: var(--border-hi);
  color: var(--text-hi);
}

.provider-tab-content {
  display: none;
}

.provider-tab-content.active {
  display: block;
}

.stats-content .provider-stat-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 20px;
}

.chart-content {
  margin-top: 20px;
}

.provider-chart-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.provider-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-title-text {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
}

.provider-profit-chart {
  position: relative;
  background: var(--bg-card2);
  border-radius: 12px;
  padding: 20px;
}

.provider-profit-value {
  position: absolute;
  top: 30px;
  left: 30px;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: #5b9cff;
  background: var(--bg-card);
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.provider-chart-svg {
  width: 100%;
  height: 150px;
}

.provider-chart-timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 20px;
}

.provider-chart-timeline span {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 500;
}

.provider-description {
  background: var(--bg-card2);
  border-radius: 12px;
  padding: 20px;
}

.provider-description h4 {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 12px;
}

.provider-description p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}

.read-more-link {
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.read-more-link:hover {
  text-decoration: underline;
}

.provider-stat-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-row-label {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}

.stat-row-value {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
}

.stat-row-value.positive {
  color: #ffffff;
}

.stat-row-value.negative {
  color: #ff6b6b;
}

/* Responsive Design for More Stats */
@media (max-width: 1024px) {
  .provider-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .provider-stat-body {
    grid-template-columns: 1fr;
  }
}

.chart-box {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: background 0.3s ease;
}
.chart-box:hover {
  background: var(--bg-card);
}

.chart-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
}

.chart-info-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.chart-info-btn:hover {
  opacity: 0.7;
}

.chart-toggle-group {
  margin-left: auto;
  display: flex;
  gap: 4px;
  background: var(--bg-card2);
  padding: 2px;
  border-radius: var(--btn-radius);
}

.chart-toggle-btn {
  padding: 4px 12px;
  background: transparent;
  border: none;
  border-radius: var(--btn-radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.3s ease;
}

.chart-toggle-btn.active {
  background: var(--green);
  color: white;
}

.chart-toggle-btn:hover:not(.active) {
  color: var(--text-hi);
}

.chart-percentage {
  margin-left: auto;
  color: #ffffff;
  font-size: 13px;
}

.profit-chart-container {
  position: relative;
  height: 250px;
  padding-left: 50px;
}

.profit-value-label {
  position: absolute;
  top: 20px;
  left: 60px;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: #5b9cff;
  background: var(--bg-card);
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Chart Axes */
.chart-y-axis {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 30px;
  width: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0;
}

.chart-y-axis .y-label {
  font-size: 10px;
  color: var(--text-mid);
  text-align: right;
  padding-right: 8px;
}

.chart-x-axis {
  position: absolute;
  bottom: 0;
  left: 50px;
  right: 0;
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.chart-x-axis .x-label {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 500;
}

.profit-chart-svg {
  width: 100%;
  height: calc(100% - 30px);
}

/* Monthly P/L Chart */
.monthly-pl-chart-container {
  position: relative;
  height: 250px;
  padding-left: 50px;
}

.monthly-y-axis {
  bottom: 50px;
}

.monthly-bars-wrapper {
  position: absolute;
  left: 50px;
  right: 0;
  top: 10px;
  bottom: 50px;
}

.monthly-bars-container {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 100%;
  padding: 0 10px;
}

.monthly-bar-item {
  flex: 1;
  background: #5b9cff;
  border-radius: 4px 4px 0 0;
  min-height: 10px;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.monthly-bar-item.negative {
  background: #ff6b6b;
}

.monthly-bar-item:hover {
  opacity: 0.8;
}

.monthly-bar-item:hover::after {
  content: attr(data-value);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  margin-bottom: 4px;
}

.monthly-x-axis {
  bottom: 0;
  height: 50px;
  padding-top: 10px;
}

.symbols-chart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

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

.symbol-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.symbol-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.symbol-name {
  font-weight: 600;
  color: var(--text-hi);
}

.symbol-percentage {
  margin-left: auto;
  color: var(--text-mid);
}

.symbols-pie {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pie-chart-svg {
  width: 160px;
  height: 160px;
}

.symbols-pl-chart {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.symbol-pl-bar {
  flex: 1;
  max-width: 120px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.symbol-pl-label {
  position: absolute;
  bottom: -25px;
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 600;
}

.symbol-pl-value {
  position: absolute;
  top: -25px;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
}

.symbol-pl-bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
}

.results-actions-new {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

/* Responsive Design for Results */
@media (max-width: 1024px) {
  .results-metrics-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .charts-grid-top,
  .charts-grid-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .results-metrics-bar {
    grid-template-columns: 1fr;
  }
  
  .symbols-chart {
    grid-template-columns: 1fr;
  }
}

/* Results Tab Styles - Original Design */
.results-dashboard h3 {
  font-family: var(--ff-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-hi);
  margin-bottom: 30px;
  text-align: center;
}

.results-header {
  margin-bottom: 40px;
}

.results-summary {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.summary-item {
  text-align: center;
}

.summary-label {
  display: block;
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.summary-value {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--text-hi);
}

.summary-value.positive {
  color: #ffffff;
}

.results-charts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.chart-container h4 {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 16px;
}

.performance-chart {
  height: 200px;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
}

.results-chart {
  width: 100%;
  height: 100%;
}

.monthly-chart {
  height: 200px;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: end;
}

.month-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  width: 100%;
  height: 100%;
}

.month-bar {
  flex: 1;
  background: var(--green);
  border-radius: 4px 4px 0 0;
  min-height: 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.month-bar.negative {
  background: #ff6b6b;
}

.month-bar:hover {
  opacity: 0.8;
}

.results-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.detail-section h4 {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 16px;
}

.strategy-results,
.risk-metrics {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
}

.strategy-result,
.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.strategy-result:last-child,
.metric-item:last-child {
  border-bottom: none;
}

.strategy-name,
.metric-label {
  font-size: 14px;
  color: var(--text-mid);
}

.strategy-return,
.metric-value {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.results-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Navigation Styles */
.simulator-navigation {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
}

.nav-btn {
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-hi);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
  background: rgba(91, 140, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-btn.next {
  background: var(--green);
  border-color: #ffffff;
  color: white;
}

.nav-btn.next:hover {
  background: #1e8b4f;
}

/* Responsive Design */
@media (max-width: 768px) {
  .providers-grid {
    grid-template-columns: 1fr;
  }
  
  .results-charts {
    grid-template-columns: 1fr;
  }
  
  .results-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .simulator-container {
    margin: 40px 20px 0;
  }
  
  .simulator-content {
    padding: 20px;
  }
  
  .simulator-tabs {
    flex-direction: column;
  }
  
  .simulator-tab:not(:last-child)::after {
    display: none;
  }
  
  .amount-input-group {
    flex-direction: column;
    gap: 20px;
  }
  
  .amount-controls {
    flex-direction: row;
    margin-left: 0;
  }
  
  .period-options {
    grid-template-columns: 1fr;
  }
  
  .results-summary {
    flex-direction: column;
    gap: 20px;
  }
  
  .simulator-navigation {
    padding: 20px;
  }
}


/* ===== NEW PROVIDER CARD DESIGN ELEMENTS ===== */
.provider-selection-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.selection-text {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  color: #999;
  transition: color 0.3s ease;
}

.selection-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  transition: background 0.3s ease;
}

.provider-metrics-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.metric-item-small {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value-green {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.metric-value-gray {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: #999;
}

.metric-label-small {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.provider-amount-input {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-mid);
  text-align: center;
}

.amount-input-field {
  flex: 1;
  min-width: 100px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card2);
  color: var(--text-hi);
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 0 8px;
  transition: all 0.3s ease;
}

.amount-input-field:focus {
  outline: none;
  border-color: #ffffff;
  background: var(--bg-card);
}

.amount-input-field:hover {
  border-color: var(--border-hi);
}


/* ===== TAB NAVIGATION - FORWARD WITH NEXT, BACKWARD WITH CLICK ===== */
.simulator-tab {
  cursor: pointer;
  opacity: 1;
  transition: all 0.3s ease;
}

/* Completed tabs are always clickable */
.simulator-tab.completed {
  cursor: pointer;
  opacity: 1;
}

/* Active tab */
.simulator-tab.active {
  cursor: default;
  opacity: 1;
}

/* Results tab when accessible */
.simulator-tab.results-tab {
  cursor: pointer;
}

/* Future tabs (not yet visited) have reduced opacity */
.simulator-tab:not(.completed):not(.active) {
  opacity: 0.6;
}


/* ===== NEXT BUTTON VALIDATION FEEDBACK ===== */
.next-btn {
  position: relative;
  transition: all 0.3s ease;
}

.next-btn.validation-failed {
  animation: shake 0.5s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ===== CAREERS PAGE ===== */
.careers-jobs-section {
  padding: 100px 0;
}

.careers-jobs-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 48px auto 40px;
  max-width: 900px;
  padding: 20px 24px;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(8, 11, 20, 0.35);
}

.careers-jobs-meta-item {
  flex: 1 1 120px;
  text-align: center;
  padding: 8px 16px;
}

.careers-jobs-meta-item strong {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1.1;
  margin-bottom: 4px;
}

.careers-jobs-meta-item span {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lo);
}

.careers-jobs-meta-divider {
  width: 1px;
  height: 36px;
  background: var(--border-hi);
  flex-shrink: 0;
}

.careers-jobs-board {
  border: 1px solid var(--border-hi);
  border-radius: 0;
  overflow: hidden;
  background: rgba(8, 11, 20, 0.35);
}

.careers-jobs-board-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr 32px;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-lo);
}

.careers-job-item {
  border-bottom: 1px solid var(--border);
}

.careers-job-item:last-child {
  border-bottom: none;
}

.careers-job-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr 32px;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}

.careers-job-row::-webkit-details-marker {
  display: none;
}

.careers-job-row:hover {
  background: rgba(59, 73, 223, 0.06);
}

.careers-job-item[open] .careers-job-row {
  background: rgba(59, 73, 223, 0.1);
  border-bottom: 1px solid var(--border);
}

.careers-job-role h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-hi);
  margin: 0 0 4px;
  line-height: 1.2;
}

.careers-job-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.careers-job-title-row h3 {
  margin: 0;
}

.careers-job-urgent {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ef5350;
  flex-shrink: 0;
}

.careers-job-role p {
  margin: 0;
  font-size: 13px;
  color: var(--text-lo);
  line-height: 1.45;
}

.careers-job-team,
.careers-job-loc,
.careers-job-type {
  font-size: 14px;
  color: var(--text-mid);
}

.careers-job-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-lo);
  border-bottom: 2px solid var(--text-lo);
  transform: rotate(45deg);
  margin: 0 auto;
  transition: transform var(--transition), border-color var(--transition);
}

.careers-job-item[open] .careers-job-chevron {
  transform: rotate(-135deg);
  border-color: var(--green-light);
  margin-top: 6px;
}

.careers-job-detail {
  padding: 0 24px 28px;
  background: rgba(0, 0, 0, 0.25);
}

.careers-job-detail-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: stretch;
}

.careers-job-detail-content {
  padding-top: 8px;
  max-width: 820px;
}

.careers-job-posting-card {
  align-self: end;
  margin-top: 8px;
  padding: 22px;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  position: sticky;
  top: 96px;
  transition: var(--transition);
  overflow: hidden;
}

.careers-job-posting-card::before {
  content: none;
}

.careers-job-posting-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card);
  box-shadow: none;
}

.careers-job-posting-eyebrow {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-light);
  margin: 0 0 10px;
}

.careers-job-posting-card h4 {
  font-family: var(--ff-head);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-hi);
  margin: 0 0 12px;
}

.careers-job-posting-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0 0 18px;
}

.careers-job-posting-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.careers-posting-btn {
  width: 100%;
  justify-content: center;
  border-radius: 0;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.careers-posting-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  display: block;
}

.careers-posting-btn span {
  line-height: 1;
}

.careers-job-apply-row {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

.careers-job-apply-row .careers-apply-btn {
  border-radius: 0;
}

.careers-apply-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.careers-apply-panel {
  max-width: 640px;
  margin: 48px auto 0;
  padding: 36px 40px;
  border: 1px solid var(--border-hi);
  background: rgba(8, 11, 20, 0.45);
  border-radius: var(--radius-lg);
}

.careers-apply-form .form-group label {
  display: block;
}

.careers-required {
  color: #e85d6a;
}

.careers-apply-form #careerJobApplied {
  background: rgba(0, 0, 0, 0.35);
  color: var(--green-light);
  cursor: default;
}

.careers-cv-dropzone {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px dashed var(--border-hi);
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  border-radius: 0;
  transition: border-color var(--transition), background var(--transition);
}

.careers-cv-dropzone:hover,
.careers-cv-dropzone.has-file {
  border-color: rgba(91, 140, 255, 0.45);
  background: rgba(59, 73, 223, 0.08);
}

.careers-cv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-hi);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-mid);
  flex-shrink: 0;
}

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

.careers-cv-text strong {
  font-size: 15px;
  color: var(--text-hi);
  font-weight: 600;
}

.careers-cv-text span {
  font-size: 12px;
  color: var(--text-lo);
}

.careers-apply-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 0;
}

.careers-apply-success {
  max-width: 480px;
  margin: 48px auto 0;
  text-align: center;
}

.careers-job-detail-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin: 20px 0 10px;
}

.careers-job-detail-label:first-child {
  margin-top: 0;
}

.careers-job-detail-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0;
}

.careers-employment-notice {
  margin-top: 48px;
  padding: 0;
}

.careers-employment-notice p {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mid);
}

.careers-process-note {
  margin-top: 48px;
  padding: 24px 28px;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.careers-process-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
}

.careers-process-note strong {
  color: var(--text-hi);
}

@media (max-width: 1024px) {
  .process-steps--hire {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
  }
  .process-steps--hire::before {
    display: block;
    left: 8%;
    right: 8%;
  }
  .careers-jobs-board-head {
    display: none;
  }
  .careers-job-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 12px;
    padding: 20px 18px;
  }
  .careers-job-role {
    flex: 1 1 calc(100% - 36px);
    min-width: 0;
  }
  .careers-job-chevron {
    flex-shrink: 0;
    margin-top: 6px;
  }
  .careers-job-team,
  .careers-job-loc,
  .careers-job-type {
    font-family: var(--ff-mono);
    font-size: 11px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--text-lo);
  }
  .careers-jobs-meta-divider {
    display: none;
  }
  .careers-jobs-meta {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .process-steps--hire {
    grid-template-columns: 1fr;
  }
  .process-steps--hire::before {
    display: none;
  }
  .careers-job-row {
    padding: 18px 16px;
  }
  .careers-job-detail {
    padding: 0 16px 24px;
  }
  .careers-job-detail-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .careers-job-posting-card {
    position: static;
    align-self: stretch;
    margin-top: 6px;
    padding: 18px 0 4px;
  }
  .careers-job-posting-card:hover {
    transform: none;
    background: transparent;
  }
  .careers-job-posting-card h4 {
    font-size: 20px;
  }
  .careers-apply-section {
    padding: 64px 0;
  }
  .careers-apply-panel {
    padding: 24px 16px;
    margin-top: 28px;
  }
  .careers-employment-notice {
    margin-top: 32px;
    padding: 0 8px;
  }
}

/* ===== MOBILE EXPERIENCE PASS ===== */
@keyframes mobile-marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  /* Always-visible solid navbar */
  .navbar {
    background: rgba(8, 10, 14, 0.94) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10050;
  }
  .nav-inner {
    padding: 0 16px;
  }
  .nav-hamburger {
    display: flex !important;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
  }
  .nav-hamburger span {
    width: 18px;
  }

  .mobile-menu {
    top: var(--nav-h);
    z-index: 10040;
    background: rgba(10, 12, 16, 0.98);
    padding: 20px 18px 28px;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    gap: 0;
  }
  body.mobile-nav-open {
    overflow: hidden;
  }
  .mobile-menu-group {
    margin-bottom: 18px;
  }
  .mobile-menu-label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-lo);
    padding: 4px 12px 10px;
  }
  .mobile-menu a {
    display: block;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 16px;
    color: var(--text-hi);
  }
  .mobile-menu a:last-child {
    border-bottom: none;
  }
  .mobile-menu-cta {
    margin-top: 16px;
    display: block;
    text-align: center;
    background: var(--green);
    color: #fff !important;
    border-radius: 999px;
    border: none !important;
    font-weight: 700;
  }

  /* Kill horizontal overflow — page stays locked to phone width */
  html, body {
    overflow-x: clip !important;
    max-width: 100%;
  }
  .container,
  .container--wide,
  .hero-content,
  .exchanges-container,
  .services-showcase,
  .service-feature,
  .service-content,
  .service-visual,
  .bento-section,
  .partners-logos-section,
  .discover-section,
  .cta-band,
  .page-hero .container {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Contact Us circle FAB is handled in its own mobile contact styles */
  .contact-side-button {
    display: none !important;
  }

  /* Copytrade Simulator (products) — too heavy for mobile */
  #dupetradeSimulator {
    display: none !important;
  }

  /* Home Try Now / simulator promo — hide on mobile */
  .simulator-section:not(#dupetradeSimulator) {
    display: none !important;
  }

  /* Services: no sideways entrance transform (was shifting content off-screen) */
  .service-feature,
  .service-feature:nth-child(even) {
    opacity: 1;
    transform: none;
    direction: ltr;
    justify-items: center;
    text-align: center;
  }
  .service-feature.in-view,
  .service-feature:nth-child(even).in-view {
    transform: none;
  }
  .services-showcase {
    overflow: hidden;
    width: 100%;
  }
  .service-content {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  .service-content h3 {
    font-size: clamp(28px, 8vw, 36px);
    word-break: break-word;
    text-align: center;
  }
  .service-content p {
    font-size: 14px;
    padding-right: 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .service-content .service-btn {
    margin-left: auto;
    margin-right: auto;
  }
  /* Services: keep mockups, center them */
  .service-feature {
    padding: 28px 0;
  }
  .service-visual {
    display: flex;
    justify-content: center;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
  }
  .service-phone {
    width: min(220px, 58vw);
    margin: 0 auto;
  }
  .service-laptop {
    width: min(100%, 340px);
    margin: 0 auto;
  }
  .service-tablet {
    margin: 0 auto;
  }
  .notification-badge {
    display: none !important;
  }

  /* Discover: hide decorative image on mobile */
  .discover-visual,
  .discover-badge {
    display: none !important;
  }
  .discover-section {
    padding: 56px 0 48px;
  }
  .discover-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .discover-content h2,
  .discover-content p {
    text-align: center;
  }
  .discover-cta {
    display: flex;
    justify-content: center;
  }
  .discover-cards {
    justify-content: center;
  }

  /* Why BlockRouteLabs header — center on mobile */
  .bento-section .container > div:first-child {
    text-align: center;
  }
  .bento-section .container > div:first-child .tag {
    justify-content: center;
  }
  .bento-section .container > div:first-child .section-title,
  .bento-section .container > div:first-child .section-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Why BlockRouteLabs — continuous water marquee */
  .bento-section {
    padding: 72px 0 80px;
    overflow-x: clip;
    overflow-y: visible;
  }
  .bento-section .container {
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
    overflow-y: visible;
  }
  .bento-section .container > div:first-child {
    padding: 0 18px;
    margin-bottom: 28px;
  }
  .bento-marquee {
    overflow: visible;
    width: 100%;
    max-width: 100vw;
    padding: 6px 0 18px;
    box-sizing: border-box;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .bento-section .bento-grid,
  .bento-marquee-track {
    display: flex !important;
    grid-template-columns: none !important;
    width: max-content;
    max-width: none;
    gap: 14px;
    padding: 0 18px 4px;
    background: transparent;
    animation: mobile-marquee-rtl 42s linear infinite;
    will-change: transform;
    align-items: stretch;
  }
  .bento-section .bento-card,
  .bento-marquee-track .bento-card {
    flex: 0 0 min(78vw, 300px);
    width: min(78vw, 300px);
    max-width: min(78vw, 300px);
    min-height: 300px;
    height: auto;
    grid-column: auto !important;
    grid-row: auto !important;
    padding: 24px 22px 28px;
    box-sizing: border-box;
    overflow: visible !important;
    border: 1px solid var(--border) !important;
    background: transparent !important;
  }
  .bento-a-visual {
    display: none;
  }
  .bento-marquee:hover .bento-marquee-track,
  .bento-section .bento-grid:hover {
    animation-play-state: paused;
  }

  .process-section,
  #hiring-process {
    overflow: visible;
    width: 100%;
    max-width: 100%;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .process-section .container,
  #hiring-process .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
  }

  /* Process / Careers — SAME spot; sticky shell stays put; face goes into the BACK */
  .process-section .process-steps,
  .process-steps--hire {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0;
    padding: 0 16px 20vh;
    margin: 28px auto 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: none !important;
    background: transparent !important;
    height: auto !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    position: relative;
  }
  .process-section .process-steps::before,
  .process-steps--hire::before {
    display: none !important;
  }
  .process-section .step,
  .process-steps--hire .step {
    /* sticky shell — NEVER transform this node (transform kills sticky) */
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    display: block;
    min-height: calc(100dvh - var(--nav-h) - 72px);
    height: calc(100dvh - var(--nav-h) - 72px);
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    background: #000000 !important;
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    scroll-snap-align: none !important;
    overflow: hidden;
  }
  .process-section .step .step-stack-face,
  .process-steps--hire .step .step-stack-face {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 32px 18px;
    box-sizing: border-box;
    transform-origin: center center;
    will-change: transform, opacity;
    backface-visibility: hidden;
  }
  .process-section .step .step-num,
  .process-steps--hire .step .step-num {
    margin: 0 auto 14px;
    flex-shrink: 0;
  }
  .process-section .step .step-title,
  .process-steps--hire .step .step-title {
    text-align: center;
    width: 100%;
    font-size: clamp(20px, 5.5vw, 26px);
  }
  .process-section .step .step-desc,
  .process-steps--hire .step .step-desc {
    text-align: center;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.55;
  }
  .process-section .step:last-child,
  .process-steps--hire .step:last-child {
    margin-bottom: 10vh;
  }

  /* Security — original style (grey → colorful), sized to fit phone */
  .security-stack-section {
    overflow: hidden;
    padding: 56px 0 !important;
  }
  .security-stack-section .container {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .security-stack-section .tag {
    justify-content: flex-start;
  }
  .security-stack-section .section-title {
    text-align: left;
  }
  .security-grid.depth-stack {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: none !important;
    gap: 16px;
    padding: 0;
    margin: 28px 0 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: none;
    background: transparent;
    height: auto !important;
    overflow: hidden !important;
    position: relative;
  }
  .security-grid.depth-stack .depth-card,
  .security-grid.depth-stack .security-card {
    position: relative !important;
    top: auto !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    aspect-ratio: 16 / 9;
    padding: 0;
    box-sizing: border-box;
    border: none !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: var(--bg-card);
    box-shadow: none !important;
    overflow: hidden;
    cursor: pointer;
    /* same as pricing .model-card: grey → colorful on hover */
    filter: grayscale(100%);
    transform: none;
    transition: filter 0.4s ease, transform 0.4s ease;
  }
  .security-grid.depth-stack .security-card:hover,
  .security-grid.depth-stack .security-card.is-color {
    filter: grayscale(0%);
    transform: translateY(-4px);
  }
  .security-grid.depth-stack .depth-card:last-child {
    margin-bottom: 0 !important;
  }
  .process-snap-hint {
    display: none !important;
  }

  /* Partners — continuous water marquee */
  .partners-logos-section {
    padding: 40px 0;
    overflow: hidden;
  }
  .partners-marquee {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .partners-logos-grid,
  .partners-marquee-track {
    display: flex !important;
    grid-template-columns: none !important;
    width: max-content;
    gap: 0;
    animation: mobile-marquee-rtl 28s linear infinite;
    border: none;
    max-width: none;
  }
  .partners-logos-grid .partner-logo-item,
  .partners-marquee-track .partner-logo-item {
    flex: 0 0 42vw;
    width: 42vw;
    min-width: 140px;
    aspect-ratio: 1.4 / 1;
    border: none;
    border-right: 1px solid var(--border);
    padding: 18px;
  }

  /* CTA stays clean without stream bleed */
  .cta-band {
    isolation: isolate;
    background: #05070a;
  }
  .cta-band-inner {
    position: relative;
    z-index: 2;
  }

  /* Stats / section breathing room */
  .stats-section,
  .services-section,
  .testimonials-section,
  .partner-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .stat-number {
    font-size: clamp(40px, 14vw, 64px);
  }
}

@media (min-width: 769px) {
  .process-snap-hint {
    display: none;
  }
  .process-section .step,
  .process-steps--hire .step {
    opacity: 1;
    transform: none !important;
    filter: none;
    position: relative;
    top: auto;
    min-height: 0;
    height: auto;
    margin: 0;
    border: none !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .security-grid.depth-stack .depth-card {
    position: relative;
    top: auto;
    height: auto;
    min-height: 300px;
    margin: 0;
    transform: none !important;
    opacity: 1 !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none;
    filter: grayscale(100%);
  }
  .security-grid.depth-stack .depth-card:hover {
    filter: grayscale(0%);
  }
}

/* ===== Simulation History Table ===== */
.sim-history-view {
  margin-top: 8px;
}

.sim-history-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.sim-history-title {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-high, #fff);
  margin: 0;
}

.sim-history-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: var(--bg-card, #0d0f14);
  -webkit-overflow-scrolling: touch;
}

.sim-history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  font-size: 13px;
}

.sim-history-table thead th {
  text-align: left;
  padding: 14px 16px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.sim-history-table tbody td {
  padding: 13px 16px;
  color: var(--text-high, #e8ecf3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

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

.sim-history-table tbody tr:hover td {
  background: rgba(91, 156, 255, 0.06);
}

.sim-history-table .sim-num {
  color: var(--text-mid);
  font-variant-numeric: tabular-nums;
}

.sim-history-table .sim-strats {
  font-weight: 600;
  white-space: normal;
  min-width: 150px;
}

.sim-history-table .sim-history-empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--text-mid);
  font-weight: 500;
}

.sim-history-table .sim-pos { color: #34d399; font-weight: 700; }
.sim-history-table .sim-neg { color: #ff6b6b; font-weight: 700; }

.sim-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sim-badge-win {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.sim-badge-loss {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.3);
}

@media (max-width: 768px) {
  .sim-history-head { align-items: flex-start; }
  .sim-history-table { font-size: 12px; }
  .sim-history-table thead th,
  .sim-history-table tbody td { padding: 11px 12px; }
}
