/* style.css - Premium Glassmorphism & Modern Dark Theme Design System */

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
  --bg-primary: hsl(230, 25%, 7%);
  --bg-secondary: hsl(230, 22%, 11%);
  --bg-tertiary: hsl(230, 20%, 15%);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(142, 68, 255, 0.15);
  
  /* Text colors */
  --text-primary: hsl(220, 20%, 96%);
  --text-secondary: hsl(220, 12%, 72%);
  --text-muted: hsl(220, 10%, 50%);
  
  /* Accents & States */
  --accent-purple: hsl(265, 85%, 65%);
  --accent-purple-glow: hsla(265, 85%, 65%, 0.25);
  --accent-cyan: hsl(190, 90%, 50%);
  --accent-cyan-glow: hsla(190, 90%, 50%, 0.25);
  --accent-emerald: hsl(150, 75%, 48%);
  --accent-emerald-glow: hsla(150, 75%, 48%, 0.2);
  --accent-amber: hsl(35, 90%, 52%);
  --accent-amber-glow: hsla(35, 90%, 52%, 0.2);
  --accent-crimson: hsl(350, 85%, 58%);
  --accent-crimson-glow: hsla(350, 85%, 58%, 0.2);
  
  /* Layout variables */
  --navbar-height: 80px;
  --sidebar-width: 280px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Fonts */
  --font-main: 'Outfit', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}

button {
  cursor: pointer;
}

/* Helper Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.accent-purple { color: var(--accent-purple); }
.accent-cyan { color: var(--accent-cyan); }
.accent-emerald { color: var(--accent-emerald); }
.accent-amber { color: var(--accent-amber); }
.accent-crimson { color: var(--accent-crimson); }
.txt-muted { color: var(--text-muted); }
.margin-bottom-sm { margin-bottom: 16px; }
.margin-top-md { margin-top: 32px; }
.hidden { display: none !important; }
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   UI Components: Glass Panel & Buttons
   ========================================================================== */
.glass-panel {
  background: rgba(20, 22, 38, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--accent-purple);
  color: var(--text-primary);
  box-shadow: 0 4px 15px var(--accent-purple-glow);
}

.btn-primary:hover {
  background-color: hsl(265, 85%, 70%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 68, 255, 0.4);
}

.btn-gradient {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  color: #0c0d14;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--accent-cyan-glow);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.45);
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.btn-text {
  padding: 0;
  color: var(--accent-cyan);
}

.btn-text:hover {
  color: hsl(190, 90%, 60%);
  text-decoration: underline;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-outline {
  border: 1px solid var(--accent-purple);
  color: var(--accent-purple);
  background: var(--accent-purple-glow);
}

.badge-purple { background: var(--accent-purple-glow); color: var(--accent-purple); }
.badge-cyan { background: var(--accent-cyan-glow); color: var(--accent-cyan); }
.badge-emerald { background: var(--accent-emerald-glow); color: var(--accent-emerald); }
.badge-amber { background: var(--accent-amber-glow); color: var(--accent-amber); }
.badge-crimson { background: var(--accent-crimson-glow); color: var(--accent-crimson); }

/* Form Controls */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: rgba(12, 13, 20, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px var(--accent-purple-glow);
  background: rgba(12, 13, 20, 0.9);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

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

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

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

/* ==========================================================================
   Navigation Bar (Navbar)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: rgba(7, 8, 14, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: background var(--transition-fast);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  width: 100%;
}

@media (max-width: 900px) {
  .nav-menu {
    display: none; /* simple responsive representation */
  }
}

/* ==========================================================================
   Page Router Views Layout
   ========================================================================== */
.app-view {
  display: none;
  min-height: calc(100vh - var(--navbar-height));
  margin-top: var(--navbar-height);
  animation: fadeIn var(--transition-normal);
}

.app-view.active {
  display: block;
}

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

/* ==========================================================================
   1. Public Landing Pages Sections
   ========================================================================== */
/* Section Header */
.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero */
.hero-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsla(265, 85%, 65%, 0.15) 0%, rgba(0,0,0,0) 70%);
  top: -100px;
  right: -100px;
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 20px 0;
  letter-spacing: -1.5px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 580px;
}

@media (max-width: 992px) {
  .hero-subtitle { margin: 0 auto 40px; }
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

@media (max-width: 500px) {
  .hero-cta {
    flex-direction: column;
  }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* Video Preview Graphic Card */
.video-preview-card {
  padding: 12px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.card-header-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-family: var(--font-code);
  color: var(--text-muted);
}

.card-header-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-header-bar .red { background-color: #ff5f56; }
.card-header-bar .yellow { background-color: #ffbd2e; }
.card-header-bar .green { background-color: #27c93f; }
.card-header-bar .file-name { margin-left: 8px; }

.video-thumbnail {
  background: #151622;
  height: 240px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.play-btn-pulse {
  width: 60px;
  height: 60px;
  background: rgba(0, 242, 254, 0.1);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  animation: pulse 2s infinite;
  cursor: pointer;
}

.play-btn-pulse i {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 15px rgba(0, 242, 254, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.duration-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  font-family: var(--font-code);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.timeline-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 3px;
  background: var(--accent-purple);
}

.timeline-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  color: var(--text-secondary);
}

.timeline-controls i {
  width: 18px;
  height: 18px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.timeline-controls i:hover {
  color: var(--text-primary);
}

.timeline-slider {
  flex-grow: 1;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  position: relative;
}

.timeline-fill {
  width: 40%;
  height: 100%;
  background: var(--accent-cyan);
  border-radius: 2px;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-top: 50px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-info {
  padding: 40px;
}

.about-info-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-info p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.vision-mission {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vm-item {
  display: flex;
  gap: 16px;
}

.vm-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--accent-purple-glow);
  color: var(--accent-purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.vm-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bg-purple { background: rgba(142, 68, 255, 0.15); color: var(--accent-purple); }
.bg-cyan { background: rgba(0, 242, 254, 0.15); color: var(--accent-cyan); }
.bg-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }

.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

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

/* Portfolio Section */
.portfolio-section {
  padding: 100px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.portfolio-card {
  overflow: hidden;
  border-radius: var(--border-radius-md);
  position: relative;
}

.port-img-wrap {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.port-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 13, 20, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.portfolio-card:hover .port-overlay {
  opacity: 1;
}

.port-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c0d14;
  transform: scale(0.8);
  transition: transform var(--transition-normal);
}

.portfolio-card:hover .port-icon {
  transform: scale(1);
}

.port-body {
  padding: 24px;
}

.port-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.port-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Pricing Grid Section */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--accent-purple);
  box-shadow: 0 8px 32px 0 rgba(142, 68, 255, 0.15);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-purple);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.price-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.price-box {
  margin: 20px 0;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  flex-grow: 1;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features i {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

.admin-pkg-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* Testimonial Section */
.testimonials-section {
  padding: 100px 0;
}

.testimonials-slider-container {
  max-width: 800px;
  margin: 50px auto 0;
  position: relative;
  overflow: hidden;
  padding: 10px;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  min-width: 100%;
  padding: 40px;
}

.testi-content {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
}

.testi-content::before {
  content: '“';
  font-size: 5rem;
  color: rgba(142, 68, 255, 0.15);
  position: absolute;
  top: -45px;
  left: -20px;
  font-family: serif;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0c0d14;
}

.author-info h5 {
  font-size: 1.05rem;
  font-weight: 700;
}

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

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple-glow);
}

/* Kontak Section */
.contact-section {
  padding: 100px 0 140px;
  background: var(--bg-secondary);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 850px) {
  .contact-box {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  padding: 50px;
  background: rgba(142, 68, 255, 0.03);
  border-right: 1px solid var(--border-color);
}

@media (max-width: 850px) {
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.contact-item-link:hover {
  transform: translateX(5px);
}

.contact-item-link.wa:hover { border-color: #25d366; background: rgba(37, 211, 102, 0.05); }
.contact-item-link.mail:hover { border-color: var(--accent-cyan); background: var(--accent-cyan-glow); }
.contact-item-link.ig:hover { border-color: #e1306c; background: rgba(225, 48, 108, 0.05); }

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  font-size: 1.15rem;
}

.contact-text .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-text .val {
  font-weight: 600;
}

.contact-form-side {
  padding: 50px;
}

.contact-form-side h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Footer */
.footer {
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   2. Auth Page (Login / Register) Styles
   ========================================================================== */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  min-height: calc(100vh - var(--navbar-height));
}

.auth-box {
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.auth-tab {
  flex: 1;
  padding: 16px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.auth-tab.active {
  color: var(--accent-purple);
  border-bottom-color: var(--accent-purple);
  background: rgba(142, 68, 255, 0.03);
}

.auth-tab-content {
  display: none;
  padding: 40px;
}

.auth-tab-content.active {
  display: block;
  animation: fadeIn var(--transition-fast);
}

.auth-header {
  margin-bottom: 30px;
}

.auth-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-form {
  display: flex;
  flex-direction: column;
}

.auth-tips {
  margin-top: 30px;
  padding: 16px;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
}

.auth-tips p {
  margin-bottom: 4px;
}

.auth-tips p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   3. Common Dashboard Layout (User & Admin)
   ========================================================================== */
.dashboard-view {
  margin-top: 0; /* dashboard starts from very top, has sidebars */
  min-height: 100vh;
  background: var(--bg-primary);
}

.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 0;
  border-top: none;
  border-bottom: none;
  border-left: none;
  display: flex;
  flex-direction: column;
  z-index: 90;
  background: rgba(12, 13, 20, 0.6);
}

.sidebar-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 30px 24px;
  border-bottom: 1px solid var(--border-color);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0c0d14;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1rem;
  font-weight: 700;
  max-width: 170px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.info-text span {
  font-size: 0.8rem;
  display: block;
  max-width: 170px;
}

.sidebar-nav {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
  overflow-y: auto;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.sidebar-link i {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.sidebar-link.active {
  background: var(--accent-purple-glow);
  color: var(--accent-purple);
  border: 1px solid rgba(142, 68, 255, 0.15);
}

.sidebar-link.active i {
  color: var(--accent-purple);
}

.sidebar-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
}

.dashboard-main-content {
  flex-grow: 1;
  margin-left: var(--sidebar-width);
  padding: 40px;
  min-height: 100vh;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .dashboard-sidebar {
    display: none; /* simple hidden layout for mobile to fit */
  }
  .dashboard-main-content {
    margin-left: 0;
    padding: 24px;
  }
}

.dashboard-tab-content {
  display: none;
  animation: fadeIn var(--transition-fast);
}

.dashboard-tab-content.active {
  display: block;
}

.page-title-section {
  margin-bottom: 40px;
}

.page-title-section h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.page-title-section p {
  color: var(--text-secondary);
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-card.border-purple { border-left: 4px solid var(--accent-purple); }
.stat-card.border-cyan { border-left: 4px solid var(--accent-cyan); }
.stat-card.border-emerald { border-left: 4px solid var(--accent-emerald); }
.stat-card.border-amber { border-left: 4px solid var(--accent-amber); }

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bg-purple-trans { background: rgba(142, 68, 255, 0.1); }
.bg-cyan-trans { background: rgba(0, 242, 254, 0.1); }
.bg-emerald-trans { background: rgba(16, 185, 129, 0.1); }
.bg-amber-trans { background: rgba(245, 158, 11, 0.1); }

.card-info {
  display: flex;
  flex-direction: column;
}

.card-info .val {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.card-info .lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Split grids */
.dashboard-split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

@media (max-width: 992px) {
  .dashboard-split-grid {
    grid-template-columns: 1fr;
  }
}

.panel-section {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.panel-body {
  padding: 24px;
  flex-grow: 1;
}

/* Notifications Box */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 4px;
}

.notif-item {
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
}

.notif-item.unread {
  border-left: 3px solid var(--accent-purple);
  background: rgba(142, 68, 255, 0.02);
}

.notif-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* ==========================================================================
   Table Styles
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.table th, .table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  white-space: normal;
}

.table td strong {
  display: block;
  max-width: 200px;
  word-wrap: break-word;
  white-space: normal;
}

.table th {
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(12, 13, 20, 0.4);
}

.table tbody tr {
  transition: background var(--transition-fast);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.table td {
  color: var(--text-primary);
  vertical-align: middle;
}

/* Responsivitas Tabel untuk Layar Menengah */
@media (max-width: 1200px) {
  .table th, .table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   User: Create Order & Tracking
   ========================================================================== */
.form-container-boxed {
  padding: 40px;
}

.upload-drag-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 40px;
  text-align: center;
  background: rgba(12, 13, 20, 0.3);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.upload-drag-area:hover, .upload-drag-area.dragover {
  border-color: var(--accent-purple);
  background: rgba(142, 68, 255, 0.02);
}

.drag-icon {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.drag-text {
  font-weight: 600;
  margin-bottom: 6px;
}

.uploaded-file-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-purple-glow);
  color: var(--accent-purple);
  border: 1px solid rgba(142, 68, 255, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
  margin-top: 14px;
  font-weight: 600;
}

.uploaded-file-tag .remove-btn {
  margin-left: 8px;
  color: var(--accent-crimson);
}

/* Tracking order visual step indicator */
.tracking-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tracking-card {
  padding: 40px;
}

.track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.track-title-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

/* Stepper horizontal line */
.stepper-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
  padding: 0 40px;
}

.stepper-line {
  position: absolute;
  top: 25px;
  left: 80px;
  right: 80px;
  height: 4px;
  background: var(--bg-tertiary);
  z-index: 1;
}

.stepper-line-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  width: 0%;
  transition: width var(--transition-slow);
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 50px;
}

.step-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 700;
  transition: all var(--transition-normal);
}

.step-node.completed .step-circle {
  border-color: var(--accent-purple);
  background: var(--accent-purple);
  color: #0c0d14;
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.step-node.active .step-circle {
  border-color: var(--accent-cyan);
  background: var(--bg-secondary);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.step-label {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-muted);
}

.step-node.completed .step-label, .step-node.active .step-label {
  color: var(--text-primary);
}

.track-details-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .track-details-grid {
    grid-template-columns: 1fr;
  }
}

.track-spec-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.track-spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.track-spec-item span:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.track-action-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.action-card {
  padding: 30px;
  text-align: center;
}

/* Bank info box */
.bank-transfer-info {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  font-family: var(--font-code);
  font-size: 0.95rem;
}

/* Profile updates layouts */
.profile-layout-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
}

@media (max-width: 900px) {
  .profile-layout-grid {
    grid-template-columns: 1fr;
  }
}

.profile-card {
  padding: 40px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #0c0d14;
  margin: 0 auto 20px;
  font-weight: 800;
}

.profile-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.profile-stats-row .num {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
}

.profile-stats-row .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.profile-stats-row .divider {
  width: 1px;
  height: 30px;
  background: var(--border-color);
}

.profile-details-card {
  padding: 40px;
}

.profile-details-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ==========================================================================
   Admin: Filter bar, charts & Packages
   ========================================================================== */
.filter-bar-panel {
  padding: 20px 24px;
  margin-bottom: 24px;
}

.search-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .search-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.search-box {
  position: relative;
  flex-grow: 1;
  max-width: 400px;
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.search-box .form-control {
  padding-left: 46px;
}

.filter-group {
  display: flex;
  gap: 14px;
}

@media (max-width: 500px) {
  .filter-group {
    flex-direction: column;
  }
}

/* SVG Chart Container */
.svg-chart-container {
  width: 100%;
  height: 280px;
  background: rgba(12, 13, 20, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .reports-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Modal Backdrop & Popup Window
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 6, 10, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-box {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp var(--transition-normal);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

/* Modal detail styling */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  font-size: 0.95rem;
}

.detail-row span:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.detail-row span:last-child {
  font-weight: 600;
  text-align: right;
}

.detail-notes-box {
  background: rgba(12, 13, 20, 0.4);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  margin-top: 10px;
  font-size: 0.9rem;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 16px 24px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 400px;
  animation: slideInLeft 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes slideInLeft {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.success { border-left: 4px solid var(--accent-emerald); }
.toast.error { border-left: 4px solid var(--accent-crimson); }
.toast.info { border-left: 4px solid var(--accent-cyan); }
