* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
}

body {
  background: #0a0d14;
  color: #e6e9ef;
}

a {
  color: inherit;
  text-decoration: none;
}

/* TOP BAR */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  background: rgba(10, 13, 20, 0.7);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
/* =========================
   Header Logo (Image)
   ========================= */
.logo {
  display: flex;
  align-items: center;
  padding: 6px 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 75px;          
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0, 200, 255, 0.35));
}

@media (max-width: 640px) {
  .logo-img {
    height: 44px;
  }
}

.topbar nav a {
  margin-left: 32px;       
  font-size: 14px;
  letter-spacing: 0.7px;    
  opacity: 0.85;
  transition: opacity 0.2s;
  padding: 8px 4px;       
}

.topbar nav a:hover {
  opacity: 1;
 color: #7fdcff;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.hero-overlay {
  position: relative;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: 72px;
  letter-spacing: 6px;
  margin-bottom: 16px;
}

.tagline {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  margin: 0 8px;
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #4f7cff, #6b9cff);
  border: none;
  color: #fff;
}

.btn.primary:hover {
  filter: brightness(1.1);
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* SECTIONS */
.section {
  padding: 120px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.section.alt {
  background: #0d111a;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section p {
  max-width: 700px;
  opacity: 0.8;
  line-height: 1.6;
}

/* FOOTER */
.footer {
  padding: 60px 24px;
  text-align: center;
  opacity: 0.5;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* NOVA Voice Typing */
.nova-voice {
  margin-top: 24px;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: #cfd6ff;
  opacity: 0.9;
  min-height: 24px;
}

.cursor {
  display: inline-block;
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Split Hero Layout */
.hero-overlay.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  text-align: left;
}

.hero-text {
  position: absolute;
  right: 7%;
  bottom: 14%;
  max-width: 520px;
  z-index: 3;
  text-align: left;
}

.hero-text h1 {
  font-size: 44px;
  letter-spacing: 6px;
  margin-bottom: 16px;
}

.hero-visual {
  flex: 1;
}

/* Make sure text stays readable */
.hero-text, .hero-text * {
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

@media (max-width: 900px) {
  .hero-text {
    right: 6%;
    bottom: 14%;
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .hero-text {
    left: 6%;
    right: 6%;
    bottom: 10%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .topbar nav a {
    margin-left: 16px;
    font-size: 13px;
  }
}


.nova-voice {
  margin-top: 18px;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #cfd6ff;
  opacity: 0.9;
  min-height: 44px;
  max-width: 520px;
  line-height: 1.5;
  white-space: normal;
  word-break: keep-all;
}

/* Section head */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.section-sub {
  margin: 0;
  max-width: 520px;
  opacity: 0.8;
}

/* Grid cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  background: rgba(10, 14, 22, 0.55);
  backdrop-filter: blur(10px);
  padding: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.card-top h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  letter-spacing: 0.4px;
}

.card-top p {
  margin: 0;
  opacity: 0.82;
  line-height: 1.55;
}

.pill {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  opacity: 0.9;
}

.card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
}

.muted {
  font-size: 12px;
  opacity: 0.65;
}

/* Disabled button look (keeps your existing .btn styles) */
.btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* Responsive */
@media (max-width: 980px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Status */
.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.status-card {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(10, 14, 22, 0.55);
  backdrop-filter: blur(10px);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.status-label {
  font-size: 12px;
  opacity: 0.75;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.status-value {
  margin: 8px 0 6px;
  font-size: 22px;
  letter-spacing: 0.4px;
}

.status-hint {
  font-size: 12px;
  opacity: 0.6;
}

/* State colors */
.state-on { color: #7CFF9B; }
.state-pause { color: #FFD36E; }
.state-kill { color: #FF7C7C; }

/* Log */
.status-log {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(10, 14, 22, 0.55);
  backdrop-filter: blur(10px);
  padding: 14px 16px;
}

.log-head {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.log-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 160px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.5;
}

.log-list li {
  opacity: 0.85;
  padding: 2px 0;
}

/* Responsive */
@media (max-width: 980px) {
  .status-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.subtag {
  margin-top: 10px;
  opacity: 0.75;
  max-width: 720px;
  line-height: 1.5;
}
