@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0a2e5c;
  --primary-light: #3b82f6;
  --primary-dark: #061e3d;
  --accent: #f59e0b;
  --background: #f4f7fb;
  --surface: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url('../img/batik-pattern.png');
  background-size: 400px;
  background-attachment: fixed;
}

.batik-bg {
  position: relative;
  overflow-x: hidden;
}

.batik-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/batik-tegal-v2.png');
  background-size: 600px;
  background-repeat: repeat;
  background-attachment: fixed;
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}

.hero-premium-batik {
  background-color: var(--primary);
  background-image: linear-gradient(rgba(0, 49, 120, 0.85), rgba(0, 49, 120, 0.85)), url('/images/batik-tegal-premium.jpg');
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header .container {
  max-width: none;
  width: 100%;
  padding: 0 32px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-wrapper:hover {
  transform: translateY(-1px);
}

.nav-logo-img {
  width: 38px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-light);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.user-nav-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  margin-right: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-text {
  color: var(--text-main);
  background: transparent;
}

.btn-text:hover {
  background: rgba(10, 46, 92, 0.05);
  color: var(--primary);
}

.btn-primary {
  background: #0A58CA;
  color: white;
  border: none;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #084ab2;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: rgba(10, 46, 92, 0.05);
}

.btn-text {
  background: none;
  color: var(--primary);
  padding: 10px 16px;
}

.btn-text:hover {
  background-color: rgba(10, 46, 92, 0.05);
  border-radius: var(--radius-sm);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(10, 46, 92, 0.05), transparent 50%),
    radial-gradient(circle at bottom left, rgba(10, 46, 92, 0.03), transparent 50%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(10, 46, 92, 0.08);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 32px;
}

.stat-item h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg) translateY(0);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

/* Hero Premium (Slider Style) */
.hero-premium {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-slider {
  height: 100vh;
  position: relative;
  padding-bottom: 80px;
  /* Add padding to prevent overlap */
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  z-index: 10;
}

.slide-content {
  padding-top: 0;
  margin-top: -100px;
  /* Shift content up */
}

.slide-text {
  max-width: 800px;
  color: white;
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: none;
}

.premium-badge .dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: white !important;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  max-width: 550px;
  line-height: 1.5;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.btn-premium {
  padding: 12px 28px;
  background: white;
  color: #000;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.btn-glass {
  padding: 12px 28px;
  background: rgba(10, 46, 92, 0.3);
  backdrop-filter: blur(8px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-glass:hover {
  background: rgba(10, 46, 92, 0.5);
}

/* Floating Stats Card - Rectangular with Dark Shadow */
.stats-float-card {
  position: absolute;
  bottom: -40px;
  left: 3%;
  right: 3%;
  max-width: 2200px;
  margin: 0 auto;
  background: white;
  border-radius: 500px;
  /* Smooth corners */
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  /* Stronger dark shadow */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px 20px;
  z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateY(0);
  /* Ensure base state */
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 2px solid #f0f0f0;
  padding: 0 10px;
  min-height: 80px;
}

.stat-box:last-child {
  border-right: none;
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: #0066FF;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #666;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.text-amber-400 {
  color: #FFC107;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.slide-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

.slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--surface);
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 40px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(10, 46, 92, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.btn-view-all:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(10, 46, 92, 0.15);
  transform: translateY(-3px);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
  transition: var(--transition);
}

/* Steps Section */
.steps {
  padding: 100px 0;
}

.steps-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.steps-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-item {
  display: flex;
  gap: 24px;
  position: relative;
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
  opacity: 0.3;
}

.step-item:hover .step-number {
  opacity: 1;
}

.step-text h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

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

/* Schedule Section */
.schedule {
  padding: 100px 0;
  background-color: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  margin: 0 24px;
}

.schedule .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.schedule .section-header h2 {
  color: white;
}

.schedule .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.btn-white {
  background-color: white;
  color: var(--primary);
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.schedule-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.schedule-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.schedule-card h4 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.schedule-card p {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.schedule-card span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* CTA Section */
.cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container {
  background: linear-gradient(135deg, var(--surface) 0%, #f0f4f8 100%);
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.cta-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  z-index: -1;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%230A2E5C" stroke-width="2"/></svg>');
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Footer */
.footer {
  background-color: var(--surface);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 16px 0 24px;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 46, 92, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .steps-content {
    grid-template-columns: 1fr;
  }

  .schedule .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta h2 {
    font-size: 2.5rem;
  }

  .cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background: #f8faff;
  background-image: url('../img/batik-pattern.png');
  background-size: 400px;
  position: relative;
  overflow: hidden;
  animation: pageFadeIn 0.8s ease-out;
}

.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
              radial-gradient(at 100% 0%, rgba(37, 99, 235, 0.1) 0px, transparent 50%),
              radial-gradient(at 100% 100%, rgba(96, 165, 250, 0.15) 0px, transparent 50%),
              radial-gradient(at 0% 100%, rgba(30, 64, 175, 0.1) 0px, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Custom SVG pattern removed in favor of Batik */

.bg-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: floatBlob 20s infinite alternate ease-in-out;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, 30px) scale(1.1);
  }

  100% {
    transform: translate(-30px, 50px) scale(0.9);
  }
}

.blob-1 {
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

.blob-3 {
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.05) 0%, transparent 70%);
  animation-delay: -10s;
}

.auth-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  width: min(1120px, 100%);
  position: relative;
  z-index: 1;
}

.auth-shell-single {
  display: flex;
  justify-content: center;
  width: min(580px, 100%);
}

.auth-panel,
.auth-card {
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(10, 46, 92, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.auth-panel {
  overflow: hidden;
  position: relative;
  background: linear-gradient(165deg, #061a37 0%, #0a2e5c 100%);
  color: white;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-panel::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.auth-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08), transparent 20%);
  pointer-events: none;
}

.branding {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.branding-logo {
  display: flex;
  align-items: center;
}

.branding-text {
  display: flex;
  flex-direction: column;
}

.app-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.app-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.text-highlight {
  color: var(--primary-light);
  background: linear-gradient(120deg, #3b82f6 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-panel-benefits {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.benefit-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.benefit-icon i {
  width: 16px;
  height: 16px;
  color: white;
}

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.input-with-icon .form-input {
  padding-left: 48px;
}

.auth-panel-content h1 {
  margin-top: 42px;
  font-size: clamp(2.2rem, 2.5vw, 3rem);
  line-height: 1.05;
  max-width: 520px;
}

.auth-panel-content p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  line-height: 1.8;
  font-size: 1rem;
}

.auth-panel-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  margin-top: 36px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.note-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}

.note-icon i {
  color: white;
}

.auth-panel-note h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.auth-panel-note p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.auth-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 20px 40px -15px rgba(10, 46, 92, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  position: relative;
  animation: cardEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: 0.2s;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.auth-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), transparent 40%, transparent 60%, rgba(96, 165, 250, 0.3));
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}

.auth-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.form-logo img {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.form-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-logo-text .brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.form-logo-text .tagline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.auth-card-header h2 {
  margin: 0;
  font-size: 1.75rem;
}

.auth-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-light);
  background: white;
  box-shadow:
    0 0 0 4px rgba(59, 130, 246, 0.12),
    0 8px 16px -4px rgba(10, 46, 92, 0.08);
  transform: translateY(-2px);
}

.form-input.is-invalid {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}

.form-input.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

.form-input::placeholder {
  color: rgba(15, 23, 42, 0.3);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-footer .text-link {
  color: var(--primary);
}

.btn-block {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
}

.btn-lg {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  gap: 12px;
}

.btn-lg i {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-lg:hover i {
  transform: translateX(6px);
}

.form-footnote a {
  color: var(--primary);
  font-weight: 700;
}

.alert {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(45, 152, 218, 0.18);
  background: rgba(45, 152, 218, 0.12);
  color: #0f4e8c;
  margin-bottom: 22px;
}

.alert-success {
  border-color: rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.alert-error {
  border-color: rgba(220, 38, 38, 0.18);
  background: rgba(220, 38, 38, 0.12);
  color: #7f1d1d;
}

.input-error {
  border-color: rgba(220, 38, 38, 0.3) !important;
  background-color: rgba(220, 38, 38, 0.08) !important;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 12px;
}

.form-divider span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
}

.form-divider::before,
.form-step {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header {
  margin-bottom: 24px;
}

.step-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-light);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step-header h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
}

.form-actions-row {
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 24px;
}


.auth-panel-hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.auth-panel-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 2.8vw, 2.9rem);
  line-height: 1.05;
}

.auth-panel-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.8;
}

.register-note {
  margin-top: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.half-width {
  width: 100%;
}

.checkbox-group {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f5f8ff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.7;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  accent-color: var(--primary);
  margin-right: 12px;
}

.checkbox-group span {
  display: block;
  color: var(--text-main);
}

.register-footnote {
  margin-top: 20px;
  text-align: center;
}

.register-footnote a {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .auth-page {
    padding: 40px 0;
  }

  .auth-panel,
  .auth-card {
    padding: 32px;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .auth-shell {
    gap: 24px;
  }

  .auth-card-header h2 {
    font-size: 2rem;
  }
}

/* Dashboard Navigation Bar (Horizontal) */
.dashboard-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  z-index: 1000;
  height: 80px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.dashboard-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.btn-logout-solid {
  background: #0A58CA;
  color: white;
  border: none;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-logout-solid:hover {
  background: #084ab2;
  transform: translateY(-1px);
}

.dashboard-nav .nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
}

.dashboard-nav .nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  transition: all 0.2s ease;
}

.dashboard-nav .nav-links a.active,
.dashboard-nav .nav-links a:hover {
  color: #0A58CA;
}

.dashboard-nav .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #0A58CA;
  border-radius: 2px;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  padding: 40px;
  background: #f8faff;
  border-radius: 20px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  background: white;
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  color: var(--primary-light);
  opacity: 0.2;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-user h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-user span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: #f8faff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-question {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h4 {
  font-size: 1.1rem;
  margin: 0;
}

.faq-answer {
  padding: 0 32px 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Maps Section */
.maps {
  padding: 100px 0;
}

.maps-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.maps-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #f8faff;
  border-radius: 16px;
  transition: var(--transition);
}

.info-card i {
  color: var(--primary);
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.maps-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
  .testimonials-grid, .maps-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}