/* ===================================================
   Digerati Power Solutions — Shared Stylesheet
   =================================================== */

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

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

:root {
  --bg:          #070b14;
  --bg2:         #0a0e1a;
  --bg3:         #0d1525;
  --cyan:        #00d4ff;
  --cyan-dim:    rgba(0, 212, 255, 0.12);
  --cyan-border: rgba(0, 212, 255, 0.25);
  --green:       #00ff88;
  --red:         #ff4444;
  --orange:      #ff8800;
  --text:        #c0daea;
  --text-dim:    rgba(130, 190, 220, 0.5);
  --mono:        'Share Tech Mono', 'Courier New', monospace;
  --sans:        'Oxanium', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Grid overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Scan line */
body::after {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.25), transparent);
  animation: scan 10s linear infinite;
  pointer-events: none;
  z-index: 1;
  top: -2px;
}

@keyframes scan {
  0%   { top: -2px; }
  100% { top: 100vh; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,255,136,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(0,255,136,0); }
}

@keyframes pulseRed {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,68,68,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(255,68,68,0); }
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
  50%       { opacity: 0.8; transform: scaleY(1); }
}

/* =====================
   LAYOUT
   ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  position: relative;
  z-index: 2;
  padding: 7rem 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* =====================
   NAV
   ===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  height: 58px;
  background: rgba(7, 11, 20, 0.92);
  border-bottom: 1px solid var(--cyan-border);
  backdrop-filter: blur(12px);
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,212,255,0.12);
  border: 1px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

.nav-logo-text .brand {
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  display: block;
  line-height: 1.2;
}
.nav-logo-text .sub {
  font-family: var(--mono);
  color: var(--text-dim);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  display: block;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--mono);
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  transition: color 0.2s;
  padding: 0.25rem 0;
}
.nav-links a:hover  { color: var(--cyan); }
.nav-links a.active {
  color: var(--cyan);
  border-bottom: 1px solid var(--cyan);
}

.nav-status {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.1em;
}
.nav-status-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* =====================
   BUTTONS
   ===================== */
.btn-solid, .btn-ghost, .btn-outline {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border: 1px solid;
}
.btn-solid {
  background: rgba(0,212,255,0.14);
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-solid:hover { background: rgba(0,212,255,0.28); }

.btn-ghost {
  background: transparent;
  border-color: rgba(0,212,255,0.3);
  color: rgba(0,212,255,0.65);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-outline {
  background: transparent;
  border-color: var(--cyan);
  color: var(--cyan);
  padding: 0.45rem 1rem;
  font-size: 0.68rem;
}
.btn-outline:hover { background: rgba(0,212,255,0.1); }

/* =====================
   PANELS
   ===================== */
.panel {
  border: 1px solid var(--cyan-border);
  background: rgba(0,212,255,0.025);
  position: relative;
}
.panel::before, .panel::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--cyan);
  border-style: solid;
}
.panel::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.panel::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* =====================
   SECTION LABELS
   ===================== */
.section-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--cyan-border);
  flex-shrink: 0;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.label-row .section-label { margin-bottom: 0; }

.section-badge {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  padding: 0.22rem 0.6rem;
  border: 1px solid;
  white-space: nowrap;
  flex-shrink: 0;
}
.section-badge.critical  { color: var(--red);    border-color: var(--red);    background: rgba(255,68,68,0.08); }
.section-badge.optimal   { color: var(--green);  border-color: var(--green);  background: rgba(0,255,136,0.08); }
.section-badge.live      { color: var(--cyan);   border-color: var(--cyan);   background: var(--cyan-dim); }
.section-badge.connected { color: var(--cyan);   border-color: var(--cyan);   background: var(--cyan-dim); }
.section-badge.secure    { color: var(--green);  border-color: var(--green);  background: rgba(0,255,136,0.08); }

/* =====================
   HEADINGS
   ===================== */
h1, h2, h3 {
  font-family: var(--sans);
  line-height: 1.1;
  color: #ddeeff;
}
h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.95rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
h2 span { color: var(--cyan); }

/* =====================
   LISTS
   ===================== */
.bullet-list {
  list-style: none;
  margin: 1.25rem 0;
}
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(0,212,255,0.07);
  line-height: 1.5;
}
.bullet-list li::before {
  content: '▲';
  color: var(--orange);
  font-size: 0.55rem;
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.feature-list {
  list-style: none;
  margin: 1.25rem 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(0,212,255,0.07);
  line-height: 1.5;
}
.feature-list li::before {
  content: '▸';
  color: var(--cyan);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

blockquote {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--cyan);
  font-style: italic;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--cyan-border);
  border-left: 3px solid var(--cyan);
  background: var(--cyan-dim);
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--cyan-border);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-brand .brand { font-family: var(--mono); color: var(--cyan); font-size: 0.85rem; letter-spacing: 0.18em; display: block; }
.footer-brand .sub   { font-family: var(--mono); color: var(--text-dim); font-size: 0.58rem; letter-spacing: 0.2em; display: block; }

.footer-desc {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.footer-status {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.1em;
}
.footer-status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.footer-heading {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cyan-border);
}

.footer-links { list-style: none; }
.footer-links li { padding: 0.28rem 0; }
.footer-links a {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }

.footer-solutions li {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  padding: 0.28rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(0,212,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-confidential {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: rgba(0,212,255,0.28);
  letter-spacing: 0.12em;
}
.footer-copyright {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: rgba(0,212,255,0.38);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 5rem 0; }
  .container { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-status { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  h2 { font-size: 1.8rem; }
}
