/* Reset & Base Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-black: #000000;
  --panel-black: #080a0f;
  --cyan-glow: #00d2ff;
  --cyan-dim: #0077b6;
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --border-glow: rgba(0, 210, 255, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --accent-green: #4ade80;
  --font-mono: 'JetBrains Mono', monospace, Consolas;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* Entry Intro Overlay (Homepage Only) */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 4s ease-in-out, visibility 4s ease-in-out;
}

.intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.intro-logo-img {
  width: auto;
  height: 92vh;
  max-width: 100vw;
  object-fit: contain;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-select: none;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  transition: all 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

#header-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-select: none;
}

.brand-name {
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 1.1rem;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--cyan-glow);
}

.nav-btn {
  background: transparent;
  color: var(--cyan-glow);
  border: 1px solid var(--cyan-glow);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-btn:hover {
  background: var(--cyan-glow);
  color: var(--bg-black);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text-white);
}

/* Hero Section */
.hero {
  width: 100%;
  background-color: var(--bg-black);
  padding-top: 7.5rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  cursor: default;
}

.video-box {
  width: 100%;
  max-width: 100%;
  margin: 0 0 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-black);
  user-select: none;
  -webkit-user-select: none;
}

.video-box video {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-content {
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan-glow);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
}

.glow-headline {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 0 25px rgba(0, 210, 255, 0.45);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.primary-btn {
  background: var(--cyan-glow);
  color: var(--bg-black);
}

.primary-btn:hover {
  background: #33dcff;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Pillar Sections */
.pillar-section {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-black);
}

.alternate-bg {
  background-color: var(--panel-black);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.pillar-grid.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.pillar-grid.reverse .pillar-info {
  order: 2;
}

.pillar-grid.reverse .pillar-visual {
  order: 1;
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--cyan-glow);
  display: block;
  margin-bottom: 0.75rem;
}

.pillar-info h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.pillar-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spec-item {
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--cyan-glow);
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.spec-item strong {
  color: var(--text-white);
  display: block;
  margin-bottom: 0.25rem;
}

/* Terminal / HUD Visual Panels */
.visual-panel {
  background: rgba(8, 10, 15, 0.85);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terminal-bar {
  background: rgba(0, 0, 0, 0.9);
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
  display: inline-block;
}

.terminal-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #64748b;
}

.panel-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.metric-value.highlight {
  color: var(--accent-green);
}

.metric-status {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
}

.status-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px var(--accent-green);
}

/* IP Notice & NDA Section */
.ip-notice {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-black);
}

.ip-box {
  background: linear-gradient(135deg, rgba(8, 10, 15, 0.95), rgba(0, 0, 0, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.alert-badge {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.08);
}

.ip-content h2 {
  font-size: 2rem;
  color: var(--text-white);
  margin: 0.5rem 0 1rem 0;
}

.ip-content p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
}

.ip-sub {
  color: var(--text-muted) !important;
  font-size: 0.9rem !important;
  margin-top: 0.75rem;
}

.large-cta {
  padding: 1rem 2.2rem;
  font-size: 1rem;
  white-space: nowrap;
}

/* Contact Page Styles */
.contact-page-main {
  flex: 1;
  padding: 7.5rem 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.page-headline {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(0, 210, 255, 0.45);
}

.contact-subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
}

.contact-form {
  background: #090c12;
  border: 1px solid rgba(0, 210, 255, 0.2);
  padding: 2.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.9rem;
  color: #94a3b8;
}

.form-group input,
.form-group textarea {
  background-color: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem;
  border-radius: 4px;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-glow);
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.3);
}

.field-error {
  color: #ff5252;
  font-size: 0.82rem;
  min-height: 1.1rem;
}

.input-invalid {
  border-color: #ff5252 !important;
}

.submit-btn {
  margin-top: 0.5rem;
  width: 100%;
  background: var(--cyan-glow);
  color: #000000;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-btn:hover {
  background: #33dcff;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
}

.direct-contact-box {
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.direct-contact-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.direct-contact-box p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.email-direct {
  color: var(--cyan-glow);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  border-bottom: 1px dashed var(--cyan-glow);
  padding-bottom: 4px;
  align-self: flex-start;
}

.email-direct:hover {
  color: #33dcff;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  background-color: var(--bg-black);
}

/* Responsive */
@media (max-width: 900px) {
  .pillar-grid,
  .pillar-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pillar-grid.reverse .pillar-info { order: 1; }
  .pillar-grid.reverse .pillar-visual { order: 2; }
  .glow-headline { font-size: 2.2rem; }
  .ip-box { padding: 2rem; }
  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-black);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .glow-headline { font-size: 2rem; }
  .video-box video { height: auto; }
  .cta-group { flex-direction: column; }
}
