
/* ======================================================
   DTCO 4.1 Website Theme (Light Blue + White)
   "Scale-like" hero vibes: clean white, glass nav, gradient orbs.
   ====================================================== */

:root{
  --bg:#f6fcff;
  --bg2:#ffffff;

  --text:#06080f;
  --muted:rgba(6,8,15,.62);

  --panel: rgba(255,255,255,.84);
  --panelBorder: rgba(6,8,15,.10);

  --accent:#20b2aa;      /* LightSeaGreen */
  --accent2:#66d9ff;     /* light sea blue */

  --radius:22px;
  --shadow: 0 18px 55px rgba(2, 16, 28, .12);
  --shadowSoft: 0 10px 24px rgba(2, 16, 28, .10);
}

.bg-app{
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 14% 4%, rgba(32,178,170,.24), transparent 60%),
    radial-gradient(900px 520px at 84% 10%, rgba(102,217,255,.22), transparent 58%),
    radial-gradient(700px 420px at 30% 70%, rgba(32,178,170,.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  min-height: 100vh;
}

/* Glassy nav */
.nav-glass{
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,18,32,.08);
}
.navbar .nav-link{ color: rgba(11,18,32,.72); font-weight: 600; }
.navbar .nav-link:hover{ color: rgba(11,18,32,.92); }
.navbar .nav-link.active{ color: var(--accent); }

.brand-title{ letter-spacing: -.02em; }
.brand-mark{
  width: 12px; height: 12px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--accent2), var(--accent));
  box-shadow: 0 0 0 4px rgba(32,178,170,.12), 0 0 26px rgba(102,217,255,.22);
  display:inline-block;
}

/* Panels */
.panel{
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panelBorder);
  box-shadow: var(--shadowSoft);
}

.hero{
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* Hero orbs */
.orb{
  position:absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: .95;
}
.orb.one{
  width: 260px; height: 260px;
  left: -80px; top: 30px;
  background: radial-gradient(circle at 30% 30%, rgba(102,217,255,.95), rgba(32,178,170,.10) 60%, transparent 72%);
}
.orb.two{
  width: 320px; height: 320px;
  right: -120px; top: -90px;
  background: radial-gradient(circle at 35% 35%, rgba(32,178,170,.75), rgba(102,217,255,.18) 55%, transparent 72%);
}
.orb.three{
  width: 220px; height: 220px;
  right: 40px; bottom: -120px;
  background: radial-gradient(circle at 35% 35%, rgba(102,217,255,.55), rgba(32,178,170,.10) 60%, transparent 75%);
}

.kicker{
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .78rem;
  color: rgba(11,18,32,.62);
}

.text-muted{ color: var(--muted) !important; }

.badge-soft{
  background: rgba(32,178,170,.12);
  border: 1px solid rgba(32,178,170,.22);
  color: rgba(11,18,32,.86);
}

.btn-primary{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border: none;
  box-shadow: 0 14px 26px rgba(32,178,170,.20);
}
.btn-primary:hover{ filter: brightness(1.03); }

.btn-outline-primary{
  border-color: rgba(32,178,170,.35);
  color: rgba(32,178,170,.95);
}
.btn-outline-primary:hover{
  background: rgba(32,178,170,.10);
  border-color: rgba(32,178,170,.45);
  color: rgba(32,178,170,1);
}

.card.feature{
  border-radius: var(--radius);
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: var(--shadowSoft);
}

/* Pills */
.icon-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.72);
}

.dot{ width:10px; height:10px; border-radius:999px; display:inline-block; }
.dot.ok{ background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.14); }
.dot.bad{ background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.12); }

/* Code blocks */
.codebox{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(11,18,32,.04);
  border: 1px solid rgba(11,18,32,.10);
  border-radius: 16px;
  padding: 12px 14px;
  overflow:auto;
}

/* Footer */
.footer{
  border-top: 1px solid rgba(11,18,32,.08);
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(12px);
}

/* Bootstrap table tweak (dark tables look wrong on light theme) */
.table.table-dark{
  --bs-table-color: rgba(11,18,32,.88);
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(11,18,32,.10);
}
.table-dark thead th{ color: rgba(11,18,32,.72); }


/* Typography */
h1,h2,h3,.brand-title,.kicker{
  font-family: "Orbitron", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}
.codebox{
  font-family: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


/* =========================
   Modern nav + buttons
   ========================= */

.nav-modern{
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(6,8,15,.10);
}

.logo-wrap{
  width: 38px; height: 38px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(6,8,15,.10);
  box-shadow: 0 10px 20px rgba(2, 16, 28, .10);
}
.logo-svg{ width: 24px; height: 24px; display:block; }

.brand-title{
  font-weight: 800;
  letter-spacing: -.03em;
  color: rgba(6,8,15,.92);
  font-size: 1.02rem;
}
.brand-sub{
  font-size: .78rem;
  color: rgba(6,8,15,.55);
  font-family: "Share Tech Mono", ui-monospace, monospace;
  margin-top: 2px;
}

.btn-nav-toggle{
  border: 1px solid rgba(6,8,15,.12);
  background: rgba(255,255,255,.65);
  border-radius: 14px;
  padding: 10px 12px;
}

.nav-pills-modern .nav-link{
  padding: .55rem .78rem;
  border-radius: 999px;
  font-weight: 700;
  color: rgba(6,8,15,.70);
  transition: transform .08s ease, background .15s ease, color .15s ease;
  margin: 2px 2px;
}
.nav-pills-modern .nav-link:hover{
  background: rgba(32,178,170,.10);
  color: rgba(6,8,15,.92);
  transform: translateY(-1px);
}
.nav-pills-modern .nav-link.active{
  background: linear-gradient(90deg, rgba(32,178,170,.18), rgba(102,217,255,.18));
  border: 1px solid rgba(32,178,170,.30);
  color: rgba(6,8,15,.92);
}

.btn-neo{
  border-radius: 999px;
  padding: .62rem 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 14px 26px rgba(2, 16, 28, .10);
}
.btn-neo-solid{
  color: #061019;
  background: linear-gradient(90deg, rgba(32,178,170,1), rgba(102,217,255,1));
  border: none;
}
.btn-neo-solid:hover{ filter: brightness(1.03); transform: translateY(-1px); }

.btn-neo-outline{
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(32,178,170,.35);
  color: rgba(6,8,15,.82);
}
.btn-neo-outline:hover{
  background: rgba(32,178,170,.10);
  transform: translateY(-1px);
}

/* Mobile spacing */
@media (max-width: 991.98px){
  .nav-pills-modern .nav-link{ border-radius: 14px; }
  .navbar-brand .badge{ display:none !important; }
}


/* Dropdown menu styling */
.dropdown-modern{
  border-radius: 18px;
  padding: 10px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(6,8,15,.10);
  box-shadow: 0 22px 60px rgba(2,16,28,.16);
  backdrop-filter: blur(14px);
  min-width: 240px;
}
.dropdown-modern .dropdown-item{
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 800;
  color: rgba(6,8,15,.78);
}
.dropdown-modern .dropdown-item:hover{
  background: rgba(32,178,170,.10);
  color: rgba(6,8,15,.92);
}
.dropdown-modern .dropdown-item.active{
  background: linear-gradient(90deg, rgba(32,178,170,.18), rgba(102,217,255,.18));
  border: 1px solid rgba(32,178,170,.30);
  color: rgba(6,8,15,.92);
}

/* Better dropdown toggle caret spacing */
.nav-pills-modern .dropdown-toggle::after{
  margin-left: .45rem;
  vertical-align: .15rem;
}


/* =========================
   Mobile friendliness
   ========================= */

/* Prevent horizontal scroll from long pills */
html, body{ overflow-x: hidden; }

/* Brand: allow wrapping on tiny screens */
@media (max-width: 575.98px){
  .navbar-brand{
    max-width: calc(100% - 72px);
  }
  .brand-title{ font-size: .98rem; }
  .brand-sub{ font-size: .74rem; }
}

/* Make dropdowns comfortable on mobile */
@media (max-width: 991.98px){
  .nav-modern{ padding: 10px 0; }
  .navbar-nav{ gap: 6px; }
  .nav-pills-modern .nav-link{
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: center;
  }
  .dropdown-modern{
    width: 100%;
    min-width: 0;
    margin-top: 8px;
  }
  .dropdown-modern .dropdown-item{ padding: 12px 12px; }
}

/* Stack header buttons on mobile, full-width tap targets */
@media (max-width: 991.98px){
  .nav-modern .btn-neo{
    width: 100%;
    justify-content: center;
  }
  .nav-modern .navbar-collapse .d-flex.gap-2{
    width: 100%;
  }
}

/* Hero and sections: better spacing + readable type on phones */
@media (max-width: 575.98px){
  .hero{ padding: 18px !important; }
  .hero .display-6{ font-size: 1.55rem; }
  .hero .lead{ font-size: 1.0rem; }
}

/* Cards/panels: reduce heavy padding on phones */
@media (max-width: 575.98px){
  .panel{ padding: 18px !important; }
  .card.feature{ padding: 16px !important; }
}

/* Badges: allow wrapping and spacing */
.badge{ white-space: normal; }
