/* ============================================================
   OXLOZ.COM — Elite MSSP / Cybersecurity
   style.css
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:      #0a0a0a;
  --navy:       #0d1117;
  --green:      #00ff88;
  --blue:       #00d4ff;
  --white:      #f0f6fc;
  --muted:      #8b949e;
  --card-bg:    rgba(13, 17, 23, 0.75);
  --card-border: rgba(0, 255, 136, 0.15);
  --glass-blur: blur(12px);
  --radius:     12px;
  --font-mono:  'Share Tech Mono', 'Courier New', monospace;
  --font-sans:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --glow-green: 0 0 10px rgba(0,255,136,.6), 0 0 30px rgba(0,255,136,.3);
  --glow-blue:  0 0 10px rgba(0,212,255,.6), 0 0 30px rgba(0,212,255,.3);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ---------- SELECTION ---------- */
::selection { background: var(--green); color: var(--black); }

/* ---------- UTILITY ---------- */
.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title span { color: var(--green); }

.section-subtitle {
  color: var(--muted);
  font-size: clamp(.9rem, 2vw, 1.1rem);
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.tag-line {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--green);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 10, .95);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 1px 0 rgba(0,255,136,.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .05em;
  text-shadow: var(--glow-green);
}

.logo span { color: var(--white); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green) !important;
  padding: .4rem 1rem;
  border-radius: 4px;
  transition: background var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  background: var(--green) !important;
  color: var(--black) !important;
  box-shadow: var(--glow-green) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  opacity: .45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,.3) 0%,
    rgba(10,10,10,.6) 60%,
    rgba(10,10,10,1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,255,136,.08);
  border: 1px solid rgba(0,255,136,.3);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--green);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 40px rgba(0,0,0,.8);
}

.hero h1 .ox { color: var(--green); text-shadow: var(--glow-green); }
.hero h1 .loz { color: var(--blue); text-shadow: var(--glow-blue); }

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--muted);
  margin-bottom: 2.4rem;
  min-height: 2em;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--green);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink .7s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 0 20px rgba(0,255,136,.4);
}

.btn-primary:hover {
  background: #00ffaa;
  box-shadow: var(--glow-green);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn-secondary:hover {
  background: rgba(0,212,255,.08);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

/* ---------- ABOUT ---------- */
.about {
  padding: 7rem 0;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,255,136,.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .section-subtitle { margin-bottom: 2rem; }

.about-features {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--muted);
  font-size: .92rem;
}

.about-feature::before {
  content: '▶';
  color: var(--green);
  font-size: .6rem;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terminal-box {
  width: 100%;
  max-width: 440px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: var(--glass-blur);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot:nth-child(1) { background: #ff5f56; }
.terminal-dot:nth-child(2) { background: #ffbd2e; }
.terminal-dot:nth-child(3) { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
  margin-left: auto;
  margin-right: auto;
}

.terminal-body {
  padding: 1.2rem 1.5rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  line-height: 2;
  min-height: 220px;
}

.t-line { display: flex; gap: .5rem; }
.t-prompt { color: var(--green); flex-shrink: 0; }
.t-cmd { color: var(--white); }
.t-out { color: var(--muted); padding-left: 1.4rem; }
.t-green { color: var(--green); }
.t-blue { color: var(--blue); }
.t-red { color: #ff6b6b; }

/* ---------- SERVICES ---------- */
.services {
  padding: 7rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13,17,23,.5) 50%, transparent 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: var(--glass-blur);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(0,255,136,.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 30px rgba(0,255,136,.08);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.service-name {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .6rem;
}

.service-desc {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.service-link {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--green);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap var(--transition);
}

.service-card:hover .service-link { gap: .8rem; }

/* ---------- TEAM ---------- */
.team {
  padding: 7rem 0;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.team-card {
  flex: 0 1 calc(25% - 1.5rem);
  min-width: 220px;
  max-width: 300px;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.team-card:hover {
  border-color: rgba(0,212,255,.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,.4);
}

.team-card:hover::after { transform: scaleX(1); }

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--navy), #1a2332);
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card:hover .avatar {
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(0,255,136,.3);
}

.team-name {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.team-title {
  font-size: .78rem;
  color: var(--green);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.team-role-full {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.team-quote {
  font-style: italic;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: .8rem;
}

.team-quote::before { content: '"'; color: var(--green); }
.team-quote::after  { content: '"'; color: var(--green); }

/* ---------- STATS ---------- */
.stats {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(0,255,136,.03) 0%, transparent 100%);
  border-top: 1px solid rgba(0,255,136,.08);
  border-bottom: 1px solid rgba(0,255,136,.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item { padding: 1rem; }

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--green);
  text-shadow: var(--glow-green);
  display: block;
  line-height: 1;
  margin-bottom: .5rem;
}

.stat-label {
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 7rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info { padding-top: .5rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(0,255,136,.08);
  border: 1px solid rgba(0,255,136,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail a { color: var(--white); transition: color var(--transition); }
.contact-detail a:hover { color: var(--green); }

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: var(--glass-blur);
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: .75rem 1rem;
  color: var(--white);
  font-size: .9rem;
  font-family: var(--font-sans);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group select { background-image: none; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,255,136,.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.2); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(0,255,136,.08);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  text-shadow: var(--glow-green);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--green); }

.footer-copy {
  font-size: .78rem;
  color: rgba(139,148,158,.5);
  font-family: var(--font-mono);
}

/* ---------- SCROLL-REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ---------- MOBILE NAV OPEN ---------- */
body.nav-open { overflow: hidden; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  backdrop-filter: var(--glass-blur);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--muted);
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--green); }

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
  transition: color var(--transition);
}

.mobile-close:hover { color: var(--green); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual { order: -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }

  .services-grid { grid-template-columns: 1fr; }
  .team-grid { gap: 1rem; }
  .team-card { flex: 0 1 calc(50% - 1rem); min-width: 200px; }

  .form-row { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}
