/* ============================================================
   QRMenu.gr — Premium Design System
   ============================================================ */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --primary:       #e63946;
  --primary-dark:  #c1121f;
  --primary-light: #ff6b6b;
  --secondary:     #1a1a2e;
  --accent:        #f4a261;
  --surface:       #ffffff;
  --surface-2:     #f8f9fa;
  --surface-3:     #f0f2f5;
  --border:        #e2e8f0;
  --text:          #1a1a2e;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;
  --success:       #22c55e;
  --warning:       #f59e0b;
  --danger:        #ef4444;
  --info:          #3b82f6;
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 16px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.08);
  --shadow-xl:     0 40px 100px rgba(0,0,0,.15);
  --transition:    all .25s cubic-bezier(.4,0,.2,1);
  --font-sans:     'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:    'Playfair Display', Georgia, serif;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
.display-1 { font-family: var(--font-serif); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
.display-2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
.lead { font-size: 1.125rem; color: var(--text-muted); line-height: 1.7; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
  white-space: nowrap; text-align: center; justify-content: center;
}
.btn-sm { padding: 9px 20px; font-size: .875rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-xl { padding: 22px 52px; font-size: 1.15rem; border-radius: var(--radius-lg); }
.btn-primary {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(230,57,70,.35);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(230,57,70,.45);
}
.btn-secondary {
  background: var(--secondary); color: #fff; border-color: var(--secondary);
}
.btn-secondary:hover { background: #2d2d4e; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-danger  { background: var(--danger);  color: #fff; border-color: var(--danger); }
.btn-warning { background: var(--warning); color: #fff; border-color: var(--warning); }
.btn-block { width: 100%; }

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 1.4rem; }
.logo-text { font-size: 1.3rem; font-weight: 700; color: var(--secondary); }
.logo-text strong { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-weight: 500; font-size: .9rem;
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary); background: rgba(230,57,70,.06); }
.lang-switcher { display: flex; gap: 4px; margin-left: 8px; }
.lang-switcher a {
  padding: 4px 10px; border-radius: 20px; font-size: .8rem; font-weight: 600;
  color: var(--text-muted); border: 1px solid var(--border); transition: var(--transition);
}
.lang-switcher a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  position: relative; overflow: hidden; padding-top: 70px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(230,57,70,.18) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--surface));
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; padding: 80px 0; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,57,70,.15); border: 1px solid rgba(230,57,70,.3);
  color: var(--primary-light); padding: 8px 18px; border-radius: 30px;
  font-size: .85rem; font-weight: 600; margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--primary-light); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--primary-light); }
.hero .lead { color: rgba(255,255,255,.75); margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }

/* Hero Phone Mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup {
  width: 280px; background: #0d0d1a; border-radius: 40px;
  padding: 12px; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 2px rgba(255,255,255,.1);
  position: relative;
}
.phone-mockup::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 4px; background: rgba(255,255,255,.15); border-radius: 2px; z-index: 2;
}
.phone-screen {
  background: #fff; border-radius: 30px; overflow: hidden;
  aspect-ratio: 9/19; display: flex; flex-direction: column;
}
.phone-header {
  background: var(--secondary); padding: 16px; text-align: center;
}
.phone-header .restaurant-name { color: #fff; font-weight: 700; font-size: .9rem; }
.phone-header .restaurant-sub { color: rgba(255,255,255,.6); font-size: .7rem; }
.phone-menu-page {
  flex: 1; background: linear-gradient(160deg, #ffecd2 0%, #fcb69f 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative;
}
.phone-menu-page .menu-label {
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-size: .7rem; font-weight: 600; color: rgba(0,0,0,.5);
}
.phone-nav-dots { display: flex; justify-content: center; gap: 6px; padding: 10px; background: #f8f9fa; }
.phone-nav-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
.phone-nav-dots span.active { background: var(--primary); width: 18px; border-radius: 3px; }

/* Floating QR badge */
.qr-badge {
  position: absolute; right: -40px; bottom: 60px;
  background: #fff; border-radius: var(--radius); padding: 12px;
  box-shadow: var(--shadow-lg); animation: float 4s ease-in-out infinite;
}
.qr-badge-inner { display: flex; align-items: center; gap: 10px; }
.qr-icon { width: 48px; height: 48px; background: var(--secondary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.qr-text { font-size: .75rem; }
.qr-text strong { display: block; font-size: .85rem; color: var(--secondary); }

/* ── Section Styles ───────────────────────────────────────── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--secondary); color: #fff; }
.section-gray { background: var(--surface-2); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; background: rgba(230,57,70,.1); color: var(--primary);
  padding: 6px 16px; border-radius: 20px; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header .lead { max-width: 600px; margin: 0 auto; }

/* ── Feature Cards ────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 60px; height: 60px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(230,57,70,.1), rgba(244,162,97,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }

/* ── How It Works ─────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 8px 24px rgba(230,57,70,.35);
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: .875rem; color: var(--text-muted); }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.pricing-card {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px 32px;
  transition: var(--transition); position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230,57,70,.1), var(--shadow-lg);
  transform: scale(1.04);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 5px 20px;
  border-radius: 20px; font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.pricing-name { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 12px; }
.pricing-price { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 8px; }
.pricing-price .amount { font-size: 3.2rem; font-weight: 800; color: var(--secondary); line-height: 1; }
.pricing-price .currency { font-size: 1.4rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.pricing-price .period { font-size: .85rem; color: var(--text-muted); margin-bottom: 10px; }
.pricing-desc { font-size: .875rem; color: var(--text-muted); margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: .9rem; border-bottom: 1px solid var(--surface-3);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--success); font-weight: 700; font-size: 1rem; }
.pricing-features .cross { color: var(--text-light); }

/* ── Reseller Section ─────────────────────────────────────── */
.reseller-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.tier-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  transition: var(--transition);
}
.tier-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.tier-name { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.tier-clients { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.tier-price { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.tier-price span { font-size: .85rem; font-weight: 400; color: rgba(255,255,255,.5); }
.tier-margin { margin-top: 8px; font-size: .8rem; color: var(--success); font-weight: 600; }

/* ── Dashboard Layout ─────────────────────────────────────── */
.dashboard-wrap { display: flex; min-height: 100vh; padding-top: 70px; }
.sidebar {
  width: 260px; min-height: calc(100vh - 70px); background: var(--secondary);
  padding: 32px 0; position: fixed; top: 70px; left: 0; bottom: 0;
  overflow-y: auto; z-index: 100; transition: var(--transition);
}
.sidebar-logo { padding: 0 24px 32px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 16px; }
.sidebar-logo .logo-text { color: #fff; }
.sidebar-nav { padding: 0 12px; }
.sidebar-section { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.3); padding: 16px 12px 8px; }
.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,.65); font-size: .9rem; font-weight: 500;
  transition: var(--transition); margin-bottom: 2px;
}
.sidebar-link:hover, .sidebar-link.active {
  background: rgba(255,255,255,.1); color: #fff;
}
.sidebar-link.active { background: rgba(230,57,70,.25); color: var(--primary-light); }
.sidebar-link .icon { font-size: 1.1rem; width: 22px; text-align: center; }
.sidebar-badge {
  margin-left: auto; background: var(--primary); color: #fff;
  font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px;
}
.dashboard-main { margin-left: 260px; flex: 1; padding: 36px; background: var(--surface-2); min-height: calc(100vh - 70px); }
.page-header { margin-bottom: 32px; }
.page-header h1 { font-size: 1.6rem; margin-bottom: 4px; }
.page-header p { color: var(--text-muted); }

/* ── Dashboard Cards ──────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.stat-card .stat-icon { font-size: 1.8rem; margin-bottom: 12px; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--secondary); }
.stat-card .stat-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.stat-card .stat-change { font-size: .8rem; margin-top: 4px; }
.stat-card .stat-change.up { color: var(--success); }
.stat-card .stat-change.down { color: var(--danger); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-header h3 { font-size: 1rem; font-weight: 700; }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--surface-2); }

/* ── Upload Zone ──────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius-lg);
  padding: 60px 40px; text-align: center; cursor: pointer;
  transition: var(--transition); background: var(--surface-2);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--primary); background: rgba(230,57,70,.04);
}
.upload-zone .upload-icon { font-size: 3rem; margin-bottom: 16px; }
.upload-zone h3 { margin-bottom: 8px; }
.upload-zone p { color: var(--text-muted); font-size: .9rem; }
.upload-progress { margin-top: 20px; display: none; }
.progress-bar { height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; transition: width .3s ease; width: 0%; }

/* ── Catalog Preview Grid ─────────────────────────────────── */
.catalog-pages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.catalog-page-thumb {
  border-radius: var(--radius); overflow: hidden; border: 2px solid var(--border);
  aspect-ratio: 3/4; background: var(--surface-3); cursor: pointer;
  transition: var(--transition); position: relative;
}
.catalog-page-thumb:hover { border-color: var(--primary); transform: scale(1.03); }
.catalog-page-thumb img { width: 100%; height: 100%; object-fit: cover; }
.catalog-page-num {
  position: absolute; bottom: 6px; right: 8px;
  background: rgba(0,0,0,.6); color: #fff; font-size: .7rem; font-weight: 700;
  padding: 2px 7px; border-radius: 10px;
}

/* ── QR Code Display ──────────────────────────────────────── */
.qr-display {
  text-align: center; padding: 32px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.qr-display img { width: 200px; height: 200px; margin: 0 auto 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.qr-url { font-size: .85rem; color: var(--text-muted); word-break: break-all; margin-bottom: 20px; }
.qr-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: .95rem; font-family: var(--font-sans);
  color: var(--text); background: var(--surface); transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(230,57,70,.12); }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: .8rem; color: var(--danger); margin-top: 4px; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Alerts ───────────────────────────────────────────────── */
.alert {
  padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px;
  font-size: .9rem; display: flex; align-items: flex-start; gap: 10px;
  border-left: 4px solid;
}
.alert-success { background: rgba(34,197,94,.08); border-color: var(--success); color: #166534; }
.alert-danger   { background: rgba(239,68,68,.08);  border-color: var(--danger);  color: #991b1b; }
.alert-warning  { background: rgba(245,158,11,.08); border-color: var(--warning); color: #92400e; }
.alert-info     { background: rgba(59,130,246,.08); border-color: var(--info);    color: #1e40af; }

/* ── Tables ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead th {
  padding: 12px 16px; text-align: left; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted);
  background: var(--surface-2); border-bottom: 1px solid var(--border);
}
tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 700;
}
.badge-success { background: rgba(34,197,94,.12); color: #166534; }
.badge-danger   { background: rgba(239,68,68,.12);  color: #991b1b; }
.badge-warning  { background: rgba(245,158,11,.12); color: #92400e; }
.badge-info     { background: rgba(59,130,246,.12); color: #1e40af; }
.badge-gray     { background: var(--surface-3); color: var(--text-muted); }

/* ── Auth Pages ───────────────────────────────────────────── */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  padding: 24px;
}
.auth-card {
  background: var(--surface); border-radius: var(--radius-xl);
  padding: 48px 40px; width: 100%; max-width: 460px;
  box-shadow: var(--shadow-xl);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo .logo-text { font-size: 1.8rem; }
.auth-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.auth-subtitle { color: var(--text-muted); font-size: .9rem; margin-bottom: 32px; }
.auth-divider { text-align: center; color: var(--text-muted); font-size: .85rem; margin: 20px 0; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-footer { text-align: center; margin-top: 24px; font-size: .875rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 600; }

/* ── Menu Viewer (Mobile-First) ───────────────────────────── */
.viewer-wrap { min-height: 100vh; background: #111; }
.viewer-header {
  background: var(--secondary); padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.viewer-header .restaurant-name { color: #fff; font-weight: 700; font-size: 1rem; }
.viewer-header .page-indicator { color: rgba(255,255,255,.5); font-size: .8rem; }
.viewer-pages { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.viewer-page {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  background: #fff;
}
.viewer-page img {
  width: 100%; height: auto; display: block;
  touch-action: pinch-zoom; /* Native mobile zoom */
}
.viewer-footer {
  background: var(--secondary); padding: 16px 20px; text-align: center;
  color: rgba(255,255,255,.4); font-size: .75rem;
}
.viewer-footer a { color: var(--primary-light); }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 12px; }
.testimonial-text { font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .9rem;
}
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-role { font-size: .78rem; color: var(--text-muted); }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl); padding: 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255,255,255,.08) 0%, transparent 70%);
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 32px; position: relative; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--secondary); color: rgba(255,255,255,.6); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 32px; }
.footer-brand .logo-text { color: #fff; font-size: 1.2rem; margin-bottom: 10px; display: block; }
.footer-brand p { font-size: .875rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .875rem; transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; font-size: .8rem; text-align: center; grid-column: 1 / -1; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp { animation: fadeInUp .6s ease forwards; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* ── Utilities ────────────────────────────────────────────── */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
.gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; }
.w-100 { width: 100%; }
.rounded { border-radius: var(--radius); }
.hidden { display: none !important; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: scale(1); }
  .reseller-tiers { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .reseller-tiers { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--surface); padding: 20px; flex-direction: column; box-shadow: var(--shadow-lg); border-top: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; padding: 20px; }
  .auth-card { padding: 32px 24px; }
  .cta-banner { padding: 40px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
