:root {
  /* Primary Colors - Deep Professional Blue */
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #3b82f6; /* Modern Blue */
  --accent-hover: #2563eb;
  --secondary: #fbbf24; /* Gold Success */

  /* Neutral Colors */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);

  /* Shadows & Effects */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-premium:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Radius */
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

/* Layout Containers */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography Gradient */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Navigation */
nav {
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-image-container {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
}

.stat-card-floating {
  position: absolute;
  bottom: -30px;
  left: -30px;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
}

/* Dashboard Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-premium);
  border-color: var(--accent);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.bg-blue-soft {
  background: #eff6ff;
  color: #3b82f6;
}
.bg-amber-soft {
  background: #fffbeb;
  color: #fbbf24;
}
.bg-emerald-soft {
  background: #ecfdf5;
  color: #10b981;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 0;
    gap: 2rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    margin: 0 auto 2rem;
  }
  .hero-image-container {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    display: flex;
  }
}

@media (max-width: 768px) {
  /* Global */
  .container {
    padding: 0 1rem;
  }

  /* Navigation */
  nav {
    height: 60px;
  }
  .logo-container {
    font-size: 1.2rem;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .nav-actions .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* Hero Section */
  .hero {
    padding: 2rem 0;
  }
  .hero-content h1 {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
  }
  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  /* Alur Pendaftaran Section */
  #pendaftaran-flow {
    padding: 3rem 1rem !important;
    margin: 0 -1rem !important;
  }
  #pendaftaran-flow h2 {
    font-size: 1.8rem !important;
  }
  #pendaftaran-flow > div:last-child {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Info Selection Section */
  #info-selection {
    padding: 2rem 0 !important;
  }
  #info-selection h2 {
    font-size: 1.8rem !important;
  }
  #info-selection > div:last-child {
    grid-template-columns: 1fr !important;
  }

  /* Tips & Trick Section */
  #tips-trick {
    border-radius: 20px !important;
    padding: 3rem 1.5rem !important;
    margin: 2rem -1rem !important;
  }
  #tips-trick > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  #tips-trick h2 {
    font-size: 1.6rem !important;
  }

  /* Footer */
  footer {
    padding: 2rem 0 !important;
    margin-top: 2rem !important;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 0.85rem;
  }

  /* Alur Pendaftaran cards */
  #pendaftaran-flow .glass {
    padding: 1.5rem !important;
  }
  #pendaftaran-flow li {
    font-size: 0.8rem !important;
  }

  /* Info Selection cards */
  #info-selection .glass {
    padding: 1.5rem !important;
  }

  /* Stat card */
  .stat-card-floating {
    display: none;
  }
}
