/* ==========================================================
   Reduprime — Brand Hub Design System
   Brand palette: black + deep purple + gold accent
   ========================================================== */

:root {
  --bg: #08050d;
  --bg-1: #0d0817;
  --bg-2: #14102a;
  --bg-3: #1d1638;
  --purple: #7B3CC0;
  --purple-lt: #a45cd9;
  --purple-dk: #4a1f73;
  --purple-deep: #2a0f4a;
  --purple-glow: rgba(123,60,192,.35);
  --gold: #d4af37;
  --gold-lt: #f0cf6b;
  --gold-dk: #9b7e1a;
  --red: #e11d2e;
  --red-lt: #ff2a3b;
  --white: #ffffff;
  --g100: #f5f5f5;
  --g200: #d4d4d4;
  --g300: #a3a3a3;
  --g400: #737373;
  --g600: #404040;
  --line: rgba(123,60,192,.25);
  --line-strong: rgba(123,60,192,.5);
  --r: 12px;
  --r-lg: 18px;
  --shadow-purple: 0 12px 40px rgba(123,60,192,.30);
  --shadow-gold: 0 8px 28px rgba(212,175,55,.25);
  --fh: 'Playfair Display', Georgia, serif;
  --fb: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 880px; margin-inline: auto; padding-inline: 20px; }
.tc { text-align: center; }

/* ==========================================================
   Typography
   ========================================================== */
h1, h2, h3, h4 { font-family: var(--fh); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.tag {
  display: inline-block;
  background: rgba(123,60,192,.18);
  border: 1px solid var(--line-strong);
  color: var(--gold-lt);
  font-family: var(--fb);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: 2px;
  margin-block: 22px;
}
.divider.c { margin-inline: auto; }
.tg { color: var(--gold); }
.tp { color: var(--purple-lt); }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fb);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  color: #fff;
  transition: transform .18s, filter .18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-purple {
  background: linear-gradient(135deg, var(--purple-dk), var(--purple) 50%, var(--purple-lt));
  box-shadow: var(--shadow-purple);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dk), var(--gold-lt) 50%, var(--gold-dk));
  background-size: 200%;
  color: #1a1a1a;
  box-shadow: var(--shadow-gold);
  animation: shimmer 4s infinite;
}
@keyframes shimmer { 0%{background-position:200% center} 100%{background-position:-200% center} }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(212,175,55,.08); }
.btn-sm { font-size: 14px; padding: 10px 22px; }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,5,13,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  max-width: 1180px;
  margin-inline: auto;
}
.logo {
  font-family: var(--fh);
  font-size: 26px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo .mark {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--purple-lt));
  position: relative;
}
.logo .mark::after {
  content: 'R';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-lt);
  font-weight: 900;
  font-size: 22px;
}
.logo small {
  font-family: var(--fb);
  font-weight: 700;
  font-size: 10px;
  color: var(--purple-lt);
  letter-spacing: .25em;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
}
.nav { display: none; margin-left: auto; gap: 28px; }
.nav a {
  color: var(--g200);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--gold); }
.header-cta { margin-left: auto; font-size: 13px; padding: 10px 20px; }
@media (min-width: 880px) {
  .nav { display: flex; }
  .header-cta { margin-left: 0; }
}

/* ==========================================================
   Hero (hub)
   ========================================================== */
.hub-hero {
  position: relative;
  padding: 90px 20px 70px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(123,60,192,.32), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(212,175,55,.10), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%);
}
.hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212,175,55,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}
.hub-hero-inner {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
}
.hero-kicker {
  font-family: var(--fb);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold-lt);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hub-hero h1 {
  font-size: clamp(36px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hub-hero p.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--g200);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hub-hero p.lead strong { color: var(--white); }

/* ==========================================================
   Sections
   ========================================================== */
.section { padding-block: 80px; }
.s0 { background: var(--bg); }
.s1 { background: var(--bg-1); }
.s2 { background: var(--bg-2); }

/* ==========================================================
   Product grid (the line)
   ========================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple);
  box-shadow: var(--shadow-purple);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  opacity: 0;
  transition: opacity .25s ease;
}
.product-card:hover::before { opacity: 1; }
.product-card.feat { border-color: var(--gold-dk); }
.product-card.feat::before { background: linear-gradient(90deg, var(--gold), var(--gold-lt)); opacity: 1; }
.product-card.feat:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.product-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.product-img {
  background: radial-gradient(ellipse at center, rgba(123,60,192,.15), transparent 70%);
  border-radius: var(--r);
  padding: 18px;
  margin-bottom: 18px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img { max-height: 260px; margin: 0 auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.5)); }
.product-card h3 {
  font-family: var(--fh);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 6px;
  color: var(--white);
}
.product-form {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold-lt);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.product-card p {
  font-size: 14.5px;
  color: var(--g200);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.product-cta {
  margin-top: auto;
}
.product-cta .btn { width: 100%; padding: 12px 18px; font-size: 13.5px; }

/* ==========================================================
   Two-column section
   ========================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================
   Check list
   ========================================================== */
.check-list { list-style: none; }
.check-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.check-item:last-child { border-bottom: none; }
.check-mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--purple), var(--purple-lt));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  box-shadow: var(--shadow-purple);
}
.check-item h4 {
  font-family: var(--fb);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 4px;
}
.check-item p { color: var(--g200); font-size: 14.5px; line-height: 1.55; }

/* ==========================================================
   Guarantee strip
   ========================================================== */
.guar {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--bg-2) 100%);
  padding-block: 80px;
  position: relative;
  overflow: hidden;
}
.guar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212,175,55,.12), transparent 60%);
  pointer-events: none;
}
.guar .gi {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
}
.guar .gbadge-img {
  border-radius: 50%;
  border: 4px solid var(--gold);
  background: var(--bg);
  box-shadow: var(--shadow-gold);
}
@media (max-width: 880px) {
  .guar .gi { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .guar .gbadge-img { max-width: 200px; margin: 0 auto; }
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
  margin-bottom: 36px;
}
.foot-col h4 {
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.foot-col p { color: var(--g300); font-size: 14px; margin-bottom: 6px; }
.foot-col a { color: var(--g200); transition: color .15s ease; }
.foot-col a:hover { color: var(--gold); }
.flogo {
  font-family: var(--fh);
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: .04em;
}
.lang-switcher {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.lang-switcher a {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--g200);
  transition: border-color .15s ease, color .15s ease;
}
.lang-switcher a:hover { border-color: var(--gold); color: var(--gold); }
.flegal {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}
.flegal p { color: var(--g400); font-size: 12px; line-height: 1.6; margin-bottom: 10px; }
.flegal strong { color: var(--g200); }
.fcopy { color: var(--g400); font-size: 12px; }

@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================
   Section title
   ========================================================== */
.section-title {
  text-align: center;
  font-size: clamp(28px, 4.5vw, 48px);
  margin-bottom: 14px;
  font-weight: 900;
  line-height: 1.1;
}
.section-lead {
  color: var(--g200);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.65;
}
