/* ============================================
   COLLOSO TRADING — GLOBAL DESIGN SYSTEM
   Figma-matched upgrade
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600;700&family=Syne:wght@400;600;700;800&display=swap');

/* ── TOKENS ───────────────────────────────── */
:root {
  --bg:          #0a0a0f;
  --bg-2:        #0d1521;
  --bg-3:        #111827;
  --blue:        #3b82f6;
  --blue-dim:    rgba(59,130,246,0.15);
  --blue-border: rgba(59,130,246,0.25);
  --purple:      oklch(49.6% 0.265 301.924);
  --purple-dim:  oklch(49.6% 0.265 301.924 / 0.15);
  --purple-border: oklch(71.4% 0.203 305.504 / 0.3);
  --green:       oklch(72.3% 0.219 149.579);
  --green-dim:   oklch(79.2% 0.209 151.711 / 0.1);
  --green-border: oklch(79.2% 0.209 151.711 / 0.25);
  --text-muted:  rgba(255,255,255,0.5);
  --text-dim:    rgba(255,255,255,0.75);
  --mono:        'IBM Plex Mono', monospace;
  --sans:        'Syne', sans-serif;
}

/* ── BASE ─────────────────────────────────── */
* { box-sizing: border-box; }

body {
  background-color: var(--bg);
  font-family: var(--mono);
  color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  font-weight: 700;
}

/* ── GRID BACKGROUND ──────────────────────── */
.grid-bg {
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── NAVBAR ───────────────────────────────── */
.navbar {
  background: rgba(10,10,15,0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59,130,246,0.12);
  min-height: 70px;
  font-family: var(--mono);
}

.navbar-brand {
  font-family: var(--sans);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--blue) !important;
}

.navbar .btn-primary {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  background: var(--blue);
  border-color: var(--blue);
}

/* ── BADGE PILLS ──────────────────────────── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.badge-pill.blue  { background: var(--blue-dim);  color: #60a5fa; border: 1px solid var(--blue-border); }
.badge-pill.green { background: var(--green-dim);  color: var(--green); border: 1px solid var(--green-border); }
.badge-pill.purple{ background: var(--purple-dim); color: #c084fc;  border: 1px solid var(--purple-border); }

/* ── NEON BOX ICON ────────────────────────── */
.neon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10,20,40,0.9);
  border: 1px solid rgba(59,130,246,0.3);
  box-shadow: 0 0 12px rgba(59,130,246,0.15), inset 0 0 8px rgba(59,130,246,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.neon-box i { color: #60a5fa; font-size: 1.1rem; }

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--blue-border);
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-pur {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--purple-border);
  background: var(--purple-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── CARDS ────────────────────────────────── */
.feature-card {
  padding: 24px;
  border-radius: 12px;
  position: relative;
}

.car {
  background: rgba(13,21,34,0.6);
  border: 1px solid rgba(59,130,246,0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.car:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 20px rgba(59,130,246,0.15);
}

.green {
  background: rgba(13,21,34,0.6);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.green:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 20px rgba(74,222,128,0.1);
}

.purple {
  background: rgba(13,21,34,0.6);
  border: 1px solid var(--purple-border);
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.purple:hover {
  transform: translateY(-6px);
  border-color: oklch(71.4% 0.203 305.504);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 20px rgba(168,85,247,0.15);
}

/* nested cards inside modals/saas */
.side-card {
  border-radius: 10px;
  border: 1px solid rgba(47,66,124,0.5);
  background: rgba(13,21,34,0.8);
}

/* ── DOTS & ITEMS ─────────────────────────── */
.item {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  align-items: flex-start;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.inact .dot { background: var(--green); }
.pur   .dot { background: var(--purple); }
.inactive .dot { background: rgba(255,255,255,0.3); }

.blue-dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── HERO ─────────────────────────────────── */
.hero-section {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(168,85,247,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ── TRUST BAR ────────────────────────────── */
.trust-stat h3 {
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--blue);
  font-weight: 700;
}

/* ── SECTION LABELS ───────────────────────── */
.section-label {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* ── LEARN MORE LINK ──────────────────────── */
.learn-more {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.learn-more:hover { color: var(--blue); }
.learn-more i { transition: transform 0.3s ease; }
.learn-more:hover i { transform: translateX(4px); }

/* ── FOOTER ───────────────────────────────── */
footer a {
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.85rem;
  font-family: var(--mono);
}

footer a:hover {
  color: var(--blue) !important;
  padding-left: 4px;
}

/* ── SCROLL REVEAL ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── MODALS ───────────────────────────────── */
.modal-content {
  background-color: #0a0a0f !important;
  border: 1px solid rgba(59,130,246,0.15) !important;
}

.form-control,
.form-select {
  background-color: var(--bg-2) !important;
  color: #fff !important;
  border: 1px solid rgba(59,130,246,0.2) !important;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.form-control::placeholder { color: rgba(255,255,255,0.35) !important; }
.form-control:focus, .form-select:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.15) !important;
  background-color: var(--bg-2) !important;
}

textarea::placeholder,
textarea::-webkit-input-placeholder { color: rgba(255,255,255,0.35) !important; }

/* ── OUTLINE ICON ─────────────────────────── */
.outline-icon {
  color: transparent;
  -webkit-text-stroke: 1.5px #60a5fa;
  font-size: 1.3rem;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 991px) {
  .mobile-menu .nav-link { font-size: 1.1rem; padding: 10px 0; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem !important; }
  .hero-section { padding: 50px 0 40px; }
}

/* ── TINY CIRCLE ICON ─────────────────────── */
.tiny-circle { font-size: 6px; }

/* ── SQUARE DOT ───────────────────────────── */
.square-dot {
  width: 20px; height: 20px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}

/* ── HR DIVIDERS ──────────────────────────── */
hr { border-color: rgba(255,255,255,0.1) !important; }

/* ── DROPDOWN ─────────────────────────────── */
.dropdown-menu-dark {
  background-color: #0d1521 !important;
  border: 1px solid rgba(59,130,246,0.15) !important;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.dropdown-item:hover { background-color: rgba(59,130,246,0.1) !important; color: #60a5fa !important; }

/* ── MOBILE FULLSCREEN MENU ───────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: #0a0a0f;
  z-index: 1055;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.show {
  display: block;
  transform: translateY(0);
}
