/*=============================================
  SIMNANGKIS - Modern Landing Page Styles
  Version: 2.0
  Author: Integra Indonesia
=============================================*/

:root {
  --primary-color: #2563eb;
  --secondary-color: #10b981;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --success-color: #22c55e;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: #3b82f6;
  --purple-color: #a855f7;
  --white: #ffffff;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== General Styles ===== */
body.modern-theme {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark-color);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark-color);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

.fadeInUp {
  animation-name: fadeInUp;
}

.fadeInRight {
  animation-name: fadeInRight;
}

.fadeInLeft {
  animation-name: fadeInLeft;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* ===== Navigation ===== */
#mainNav {
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 1000;
}

#mainNav.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

#mainNav .container {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  height: 60px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
}

.logo-main {
  height: 50px;
  transition: var(--transition);
  display: block;
  vertical-align: middle;
}

#mainNav.scrolled .logo-main {
  height: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 700;
}

.brand-text small {
  font-size: 0.75rem;
  color: var(--gray-color);
}

/* Navbar Symmetry - Balanced layout */
#mainNav .navbar-collapse {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#mainNav .navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto !important; /* Override ml-auto untuk center alignment */
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  width: auto;
}

.nav-link {
  color: var(--dark-color) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: normal;
  height: auto;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 50%;
}

.btn-pengaduan-nav {
  background: linear-gradient(135deg, var(--warning-color), #f97316);
  color: white !important;
  border-radius: 50px;
  padding: 0.5rem 1.5rem !important;
  margin-left: 0.5rem;
}

.btn-pengaduan-nav::after {
  display: none;
}

.btn-login-nav {
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  color: white !important;
  border-radius: 50px;
  padding: 0.5rem 1.5rem !important;
  margin-left: 0.5rem;
}

.btn-login-nav::after {
  display: none;
}

/* Desktop: Symmetrical layout with centered menu */
@media (min-width: 992px) {
  #mainNav .container {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    position: relative;
    min-height: 70px;
  }
  
  #mainNav .navbar-brand {
    grid-column: 1;
    justify-self: start;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 100%;
  }
  
  #mainNav .navbar-toggler {
    grid-column: 3;
    justify-self: end;
  }
  
  #mainNav .navbar-collapse {
    grid-column: 2;
    justify-self: center;
    width: auto;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
  }
  
  #mainNav .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    gap: 0.25rem;
  }
  
  #mainNav .navbar-nav .nav-item {
    margin: 0 0.25rem;
    display: flex;
    align-items: center;
  }
  
  #mainNav .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    height: 100%;
  }
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(16, 185, 129, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-text {
  color: white;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.bratasena-logo {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-hero.btn-primary {
  background: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.btn-hero.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-hero.btn-outline:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Statistics Cards */
.stats-cards {
  margin-top: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  color: white;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.stat-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.stat-info h3 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-info p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

.hero-illustration {
  text-align: center;
}

.hero-illustration img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Wave Divider */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

/* ===== Section Styles ===== */
.section-padding {
  padding: 80px 0;
}

.bg-light {
  background: var(--light-color);
}

.bg-dark {
  background: var(--dark-color);
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== About Section ===== */
.about-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-content .lead {
  font-size: 1.1rem;
  color: var(--gray-color);
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--success-color);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-item h5 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-item p {
  color: var(--gray-color);
  margin: 0;
}

.partner-logos {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.partner-logos h5 {
  font-size: 1.1rem;
  color: var(--gray-color);
  font-weight: 600;
}

.partner-logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner-item {
  flex: 0 1 auto;
  text-align: center;
}

.partner-logo {
  max-width: 150px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.partner-logo:hover {
  transform: scale(1.05);
}

/* ===== Services/Pelayanan Section ===== */
.service-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-icon.bg-success {
  background: linear-gradient(135deg, var(--success-color), #16a34a);
}

.service-icon.bg-warning {
  background: linear-gradient(135deg, var(--warning-color), #f97316);
}

.service-icon.bg-danger {
  background: linear-gradient(135deg, var(--danger-color), #dc2626);
}

.service-icon.bg-info {
  background: linear-gradient(135deg, var(--info-color), #2563eb);
}

.service-icon.bg-purple {
  background: linear-gradient(135deg, var(--purple-color), #9333ea);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.service-link:hover {
  gap: 0.75rem;
  color: #1d4ed8;
}

.service-link i {
  font-size: 0.9rem;
  transition: var(--transition);
}

/* Data Menu Section */
.data-menu-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05));
}

.data-category {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.data-category:hover {
  box-shadow: var(--shadow-lg);
}

.data-category h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.data-category h3 i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.data-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.data-menu-item {
  background: var(--light-color);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  color: var(--dark-color);
  display: block;
}

.data-menu-item:hover {
  background: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
  text-decoration: none;
}

.data-menu-item i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.data-menu-item h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.data-menu-item p {
  font-size: 0.85rem;
  color: var(--gray-color);
  margin: 0;
}

.data-menu-item .badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50px;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* ===== Contact Section ===== */
.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 2rem;
  color: white;
}

.contact-card h5 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* ===== Footer ===== */
.footer-modern {
  background: #0f172a;
  padding: 3rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.copyright a {
  color: var(--primary-color);
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  color: white;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.back-to-top i {
  font-size: 1.2rem;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-content {
  text-align: center;
}

.spinner {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 0 auto 1rem;
}

.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: bounce 2s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1s;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

.loading-text {
  color: var(--gray-color);
  font-weight: 600;
}

/* ===== Modern Login Modal ===== */
.modal-login .modal-dialog {
  max-width: 480px;
}

.modal-login .modal-content {
  border: none;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
  overflow: visible;
  position: relative;
  background: white;
}

/* Close Button */
.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.close-modal:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.close-modal i {
  color: var(--gray-color);
  font-size: 1.25rem;
}

/* Login Container */
.login-container {
  padding: 3rem 2.5rem 2.5rem;
}

/* Login Header */
.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.login-icon i {
  font-size: 2.5rem;
  color: white;
}

.login-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--gray-color);
  margin: 0;
  font-size: 0.95rem;
}

/* Login Body */
.login-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Modern Input Group */
.input-group-modern {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-icon i {
  color: var(--gray-color);
  font-size: 1.1rem;
  transition: var(--transition);
}

.form-control-modern {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-size: 1rem;
  transition: var(--transition);
  background: #f8fafc;
  color: var(--dark-color);
}

.form-control-modern:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.form-control-modern:focus + .input-icon i,
.input-group-modern:focus-within .input-icon i {
  color: var(--primary-color);
}

.form-control-modern::placeholder {
  color: #94a3b8;
}

/* Toggle Password Button */
.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-color);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 5;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-password:hover {
  color: var(--primary-color);
}

.toggle-password i {
  font-size: 1.1rem;
}

/* Captcha Group */
.captcha-group {
  margin-top: 0.5rem;
}

.captcha-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.75rem;
}

.captcha-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.captcha-img-wrapper {
  position: relative;
}

.captcha-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: var(--transition);
  background: #f8fafc;
}

.captcha-img:hover {
  border-color: var(--primary-color);
  transform: scale(1.02);
}

.captcha-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-color);
  margin-top: 0.5rem;
  text-align: center;
}

.captcha-hint i {
  margin-right: 0.25rem;
}

.captcha-input-wrapper .form-control-modern {
  padding-left: 1.25rem;
}

/* Login Button */
.btn-login {
  width: 100%;
  padding: 1.125rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  border: none;
  border-radius: 14px;
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.75rem;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
}

.btn-login:active {
  transform: translateY(0);
}

.btn-login i {
  margin-right: 0.5rem;
}

.btn-text,
.btn-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Login Footer */
.login-footer {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.forgot-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.forgot-link:hover {
  color: #1d4ed8;
  text-decoration: none;
  gap: 0.75rem;
}

.forgot-link i {
  font-size: 0.85rem;
}

/* Hidden State */
.captcha-hidden {
  display: none !important;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stats-cards {
    margin-top: 3rem;
  }
  
  .hero-illustration {
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-hero {
    width: 100%;
    justify-content: center;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 575px) {
  .brand-text {
    display: none;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .bratasena-logo {
    width: 120px;
  }
}

