:root {
  --brand-color: #00695c;
  
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: transparent;
  color: #fff;
  position: relative;
  z-index: 0;
  overflow-x: hidden;
}

#vanta-bg {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  top: 0;
  left: 0;
}

.overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 105, 92, 0.25); /* EchobitsTech brand color with transparency */
  z-index: -1;
  top: 0;
  left: 0;
}
.navbar {
  background-color: transparent;
  padding: 1rem 2rem;
  position: relative;
  z-index: 10;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  height: 40px;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.navbar-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

/* Hamburger button styles */
.navbar-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 105, 92, 0.85); /* Company hue */
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
  }

  .navbar-links.show {
    display: flex;
  }
}
.navbar-links li {
  margin: 0.5rem 0;
}

#vanta-globe {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  background-color: rgba(0, 105, 92, 0.25); /* Company hue */
  overflow: hidden;
  color: white;
  background-color: transparent;
}

.live-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.metric-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 12px rgba(255, 63, 129, 0.4);
  font-weight: 500;
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}

.metric-badge span {
  font-weight: bold;
  color: #ff3f81;
}

.metric-badge:hover {
  transform: scale(1.05);
}

.capability-grid-section {
  margin: 3rem auto;
  text-align: center;
  color: #fff;
  background-color: rgba(35, 21, 60, 0.3);
  padding: 2rem;
  border-radius: 12px;
  max-width: 1000px;
}

.capability-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.tile {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.2rem 1rem;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  width: 220px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  cursor: pointer;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 12px #3f3fff55;
}

.tile h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.status {
  display: inline-block;
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

.type {
  display: block;
  font-size: 0.8rem;
  font-style: italic;
  color: #ccc;
}

.tile[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  white-space: nowrap;
}

.ai-interaction-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1.5rem;
  margin-top: 1.5rem;
  background-color: rgba(0, 105, 92, 0.25); /* Company hue */
  padding: 1rem;
  border-radius: 12px;
}

/* AI Response Box */
.ai-response-box {
  flex: 2 1 100%;
  padding: 1rem;
  background-color: #eef2fa;
  border-left: 4px solid #3c82f6;
  border-radius: 8px;
  font-style: italic;
  max-height: 300px;
  min-height: 200px;
  overflow-y: auto;
}

.prompt-feed {
  flex: 1;
  border-left: 2px solid rgba(60, 130, 246, 0.5);
  padding: 1rem;
  border-radius: 8px;
  color: #f4f4f4;
  overflow-y: auto;
  max-height: 300px;
  min-width: 250px;
  box-sizing: border-box;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .prompt-feed {
    min-width: 100%;
    border-left: none;
    border-top: 2px solid rgba(60, 130, 246, 0.5);
    margin-top: 1rem;
  }
}


.hero {
  background-color: transparent;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  width: 100%;

  box-sizing: border-box;
  overflow-wrap: break-word;
}




.hero img.logo {
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0;
  line-height: 1.2;
  text-align: center;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.4rem;
    padding: 0 0.5rem;
  }
}


.hero p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: #ffffffcc;
}

.buttons {
  margin-top: 2rem;
}

.buttons a {
  display: inline-block;
  margin: 0 1rem;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: var(--brand-color);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.buttons a:hover {
  background-color: #ffffffdd;
  border-color: #fff;
}

.hero-api-details {
  margin-top: 2rem;
  text-align: center;
  color: white;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-api-details p {
  margin: 0.3rem 0;
}

.hero-api-details code {
  background: none;
  color: white;
  font-weight: normal;
  font-family: inherit;
}

.hero-api-details strong {
  font-weight: bold;
}

.info-section {
  padding: 3rem 2rem;
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  max-width: 1000px;
  margin: 0 auto;
  color: #333;
}

.info-section h3 {
  color: var(--brand-color);
  margin-bottom: 1rem;
}

.info-section pre {
  background: #f4f4f4;
  padding: 1rem;
  overflow-x: auto;
  border-left: 4px solid var(--brand-color);
  font-size: 0.95rem;
  border-radius: 4px;
}

.info-block {
  margin-bottom: 2rem;
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.info-card {
  flex: 1 1 300px;
  background-color: #f9fafc;
  padding: 1.5rem;
  border-left: 4px solid var(--brand-color);
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.info-card h4 {
  margin-top: 0;
  color: var(--brand-color);
}

.info-card code,
.info-section code {
  background: none;
  color: #00695c;
  font-family: monospace;
}

.ai-prompt-section {
  margin: 3rem auto;
  padding: 2rem;
  max-width: 800px;
  background-color: rgba(0, 105, 92, 0.25);
  color: white;
  border-radius: 16px;
 
}

.ai-prompt-section h3 {
  margin-bottom: 0.5rem;
  color: #fff;
}
.prompt-box {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap; /* allow wrapping on small screens */
}

.prompt-box input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #888;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fff;
  color: #000;
  min-width: 0; /* prevents overflow on flex items */
  box-sizing: border-box;
  width: 100%;
}

.prompt-box button {
  padding: 0.75rem 1rem;
  background-color: #3c82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
}

/* Responsive behavior */
@media (max-width: 600px) {
  .prompt-box {
    flex-direction: column;
  }

  .prompt-box input,
  .prompt-box button {
    width: 100%;
  }
}



.ai-response-box {
  margin-top: 1rem;
  padding: 1rem;
  background-color: rgba(255,255,255,0.1);
  border-left: 4px solid #3c82f6;
  border-radius: 8px;
  font-style: italic;
  color: #ffffffdd;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #aaa;
}

.brand-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
}

code {
  font-family: monospace;
  color: #3c82f6;
}

@media (max-width: 768px) {
  .buttons a {
    display: block;
    margin: 0.5rem 0;
  }

  .brand-icon {
    position: static;
    display: block;
    margin: 1rem auto;
  }

  .ai-prompt-section {
    padding: 1rem;
  }

  .prompt-box {
    flex-direction: column;
  }

  .prompt-box input,
  .prompt-box button {
    width: 100%;
  }
}
  
/* Hide by default */
#testGround.hidden {
  display: none;
}

/* Main container styling */
#testGround {
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
  padding: 2rem;
  border-radius: 16px;
  margin-top: 2rem;
  transition: all 0.4s ease;
  color: #e4e4e4;
  font-family: 'Segoe UI', sans-serif;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.test-heading {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}

/* Labels */
.input-label, .output-label {
  display: block;
  font-weight: 500;
  margin: 1.2rem 0 0.5rem;
  color: #cceeff;
}

/* Textarea input styling */
.json-input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #d0f0ff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  resize: vertical;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.2);
}

/* Button styling */
.test-btn {
  display: block;
  margin-top: 1.2rem;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.test-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.5);
}

/* JSON output display box */
.json-output {
  background-color: rgba(0, 0, 0, 0.35);
  color: #d4f0ff;
  padding: 1.2rem;
  border-radius: 10px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  overflow-x: auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  max-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1.2rem;
}

/* Error styling */
.json-output.error {
  color: #ff4b4b;
  background-color: rgba(40, 0, 0, 0.4);
  border-color: rgba(255, 0, 0, 0.2);
}







/* Hide property test ground by default */
#propertyTestGround.hidden {
  display: none;
}

/* Unified styling - inherits from #testGround */
#propertyTestGround {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  transition: opacity 0.4s ease, transform 0.3s ease;
  margin-top: 2rem;
  opacity: 1;
  transform: scale(1);
}

#propertyTestGround:hover {
  opacity: 0.95;
  transform: scale(1.01);
}
