:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-light: #60a5fa;
  --primary-dark: #1e40af;
  --border: #e2e8f0;
  --success: #10b981;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #f8fafc;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 2000;
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}

.app-header {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 24px;
  height: 24px;
}

.navbar .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero-panel,
.info-card,
.feature-card,
.demo-card,
.offer-card,
.map-card,
.offer-list-card,
.metric-card,
.cta-panel,
.contact-panel,
.faq-item,
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.offer-card:hover, .feature-card:hover, .info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.hero-panel,
.cta-panel,
.contact-panel {
  padding: 3rem;
  border: none;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.eyebrow {
  color: var(--primary);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  transition: var(--transition);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  border: none;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
  border: none;
}

.btn-ghost:hover {
  background: #f1f5f9;
  color: var(--text);
}

.metric-card {
  padding: 1.5rem;
  background: white;
}

.metric-card strong {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

.offer-card__image {
  height: 200px;
  transition: var(--transition);
}

.offer-card:hover .offer-card__image {
  transform: scale(1.05);
}

.chat-bubble {
  border-radius: 16px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chat-bubble--mine {
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.transition-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.transition-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fw-extrabold {
  font-weight: 800;
}

.smaller {
  font-size: 0.75rem;
}

.cursor-pointer {
  cursor: pointer;
}

.metric-strip {
  border: 1px solid var(--border);
}

.page-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.offer-status-badge {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-published { background-color: #dcfce7; color: #166534; }
.status-reserved { background-color: #fef9c3; color: #854d0e; }
.status-sold, .status-givenaway { background-color: #f1f5f9; color: #475569; }
.status-pending { background-color: #ffedd5; color: #9a3412; }
.status-rejected { background-color: #fee2e2; color: #991b1b; }

.image-upload-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 120px;
}

.image-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.btn-primary-light {
  background-color: var(--primary-light);
  color: white;
}

.btn-primary-light:hover {
  background-color: var(--primary);
  color: white;
}
