/* Telecanor iQIS global styles */

:root {
  --iqis-bg-dark: #050815;
  --iqis-bg-darker: #02030a;
  --iqis-primary: #0f7ad9;
  --iqis-primary-soft: rgba(15, 122, 217, 0.1);
  --iqis-accent: #16c3c9;
  --iqis-text-muted: #6c757d;
  --iqis-border-soft: rgba(255, 255, 255, 0.06);
  --iqis-radius-lg: 16px;
}

.pt-7 { padding-top: 6rem !important; }
.pb-6, .py-6 { padding-bottom: 5rem !important; }
.py-6 { padding-top: 5rem !important; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f5f6f8;
  color: #111827;
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }

.main-navbar {
  transition: all 0.25s ease;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  background: linear-gradient(120deg, rgba(5, 8, 21, 0.96), rgba(5, 8, 21, 0.88));
  backdrop-filter: blur(16px);
}

.main-navbar.navbar-shrink {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  background: rgba(5, 8, 21, 0.96);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.navbar .nav-link {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.navbar .nav-link.active {
  color: #ffffff;
}

.brand-logo-img { display: inline-block; }
.brand-logo-text { font-size: 1.1rem; }

.gradient-bg {
  background: radial-gradient(circle at 0% 0%, rgba(22, 195, 201, 0.22), transparent 50%),
              radial-gradient(circle at 100% 0%, rgba(15, 122, 217, 0.28), transparent 55%),
              linear-gradient(135deg, var(--iqis-bg-dark), var(--iqis-bg-darker));
}

.hero-section {
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }

.data-panel {
  position: relative;
  background: radial-gradient(circle at 10% 10%, rgba(22, 195, 201, 0.2), transparent 45%),
              rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.data-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.2) 1px, transparent 0);
  background-size: 12px 12px;
  opacity: 0.3;
  pointer-events: none;
}

.data-panel > * {
  position: relative;
  z-index: 1;
}

.mini-chart {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 90px;
}

.chart-bar {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(22, 195, 201, 0.2), rgba(22, 195, 201, 0.9));
  opacity: 0.85;
}

.chart-bar.bar-1 { height: 25%; }
.chart-bar.bar-2 { height: 50%; }
.chart-bar.bar-3 { height: 70%; }
.chart-bar.bar-4 { height: 45%; }
.chart-bar.bar-5 { height: 80%; }
.chart-bar.bar-6 { height: 55%; }

.product-card,
.solution-card,
.about-card {
  border-radius: var(--iqis-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background-color: #ffffff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover,
.solution-card:hover,
.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 122, 217, 0.2);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
}

.glass-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
  border-radius: var(--iqis-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.38);
  backdrop-filter: blur(14px);
}

.dot-grid-bg {
  position: relative;
  overflow: hidden;
}

.dot-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.3) 1px, transparent 0);
  background-size: 18px 18px;
  opacity: 0.25;
  pointer-events: none;
}

.dot-grid-bg > * {
  position: relative;
  z-index: 1;
}

.cta-banner {
  background: linear-gradient(135deg, #0f172a, #020617);
}

.architecture-diagram {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}

.diagram-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.diagram-box {
  min-width: 150px;
  padding: 0.75rem 1rem;
  border-radius: var(--iqis-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #ffffff, #f1f5f9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.diagram-arrow i {
  font-size: 1.2rem;
  color: var(--iqis-primary);
}

.footer {
  background-color: #ffffff;
}

.footer-link {
  color: var(--iqis-text-muted);
}

.footer-link:hover {
  color: #111827;
  text-decoration: none;
}

.trust-item i {
  background-color: rgba(15, 122, 217, 0.09);
  padding: 0.6rem;
  border-radius: 999px;
}

.hero-stats .stat-item .h3 {
  font-weight: 600;
}

.comparison-table tbody tr:nth-child(even) td,
.comparison-table tbody tr:nth-child(even) th {
  background-color: #f8fafc;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--iqis-primary);
  border-color: var(--iqis-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0b5ab0;
  border-color: #0b5ab0;
}

.btn-outline-primary {
  color: var(--iqis-primary);
  border-color: var(--iqis-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--iqis-primary);
  color: #ffffff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--iqis-primary);
  box-shadow: 0 0 0 0.2rem rgba(15, 122, 217, 0.2);
}

.bg-body {
  background-color: #f5f6f8 !important;
}

/* Reusable helpers for new pages */

.ai-callout-box {
  border-radius: var(--iqis-radius-lg);
  border: 1px solid var(--iqis-border-soft);
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--iqis-radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
  background-color: #020617;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-subnav a {
  display: block;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  color: var(--iqis-text-muted);
}

.page-subnav a:hover {
  color: #111827;
  text-decoration: none;
}

@media (min-width: 992px) {
  .page-subnav {
    position: sticky;
    top: 5.25rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }
}


