/* ============================================================
   EventApp Website — Design System
   Colors aligned with EventApp CSS variables
   ============================================================ */

:root {
  --primary:   #6C63FF;
  --accent:    #FF6584;
  --bg:        #0d0d14;
  --surface:   #1a1a2e;
  --surface2:  #22223b;
  --surface3:  #2a2a45;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.12);
  --text:      #f0f0f6;
  --text2:     #8888aa;
  --text3:     #5a5a7a;
  --success:   #43B89C;
  --warning:   #F5A623;
  --danger:    #E74C3C;
  --info:      #3498DB;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w:     1200px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

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

img { max-width: 100%; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(13,13,20,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.brand-icon {
  font-size: 1.4rem;
  display: inline-block;
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-nav {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface2);
  color: var(--text) !important;
  border: 1px solid var(--border2);
  transition: all 0.2s;
}

.btn-nav:hover { background: var(--surface3); }

.btn-nav-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

.btn-nav-primary:hover { filter: brightness(1.15); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--text2);
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--text); }

.mobile-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 8px;
  text-align: center;
  font-weight: 600 !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 4rem;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; left: -200px;
  animation: orb-float 12s ease-in-out infinite;
}

.orb-2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -100px; right: -100px;
  animation: orb-float 15s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(40px, 30px); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: #a098ff;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fade-down 0.8s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fade-down 0.8s 0.1s ease both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fade-down 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fade-down 0.8s 0.3s ease both;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: var(--font-head);
}

.btn-primary-large svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-primary-large:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn-primary-large:hover svg { transform: translateX(3px); }

.btn-ghost-large {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-ghost-large:hover { color: var(--text); border-color: var(--text3); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: fade-down 0.8s 0.4s ease both;
}

.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 0.75rem; color: var(--text2); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border2); }

.hero-visual {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 1;
  animation: fade-left 1s 0.4s ease both;
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-left {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* APP MOCKUP */
.app-mockup {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(108,99,255,0.1);
}

.mockup-bar {
  background: var(--surface2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green  { background: #28C840; }

.mockup-url {
  margin-left: 10px;
  font-size: 0.7rem;
  color: var(--text3);
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.mockup-content { padding: 0; }

.mock-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary);
}

.mock-nav-items { display: flex; gap: 12px; }
.mock-nav { font-size: 0.7rem; color: var(--text3); padding: 3px 8px; border-radius: 5px; }
.mock-nav.active { background: rgba(108,99,255,0.15); color: var(--primary); }

.mock-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }

.mock-card {
  border-radius: 10px;
  padding: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.mock-card-accent {
  background: linear-gradient(135deg, rgba(108,99,255,0.2) 0%, rgba(255,101,132,0.1) 100%);
  border-color: rgba(108,99,255,0.25);
}

.mock-card-label { font-size: 0.6rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.mock-card-title { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--text); }
.mock-card-sub   { font-size: 0.65rem; color: var(--text2); margin-top: 2px; }

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

.mock-mini-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}

.mock-mini-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  margin: 0 auto 4px;
}

.mock-mini-val   { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--text); }
.mock-mini-label { font-size: 0.55rem; color: var(--text3); }

.mock-chat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
}

.mock-chat-header { font-size: 0.65rem; color: var(--text3); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }

.mock-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.65rem;
  color: var(--text2);
}

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

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text2);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.feature-card-large {
  grid-column: span 1;
}

.feature-card-dark {
  background: var(--surface2);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--c);
  margin-bottom: 1rem;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.6;
}

.feature-tags {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.feature-tags span {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 0.7rem;
  color: var(--text2);
}

.theme-dots {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
}

.theme-dots span {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: inline-block;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%); }

.steps {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.step:hover {
  border-color: rgba(108,99,255,0.3);
  box-shadow: 0 0 0 1px rgba(108,99,255,0.1), var(--shadow);
}

.step-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px rgba(108,99,255,0.4);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--text3);
  flex-shrink: 0;
}

.how-cta { text-align: center; }

/* ============================================================
   TECH STACK
   ============================================================ */
.tech-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text2);
  transition: all 0.2s;
}

.tech-item:hover { border-color: var(--border2); color: var(--text); transform: translateY(-2px); }

.tech-icon { font-size: 1.3rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text3);
  font-weight: 400;
  font-family: var(--font-body);
  margin-left: 4px;
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--text2); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: 0.75rem; color: var(--text3); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(1).fade-up { transition-delay: 0.05s; }
.feature-card:nth-child(2).fade-up { transition-delay: 0.10s; }
.feature-card:nth-child(3).fade-up { transition-delay: 0.15s; }
.feature-card:nth-child(4).fade-up { transition-delay: 0.20s; }
.feature-card:nth-child(5).fade-up { transition-delay: 0.25s; }
.feature-card:nth-child(6).fade-up { transition-delay: 0.30s; }

.step:nth-child(1).fade-up { transition-delay: 0.05s; }
.step:nth-child(3).fade-up { transition-delay: 0.15s; }
.step:nth-child(5).fade-up { transition-delay: 0.25s; }

.tech-item:nth-child(1).fade-up { transition-delay: 0.05s; }
.tech-item:nth-child(2).fade-up { transition-delay: 0.10s; }
.tech-item:nth-child(3).fade-up { transition-delay: 0.15s; }
.tech-item:nth-child(4).fade-up { transition-delay: 0.20s; }
.tech-item:nth-child(5).fade-up { transition-delay: 0.25s; }
.tech-item:nth-child(6).fade-up { transition-delay: 0.30s; }

/* ============================================================
   SHARED FORM STYLES (used in login.html + order.html)
   ============================================================ */
.page-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 60px;
  position: relative;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.auth-card-wide {
  max-width: 600px;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.auth-sub {
  font-size: 0.875rem;
  color: var(--text2);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text2);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 9px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
}

.form-input::placeholder { color: var(--text3); }

.form-hint {
  font-size: 0.75rem;
  color: var(--text3);
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.btn-submit:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }

.btn-submit svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-submit:hover svg { transform: translateX(3px); }

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text2);
}

.auth-footer a { color: var(--primary); font-weight: 600; }

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text3);
  font-size: 0.8rem;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.alert {
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert svg { width: 16px; height: 16px; flex-shrink: 0; }

.alert-info {
  background: rgba(52,152,219,0.1);
  border: 1px solid rgba(52,152,219,0.25);
  color: #7bc8f5;
}

.alert-warning {
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25);
  color: #f5c842;
}

.alert-success {
  background: rgba(67,184,156,0.1);
  border: 1px solid rgba(67,184,156,0.25);
  color: var(--success);
}

.section-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.75rem 0;
}

/* ============================================================
   ADMIN PANEL STYLES
   ============================================================ */
.admin-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-brand {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text2);
}

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

.admin-main {
  display: flex;
  flex: 1;
}

.admin-sidebar {
  width: 220px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  flex-shrink: 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text2);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.admin-nav-item:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.admin-nav-item.active { background: rgba(108,99,255,0.1); color: var(--primary); border-left-color: var(--primary); }
.admin-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.admin-content {
  flex: 1;
  padding: 2rem;
  min-height: calc(100vh - 60px);
}

.admin-page-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.admin-page-sub { color: var(--text2); font-size: 0.875rem; margin-bottom: 2rem; }

.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-card-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 12px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-pending  { background: rgba(245,166,35,0.15);  color: var(--warning); }
.badge-approved { background: rgba(67,184,156,0.15);  color: var(--success); }
.badge-deployed { background: rgba(52,152,219,0.15);  color: var(--info); }
.badge-denied   { background: rgba(231,76,60,0.15);   color: var(--danger); }

.btn-sm {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
  font-family: var(--font-body);
}

.btn-sm-success { background: rgba(67,184,156,0.15); color: var(--success); border: 1px solid rgba(67,184,156,0.25); }
.btn-sm-success:hover { background: rgba(67,184,156,0.3); }

.btn-sm-danger  { background: rgba(231,76,60,0.15); color: var(--danger); border: 1px solid rgba(231,76,60,0.25); }
.btn-sm-danger:hover  { background: rgba(231,76,60,0.3); }

.btn-sm-primary { background: rgba(108,99,255,0.15); color: var(--primary); border: 1px solid rgba(108,99,255,0.25); }
.btn-sm-primary:hover { background: rgba(108,99,255,0.3); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.stat-card-label { font-size: 0.75rem; color: var(--text2); font-weight: 500; margin-bottom: 6px; }
.stat-card-val   { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--text); }
.stat-card-delta { font-size: 0.75rem; color: var(--success); margin-top: 2px; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 2rem;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
}

.modal-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.btn-modal {
  padding: 9px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.btn-modal-cancel  { background: var(--surface2); color: var(--text); border: 1px solid var(--border2); }
.btn-modal-cancel:hover  { background: var(--surface3); }
.btn-modal-confirm { background: var(--success); color: #fff; }
.btn-modal-confirm:hover { filter: brightness(1.15); }
.btn-modal-danger  { background: var(--danger); color: #fff; }
.btn-modal-danger:hover  { filter: brightness(1.15); }

/* ============================================================
   ORDER PAGE — STEPS
   ============================================================ */
.order-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.order-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.order-step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text3);
  flex-shrink: 0;
  transition: all 0.3s;
}

.order-step.active .order-step-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.order-step.done .order-step-num {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.order-step-label {
  font-size: 0.8rem;
  color: var(--text3);
  font-weight: 500;
  white-space: nowrap;
}

.order-step.active .order-step-label { color: var(--text); }
.order-step.done  .order-step-label  { color: var(--success); }

.order-step-line {
  flex: 1;
  height: 1px;
  background: var(--border2);
  margin: 0 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { flex-direction: column; padding-top: 100px; min-height: auto; }
  .hero-visual { max-width: 100%; width: 100%; }
  .hero-content { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { display: none; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1rem; }
  .auth-card { padding: 1.75rem; }
  .admin-content { padding: 1rem; }
  .order-step-label { display: none; }
}
