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

:root {
  --primary: #16a34a;
  --primary-light: #22c55e;
  --primary-dark: #15803d;
  --primary-bg: #f0fdf4;
  --primary-glow: rgba(22, 163, 74, 0.15);
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --bg: #fafbfc;
  --surface: #ffffff;
  --surface-hover: #f8fafc;
  --text: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --veg: #16a34a;
  --nonveg: #dc2626;
  --pending: #f59e0b;
  --accepted: #3b82f6;
  --delivery: #8b5cf6;
  --delivered: #16a34a;
  --cancelled: #ef4444;
  --upi: #6366f1;
  --cod: #f97316;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ========== HEADER ========== */
.header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.3);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
}
.header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header .brand-icon {
  font-size: 28px;
  animation: bellRing 2s ease-in-out infinite;
}
@keyframes bellRing {
  0%, 100% { transform: rotate(0); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-14deg); }
  30% { transform: rotate(8deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(0); }
}
.header .brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.header .brand-tag {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 400;
}
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.header-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
  position: relative;
  backdrop-filter: blur(8px);
}
.header-btn:hover { background: rgba(255,255,255,0.25); }
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

/* ========== CLOSED BANNER ========== */
.closed-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
  padding: 32px;
}
.closed-overlay .closed-icon {
  font-size: 80px;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.closed-overlay h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.closed-overlay p {
  font-size: 16px;
  opacity: 0.7;
  margin-bottom: 24px;
}
.closed-overlay .next-open {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.closed-overlay .next-open span {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-light);
}

/* ========== MAIN CONTENT ========== */
.main {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  padding-bottom: 100px;
}

/* ========== THALI CARD ========== */
.thali-card {
  background: linear-gradient(135deg, #fef9c3 0%, #fef3c7 50%, #fde68a 100%);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.thali-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 50%;
}
.thali-card .thali-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: white;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.thali-card .thali-title {
  font-size: 18px;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 8px;
}
.thali-card .thali-desc {
  font-size: 14px;
  color: #92400e;
  margin-bottom: 16px;
  line-height: 1.6;
}
.thali-card .thali-price {
  font-size: 28px;
  font-weight: 900;
  color: #78350f;
}
.thali-card .thali-price span {
  font-size: 16px;
  font-weight: 400;
}
.thali-not-set {
  background: var(--border-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-muted);
}
.thali-not-set .icon { font-size: 40px; margin-bottom: 8px; }

/* ========== CATEGORY SECTION ========== */
.category-section {
  margin-bottom: 28px;
}
.category-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-bg);
}
.category-header .emoji { font-size: 22px; }
.category-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.category-header .count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--border-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* ========== MENU ITEM CARD ========== */
.item-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.item-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.item-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.veg-badge {
  width: 18px;
  height: 18px;
  border: 2px solid var(--veg);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.veg-badge::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--veg);
}
.veg-badge.non-veg { border-color: var(--nonveg); }
.veg-badge.non-veg::after { background: var(--nonveg); }
.item-info { flex: 1; }
.item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.item-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.item-variants {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.variant-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  min-width: 120px;
}
.variant-btn:hover {
  border-color: var(--primary-light);
  background: var(--primary-bg);
}
.variant-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}
.variant-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.variant-add {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}
.variant-add:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}
.variant-add:active { transform: scale(0.95); }

/* ========== CART BAR (BOTTOM) ========== */
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-bar.visible { transform: translateY(0); }
.cart-bar-inner {
  max-width: 480px;
  margin: 0 auto;
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 -4px 20px rgba(22, 163, 74, 0.3), var(--shadow-xl);
  transition: all 0.2s;
}
.cart-bar-inner:hover { background: var(--primary-dark); }
.cart-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}
.cart-bar-count {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}
.cart-bar-text {
  font-size: 14px;
  font-weight: 600;
}
.cart-bar-total {
  color: white;
  font-size: 18px;
  font-weight: 800;
}

/* ========== CART MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.modal-overlay.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.cart-modal {
  background: var(--surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 5;
}
.cart-modal-header h2 {
  font-size: 20px;
  font-weight: 800;
}
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--border-light);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cart-close:hover { background: var(--border); }

.cart-items { padding: 16px 20px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; }
.cart-item-name {
  font-size: 14px;
  font-weight: 600;
}
.cart-item-variant {
  font-size: 12px;
  color: var(--text-secondary);
}
.cart-item-price {
  font-size: 15px;
  font-weight: 700;
  min-width: 60px;
  text-align: right;
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  border-radius: var(--radius-full);
  padding: 2px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.qty-btn:hover { background: var(--primary-dark); }
.qty-btn.minus { background: var(--border); color: var(--text); }
.qty-btn.minus:hover { background: #cbd5e1; }
.qty-num {
  font-size: 14px;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* ========== CHECKOUT ========== */
.checkout-section {
  padding: 20px;
  border-top: 6px solid var(--border-light);
}
.checkout-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
  background: var(--surface);
  color: var(--text);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.tower-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.tower-btn {
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  font-family: inherit;
  color: var(--text);
}
.tower-btn:hover { border-color: var(--primary-light); }
.tower-btn.active {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary);
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.payment-btn {
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: all 0.2s;
}
.payment-btn:hover { border-color: var(--primary-light); }
.payment-btn.active {
  border-color: var(--primary);
  background: var(--primary-bg);
}
.payment-btn .pay-icon { font-size: 24px; margin-bottom: 4px; }
.payment-btn .pay-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.payment-btn .pay-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.upi-details {
  background: var(--primary-bg);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 12px;
  text-align: center;
  display: none;
}
.upi-details.visible { display: block; }
.upi-id {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 8px 0;
  padding: 8px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--primary);
  user-select: all;
}

.cart-total-section {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-total-label {
  font-size: 16px;
  font-weight: 600;
}
.cart-total-amount {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
}

.place-order-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.place-order-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}
.place-order-btn:active { transform: translateY(0); }
.place-order-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ========== ORDER TRACKING ========== */
.track-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}
.order-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.order-id {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.order-time {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.status-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}
.status-tracker::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--border);
  z-index: 0;
}
.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
  position: relative;
}
.status-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border-light);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s;
}
.status-step.active .status-dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  animation: pulse 2s infinite;
}
.status-step.done .status-dot {
  background: var(--primary);
  border-color: var(--primary);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--primary-glow); }
  50% { box-shadow: 0 0 0 8px var(--primary-glow); }
}
.status-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  max-width: 60px;
}
.status-step.active .status-label,
.status-step.done .status-label {
  color: var(--primary);
}

.order-items-list {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.order-item-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}
.order-item-row .qty {
  color: var(--text-muted);
  font-weight: 500;
}
.order-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1.5px solid var(--border);
  font-weight: 700;
  font-size: 16px;
}
.order-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  margin-top: 12px;
}
.badge-upi { background: #eef2ff; color: var(--upi); }
.badge-cod { background: #fff7ed; color: var(--cod); }

/* ========== LOGIN PAGE ========== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #dcfce7 100%);
}
.login-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.login-card .logo {
  font-size: 56px;
  margin-bottom: 8px;
  animation: bellRing 2s ease-in-out infinite;
}
.login-card h1 {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}
.login-card .tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.login-card .form-input {
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
}
.login-card .pin-input {
  letter-spacing: 8px;
  font-weight: 700;
}
.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}
.login-toggle {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}
.login-toggle a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* ========== STATUS COLORS ========== */
.status-pending { color: var(--pending); }
.status-accepted { color: var(--accepted); }
.status-out-for-delivery { color: var(--delivery); }
.status-delivered { color: var(--delivered); }
.status-cancelled { color: var(--cancelled); }

/* ========== TOAST / NOTIFICATION ========== */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  z-index: 300;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
  white-space: nowrap;
  max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ========== EMPTY STATES ========== */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 48px; margin-bottom: 12px; }
.empty-state h3 { font-size: 18px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.empty-state p { font-size: 14px; }

/* ========== BACK BUTTON ========== */
.back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  color: white;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ========== TABS ========== */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--border-light);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  color: var(--text-secondary);
}
.tab-btn.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ========== iOS INSTALL GUIDE ========== */
.ios-guide {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin: 16px;
  max-width: 440px;
  margin: 16px auto;
  box-shadow: var(--shadow-md);
}
.ios-guide h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.ios-step {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.ios-step:last-child { border-bottom: none; }
.ios-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ios-step-text { font-size: 14px; color: var(--text-secondary); }

/* ========== UTILITY ========== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 360px) {
  .tower-selector { grid-template-columns: repeat(2, 1fr); }
  .payment-options { grid-template-columns: 1fr; }
}
