/* ==========================================
   HOME PAGE STYLES - TR7ASSEMBLY
   ========================================== */

/* Hero Section */
.hero-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-col-left {
  text-align: left;
}

.hero-tagline {
  color: var(--brand-primary, #ff0000);
  font-family: monospace;
  font-weight: bold;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 15px 0;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-desc {
  color: var(--text-secondary, #aaa);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.hero-btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-btn-main {
  padding: 12px 24px;
  text-decoration: none;
}

.hero-btn-sec {
  padding: 12px 20px;
  text-decoration: none;
  border: 1px solid #333;
  color: #ccc;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.hero-btn-sec:hover {
  border-color: var(--brand-primary, #ff0000);
  color: var(--brand-primary, #ff0000);
}

/* Engine Diagram Visual Box */
.engine-diagram-box {
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: 8px;
  padding: 20px;
  font-family: monospace;
}

.diagram-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #333;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.diagram-title {
  color: #ff0000;
  font-size: 0.8rem;
  font-weight: bold;
}

.diagram-status {
  color: #00ff66;
  font-size: 0.75rem;
}

.stack-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stack-layer {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid #333;
  padding: 10px 15px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.layer-active {
  background: rgba(255, 0, 0, 0.1);
  border-color: #ff0000;
}

.layer-deploy {
  background: rgba(30, 30, 30, 0.9);
  border: 1px dashed #555;
}

.stack-text {
  color: #fff;
  font-size: 0.85rem;
}

.stack-text-muted {
  color: #aaa;
  font-size: 0.85rem;
}

.stack-badge {
  font-size: 0.75rem;
}

.text-green {
  color: #00ff66 !important;
}

.text-cyan {
  color: #00e5ff !important;
}

.text-orange {
  color: #ff9900 !important;
}

.stack-connector {
  text-align: center;
  color: #555;
  font-size: 0.8rem;
  margin: -5px 0;
}

.diagram-footer {
  margin-top: 15px;
  text-align: center;
  background: #050505;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #1a1a1a;
}

.footer-label {
  color: #888;
  font-size: 0.75rem;
}

.footer-status-text {
  color: #00ff66;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Philosophy Section */
.philosophy-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.philosophy-heading {
  font-size: 1.8rem;
  color: #fff;
}

.philosophy-text {
  color: #ccc;
  line-height: 1.6;
  margin: 15px 0;
}

.manifesto-box {
  background: rgba(15, 15, 15, 0.9);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #ff0000;
}

.manifesto-title {
  color: #ff0000;
  font-family: monospace;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.manifesto-list-custom {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #ddd;
  font-size: 0.9rem;
}

/* Pillars Section */
.pillars-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillars-main-title {
  text-align: center;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 40px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.pillar-card {
  background: rgba(15, 15, 15, 0.9);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #222;
}

.pillar-num {
  font-family: monospace;
  color: #ff0000;
  font-size: 0.85rem;
  font-weight: bold;
}

.pillar-title {
  color: #fff;
  font-size: 1.1rem;
  margin: 8px 0;
}

.pillar-desc {
  color: #888;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==========================================
   RESPONSIVE MOBILE VIEWPORT (ANDROID)
   ========================================== */
@media (max-width: 768px) {
  .hero-section {
    padding: 30px 15px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .philosophy-section {
    padding: 40px 15px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .manifesto-box {
    padding: 20px 15px;
  }

  .pillars-section {
    padding: 40px 15px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}