:root {
  --bg: #add8ff; /* 🎨 biru muda lembut */
  --card: #ffffff;
  --muted: #6b6b74;
  --accent: #c27ba0; /* pink lembut */
  --accent-2: #a7b9f0; /* abu biru muda */
  --glass: rgba(255, 255, 255, 0.5);
  --radius: 16px;
  --shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
  --font: 'Poppins', system-ui, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: linear-gradient(180deg, #e8e8e8, var(--bg));
  color: #222;
  margin: 0;
  line-height: 1.6;
  animation: fadeInBody 1.2s ease-in-out;
}

@keyframes fadeInBody {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* HEADER */
.site-header {
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  z-index: 999;
  animation: fadeDown 1s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.brand {
  font-weight: 700;
  color: #333;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.brand:hover {
  color: var(--accent);
}

/* NAVIGATION */
nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: #444;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

nav a:hover {
  background: var(--glass);
  color: var(--accent);
}

/* === MOBILE MENU === */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* HERO */
.hero {
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-left {
  flex: 1;
}

.hero-right {
  flex: 1;
  text-align: right;
}

.hero-right img {
  max-width: 380px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

h1 {
  font-size: 2.4rem;
  margin: 0 0 0.5rem;
}

.lead {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.accent {
  color: var(--accent);
  text-shadow: 0 3px 18px rgba(194, 123, 160, 0.28);
}

.btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 10px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(150,150,150,0.25);
  transition: all 0.35s ease;
}

.btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(150,150,150,0.35);
}

/* FEATURED WORK */
.featured {
  padding: 2rem 0;
  animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.08);
}

.card-body {
  padding: 1.2rem;
  transition: background 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.card h3 {
  margin: 0.2rem 0;
  font-size: 1.08rem;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ====== PLATFORM SECTION ====== */
.platform-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8faff, #eef4ff);
  text-align: center;
}

.platform-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.platform-subtitle {
  color: #555;
  margin-bottom: 40px;
}

.container-platform {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.platform-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 25px;
  transition: all 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.platform-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.platform-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.platform-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.platform-btn {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(90deg, #007bff, #6f42c1);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.platform-btn:hover {
  opacity: 0.9;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-right {
    order: -1;
  }
  .hero-right img {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  nav.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
}

/* === Animation for Mobile Menu Toggle === */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}
