/* ===========================
   PrinceBot — Global Styles
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #cc1111;
  --red-bright: #ff2020;
  --red-dark:   #7a0000;
  --red-glow:   rgba(204,17,17,0.35);
  --bg:         #080808;
  --bg2:        #0f0f0f;
  --bg3:        #161616;
  --card:       #101010;
  --card-hover: #141414;
  --border:     rgba(204,17,17,0.2);
  --border-dim: rgba(255,255,255,0.06);
  --text:       #f0f0f0;
  --muted:      #777;
  --muted2:     #555;
  --radius:     14px;
  --radius-sm:  8px;
  --nav-h:      68px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; min-height: 100vh; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ── SELECTION ── */
::selection { background: rgba(204,17,17,0.35); color: #fff; }

/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px;
  background: rgba(8,8,8,0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.navbar.scrolled { background: rgba(6,6,6,0.95); }

.nav-logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: #fff;
  box-shadow: 0 0 12px var(--red-glow);
}
.nav-logo-text { font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.nav-logo-text em { color: var(--red-bright); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--red-bright); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; border-radius: var(--radius-sm); transition: all .2s; white-space: nowrap; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-md { padding: 13px 28px; font-size: 0.95rem; }
.btn-lg { padding: 16px 38px; font-size: 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--red), var(--red-bright)); color: #fff; box-shadow: 0 4px 20px rgba(204,17,17,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(204,17,17,0.5); }
.btn-ghost { color: #fff; border: 1px solid var(--border-dim); background: transparent; }
.btn-ghost:hover { border-color: var(--red); background: rgba(204,17,17,0.08); color: #fff; }

.btn-invite-red {
  background-color: #ef2323;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.25), 0 4px 15px rgba(239, 35, 35, 0.3);
  border: 1px solid #d01c1c;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  font-size: 1.1rem;
}
.btn-invite-red:hover {
  background-color: #ff3333;
  transform: translateY(-2px);
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.35), 0 6px 20px rgba(239, 35, 35, 0.5);
}

.btn-invite-red.btn-sm { padding: 0 16px; font-size: 0.85rem; height: 36px; }
.btn-invite-red.btn-md { padding: 0 22px; font-size: 0.95rem; height: 44px; }
.btn-invite-red.btn-lg { padding: 0 28px; font-size: 1.05rem; height: 52px; }
.btn-outline { color: var(--red-bright); border: 1px solid rgba(204,17,17,0.4); background: transparent; }
.btn-outline:hover { background: rgba(204,17,17,0.1); border-color: var(--red-bright); }

/* Hamburger mobile */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999;
  background: rgba(8,8,8,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; padding: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #fff; text-decoration: none; font-size: 1.4rem; font-weight: 700; transition: color .2s; }
.mobile-menu a:hover { color: var(--red-bright); }

/* ══════════════════════════════
   LAYOUT HELPERS
══════════════════════════════ */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red-bright); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px;
}
.section-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--red-bright); border-radius: 2px; }

.section-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -.03em;
  margin-bottom: 18px;
}
.section-title .accent { color: var(--red-bright); }
.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.75; max-width: 560px; }

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ══════════════════════════════
   CARDS
══════════════════════════════ */
.card {
  background: var(--card); border: 1px solid var(--border-dim);
  border-radius: var(--radius); padding: 32px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(204,17,17,0.1); }
.card:hover::after { opacity: 1; }

.card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(204,17,17,0.1); border: 1px solid rgba(204,17,17,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 20px; flex-shrink: 0;
}
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 9px; }
.card-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* TAGS */
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.tag {
  background: rgba(204,17,17,0.08); border: 1px solid rgba(204,17,17,0.18);
  color: #ff8080; padding: 3px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: .03em;
}

/* ══════════════════════════════
   DIVIDERS & DECORATIONS
══════════════════════════════ */
.divider { width: 100%; height: 1px; background: var(--border-dim); margin: 0; }

.glow-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
  opacity: .4;
}

/* ══════════════════════════════
   STATS BAR
══════════════════════════════ */
.stats-bar {
  background: rgba(10, 10, 10, 0.8);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 40px 0;
  backdrop-filter: blur(10px);
}
.stats-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.stat-item { padding: 10px; }
.stat-item h3 {
  display: inline-block;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #ff5555);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}
.stat-item span {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
}
.stat-item p {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ══════════════════════════════
   GRID SYSTEM
══════════════════════════════ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ══════════════════════════════
   BADGE / PILL
══════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(204,17,17,0.1); border: 1px solid rgba(204,17,17,0.25);
  color: #ff8080; padding: 7px 18px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ══════════════════════════════
   REVEAL ANIMATION
══════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.up { transform: translateY(28px); }
.reveal.left { transform: translateX(-28px); }
.reveal.right { transform: translateX(28px); }
.reveal.visible { opacity: 1; transform: translate(0); }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(204,17,17,0.3);
}
.testimonial-content { color: #ddd; font-style: italic; line-height: 1.6; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--red); }
.testimonial-author h4 { margin: 0; font-size: 1.1rem; color: #fff; }
.testimonial-author span { font-size: 0.85rem; color: var(--muted); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border-dim);
  padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; color: #aaa; text-decoration: none; font-size: 0.88rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border-dim); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--muted2); font-size: 0.8rem; }
.footer-socials { display: flex; gap: 12px; }
.footer-social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 0.9rem;
  transition: background .2s, border-color .2s, color .2s;
}
.footer-social-btn:hover { background: rgba(204,17,17,0.15); border-color: var(--red); color: #fff; }

/* ══════════════════════════════
   HIGHLIGHT STRIP
══════════════════════════════ */
.cta-strip {
  background: linear-gradient(135deg, #0e0000 0%, #1c0000 50%, #0a0000 100%);
  border-top: 1px solid rgba(204,17,17,0.2);
  border-bottom: 1px solid rgba(204,17,17,0.2);
  padding: 88px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(204,17,17,0.12) 0%, transparent 70%);
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.cta-strip h2 span { color: var(--red-bright); }
.cta-strip p { color: var(--muted); max-width: 540px; margin: 0 auto 36px; line-height: 1.75; }
.cta-strip-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .navbar { padding: 0 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-bar .container { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 60px 0; }
}

/* ══════════════════════════════
   GUIDE INTERACTIF (TOUR)
══════════════════════════════ */
.tour-overlay {
  position: fixed; inset: 0; background: transparent;
  z-index: 9997; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.tour-overlay.active { opacity: 1; pointer-events: all; }

.tour-focus-box {
  position: absolute;
  z-index: 9998;
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.8), 0 0 0 2px #fff, 0 0 15px rgba(255,255,255,0.5);
  pointer-events: none;
  opacity: 0;
  transition: top 0.4s ease, left 0.4s ease, width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
  animation: pulseWhite 1.5s infinite alternate;
}
.tour-focus-box.active { opacity: 1; }
@keyframes pulseWhite {
  0% { box-shadow: 0 0 0 9999px rgba(0,0,0,0.8), 0 0 0 2px #fff, 0 0 15px rgba(255,255,255,0.5); }
  100% { box-shadow: 0 0 0 9999px rgba(0,0,0,0.8), 0 0 0 4px #fff, 0 0 25px rgba(255,255,255,0.8); }
}

.tour-tooltip {
  position: fixed; z-index: 10000; width: 340px;
  background: #ffffff;
  border: 1px solid #e0e0e0; border-radius: 16px;
  padding: 24px; color: #111;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 25px rgba(255,255,255,0.2);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, top 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tour-tooltip.active { opacity: 1; pointer-events: all; }

.tour-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tour-header h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: #000; }
.tour-progress { font-size: 0.8rem; font-weight: 700; color: #666; background: #f0f0f0; padding: 4px 10px; border-radius: 12px; }

.tour-body p { margin: 0 0 24px; font-size: 0.95rem; line-height: 1.6; color: #333; min-height: 50px; font-weight: 500; }

.tour-footer { display: flex; justify-content: space-between; align-items: center; }
.tour-nav { display: flex; gap: 10px; }
.tour-nav button { border-radius: 8px; font-weight: 600; }
.tour-nav button.btn-primary { background: #000; color: #fff; border: none; }
.tour-nav button.btn-primary:hover { background: #333; }
.tour-nav button.btn-outline { border: 1px solid #ccc; color: #333; }
.tour-nav button.btn-outline:hover { background: #f5f5f5; }
.tour-footer .btn-ghost { color: #666; }
.tour-footer .btn-ghost:hover { color: #000; background: #f5f5f5; }
.tour-nav button:disabled { opacity: 0.5; cursor: not-allowed; }

