:root {
  --gs-primary: #4f46e5;
  --gs-primary-hover: #4338ca;
  --gs-secondary: #06b6d4;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Outfit', system-ui, sans-serif;
  letter-spacing: -0.01em;
}
::selection { background: rgba(79,70,229,.2); color: #1e1b4b; }

.gs-hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(6,182,212,.12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(79,70,229,.10), transparent 60%),
    #fff;
}
.gs-grid-bg {
  background-image:
    linear-gradient(rgba(79,70,229,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.glass {
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
.gs-card-glow { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.gs-card-glow:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(79,70,229,.25); border-color: rgba(79,70,229,.3); }

@keyframes gs-fade-up { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform: translateY(0); } }
.gs-fade-up { animation: gs-fade-up .6s ease-out both; }
.gs-stagger > * { opacity: 0; animation: gs-fade-up .6s ease-out forwards; }
.gs-stagger > *:nth-child(1) { animation-delay: .05s; }
.gs-stagger > *:nth-child(2) { animation-delay: .12s; }
.gs-stagger > *:nth-child(3) { animation-delay: .20s; }
.gs-stagger > *:nth-child(4) { animation-delay: .28s; }
.gs-stagger > *:nth-child(5) { animation-delay: .36s; }
.gs-stagger > *:nth-child(6) { animation-delay: .44s; }

/* Toast */
.gs-toasts { position: fixed; top: 80px; right: 16px; z-index: 100; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.gs-toast { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 16px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.15); animation: gs-fade-up .25s ease-out; min-width: 260px; max-width: 380px; font-size: 14px; pointer-events: auto; }
.gs-toast.success { border-left: 3px solid #10b981; }
.gs-toast.error { border-left: 3px solid #ef4444; }

/* Modal */
.gs-modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; animation: gs-fade-up .2s ease-out; }
.gs-modal { background: #fff; border-radius: 20px; max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px -20px rgba(0,0,0,.25); }

/* Inputs */
.gs-input { width: 100%; border-radius: 12px; border: 1px solid #e2e8f0; padding: 10px 14px; font-size: 14px; color: #0f172a; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; font-family: inherit; }
.gs-input:focus { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
textarea.gs-input { resize: vertical; min-height: 80px; }

/* Buttons */
.gs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9999px; padding: 10px 22px; font-weight: 500; font-size: 14px; cursor: pointer; transition: all .2s; border: none; font-family: inherit; }
.gs-btn-primary { background: #4f46e5; color: #fff; }
.gs-btn-primary:hover { background: #4338ca; box-shadow: 0 6px 20px -6px rgba(79,70,229,.5); }
.gs-btn-dark { background: #0f172a; color: #fff; }
.gs-btn-dark:hover { background: #1e293b; }
.gs-btn-outline { background: #fff; color: #0f172a; border: 2px solid #e2e8f0; }
.gs-btn-outline:hover { border-color: #4f46e5; color: #4f46e5; }
.gs-btn-ghost { background: transparent; color: #475569; }
.gs-btn-ghost:hover { background: #f1f5f9; color: #4f46e5; }
.gs-btn:disabled { opacity: .5; cursor: not-allowed; }
.gs-btn-lg { padding: 12px 28px; font-size: 15px; height: 48px; }
.gs-btn-grad { background: linear-gradient(135deg, #4f46e5, #06b6d4); color: #fff; }
.gs-btn-grad:hover { opacity: .9; }

/* Mobile menu */
@media (max-width: 767px) {
  .desktop-nav { display: none !important; }
}
@media (min-width: 768px) {
  .mobile-only { display: none !important; }
}

/* Status badges */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 9999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border: 1px solid; }
.badge-active { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.badge-upcoming { background: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.badge-closed { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.badge-premium { background: linear-gradient(135deg, #4f46e5, #06b6d4); color: #fff; border-color: transparent; }
.badge-featured { background: #fef3c7; color: #92400e; border-color: #fde68a; }

/* Util */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Prose for legal pages */
.gs-prose h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2rem; margin-bottom: .75rem; color: #0f172a; }
.gs-prose p, .gs-prose li { color: #475569; line-height: 1.75; margin-bottom: .75rem; }
.gs-prose ul { padding-left: 1.5rem; list-style: disc; }
.gs-prose a { color: #4f46e5; text-decoration: underline; }
