/* Global Styles */
:root {
  --primary: #2f7dff;
  --primary-dark: #1f61d6;
  --bg: #f5faff;
  --surface: #ffffff;
  --text: #12324b;
  --muted: #5f7390;
  --border: #dce9ff;
  --success: #4caf50;
  --warning: #ff9800;
  --error: #f44336;
  --bg-gradient: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

[data-theme="dark"] {
  --bg: #0b1528;
  --surface: #112240;
  --text: #f0f6fc;
  --muted: #8b9eb7;
  --border: #1e2d4a;
  --bg-gradient: linear-gradient(135deg, #070e1b 0%, #112240 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-gradient);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  padding-top: 96px;
  /* Memberikan ruang agar konten tidak tertutup floating navbar */
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../public/images/bg_buildings.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.11;
  /* Ditingkatkan ke 11% agar detail gedung terlihat dengan sangat jelas */
  z-index: -2;
  pointer-events: none;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
}

[data-theme="dark"] body::before {
  opacity: 0.10;
  /* Ditingkatkan ke 10% untuk tema gelap agar gedung terlihat tegas */
  mix-blend-mode: screen;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(47, 125, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-small {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-small:hover {
  background: var(--primary-dark);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 0.8s ease-out forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal:nth-child(1) {
  animation-delay: 0.1s;
}

.reveal:nth-child(2) {
  animation-delay: 0.2s;
}

.reveal:nth-child(3) {
  animation-delay: 0.3s;
}

.reveal:nth-child(4) {
  animation-delay: 0.4s;
}

.reveal:nth-child(5) {
  animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .btn-small {
    width: 100%;
    text-align: center;
  }
}