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

:root {
  --green:      #39FF14;
  --green-dim:  #1a7a06;
  --green-glow: rgba(57,255,20,.18);
  --bg:         #080b08;
  --bg2:        #0d120d;
  --bg3:        #111811;
  --card:       #0f160f;
  --border:     rgba(57,255,20,.15);
  --border2:    rgba(255,255,255,.07);
  --text:       #e8f0e8;
  --text2:      #8a9e8a;
  --white:      #ffffff;
  --red:        #ff453a;
  --yellow:     #ffd60a;
  --orange:     #FF6B1A;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 40px rgba(0,0,0,.6);
  --glow:       0 0 20px rgba(57,255,20,.25);
  --transition: .25s ease;
  --font-mono:  'JetBrains Mono', 'Courier New', monospace;
  --font-sans:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

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

/* ── UTILITIES ── */
.mono         { font-family: var(--font-mono); }
.green        { color: var(--green); }
.orange       { color: var(--orange); }
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag  { font-family: var(--font-mono); font-size: .8rem; color: var(--green); letter-spacing: .05em; display: block; margin-bottom: 1rem; }
.section-title{ font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-desc { color: var(--text2); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green); color: #000; font-weight: 700;
  padding: .85rem 2rem; border-radius: var(--radius);
  border: none; cursor: pointer; font-size: .95rem; text-decoration: none;
  transition: var(--transition); box-shadow: 0 0 20px rgba(57,255,20,.3);
}
.btn-primary:hover { background: #4fff1e; box-shadow: 0 0 30px rgba(57,255,20,.5); transform: translateY(-2px); }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--green); font-weight: 600;
  padding: .85rem 2rem; border-radius: var(--radius);
  border: 1px solid var(--green); cursor: pointer; font-size: .95rem;
  text-decoration: none; transition: var(--transition);
}
.btn-outline:hover { background: var(--green-glow); transform: translateY(-2px); }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8,11,8,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(8,11,8,.97); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  overflow: hidden;
  height: 93px;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo-img { height: 90px; width: auto; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-mono); font-size: 1.1rem; font-weight: 500;
  color: var(--text2); letter-spacing: .03em; line-height: 1.3;
  border-left: 1px solid var(--border); padding-left: .75rem;
  white-space: nowrap;
}
.nav-logo-sub { font-size: .76rem; font-weight: 400; color: var(--green); letter-spacing: .05em; opacity: .85; }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  color: var(--text2); text-decoration: none; font-size: .9rem; font-weight: 500;
  padding: .5rem 1rem; border-radius: 8px; transition: var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--green); background: var(--green-glow); }
.nav-cta {
  background: var(--green); color: #000; font-weight: 700; font-size: .88rem;
  padding: .5rem 1.25rem; border-radius: 8px; text-decoration: none;
  margin-left: .5rem; transition: var(--transition);
}
.nav-cta:hover { background: #4fff1e; box-shadow: var(--glow); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .25rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 6rem 2rem 4rem; position: relative; overflow: hidden;
  gap: 4rem; max-width: 1200px; margin: 0 auto;
}
.hero-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(57,255,20,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(57,255,20,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.scan-line {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(57,255,20,.4), transparent);
  animation: scanDown 8s linear infinite;
}
@keyframes scanDown { 0%{ top:0 } 100%{ top:100% } }

.hero-content { flex: 1; position: relative; z-index: 1; }
.hero-visual { flex: 0 0 340px; position: relative; z-index: 1; }

.terminal-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: .4rem .75rem; margin-bottom: 2rem;
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red    { background: var(--red); }
.terminal-dot.yellow { background: var(--yellow); }
.terminal-dot.green  { background: var(--green); }
.terminal-title { font-family: var(--font-mono); font-size: .8rem; color: var(--text2); }

.terminal-body { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: .75rem 1rem; margin-bottom: 2rem; font-family: var(--font-mono); font-size: .9rem; height: 4.5rem; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; }
.prompt { color: var(--green); margin-right: .5rem; }
.cmd { color: var(--text); }
.cursor { color: var(--green); animation: blink .8s step-end infinite; }
.terminal-output { color: var(--green); margin-top: .25rem; font-size: .85rem; min-height: 1.3em; visibility: hidden; }
.terminal-output.visible { visibility: visible; }
@keyframes blink { 50% { opacity: 0; } }

.hero-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1.1rem; color: var(--text2); max-width: 520px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--green); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--text2); margin-top: .25rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border2); }

/* Status Panel */
.status-panel {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow), 0 0 40px rgba(57,255,20,.08);
  font-family: var(--font-mono); font-size: .88rem;
}
.status-header { color: var(--green); margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.status-items { display: flex; flex-direction: column; gap: .6rem; }
.status-item { display: flex; align-items: center; gap: .75rem; }
.status-item > span:nth-child(2) { flex: 1; color: var(--text2); }
.s-icon.ok   { color: var(--green); font-size: .6rem; animation: pulse-ok 2s ease-in-out infinite; }
.s-icon.warn { color: var(--yellow); font-size: .6rem; animation: pulse-warn 1s ease-in-out infinite; }
.s-val.ok    { color: var(--green); }
.s-val.warn  { color: var(--yellow); }
@keyframes pulse-ok   { 0%,100%{ opacity:1 } 50%{ opacity:.4 } }
@keyframes pulse-warn { 0%,100%{ opacity:1 } 50%{ opacity:.3 } }
.status-footer { color: var(--text2); margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.cursor-blink { animation: blink .8s step-end infinite; }

/* ── SERVICES ── */
.services { padding: 7rem 0; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 2rem;
  position: relative; overflow: hidden;
  transition: var(--transition); cursor: default;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-glow) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
}
.service-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow), 0 0 30px rgba(57,255,20,.08); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: var(--green); background: linear-gradient(135deg, rgba(57,255,20,.05) 0%, var(--card) 60%); }
.service-card.featured::before { opacity: .5; }

.service-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--green); color: #000; font-size: .7rem; font-weight: 700;
  padding: .25rem .6rem; border-radius: 100px;
}
.service-icon { width: 48px; height: 48px; color: var(--green); margin-bottom: 1.25rem; }
.service-icon svg { width: 100%; height: 100%; }
.service-num { font-family: var(--font-mono); font-size: .75rem; color: var(--green); margin-bottom: .5rem; opacity: .7; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; }
.service-card p { color: var(--text2); font-size: .92rem; line-height: 1.6; margin-bottom: 1.25rem; }
.service-tags { display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; }
.service-tags li {
  font-family: var(--font-mono); font-size: .72rem; color: var(--green);
  background: rgba(57,255,20,.08); border: 1px solid var(--border);
  padding: .2rem .6rem; border-radius: 4px;
}
.service-list { list-style: none; display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.25rem; }
.service-list li { font-size: .875rem; color: var(--text2); padding-left: 1.1rem; position: relative; line-height: 1.5; }
.service-list li::before { content: '▸'; position: absolute; left: 0; color: var(--green); font-size: .75rem; top: .15rem; }
.service-cta { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-mono); font-size: .78rem; color: var(--green); text-decoration: none; margin-top: auto; padding-top: .5rem; opacity: .85; transition: var(--transition); }
.service-cta:hover { opacity: 1; gap: .55rem; }
.service-cta::after { content: '→'; }

/* ── WHY US ── */
.why-us { padding: 6rem 0; background: var(--bg2); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.why-text .section-title { text-align: left; margin-bottom: 1rem; }
.why-text p { color: var(--text2); margin-bottom: 2rem; }

.why-features { display: flex; flex-direction: column; gap: 1.25rem; }
.why-feature { display: flex; gap: 1rem; align-items: flex-start; }
.why-icon { color: var(--green); font-size: .5rem; margin-top: .5rem; flex-shrink: 0; }
.why-feature h4 { font-size: .95rem; font-weight: 600; margin-bottom: .25rem; }
.why-feature p { font-size: .88rem; color: var(--text2); margin: 0; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.cert-badge {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem .75rem;
  text-align: center; font-family: var(--font-mono); font-size: .78rem;
  font-weight: 700; color: var(--green); letter-spacing: .05em;
  transition: var(--transition);
}
.cert-badge:hover { border-color: var(--green); background: var(--green-glow); box-shadow: var(--glow); transform: scale(1.04); }

/* ── ABOUT ── */
.about { padding: 7rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-lead { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 1.25rem; }
.about-text p { color: var(--text2); margin-bottom: 1rem; font-size: .95rem; }
.about-values { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.value-item { display: flex; gap: 1rem; }
.value-item .green.mono { font-size: .85rem; flex-shrink: 0; margin-top: .15rem; }
.value-item h4 { font-size: .95rem; font-weight: 600; margin-bottom: .25rem; }
.value-item p { font-size: .88rem; color: var(--text2); margin: 0; }

.about-timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 1.5rem; }
.about-timeline::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--green), var(--green-dim));
}
.timeline-item { position: relative; padding-bottom: 2rem; padding-left: 1.5rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.6rem; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--green-dim);
}
.timeline-item.active::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 10px rgba(57,255,20,.5); }
.timeline-year { font-family: var(--font-mono); font-size: .8rem; color: var(--green); margin-bottom: .25rem; }
.timeline-content h4 { font-size: .95rem; font-weight: 600; margin-bottom: .25rem; }
.timeline-content p { font-size: .85rem; color: var(--text2); }

/* ── CLIENTS ── */
.clients { padding: 3.5rem 0; border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); overflow: hidden; }
.clients-label { text-align: center; color: var(--text2); font-size: .78rem; margin-bottom: 1.5rem; display: block; }
.clients-track { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent); }
.clients-inner { display: flex; gap: 3rem; width: max-content; animation: scroll 25s linear infinite; }
.client-logo {
  font-family: var(--font-mono); font-size: .9rem; font-weight: 700;
  color: var(--text2); white-space: nowrap; padding: .5rem 1rem;
  border: 1px solid var(--border2); border-radius: 8px;
  transition: var(--transition);
}
.client-logo:hover { color: var(--green); border-color: var(--border); }
@keyframes scroll { 0%{ transform: translateX(0) } 100%{ transform: translateX(-50%) } }

/* ── CONTACT ── */
.contact { padding: 7rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }

.contact-form-wrap { position: relative; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text2); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2); border: 1px solid var(--border2);
  color: var(--text); border-radius: var(--radius); padding: .75rem 1rem;
  font-size: .93rem; font-family: inherit; resize: vertical;
  transition: var(--transition); outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text2); opacity: .6; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(57,255,20,.1); }
.form-group select option { background: var(--bg2); color: var(--text); }

.form-success {
  display: none; position: absolute; inset: 0;
  background: var(--bg2); border: 1px solid var(--green);
  border-radius: var(--radius-lg); flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 1rem;
}
.form-success.show { display: flex; }
.success-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #000; font-size: 1.75rem; font-weight: 900; display: flex; align-items: center; justify-content: center; }

.info-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.25rem; }
.info-terminal .terminal-top {
  background: var(--bg3); padding: .6rem 1rem;
  display: flex; align-items: center; gap: .4rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: var(--red); } .dot.y { background: var(--yellow); } .dot.g { background: var(--green); }

.info-items { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon { width: 36px; height: 36px; background: var(--green-glow); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--green); flex-shrink: 0; }
.info-label { font-family: var(--font-mono); font-size: .7rem; color: var(--green); display: block; margin-bottom: .2rem; }
.info-item p { font-size: .88rem; color: var(--text2); line-height: 1.5; }
.info-item a { color: var(--text2); text-decoration: none; transition: var(--transition); }
.info-item a:hover { color: var(--green); }

.emergency-box {
  background: rgba(255,68,58,.06); border: 1px solid rgba(255,68,58,.25);
  border-radius: var(--radius); padding: 1.25rem;
}
.emergency-box p { font-size: .88rem; color: var(--text2); margin-bottom: .75rem; }
.btn-emergency {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,68,58,.1); color: var(--red); border: 1px solid rgba(255,68,58,.3);
  border-radius: var(--radius); padding: .65rem 1rem; font-size: .85rem; font-weight: 600;
  text-decoration: none; transition: var(--transition);
}
.btn-emergency:hover { background: rgba(255,68,58,.2); }
.btn-emergency span { animation: pulse-warn .8s ease-in-out infinite; }

/* ── FOOTER ── */
.footer { background: var(--bg2); border-top: 1px solid var(--border2); padding: 4rem 0 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-logo { height: 104px; width: auto; object-fit: contain; }
.footer-logo-text {
  font-family: var(--font-mono); font-size: 1.4rem; font-weight: 500;
  color: var(--text2); letter-spacing: .04em; line-height: 1.3;
  border-left: 1px solid var(--border); padding-left: .75rem;
  white-space: nowrap;
}
.footer-logo-sub { font-size: .82rem; font-weight: 400; color: var(--green); letter-spacing: .06em; opacity: .85; }
.footer-brand p { font-size: .88rem; color: var(--text2); line-height: 1.6; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); text-decoration: none; transition: var(--transition);
}
.social-link:hover { border-color: var(--green); color: var(--green); background: var(--green-glow); }
.footer-links-group { display: flex; flex-direction: column; gap: .75rem; }
.footer-links-group h5 { font-size: .8rem; font-weight: 700; color: var(--text); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .25rem; }
.footer-links-group a { font-size: .88rem; color: var(--text2); text-decoration: none; transition: var(--transition); }
.footer-links-group a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--border2); padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: .8rem; color: var(--text2); }
.footer-cmd { opacity: .5; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { flex-direction: column; padding-top: 7rem; }
  .hero-visual { width: 100%; }
  .status-panel { max-width: 380px; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cert-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 1rem; gap: .5rem; }
  .nav-links.open { display: flex; }
  .nav-link { padding: .75rem 1rem; }
  .nav-cta { text-align: center; padding: .75rem 1rem; margin-left: 0; }
  .hamburger { display: flex; }
  .nav-logo { gap: .5rem; min-width: 0; overflow: hidden; }
  .nav-logo-img { height: 52px; flex-shrink: 0; }
  .nav-logo-text { font-size: .82rem; padding-left: .5rem; letter-spacing: .02em; white-space: normal; }
  .nav-logo-sub { font-size: .68rem; }

  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .cert-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
  .nav-logo-img { height: 38px; }
  .nav-logo-text { font-size: .68rem; padding-left: .35rem; }
  .nav-logo-sub { font-size: .6rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
