/* ==== Routicket Cuponera — Design System ==== */

:root {
  --rtk-primary: #00C2CB;
  --rtk-secondary: #8BC34A;
  --rtk-ink: #1E1E1E;
  --rtk-muted: #667085;
  --rtk-surface: #FFFFFF;
  --rtk-border: #E5E7EB;
  --rtk-bg: #F6F8FB;
  --rtk-accent: #FFCA28;
  --rtk-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  --rtk-radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--rtk-bg);
  color: var(--rtk-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.cuponera-container {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0 14px;
}

/* ==== Header ==== */
.cuponera-header {
  background: #fff;
  border-bottom: 1px solid var(--rtk-border);
  box-shadow: var(--rtk-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.cuponera-header .nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--rtk-ink);
  letter-spacing: -0.03em;
}
.brand span { color: var(--rtk-primary); }
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a {
  color: var(--rtk-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--rtk-primary); }

/* ==== Hero ==== */
.hero {
  text-align: center;
  padding: 56px 0 32px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: -0.06em;
  line-height: 1.1;
}
.hero h1 em { color: var(--rtk-primary); font-style: normal; }
.hero p {
  font-size: 1.05rem;
  color: var(--rtk-muted);
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
}

/* ==== Actions ==== */
.actions-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--rtk-primary), var(--rtk-secondary));
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 194, 203, 0.32);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-outline {
  background: var(--rtk-surface);
  color: var(--rtk-ink);
  border: 1px solid var(--rtk-border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.btn-outline:hover { background: var(--rtk-bg); }
.btn-lg { padding: 0 28px; font-size: 1rem; }
.btn-dark {
  background: var(--rtk-ink);
  color: #fff;
  width: 100%;
}
.btn-dark:hover { background: #0d0d0d; }
.btn-light-bordered {
  background: var(--rtk-surface);
  color: var(--rtk-ink);
  border: 1px solid var(--rtk-border);
  width: 100%;
}
.btn-light-bordered:hover { background: var(--rtk-bg); }
.btn-block { width: 100%; }

/* ==== Note ==== */
.note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--rtk-surface);
  border: 1px solid var(--rtk-border);
  border-radius: var(--rtk-radius);
  padding: 14px 16px;
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: var(--rtk-muted);
  box-shadow: var(--rtk-shadow);
}
.note .icon { color: var(--rtk-primary); flex-shrink: 0; margin-top: 1px; }

/* ==== Coupon Grid ==== */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}
.coupon-card {
  display: flex;
  flex-direction: column;
  background: var(--rtk-surface);
  border: 1px solid var(--rtk-border);
  border-radius: var(--rtk-radius);
  overflow: hidden;
  box-shadow: var(--rtk-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.coupon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.coupon-image {
  display: block;
  width: 100%;
  height: 178px;
  object-fit: cover;
  background: #e8eef2;
}
.coupon-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}
.coupon-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--rtk-ink);
  line-height: 1.3;
  min-height: 44px;
}
.coupon-description {
  flex: 1;
  margin: 0 0 12px;
  color: var(--rtk-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.coupon-expiry {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rtk-primary);
  margin-bottom: 14px;
}
.coupon-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==== Empty State ==== */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 28px;
  background: var(--rtk-surface);
  border: 1px solid var(--rtk-border);
  border-radius: var(--rtk-radius);
  box-shadow: var(--rtk-shadow);
}
.empty-state p {
  color: var(--rtk-muted);
  font-size: 1.05rem;
}

/* ==== Premium CTA ==== */
.premium-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--rtk-primary), var(--rtk-secondary));
  border-radius: var(--rtk-radius);
  padding: 44px 28px;
  color: #fff;
  margin-bottom: 44px;
  box-shadow: 0 16px 42px rgba(0, 194, 203, 0.32);
}
.premium-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 10px;
}
.premium-cta p {
  font-size: 1rem;
  opacity: 0.92;
  max-width: 670px;
  margin: 0 auto 24px;
}

/* ==== Footer ==== */
.cuponera-footer {
  background: var(--rtk-ink);
  color: var(--rtk-muted);
  padding: 22px 0;
  font-size: 0.82rem;
}
.cuponera-footer .cuponera-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-link {
  color: var(--rtk-primary);
  text-decoration: none;
  font-weight: 600;
}
.footer-link:hover { text-decoration: underline; }

/* ==== Responsive ==== */
@media (max-width: 680px) {
  .cuponera-header .nav { height: 56px; }
  .brand { font-size: 1rem; }
  .nav-links { gap: 16px; font-size: 0.88rem; }
  .hero { padding: 38px 0 22px; }
  .coupon-actions { grid-template-columns: 1fr; }
  .cuponera-footer .cuponera-container { flex-direction: column; text-align: center; }
  .actions-bar { flex-direction: column; }
  .actions-bar .btn { width: 100%; }
}
