/* ============================================================
   SMART MALL - Main Stylesheet
   Palette: Cyan #00D4FF | Green #00E676 | Orange #FF6B00
   ============================================================ */

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

:root {
  --cyan: #00D4FF;
  --cyan-dark: #009FC2;
  --cyan-light: #80EAFF;
  --green: #00E676;
  --green-dark: #00A854;
  --orange: #FF6B00;
  --orange-light: #FF9A45;
  --orange-dark: #CC5500;
  --bg-dark: #0A0E1A;
  --bg-card: #111828;
  --bg-card2: #151E30;
  --bg-surface: #1A2540;
  --text-primary: #F0F4FF;
  --text-secondary: #8A9BBE;
  --text-muted: #4A5A7A;
  --border: rgba(0,212,255,0.15);
  --shadow-cyan: 0 0 30px rgba(0,212,255,0.2);
  --shadow-green: 0 0 30px rgba(0,230,118,0.2);
  --shadow-orange: 0 0 30px rgba(255,107,0,0.2);
  --gradient-main: linear-gradient(135deg, #00D4FF 0%, #00E676 50%, #FF6B00 100%);
  --gradient-dark: linear-gradient(135deg, #0A0E1A 0%, #111828 100%);
  --gradient-card: linear-gradient(135deg, #111828 0%, #1A2540 100%);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--cyan-dark); border-radius: 3px; }

/* ===================== TYPOGRAPHY ===================== */
h1,h2,h3,h4,h5,h6 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; }
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-cyan { color: var(--cyan); }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; text-decoration: none;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1); opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-cyan {
  background: var(--cyan); color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(0,212,255,0.4);
}
.btn-cyan:hover { box-shadow: 0 8px 30px rgba(0,212,255,0.6); }

.btn-green {
  background: var(--green); color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(0,230,118,0.4);
}
.btn-green:hover { box-shadow: 0 8px 30px rgba(0,230,118,0.6); }

.btn-orange {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,0,0.4);
}
.btn-orange:hover { box-shadow: 0 8px 30px rgba(255,107,0,0.6); }

.btn-outline {
  background: transparent; color: var(--cyan);
  border: 2px solid var(--cyan);
}
.btn-outline:hover { background: var(--cyan); color: var(--bg-dark); }

.btn-gradient {
  background: var(--gradient-main); color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.btn-lg { padding: 16px 40px; font-size: 1.1rem; border-radius: var(--radius); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===================== CARDS ===================== */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(0,212,255,0.4);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-4px);
}
.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { padding: 10px 32px; box-shadow: var(--shadow-cyan); }
.navbar-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.navbar-logo {
  width: 44px; height: 44px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900; color: var(--bg-dark);
}
.navbar-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; }
.navbar-name span { color: var(--cyan); }
.navbar-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.navbar-links a {
  color: var(--text-secondary); text-decoration: none;
  font-weight: 500; transition: var(--transition);
  font-size: 0.95rem;
}
.navbar-links a:hover { color: var(--cyan); }
.navbar-cta { display: flex; gap: 12px; }
.navbar-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ===================== HERO SECTION ===================== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 32px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0,212,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0,230,118,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 60% 60% at 60% 80%, rgba(255,107,0,0.05) 0%, transparent 60%),
              var(--gradient-dark);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.85rem; color: var(--cyan); font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge::before { content: '⚡'; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.hero-description { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 520px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; display: block; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Hero Visual Panel */
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-dashboard {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%; max-width: 480px;
  box-shadow: var(--shadow-cyan);
}
.dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dashboard-dots { display: flex; gap: 6px; }
.dashboard-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: var(--green); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.mini-stat {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border);
}
.mini-stat-val { font-size: 1.4rem; font-weight: 700; color: var(--cyan); }
.mini-stat-label { font-size: 0.75rem; color: var(--text-muted); }
.order-list { display: flex; flex-direction: column; gap: 8px; }
.order-item {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-left: 3px solid var(--green);
}
.order-item.pending { border-left-color: var(--orange); }
.order-item.transit { border-left-color: var(--cyan); }
.order-code { font-size: 0.8rem; font-weight: 600; }
.order-status { font-size: 0.7rem; color: var(--text-muted); }
.order-badge { font-size: 0.7rem; padding: 3px 8px; border-radius: 100px; font-weight: 600; }
.badge-green { background: rgba(0,230,118,0.15); color: var(--green); }
.badge-orange { background: rgba(255,107,0,0.15); color: var(--orange); }
.badge-cyan { background: rgba(0,212,255,0.15); color: var(--cyan); }

/* Float animations */
.hero-float {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}
.hero-float:nth-child(2) { animation-delay: -2s; }
.hero-float:nth-child(3) { animation-delay: -4s; }
.float-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.8rem; white-space: nowrap;
  box-shadow: var(--shadow-cyan);
}
.float-card.top-left { top: -30px; left: -40px; border-color: rgba(0,230,118,0.4); }
.float-card.bot-right { bottom: -20px; right: -30px; border-color: rgba(255,107,0,0.4); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===================== SECTIONS COMMON ===================== */
.section { padding: 100px 32px; }
.section-inner { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ===================== SLIDESHOW / FEATURES ===================== */
.slideshow-section { background: var(--bg-card); }
.slideshow-wrapper { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.slides { display: flex; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.slide {
  min-width: 100%; position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; min-height: 480px;
}
.slide-visual {
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem; position: relative; overflow: hidden;
  padding: 40px;
}
.slide-visual::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.15;
}
.slide:nth-child(1) .slide-visual { background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,230,118,0.1)); }
.slide:nth-child(1) .slide-visual::before { background: radial-gradient(circle, rgba(0,212,255,0.3), transparent 70%); }
.slide:nth-child(2) .slide-visual { background: linear-gradient(135deg, rgba(0,230,118,0.2), rgba(0,212,255,0.1)); }
.slide:nth-child(3) .slide-visual { background: linear-gradient(135deg, rgba(255,107,0,0.2), rgba(0,230,118,0.1)); }
.slide:nth-child(4) .slide-visual { background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(255,107,0,0.1)); }
.slide:nth-child(5) .slide-visual { background: linear-gradient(135deg, rgba(0,230,118,0.2), rgba(255,107,0,0.1)); }
.slide:nth-child(6) .slide-visual { background: linear-gradient(135deg, rgba(255,107,0,0.2), rgba(0,212,255,0.1)); }
.slide-icon-main { font-size: 6rem; filter: drop-shadow(0 0 30px rgba(0,212,255,0.5)); z-index: 1; }
.slide-content { padding: 60px 48px; display: flex; flex-direction: column; justify-content: center; }
.slide-number { font-size: 0.8rem; color: var(--cyan); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.slide-title { font-size: 2rem; margin-bottom: 16px; }
.slide-desc { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: 24px; }
.slide-features { display: flex; flex-direction: column; gap: 10px; }
.slide-feature { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); }
.slide-feature::before { content: '✓'; color: var(--green); font-weight: 700; min-width: 20px; }

.slideshow-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 32px;
}
.slide-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-surface); border: 1px solid var(--border);
  color: var(--text-primary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 1.1rem;
}
.slide-btn:hover { background: var(--cyan); color: var(--bg-dark); border-color: var(--cyan); }
.slide-dots { display: flex; gap: 8px; }
.slide-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg-surface); border: 1px solid var(--border);
  cursor: pointer; transition: var(--transition);
}
.slide-dot.active { background: var(--cyan); border-color: var(--cyan); width: 24px; border-radius: 4px; }

/* ===================== REGISTRATION CARDS ===================== */
.reg-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.reg-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
}
.reg-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity 0.3s;
}
.reg-card:hover { transform: translateY(-8px); border-color: rgba(0,212,255,0.5); }
.reg-card:hover::before { opacity: 1; }
.reg-card.as::before { background: linear-gradient(90deg, var(--cyan), var(--green)); }
.reg-card.al::before { background: linear-gradient(90deg, var(--green), var(--cyan)); }
.reg-card.ag::before { background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.reg-card.uc::before { background: linear-gradient(90deg, var(--cyan), var(--orange)); }
.reg-card:hover.as { box-shadow: var(--shadow-cyan); }
.reg-card:hover.al { box-shadow: var(--shadow-green); }
.reg-card:hover.ag { box-shadow: var(--shadow-orange); }
.reg-card:hover.uc { box-shadow: var(--shadow-cyan); }
.reg-card-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.reg-card-index {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}
.as .reg-card-index { background: rgba(0,212,255,0.15); color: var(--cyan); }
.al .reg-card-index { background: rgba(0,230,118,0.15); color: var(--green); }
.ag .reg-card-index { background: rgba(255,107,0,0.15); color: var(--orange); }
.uc .reg-card-index { background: rgba(0,212,255,0.1); color: var(--cyan-light); }
.reg-card-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.reg-card-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.reg-card-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.reg-card-feature { font-size: 0.85rem; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.reg-card-feature::before { content: '→'; color: var(--cyan); font-weight: 700; }
.al .reg-card-feature::before { color: var(--green); }
.ag .reg-card-feature::before { color: var(--orange); }

/* ===================== HOW IT WORKS ===================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  text-align: center;
  padding: 36px 24px;
  position: relative;
}
.step-card::after {
  content: '→';
  position: absolute; right: -12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 1.5rem;
}
.step-card:last-child::after { display: none; }
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800;
  margin: 0 auto 20px;
  background: var(--gradient-card);
  border: 2px solid var(--cyan);
  color: var(--cyan);
}
.step-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ===================== TECHNOLOGY SECTION ===================== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.tech-card:hover { border-color: rgba(0,212,255,0.4); transform: translateY(-4px); }
.tech-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.tech-title { font-size: 1.1rem; font-weight: 700; color: var(--cyan); margin-bottom: 10px; }
.tech-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ===================== FORMS ===================== */
.form-page {
  min-height: 100vh;
  background: var(--bg-dark);
  padding: 100px 32px 60px;
}
.form-container {
  max-width: 800px; margin: 0 auto;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.form-header {
  padding: 40px 48px 32px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(0,230,118,0.03));
}
.form-icon { font-size: 3rem; margin-bottom: 12px; display: block; }
.form-title { font-size: 2rem; margin-bottom: 8px; }
.form-subtitle { color: var(--text-secondary); font-size: 0.95rem; }
.form-body { padding: 40px 48px; }

/* Step progress */
.form-steps {
  display: flex; gap: 0; margin-bottom: 40px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  overflow: hidden; border: 1px solid var(--border);
}
.form-step {
  flex: 1; padding: 12px 8px; text-align: center;
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  transition: var(--transition); cursor: default;
  border-right: 1px solid var(--border);
}
.form-step:last-child { border-right: none; }
.form-step.active { background: rgba(0,212,255,0.1); color: var(--cyan); }
.form-step.completed { background: rgba(0,230,118,0.1); color: var(--green); }

.form-section { display: none; }
.form-section.active { display: block; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--text-secondary);
}
.form-label span { color: var(--orange); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif; font-size: 0.95rem;
  transition: var(--transition); outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-input::placeholder { color: var(--text-muted); }
.form-select { cursor: pointer; appearance: none; }
.form-select option { background: var(--bg-card); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 0.78rem; color: #FF4444; margin-top: 4px; display: none; }
.form-input.error { border-color: #FF4444; }
.form-input.success { border-color: var(--green); }

/* Password strength */
.password-strength { margin-top: 8px; }
.strength-bar { height: 4px; background: var(--bg-surface); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.strength-fill { height: 100%; border-radius: 2px; transition: var(--transition); width: 0; }
.strength-weak .strength-fill { background: #FF4444; width: 25%; }
.strength-medium .strength-fill { background: var(--orange); width: 50%; }
.strength-good .strength-fill { background: var(--cyan); width: 75%; }
.strength-strong .strength-fill { background: var(--green); width: 100%; }
.strength-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.strength-rule { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.strength-rule.met { color: var(--green); }
.strength-rule::before { content: '○'; }
.strength-rule.met::before { content: '●'; color: var(--green); }

.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Success screen */
.form-success {
  text-align: center; padding: 60px 40px; display: none;
}
.success-icon { font-size: 5rem; margin-bottom: 24px; display: block; animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.serial-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 24px 0;
  font-family: 'Space Grotesk', sans-serif;
}
.serial-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.serial-number { font-size: 1.6rem; font-weight: 700; letter-spacing: 4px; color: var(--cyan); }

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* ===================== DASHBOARDS ===================== */
.dashboard-layout {
  display: flex; min-height: 100vh;
  font-family: 'Outfit', sans-serif;
}
.sidebar {
  width: 260px; min-height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100; overflow-y: auto;
  transition: var(--transition);
}
.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.sidebar-logo {
  width: 36px; height: 36px;
  background: var(--gradient-main);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: var(--bg-dark);
}
.sidebar-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.sidebar-name small { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }
.sidebar-nav { flex: 1; padding: 16px 12px; }
.nav-group { margin-bottom: 24px; }
.nav-group-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); padding: 0 8px; margin-bottom: 8px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); cursor: pointer;
  margin-bottom: 2px; border: none; background: none; width: 100%; text-align: left;
}
.nav-item:hover { background: var(--bg-surface); color: var(--text-primary); }
.nav-item.active { background: rgba(0,212,255,0.1); color: var(--cyan); }
.nav-item .nav-icon { font-size: 1.1rem; min-width: 24px; }
.nav-badge {
  margin-left: auto; font-size: 0.7rem; font-weight: 700;
  padding: 2px 7px; border-radius: 100px;
  background: rgba(255,107,0,0.2); color: var(--orange);
}

.sidebar-footer { padding: 16px 12px; border-top: 1px solid var(--border); }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--radius-sm); }
.sidebar-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-main);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--bg-dark);
}
.sidebar-user-info { flex: 1; }
.sidebar-user-name { font-size: 0.85rem; font-weight: 600; }
.sidebar-user-role { font-size: 0.75rem; color: var(--text-muted); }

.dashboard-main {
  flex: 1; margin-left: 260px;
  background: var(--bg-dark);
}
.dash-topbar {
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card);
  position: sticky; top: 0; z-index: 50;
}
.dash-page-title { font-size: 1.3rem; font-weight: 700; }
.dash-topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-btn {
  width: 38px; height: 38px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-secondary);
  transition: var(--transition); font-size: 1rem;
}
.topbar-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.dash-content { padding: 32px; }

/* KPI Cards */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.kpi-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.kpi-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.kpi-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.kpi-icon { font-size: 1.3rem; }
.kpi-value { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.kpi-change { font-size: 0.8rem; display: flex; align-items: center; gap: 4px; }
.kpi-change.up { color: var(--green); }
.kpi-change.down { color: #FF4444; }

/* Tables */
.data-table-wrapper {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-header {
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.table-title { font-size: 1rem; font-weight: 700; }
.table-actions { display: flex; gap: 10px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 12px 16px; text-align: left;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.data-table td { padding: 14px 16px; font-size: 0.88rem; border-bottom: 1px solid rgba(0,212,255,0.05); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(0,212,255,0.02); }

/* Status badges */
.status-badge {
  padding: 4px 10px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; display: inline-block;
}
.status-active { background: rgba(0,230,118,0.15); color: var(--green); }
.status-pending { background: rgba(255,107,0,0.15); color: var(--orange); }
.status-blocked { background: rgba(255,68,68,0.15); color: #FF4444; }
.status-online { background: rgba(0,212,255,0.15); color: var(--cyan); }
.status-offline { background: rgba(74,90,122,0.3); color: var(--text-muted); }

/* Toggle switch */
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--bg-surface); border-radius: 100px;
  border: 1px solid var(--border); transition: 0.3s;
}
.toggle-slider::before {
  content: ''; position: absolute;
  width: 16px; height: 16px; background: var(--text-muted);
  border-radius: 50%; left: 3px; top: 3px; transition: 0.3s;
}
.toggle input:checked + .toggle-slider { background: rgba(0,230,118,0.2); border-color: var(--green); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); background: var(--green); }

/* Chart placeholder */
.chart-area {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 20px;
  position: relative; min-height: 200px;
  display: flex; align-items: flex-end; gap: 8px;
}
.chart-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  transition: opacity 0.3s;
  cursor: pointer; position: relative;
}
.chart-bar:hover { opacity: 0.8; }
.chart-bar span {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; color: var(--text-muted); white-space: nowrap;
}

/* ===================== LOGIN PAGE ===================== */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-dark);
  padding: 24px;
  position: relative; overflow: hidden;
}
.login-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(0,212,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(0,230,118,0.04) 0%, transparent 60%);
}
.login-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 440px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-cyan);
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo-icon {
  width: 64px; height: 64px;
  background: var(--gradient-main);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 12px;
}
.login-title { font-size: 1.6rem; margin-bottom: 6px; text-align: center; }
.login-subtitle { color: var(--text-secondary); text-align: center; font-size: 0.9rem; }

/* ===================== QUEUE DISPLAY ===================== */
.queue-widget {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.queue-list { display: flex; flex-direction: column; gap: 10px; }
.queue-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.queue-pos {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  background: rgba(0,212,255,0.1); color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.3);
}
.queue-pos.first { background: rgba(0,230,118,0.15); color: var(--green); border-color: rgba(0,230,118,0.4); }
.queue-info { flex: 1; }
.queue-name { font-size: 0.9rem; font-weight: 600; }
.queue-sub { font-size: 0.75rem; color: var(--text-muted); }
.queue-action { font-size: 0.8rem; color: var(--orange); font-weight: 600; }

/* ===================== RFID TABLE STATUS ===================== */
.tables-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.table-rfid {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px; text-align: center;
  cursor: pointer; transition: var(--transition);
}
.table-rfid:hover { border-color: rgba(0,212,255,0.4); }
.table-rfid.occupied { border-color: rgba(255,107,0,0.5); background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(10,14,26,0.95)); }
.table-rfid.free { border-color: rgba(0,230,118,0.4); }
.table-rfid-number { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.table-rfid-status { font-size: 0.75rem; font-weight: 600; margin-bottom: 6px; }
.table-rfid.occupied .table-rfid-status { color: var(--orange); }
.table-rfid.free .table-rfid-status { color: var(--green); }
.table-chairs { font-size: 0.75rem; color: var(--text-muted); }

/* ===================== ORDER TRACK ===================== */
.order-track { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; padding: 20px 0; }
.track-step { flex: 1; min-width: 120px; text-align: center; position: relative; }
.track-step::before {
  content: ''; position: absolute;
  top: 19px; left: calc(50% + 20px); right: calc(-50% + 20px);
  height: 2px; background: var(--border);
}
.track-step:last-child::before { display: none; }
.track-step.done::before { background: var(--green); }
.track-step.active-step::before { background: linear-gradient(90deg, var(--green), var(--border)); }
.track-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; border: 2px solid var(--border);
  background: var(--bg-surface); font-size: 1rem;
  transition: var(--transition);
}
.track-step.done .track-icon { background: rgba(0,230,118,0.15); border-color: var(--green); }
.track-step.active-step .track-icon { background: rgba(0,212,255,0.15); border-color: var(--cyan); animation: pulse 2s infinite; }
.track-label { font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; max-width: 90px; margin: 0 auto; }
.track-step.done .track-label { color: var(--green); }
.track-step.active-step .track-label { color: var(--cyan); }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.4); } 50% { box-shadow: 0 0 0 8px rgba(0,212,255,0); } }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 32px 32px;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 16px; }
.footer-logo-icon {
  width: 40px; height: 40px;
  background: var(--gradient-main);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--bg-dark); font-size: 1rem;
}
.footer-logo-name { font-size: 1.1rem; font-weight: 700; }
.footer-tagline { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-badges { display: flex; gap: 12px; }
.footer-badge {
  font-size: 0.75rem; padding: 4px 10px;
  border-radius: 6px; border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ===================== MODALS ===================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 640px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  transform: scale(0.9); transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: var(--bg-card); z-index: 1;
}
.modal-title { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--bg-surface); border: 1px solid var(--border);
  cursor: pointer; color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,68,68,0.1); color: #FF4444; border-color: rgba(255,68,68,0.3); }
.modal-body { padding: 28px; }

/* ===================== KIOSK ===================== */
.kiosk-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #050810 0%, #0A0E1A 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.kiosk-container {
  width: 100%; max-width: 1000px;
  background: var(--gradient-card);
  border: 2px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,212,255,0.1);
}
.kiosk-header {
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(0,230,118,0.05));
  padding: 24px 40px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.kiosk-logo { font-size: 1.5rem; font-weight: 800; }
.kiosk-time { font-size: 1.2rem; color: var(--cyan); font-weight: 600; }
.kiosk-body { padding: 40px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .slide { grid-template-columns: 1fr; }
  .slide-visual { min-height: 200px; }
  .reg-cards { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .form-row.three { grid-template-columns: 1fr; }
  .form-body { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 60px 16px; }
  .navbar { padding: 12px 16px; }
  .navbar-links { display: none; }
  .navbar-toggle { display: block; }
  .hero { padding: 100px 16px 60px; }
  .form-header { padding: 24px; }
  .dash-content { padding: 16px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card::after { display: none; }
  .kiosk-body { padding: 20px; }
}
