
:root {
  --bg-dark: #0A0C0E;
  --bg-card: #12151B;
  --bg-card-hover: #191E26;
  --bg-glass: rgba(18, 21, 27, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #F04B3F;
  --crimson: #F04B3F;
  --crimson-hover: #FF5E52;
  --crimson-glow: rgba(240, 75, 63, 0.25);
  --emerald: #00D084;
  --text-main: #F7F7F7;
  --text-muted: #8E9BAE;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-item {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-item:hover, .nav-item.active {
  color: #FFFFFF;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}
.btn-primary {
  background: var(--crimson);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--crimson-glow);
}
.btn-primary:hover {
  background: var(--crimson-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(240, 75, 63, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.btn-outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(240, 75, 63, 0.18) 0%, rgba(10, 12, 14, 0) 70%);
  pointer-events: none;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(240, 75, 63, 0.12);
  border: 1px solid rgba(240, 75, 63, 0.35);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--crimson);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-highlight {
  color: var(--crimson);
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

/* Search Bar */
.search-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
  max-width: 980px;
  margin: 0 auto 60px;
}
.search-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
  gap: 12px;
}
.form-control {
  background: #0E1014;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  font-size: 14px;
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--crimson);
}

/* Deal Cards Grid */
.section-title-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 4px;
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.deal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 75, 63, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}
.deal-thumb {
  position: relative;
  height: 210px;
  background: #151921;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.deal-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.deal-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--crimson);
  color: #FFFFFF;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.deal-status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 12, 14, 0.85);
  backdrop-filter: blur(8px);
  color: var(--emerald);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(0, 208, 132, 0.3);
}
.deal-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.deal-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.deal-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
}
.deal-specs {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.deal-spec-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.deal-price-row {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.price-old {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-new {
  font-size: 24px;
  font-weight: 900;
  color: #FFFFFF;
}
.price-discount {
  font-size: 13px;
  color: var(--crimson);
  font-weight: 700;
}

/* Partner Benefits Section */
.features-section {
  padding: 70px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #0C0E12;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(240, 75, 63, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crimson);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
}
.feature-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #080A0C;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1.5fr 1.5fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
}
.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.cert-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cert-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.col-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
}
.col-links {
  list-style: none;
}
.col-links li {
  margin-bottom: 10px;
}
.col-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.col-links a:hover {
  color: #FFFFFF;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 520px;
  width: 90%;
  box-shadow: var(--shadow-card);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}
.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 12px; }

@media (max-width: 900px) {
  .header-inner { height: 70px; }
  .nav-links { display: none; }
  .search-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 34px; }
}
