/* ==========================================================================
   THE MONEY OCEAN - PUBLIC LANDING PAGE STYLESHEET
   Ultra-High Performance, SEO & GEO Optimized, Modern Glassmorphic Dark UI
   ========================================================================== */

:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Color Palette */
  --bg-darkest: #030712;
  --bg-main: #060b14;
  --bg-card: rgba(13, 20, 36, 0.75);
  --bg-card-hover: rgba(20, 30, 52, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.35);
  --border-green: rgba(0, 230, 118, 0.35);

  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.4);
  --accent-emerald: #00e676;
  --accent-emerald-glow: rgba(0, 230, 118, 0.35);
  --accent-purple: #8b5cf6;
  --accent-amber: #ffb300;
  --accent-rose: #ff3366;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-highlight: #38bdf8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-cyan: 0 10px 30px -10px rgba(0, 0, 0, 0.75), 0 0 14px rgba(0, 229, 255, 0.08);
  --shadow-emerald: 0 10px 30px -10px rgba(0, 0, 0, 0.75), 0 0 14px rgba(0, 230, 118, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-main);
  font-family: var(--font-primary);
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 229, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 40%, rgba(139, 92, 246, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(0, 230, 118, 0.06), transparent 60%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  background: rgba(6, 11, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #ffffff;
  padding: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.25), 0 0 18px rgba(0, 229, 255, 0.35);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-wrapper:hover .brand-logo-badge {
  transform: scale(1.04);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35), 0 0 24px rgba(0, 229, 255, 0.5);
}

.brand-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00e5ff 0%, #0077ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  fill: #030712;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Stylized Brand Typography matching Photo 1 */
.tmo-brand-text {
  font-family: var(--font-heading, 'Outfit', 'Inter', sans-serif);
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  line-height: 1;
}

.tmo-the {
  color: #ffffff;
  font-weight: 800;
}

.tmo-money {
  color: #00e5ff; /* Cyan / Money */
  font-weight: 800;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}

.tmo-ocean {
  color: #38bdf8; /* Ocean Blue */
  background: linear-gradient(135deg, #00e5ff 0%, #38bdf8 55%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.brand-pro-pill {
  font-size: 9.5px;
  padding: 2px 6px;
  font-weight: 800;
  border-radius: 4px;
  margin-left: 6px;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.5);
  color: #00e5ff;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.brand-subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  list-style: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
  display: inline-block;
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  font-family: var(--font-primary);
  white-space: nowrap;
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, #00e5ff 0%, #0099ff 100%);
  color: #030712;
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.3);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.5);
  background: linear-gradient(135deg, #33ebff 0%, #1aabff 100%);
}

.btn-emerald {
  background: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
  color: #030712;
  box-shadow: 0 4px 18px rgba(0, 230, 118, 0.3);
  font-weight: 700;
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.5);
}

.btn-outline-cyan {
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
}

.btn-outline-cyan:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 135px;
  padding-bottom: 70px;
  position: relative;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 45%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* GEO Core Definition Quote Block */
.geo-definition-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(6, 11, 20, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 0 auto 32px auto;
  max-width: 880px;
  box-shadow: var(--shadow-cyan);
  position: relative;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
}

.geo-tag {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.geo-quote-text {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 400;
  line-height: 1.6;
}

.geo-quote-text strong {
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.stat-value span {
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ==========================================================================
   DUAL-MODE ARCHITECTURE
   ========================================================================== */
.dual-mode-container {
  margin: 50px auto;
  max-width: 1200px;
}

.dual-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mode-card {
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mode-card.live-mode {
  background: linear-gradient(135deg, rgba(6, 30, 24, 0.7) 0%, rgba(6, 11, 20, 0.9) 100%);
  border: 1px solid var(--border-green);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 230, 118, 0.06);
}

.mode-card.eod-mode {
  background: linear-gradient(135deg, rgba(13, 27, 48, 0.7) 0%, rgba(6, 11, 20, 0.9) 100%);
  border: 1px solid var(--border-glow);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 229, 255, 0.06);
}

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

.mode-badge {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mode-badge-live {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.35);
}

.mode-badge-eod {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.mode-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.mode-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.mode-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mode-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

/* ==========================================================================
   12-MODULE TERMINAL ECOSYSTEM
   ========================================================================== */
.tools-grid-12 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.15);
}

.tool-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.tool-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.tool-badge-type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: auto;
}

.type-live { background: rgba(0, 230, 118, 0.15); color: var(--accent-emerald); }
.type-eod { background: rgba(0, 229, 255, 0.15); color: var(--accent-cyan); }
.type-quant { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }

.tool-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.tool-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.58;
  margin-bottom: 16px;
}

.tool-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   TWO-PART ARCHITECTURE BLUEPRINT
   ========================================================================== */
.section {
  padding: 85px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #fff;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.arch-card {
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.9) 0%, rgba(6, 11, 20, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-cyan);
  margin-top: 30px;
}

.arch-flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.arch-node {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
}

.arch-node.primary {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.arch-node.secondary {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.15);
}

.arch-node-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-dim);
  font-size: 1.5rem;
}

/* ==========================================================================
   SUBSCRIPTION PLANS & PRICING (ALL 8 PLANS + FILTER PILLS)
   ========================================================================== */
.plan-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.plan-filter-btn {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.22s ease;
}

.plan-filter-btn:hover {
  color: #fff;
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(20, 30, 52, 0.85);
}

.plan-filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(0, 153, 255, 0.2) 100%);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.plans-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.plan-box {
  background: #090e17;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.28s ease;
}

.plan-box:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 255, 0.12);
}

.plan-box.popular {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, rgba(13, 22, 38, 0.95) 0%, rgba(9, 14, 23, 0.95) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 229, 255, 0.18);
}

.popular-ribbon {
  position: absolute;
  top: -11px;
  right: 24px;
  background: linear-gradient(135deg, #00e5ff 0%, #0077ff 100%);
  color: #030712;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
}

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

.plan-icon-badge {
  font-size: 1.4rem;
}

.plan-duration-badge {
  background: rgba(255, 179, 0, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 179, 0, 0.3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.plan-box-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.plan-box-price {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin: 14px 0 10px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-box-price span {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-primary);
  font-weight: 500;
}

.plan-box-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 38px;
}

.plan-ws-heading {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-ws-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.plan-ws-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
}

.plan-ws-item.allowed {
  color: #e2e8f0;
}

.plan-ws-item.allowed .ws-icon {
  color: var(--accent-emerald);
  font-weight: 800;
}

.plan-ws-item.locked {
  color: #475569;
  text-decoration: line-through;
  opacity: 0.55;
}

.plan-ws-item.locked .ws-icon {
  color: #64748b;
  text-decoration: none;
}

/* ==========================================================================
   TERMS, LEGAL & COMPREHENSIVE FAQ SECTION
   ========================================================================== */
.legal-faq-container {
  max-width: 1100px;
  margin: 0 auto;
}

.legal-tab-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.legal-tab-btn {
  background: rgba(13, 20, 36, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-primary);
}

.legal-tab-btn:hover {
  color: #fff;
  border-color: rgba(0, 229, 255, 0.3);
}

.legal-tab-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.legal-pane {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  animation: fadeIn 0.3s ease;
}

.legal-pane.active {
  display: block;
}

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

.legal-alert-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
}

.legal-alert-title {
  color: #f87171;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.legal-stat-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.legal-subheading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 24px 0 10px 0;
}

.legal-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-text strong {
  color: #e2e8f0;
}

/* Accordion FAQ Styling */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #080d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.22s ease;
}

.faq-item:hover {
  border-color: rgba(0, 229, 255, 0.35);
}

.faq-item.active {
  border-color: var(--accent-cyan);
  background: rgba(13, 21, 36, 0.95);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.12);
}

.faq-trigger {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-trigger:hover {
  color: var(--accent-cyan);
}

.faq-arrow {
  width: 18px;
  height: 18px;
  min-width: 18px;
  transition: transform 0.28s ease;
  fill: var(--text-dim);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  fill: var(--accent-cyan);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 22px;
}

.faq-item.active .faq-body {
  max-height: 450px;
  padding-bottom: 20px;
}

.faq-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.faq-text strong {
  color: #f1f5f9;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #03060d;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-cyan);
}

.footer-disclaimer {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
  text-align: center;
}

/* Official Trustpilot Footer Badge (Matches Image 3) */
.trustpilot-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #00b67a;
  border-radius: 4px;
  padding: 8px 18px;
  margin-top: 18px;
  text-decoration: none;
  color: #111827;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.trustpilot-footer-badge:hover {
  background: #f8fafc;
  border-color: #00b67a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 182, 122, 0.35);
  color: #111827;
}

.trustpilot-footer-badge .trustpilot-star-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.trustpilot-footer-badge .trustpilot-brand-name {
  color: #111827;
  font-weight: 800;
  letter-spacing: -0.2px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .dual-mode-grid {
    grid-template-columns: 1fr;
  }
  .arch-flow-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .arch-connector {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive Nav for Tablets, iPads and Mobile Desktop View (769px to 1200px) */
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .nav-container {
    padding: 0 12px !important;
    gap: 8px !important;
  }
  .brand-wrapper {
    gap: 8px !important;
  }
  .brand-subtitle {
    display: none !important;
  }
  .brand-title {
    font-size: 1.05rem !important;
  }
  .nav-links {
    gap: 6px !important;
    flex-shrink: 1 !important;
  }
  .nav-link {
    padding: 4px 6px !important;
    font-size: 12px !important;
  }
  .nav-actions {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .nav-actions .btn {
    padding: 7px 11px !important;
    font-size: 12px !important;
  }
}

/* Extra safety for narrow desktop viewports <= 960px */
@media screen and (min-width: 769px) and (max-width: 960px) {
  .nav-links li:nth-child(4),
  .nav-links li:nth-child(5) {
    display: none !important; /* Hide secondary links so Sign In and Launch Terminal never clip */
  }
}

@media (max-width: 768px) {
  .site-nav {
    height: auto !important;
    min-height: 72px !important;
    padding: 10px 0 12px 0 !important;
  }
  .nav-container {
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
    gap: 10px !important;
  }
  .brand-wrapper {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .nav-links {
    display: none !important;
  }
  .nav-actions {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: 2px !important;
  }
  .nav-actions .btn {
    flex: 1 !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  .hero-section {
    padding-top: 155px !important;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
