/* --- CSS RESET & VARIABLES --- */
:root {
  --bg-dark: #080b11;
  --bg-card: rgba(17, 24, 39, 0.5);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-glow: #3b82f6;
  --accent-neon: #10b981;
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, .logo {
  font-family: 'Space Grotesk', sans-serif;
}

/* --- BACKGROUND ARTWORK --- */
.bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.blob-1 { top: -10%; left: 10%; width: 500px; height: 500px; background: var(--accent-glow); }
.blob-2 { top: 30%; right: -10%; width: 600px; height: 600px; background: var(--accent-neon); }

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- NAVBAR --- */
header {
  backdrop-filter: blur(12px);
  background: rgba(8, 11, 17, 0.7);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* --- HERO SECTION --- */
.hero {
  padding: 180px 0 100px 0;
  text-align: center;
  position: relative;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 2rem;
}

.tagline-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-neon);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

/* BUTTONS */
.cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- FEATURES SECTION --- */
.features {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #60a5fa;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 140px 0 60px 0; }
  .cta-group { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
  .card { padding: 2rem; }
}

/* --- ECOSYSTEM SECTION CUSTOM STYLES --- */
.ecosystem-section {
  background: linear-gradient(180deg, rgba(8, 11, 17, 0) 0%, rgba(16, 185, 129, 0.03) 100%);
  border-top: 1px solid var(--border-color);
  padding-top: 120px;
}

/* Modifikasi sedikit gaya card agar ada variasi warna aksen hijau */
.ecosystem-card:hover {
  border-color: rgba(16, 185, 129, 0.3); /* Aksen glow hijau saat hover */
}

/* Variasi Warna Ikon untuk tiap Slot Card Ecosystem */
.eco-icon-1 { color: #f43f5e; } /* Rose/Pink Accent */
.eco-icon-2 { color: #10b981; } /* Emerald Green Accent */
.eco-icon-3 { color: #a855f7; } /* Purple Accent */

/* --- INFRASTRUCTURE SECTION CUSTOM STYLES --- */
.infra-section {
  background: linear-gradient(180deg, rgba(8, 11, 17, 0) 0%, rgba(168, 85, 247, 0.02) 100%);
  border-top: 1px solid var(--border-color);
  padding-top: 120px;
  padding-bottom: 140px;
}

/* Modifikasi gaya card agar ada variasi warna aksen ungu */
.infra-card:hover {
  border-color: rgba(168, 85, 247, 0.3); /* Aksen glow ungu saat hover */
}

/* Teks Spesifikasi Tech Kecil di Bawah Card */
.tech-spec {
  margin-top: 1.5rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #a855f7; /* Warna ungu futuristik */
  background: rgba(168, 85, 247, 0.06);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(168, 85, 247, 0.15);
  display: inline-block;
}

/* --- PORTFOLIO SECTION CUSTOM STYLES --- */
.portfolio-section {
  background: linear-gradient(180deg, rgba(8, 11, 17, 0) 0%, rgba(59, 130, 246, 0.02) 100%);
  border-top: 1px solid var(--border-color);
  padding-top: 120px;
}

/* Modifikasi gaya card portfolio agar ada aksen biru neon */
.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

/* Label Nomor Proyek di Atas */
.portfolio-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: #60a5fa;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* Grouping untuk Tags Teknologi */
.tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: var(--text-muted);
}

/* Tombol Link Mini */
.btn-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
  margin-top: auto;
}

.btn-link:hover {
  color: #60a5fa;
  transform: translateX(4px);
}
