* { box-sizing: border-box; }
:root {
  --bg: #0b1020;
  --card: #0e1730;
  --text: #eaf0ff;
  --muted: #9fb2d9;
  --brand: #0a7cff;
  --accent: #23c483;
}
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #090d1a 0%, #0b1020 100%);
  color: var(--text);
  line-height: 1.6;
}
.container { width: min(1120px, 92%); margin-inline: auto; }

h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; font-weight: 700; }
h3 { font-size: clamp(18px, 2vw, 22px); margin-bottom: 12px; font-weight: 600; }

.site-header { position: sticky; top: 0; backdrop-filter: blur(12px); background: rgba(9,13,26,0.85); border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 100; transition: all 0.3s ease; box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: transparent; display: block; }
.logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.name { letter-spacing: 0.2px; }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; opacity: 0.9; }
.nav button { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 8px; font-size: 14px; cursor: pointer; transition: all 0.2s ease; font-family: inherit; }
.nav button:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.nav button.btn-cta { background: var(--brand); border-color: var(--brand); font-weight: 600; box-shadow: 0 2px 8px rgba(10,124,255,0.3); }
.nav a.btn-cta { background: var(--brand); padding: 8px 16px; border-radius: 8px; font-weight: 600; display: inline-block; }

.hero { padding: 64px 0 48px; min-height: 85vh; display: flex; align-items: center; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 16px; line-height: 1.2; font-weight: 700; background: linear-gradient(135deg, #ffffff 0%, #c8d9ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { color: var(--muted); margin: 0 0 24px; font-size: 18px; line-height: 1.7; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge { display: inline-block; transition: transform 0.2s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 48px; filter: drop-shadow(0 4px 16px rgba(10,124,255,0.3)); }

.hero-art { display: grid; place-items: center; }
.phone { width: 320px; height: 600px; background: #0a0f1e; border: 1px solid rgba(255,255,255,0.08); border-radius: 32px; position: relative; box-shadow: 0 20px 70px rgba(10,124,255,0.25), 0 8px 30px rgba(0,0,0,0.3); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 40%; height: 18px; background: #0a0f1e; border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); }
.phone-screen { position: absolute; inset: 44px 10px 10px; background: var(--card); border-radius: 24px; padding: 14px; }
.screen-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 10px; }
.screen-header { display: grid; grid-template-columns: 0.9fr 1.2fr 0.2fr 1.2fr; gap: 6px; padding: 6px 8px; color: var(--muted); font-size: 12px; align-items: center; }
.col-label { text-align: left; }
.offers { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.offers li { display: grid; grid-template-columns: 0.9fr 1.2fr 0.2fr 1.2fr; gap: 6px; padding: 6px 8px; background: rgba(255,255,255,0.03); border-radius: 10px; align-items: start; }
.offers .time { color: var(--muted); white-space: nowrap; }
.offers .before, .offers .after { line-height: 1.25; word-break: break-word; hyphens: auto; }
.offers .before { color: #bcd8ff; }
.offers .after { color: var(--accent); font-weight: 700; }

.features { padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.grid-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 840px; margin: 0 auto; }
.feature { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 24px; transition: all 0.3s ease; }
.feature:hover { transform: translateY(-4px); background: rgba(255,255,255,0.06); border-color: rgba(10,124,255,0.3); box-shadow: 0 8px 24px rgba(10,124,255,0.15); }
.feature h3 { margin: 0 0 10px 0; font-size: 20px; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.feat-icon { font-size: 36px; margin-bottom: 12px; display: block; }

.how { padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.how ol { max-width: 800px; }
.how-step { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 18px; }
.step-num { width: 28px; height: 28px; background: var(--brand); color: white; border-radius: 50%; display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }

.faq { padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.faq h2 { margin-top: 0; }
.faq ol { max-width: 800px; }
.faq details { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }

.cta { padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.06); background: radial-gradient(1000px 300px at 50% 0%, rgba(10,124,255,0.18), transparent 60%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.btn { display: inline-block; text-decoration: none; color: white; border-radius: 10px; padding: 11px 20px; transition: all 0.2s ease; font-weight: 500; }
.btn:hover { transform: translateY(-1px); }
.btn-cta { background: linear-gradient(135deg, var(--brand), #2a9dff); font-weight: 700; box-shadow: 0 6px 20px rgba(10,124,255,0.35); }
.btn-cta:hover { box-shadow: 0 8px 28px rgba(10,124,255,0.45); }
/* Secondary / danger button variants for consistency across admin/vendor */
.btn.secondary { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--text); }
.btn.secondary:hover { background: rgba(255,255,255,0.12); }
.btn.btn-danger { background: linear-gradient(135deg, #ff4b6a, #ff6b6b); border: none; color: #fff; box-shadow: 0 4px 14px rgba(255,107,107,0.35); }
.btn.btn-danger:hover { box-shadow: 0 6px 18px rgba(255,107,107,0.45); }

/* Simple text alignment helper for tables */
.text-right { text-align: right; }

/* Card styling for vendor/admin panels */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.2s ease;
}

/* Form styling improvements */
.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}
.input:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(10,124,255,0.1);
}
.input::placeholder {
  color: rgba(255,255,255,0.3);
}

/* Form grid for mobile layouts */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

/* Mobile card items (restaurants, slots) */
.mobile-card-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
.mobile-card-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.mobile-card-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.mobile-card-item-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}
.mobile-card-item-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.mobile-card-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* Generic table styling (used by vendor Current Slots) */
.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255,255,255,0.12);
}
.data-table th,
.data-table td {
  padding: 8px 10px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}
.data-table th:last-child,
.data-table td:last-child {
  border-right: none;
}
.data-table thead th {
  background: rgba(255,255,255,0.04);
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.data-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}
.data-table tbody tr:hover {
  background: rgba(255,255,255,0.04);
}
/* Inputs inside tables should be compact */
.data-table .input {
  padding: 8px 10px;
  font-size: 13px;
}

.site-footer { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner a { color: var(--muted); text-decoration: none; }

/* Layout helpers for vendor/admin tables vs mobile cards */
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .phone { width: 320px; height: 620px; }
  .screen-header, .offers li { grid-template-columns: 0.8fr 1.1fr 0.15fr 1.1fr; }
  .nav { gap: 6px; }
  .nav button { padding: 6px 12px; font-size: 13px; }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
  }
  .nav button, .nav a {
    flex: 1;
    text-align: center;
    min-width: 80px;
    padding: 10px 12px;
  }
  .hero {
    padding: 40px 0 32px;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .cta-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .store-badge {
    width: 100%;
    text-align: center;
  }
  .store-badge img {
    height: 52px;
    max-width: 100%;
  }
  .phone {
    width: 280px;
    height: 540px;
  }
  .cta-inner {
    align-items: flex-start;
  }
  .feature {
    padding: 20px;
  }
  .feat-icon {
    font-size: 32px;
  }
  .site-footer {
    text-align: center;
    padding: 24px 0;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .features {
    padding: 36px 0;
  }
}
