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

:root {
  --bg: #0a0707;
  --panel: #120a0a;
  --card: #170d0d;
  --border: rgba(220,38,38,0.22);
  --red: #dc2626;
  --red-bright: #ef4444;
  --red-dim: #7f1d1d;
  --text: #f3efef;
  --muted: #b7a5a5;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,4,4,0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(220,38,38,0.12);
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: #fff;
}
.brand-icon { width: 26px; height: 26px; stroke: var(--red-bright); fill: none; stroke-width: 1.8; }
.brand.small { font-size: 15px; }
.brand.small .brand-icon { width: 18px; height: 18px; }

.top-nav { display: flex; gap: 32px; }
.top-nav a { color: var(--muted); font-weight: 600; font-size: 14.5px; transition: color 0.15s; }
.top-nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, var(--red), #9c1c1c); color: #fff; box-shadow: 0 8px 20px rgba(220,38,38,0.35); }
.btn-lg { padding: 15px 32px; font-size: 15.5px; }
.btn-ghost { background: rgba(220,38,38,0.08); color: var(--red-bright); border: 1px solid var(--border); }
.btn-white { background: #fff; color: #7f1d1d; }
.btn-dark { background: #1a0d0d; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.btn.full { width: 100%; margin-bottom: 22px; }

.auth-area { display: flex; align-items: center; gap: 10px; }
.btn-discord { background: linear-gradient(180deg, var(--red), #9c1c1c); color: #fff; }
.btn-logout { background: rgba(220,38,38,0.08); color: var(--red-bright); border: 1px solid var(--border); }
.user-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.user-chip .avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #5b1414);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.user-chip .avatar-img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 90px 24px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(220,38,38,0.22), transparent 55%),
    linear-gradient(160deg, #150707 0%, #0a0505 60%, #060303 100%);
}
.pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(220,38,38,0.1);
  border: 1px solid var(--border);
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 1.05;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 0 40px rgba(220,38,38,0.3);
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- dashboard mockup ---------- */
.mockup {
  max-width: 1100px;
  margin: 56px auto 0;
  background: #0f0909;
  border: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: 0 -20px 80px rgba(220,38,38,0.15);
  text-align: left;
}
.mockup-topbar {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-search {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
}
.mockup-search svg { width: 15px; height: 15px; stroke: var(--muted); fill: none; stroke-width: 1.8; }
.mockup-user { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.mockup-user .avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #5b1414);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}

.mockup-body { display: flex; }
.mockup-side {
  width: 190px;
  padding: 20px 12px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 4px;
}
.side-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.side-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.side-link.active { background: rgba(220,38,38,0.12); color: var(--red-bright); }

.mockup-board { flex: 1; padding: 22px 24px; min-width: 0; }
.board-header { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.board-progress { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.board-progress-fill { height: 100%; background: linear-gradient(90deg, var(--red-bright), var(--red)); }

.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.col-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.count { background: rgba(255,255,255,0.08); padding: 1px 7px; border-radius: 999px; font-size: 11px; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-blue { background: #60a5fa; }
.dot-orange { background: #fb923c; }
.dot-green { background: #4ade80; }

.task-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}
.task-card.done { opacity: 0.7; }
.task-title { font-size: 13.5px; font-weight: 600; margin: 6px 0 8px; }
.task-meta { font-size: 11.5px; color: var(--muted); }
.task-bar { height: 4px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.task-bar div { height: 100%; background: var(--red-bright); }

.chip { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.chip-blue { background: rgba(59,130,246,0.18); color: #60a5fa; }
.chip-red { background: rgba(220,38,38,0.2); color: var(--red-bright); }
.chip-gray { background: rgba(255,255,255,0.08); color: var(--muted); }
.chip-green { background: rgba(34,197,94,0.18); color: #4ade80; }

.mockup-right { width: 220px; padding: 20px; border-left: 1px solid rgba(255,255,255,0.06); }
.right-toggle { display: flex; gap: 16px; font-size: 12.5px; margin-bottom: 16px; color: var(--muted); }
.right-toggle .active { color: var(--red-bright); font-weight: 700; border-bottom: 2px solid var(--red-bright); padding-bottom: 4px; }
.mini-cal-head { font-size: 12.5px; font-weight: 700; margin-bottom: 10px; }
.mini-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 10.5px; text-align: center; color: var(--muted); margin-bottom: 18px; }
.mini-cal-grid .today { background: var(--red-bright); color: #fff; border-radius: 50%; font-weight: 700; }
.right-task { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.right-task .check { color: #4ade80; font-weight: 800; }

/* ---------- logos ---------- */
.logos { padding: 40px 24px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.logos-track {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px;
  color: rgba(255,255,255,0.35);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 14px;
}

/* ---------- section head ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; padding: 0 24px; }
.badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(220,38,38,0.1);
  border: 1px solid var(--border);
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.subtitle { color: var(--muted); line-height: 1.6; font-size: 15px; }

/* ---------- features ---------- */
.features { padding: 90px 24px; }
.feature-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feature-item svg { width: 26px; height: 26px; stroke: var(--red-bright); fill: none; stroke-width: 1.6; margin-bottom: 16px; }
.feature-item h4 { font-size: 16.5px; margin-bottom: 8px; }
.feature-item p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; }
.feature-item a { color: var(--red-bright); font-weight: 700; font-size: 13.5px; }

/* ---------- carousel ---------- */
.carousel-section { padding: 20px 24px 90px; }
.carousel {
  max-width: 1100px; margin: 0 auto;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 340px;
}
.carousel-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(.65,0,.35,1);
}
.slide {
  width: 25%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  position: relative;
}
.slide-1 { background: linear-gradient(135deg, #3a0a0a, #120404); }
.slide-2 { background: linear-gradient(135deg, #4a1010, #1a0505); }
.slide-3 { background: linear-gradient(135deg, #5c1414, #200606); }
.slide-4 { background: linear-gradient(135deg, #2a0808, #0d0303); }
.slide::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(220,38,38,0.25), transparent 60%);
}
.slide-copy { position: relative; z-index: 1; max-width: 460px; }
.slide-kicker { display: inline-block; color: var(--red-bright); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.slide-copy h3 { font-family: 'Bebas Neue', sans-serif; font-size: 38px; line-height: 1.1; color: #fff; margin-bottom: 12px; letter-spacing: 0.5px; }

.mp-slide { background: #0f0909; overflow: hidden; }
.mp-slide video, .mp-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mp-slide::before { background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0.1) 55%, transparent 75%); }
.mp-slide .slide-copy h3 { font-size: 26px; }
.slide-copy p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}
.carousel-arrow:hover { background: rgba(220,38,38,0.5); }
.carousel-arrow.left { left: 18px; }
.carousel-arrow.right { right: 18px; }

.carousel-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 2;
}
.carousel-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.carousel-dots span.active { background: var(--red-bright); transform: scale(1.3); }

/* ---------- pricing ---------- */
.pricing { padding: 90px 24px; background: linear-gradient(180deg, transparent, rgba(220,38,38,0.04), transparent); }
.pricing-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: center;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.price-card.featured {
  background: linear-gradient(180deg, #2a0a0a, #150505);
  border-color: var(--red-bright);
  box-shadow: 0 20px 50px rgba(220,38,38,0.3);
  transform: scale(1.05);
}
.price-tag { display: block; color: var(--red-bright); font-weight: 800; font-size: 13px; letter-spacing: 1px; margin-bottom: 14px; }
.price-tag em { display: inline-block; margin-left: 8px; background: var(--red-bright); color: #fff; font-style: normal; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; }
.price-amt { font-size: 40px; font-weight: 800; margin-bottom: 22px; }
.price-amt span { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-card ul li { padding: 9px 0; border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted); font-size: 13.5px; }
.price-card ul li:first-child { border-top: none; }
.price-card ul li::before { content: "✓ "; color: var(--red-bright); font-weight: 800; }
.price-card.featured ul li::before { color: #fff; }
.price-card.featured ul li { color: #ddc9c9; }

/* ---------- testimonials ---------- */
.testimonials { padding: 90px 24px; }
.testimonial-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.t-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #5b1414);
  font-weight: 800;
  margin-bottom: 18px;
}
.testimonial-card h4 { font-size: 16px; margin-bottom: 10px; }
.testimonial-card p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* ---------- cta ---------- */
.cta {
  text-align: center;
  padding: 100px 24px;
  background: radial-gradient(circle at 50% 100%, rgba(220,38,38,0.25), transparent 60%);
}
.cta h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(32px, 6vw, 52px); margin-bottom: 14px; letter-spacing: 1px; }
.cta p { color: var(--muted); margin-bottom: 30px; }

/* ---------- footer ---------- */
.site-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #060303;
}
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.footer-nav a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .top-nav { display: none; }
  .mockup-side, .mockup-right { display: none; }
  .feature-grid, .pricing-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .site-header, .site-footer { padding: 18px 20px; }
}
@media (max-width: 560px) {
  .board-cols { grid-template-columns: 1fr; }
  .slide-copy h3 { font-size: 28px; }
  .carousel { height: 400px; }
}
