/* ==========================================
   LANDING PAGE STYLES - TR7ASSEMBLY
   ========================================== */

.landing-hero-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1a0505 0%, #0a0a0a 70%);
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

/* Background Glow Effect */
.landing-glow-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 0, 0, 0.15);
  filter: blur(120px);
  border-radius: 50%;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.landing-content {
  max-width: 850px;
  position: relative;
  z-index: 2;
}

/* Brand Logo Wrapper */
.landing-logo-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.landing-logo-img {
  width: 150px;
  height: auto;
  display: block;
}

/* Top Badge */
.landing-badge {
  display: inline-block;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 25px;
}

.landing-badge span {
  color: var(--brand-primary, #ff0000);
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Headline & Subtitle */
.landing-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.text-glow-red {
  color: var(--brand-primary, #ff0000);
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.landing-description {
  color: #aaa;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 650px;
  margin: 0 auto 35px;
  line-height: 1.6;
}

/* Action Buttons Wrapper */
.landing-actions-wrapper {
  margin-bottom: 50px;
}

.landing-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.landing-sub-link {
  display: inline-block;
  color: #777;
  font-family: monospace;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.landing-sub-link:hover {
  color: #ff0000;
}

.btn-landing-primary {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-primary, #ff0000);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-landing-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
}

.btn-landing-secondary {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-landing-secondary:hover {
  border-color: var(--brand-primary, #ff0000);
  color: var(--brand-primary, #ff0000);
}

/* 1. Hero Visual Anchor */
.system-status-anchor {
  max-width: 650px;
  margin: 40px auto 20px auto;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #333;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.status-title {
  font-family: monospace;
  font-size: 0.85rem;
  color: #ff0000;
  font-weight: bold;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #00ff66;
  font-family: monospace;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff66;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 15px;
  font-family: monospace;
  font-size: 0.8rem;
}

.status-label {
  color: #666;
  display: block;
}

.status-val {
  color: #fff;
}

.text-green {
  color: #00ff66 !important;
}

.text-red {
  color: #ff0000 !important;
}

/* 2. Asymmetric Cards */
.landing-features-asymmetric {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 50px;
  text-align: left;
}

.landing-card {
  background: rgba(15, 15, 15, 0.9);
}

.card-hero-main {
  grid-column: span 12;
  padding: 30px;
  border-left: 4px solid var(--brand-primary, #ff0000);
}

.card-hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.card-tag {
  font-family: monospace;
  color: #ff0000;
  font-size: 0.8rem;
  font-weight: bold;
}

.card-title {
  font-size: 1.4rem;
  color: #fff;
  margin: 5px 0 10px 0;
}

.card-desc {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
}

.card-number {
  font-size: 3rem;
  opacity: 0.3;
  font-family: monospace;
  font-weight: bold;
  color: #ff0000;
}

.card-sub {
  grid-column: span 6;
  padding: 25px;
}

.card-sub-title {
  font-size: 1.1rem;
  color: #fff;
  margin: 8px 0;
}

.card-sub-desc {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* 3. Workflow Section */
.how-it-works-section {
  margin-top: 70px;
  text-align: center;
}

.section-subtitle {
  color: #ff0000;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: bold;
}

.section-title {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 30px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  text-align: left;
}

.workflow-card {
  background: rgba(20, 20, 20, 0.8);
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #222;
}

.workflow-num {
  font-family: monospace;
  font-weight: bold;
  font-size: 1.1rem;
  color: #ff0000;
}

.workflow-text {
  color: #aaa;
  font-size: 0.85rem;
  margin-top: 8px;
}

/* 4. Selected Projects */
.selected-projects-section {
  margin-top: 80px;
  text-align: left;
}

.projects-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 10px;
}

.projects-link-all {
  color: #ff0000;
  font-family: monospace;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: bold;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #222;
}

.project-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 20px;
}

.project-tag {
  font-family: monospace;
  font-size: 0.75rem;
  color: #888;
}

.project-name {
  color: #fff;
  font-size: 1.1rem;
  margin: 5px 0;
}

.project-desc {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.project-link {
  color: #ff0000;
  font-family: monospace;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: bold;
}

/* 5. Final CTA */
.final-cta-box {
  margin-top: 80px;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(20,20,20,0.8) 0%, rgba(35,10,10,0.9) 100%);
  border: 1px solid rgba(255,0,0,0.4);
  border-radius: 10px;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  color: #fff;
  margin: 10px 0;
}

.cta-desc {
  color: #ccc;
  max-width: 550px;
  margin: 0 auto 25px auto;
  font-size: 0.95rem;
}

.cta-btn {
  padding: 14px 30px;
  font-size: 1rem;
  text-decoration: none;
}

/* ==========================================
   RESPONSIVE MOBILE VIEWPORT (ANDROID)
   ========================================== */
@media (max-width: 768px) {
  .landing-hero-container {
    padding: 30px 15px;
    min-height: auto;
  }

  .landing-glow-bg {
    width: 200px;
    height: 200px;
  }

  .landing-title {
    font-size: 2rem;
  }

  .landing-description {
    font-size: 0.9rem;
  }

  .landing-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-landing-primary, 
  .btn-landing-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .card-sub {
    grid-column: span 12; /* Di HP card kecil jadi full lebar */
  }

  .projects-header-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}