/* =========================================================
   LAYOUT G — Terminal/Tech Grid
   Used for: Software Audit
   ========================================================= */

.layout-g-wrapper {
  background: #0f1115; /* Dark IDE background */
  color: #e2e8f0;
  font-family: var(--font-primary);
  min-height: 100vh;
}

/* Terminal Hero */
.layout-g-hero {
  padding: 8rem 0 6rem;
  border-bottom: 1px solid #2d3748;
}

.terminal-box {
  background: #1a202c;
  border-radius: 12px;
  border: 1px solid #4a5568;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.terminal-header {
  background: #2d3748;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.terminal-dot.red { background: #fc8181; }
.terminal-dot.yellow { background: #f6e05e; }
.terminal-dot.green { background: #68d391; }

.terminal-title {
  margin-left: auto;
  margin-right: auto;
  font-family: monospace;
  color: #a0aec0;
  font-size: 0.9rem;
}

.terminal-body {
  padding: 3rem;
}

.terminal-body .prompt {
  color: #68d391;
  font-family: monospace;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: block;
}

.terminal-body h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 1.5rem;
}

.terminal-body p {
  font-size: 1.2rem;
  color: #a0aec0;
  line-height: 1.6;
  max-width: 700px;
}

.terminal-actions {
  margin-top: 2.5rem;
}

/* Tech Cards */
.layout-g-content {
  padding: 6rem 0;
}

.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.g-card {
  background: #1a202c;
  border: 1px solid #2d3748;
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.g-card:hover {
  border-color: #68d391;
}

.g-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}
.g-card:nth-child(1)::before { background: #fc8181; }
.g-card:nth-child(2)::before { background: #f6e05e; }
.g-card:nth-child(3)::before { background: #68d391; }

.g-card-icon {
  font-family: monospace;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  display: block;
}

.g-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.g-card p {
  color: #a0aec0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .g-grid {
    grid-template-columns: 1fr;
  }
}
