:root {
  --primary: #27ae60;         /* fresh green */
  --primary-dark: #219150;    /* darker green */
  --background: #181a20;
  --card-bg: #23263a;
  --text: #fff;
  --text-muted: #b0b3c6;
  --shadow: 0 4px 24px rgba(0,0,0,0.15);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--background) url('https://www.camfrog.com/id/images/video_background_violet.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
  box-sizing: border-box;
}

/* Tambahkan font Urbanist ke seluruh elemen utama */
html, body, input, button, select, textarea, .logo, .nav-desktop a, .nav-mobile a, .features-title, .feature-card h2, .feature-card p, .footer {
  font-family: 'Urbanist', 'Inter', Arial, sans-serif !important;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  width: 100%;
  background: rgba(24,26,32,0.95);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--primary);
}

.logo-icon {
  font-size: 2rem;
  margin-right: 8px;
}

.nav-desktop {
  display: flex;
  gap: 24px;
}

.nav-desktop a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-desktop a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  margin-left: 16px;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -340px;
  width: 280px;
  height: 100%;
  background: rgba(35,38,58,0.92);
  box-shadow: -12px 0 40px 0 rgba(39,174,96,0.18), -1px 0 0 #23263a;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
  transition:
    right 0.38s cubic-bezier(.7,0,.2,1),
    opacity 0.28s cubic-bezier(.4,0,.2,1),
    box-shadow 0.28s,
    backdrop-filter 0.28s;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(14px) saturate(1.2);
  transform: scale(0.98);
}

.sidebar.active {
  right: 0;
  opacity: 1;
  pointer-events: auto;
  box-shadow: -16px 0 48px 0 rgba(39,174,96,0.22), -1px 0 0 #23263a;
  backdrop-filter: blur(0px) saturate(1.2);
  transform: scale(1);
}

.close-sidebar {
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 32px;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 0;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav-mobile a:hover {
  background: var(--primary);
  color: #fff;
}

.main-content {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 32px 12px 64px 12px;
}

.footer {
  width: 100%;
  background: rgba(24,26,32,0.95);
  color: var(--text-muted);
  text-align: center;
  padding: 18px 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(24px);}
  to { opacity: 1; transform: translateY(0);}
}

/* Feature Section Styles */
.features {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  animation: fadeIn 1s;
}
.features-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 36px;
  font-weight: 700;
  letter-spacing: 1px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}
.feature-card {
  background: rgba(35,38,58,0.92);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 36px 24px 28px 24px;
  max-width: 320px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
}
.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(39,174,96,0.18); /* green shadow */
  border-color: var(--primary);
}
.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}
.feature-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.feature-card h2 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Sidebar slide-in/out animation & overlay - MODERN GLASS EFFECT */
.sidebar {
  right: -340px;
  opacity: 0;
  pointer-events: none;
  background: rgba(35,38,58,0.92);
  box-shadow: -12px 0 40px 0 rgba(39,174,96,0.18), -1px 0 0 #23263a;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
  transition:
    right 0.38s cubic-bezier(.7,0,.2,1),
    opacity 0.28s cubic-bezier(.4,0,.2,1),
    box-shadow 0.28s,
    backdrop-filter 0.28s;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(14px) saturate(1.2);
  transform: scale(0.98);
}
.sidebar.active {
  right: 0;
  opacity: 1;
  pointer-events: auto;
  box-shadow: -16px 0 48px 0 rgba(39,174,96,0.22), -1px 0 0 #23263a;
  backdrop-filter: blur(0px) saturate(1.2);
  transform: scale(1);
}

/* Overlay for sidebar */
.sidebar-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,40,40,0.22);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.sidebar.active + .sidebar-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .header-inner {
    max-width: 98vw;
    padding: 14px 10px;
  }
  .main-content {
    padding: 24px 4vw 64px 4vw;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .main-content {
    min-height: 60vh;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 500px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .features-title {
    font-size: 1.3rem;
  }
  .feature-card {
    padding: 22px 8px 18px 8px;
  }
}

