/* =====================================================
GLOBAL RESET
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

/* =====================================================
ROOT VARIABLES (DESIGN SYSTEM)
===================================================== */
:root {
  --bg-main: #070B10;
  --text-main: #E6EDF3;
  --text-secondary: #8b949e;

  --primary: #00D4FF;
  --accent: #A855F7;
  --warm: #FF7A18;

  --card-bg: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.06);
}

/* =====================================================
BASE / BODY
===================================================== */
body {
  background: var(--bg-main);
  color: var(--text-main);
}

/* =====================================================
TYPOGRAPHY / TEXT STYLES
===================================================== */
.section-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtext {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* =====================================================
NAVIGATION
===================================================== */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #c9d1d9;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* =====================================================
HERO SECTION
===================================================== */
.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to bottom, rgba(7,11,16,0.4), rgba(7,11,16,0.95)),
    radial-gradient(circle at center, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 750px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  color: #c9d1d9;
}

.hero-tagline {
  margin-top: 10px;
  font-size: 1.05rem;
  opacity: 0.75;
  letter-spacing: 0.5px;
}

/* =====================================================
SCROLL INDICATOR
===================================================== */
.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 35px;
  border: 2px solid #c9d1d9;
  border-radius: 15px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: #c9d1d9;
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* =====================================================
FEATURED SETUPS SECTION
===================================================== */
.featured {
  padding: 100px 40px;
  text-align: center;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* CARD */
.card {
  position: relative;
  width: 300px;
  padding: 30px;
  border-radius: 14px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: left;
}

.card-glow {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  filter: blur(40px);
  z-index: 0;
}

.card-glow.pc { background: var(--primary); }
.card-glow.streaming { background: var(--accent); }
.card-glow.theater { background: var(--warm); }

.card h3,
.card p,
.card-btn {
  position: relative;
  z-index: 1;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.card p {
  font-size: 0.95rem;
  color: #c9d1d9;
  margin-bottom: 25px;
}

/* =====================================================
BUTTONS
===================================================== */
.btn {
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
}

.card-btn {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: 0.3s;
}

.card-btn:hover {
  color: var(--accent);
}

/* =====================================================
INTERACTIONS / EFFECTS
===================================================== */
.card:hover {
  transform: translateY(-8px) scale(1.02);
  background: var(--card-hover);
}

/* =====================================================
PAGE HERO
===================================================== */
.page-hero {
  padding: 140px 20px 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.page-hero p {
  color: var(--text-secondary);
}

/* =====================================================
BUILD OVERVIEW
===================================================== */
.build-overview {
  display: flex;
  gap: 30px;
  padding: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.overview-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  width: 300px;
}

.overview-card h2 {
  margin-bottom: 15px;
}

.overview-card ul {
  list-style: none;
}

.overview-card li {
  margin-bottom: 10px;
  color: #c9d1d9;
}

/* =====================================================
PARTS LIST
===================================================== */
.parts {
  padding: 80px 40px;
}

.parts-table {
  max-width: 800px;
  margin: auto;
  margin-top: 30px;
}

.part-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
   gap: 10px;
}

/* Hover Effect */
.part-row:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.part-row span:first-child {
  font-weight: 600;
  min-width: 140px;
}

.part-row span:nth-child(2) {
  flex: 1;
  color: var(--text-secondary);
  padding: 0 10px;
}

.buy-btn {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: white;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
  transition: all 0.25s ease;
}

/* Hover */
.buy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.5);
}

/* =====================================================
CTA SECTION
===================================================== */
.cta {
  text-align: center;
  padding: 100px 20px;
}

.cta p {
  margin: 15px 0 30px;
  color: var(--text-secondary);
}

.cta.secondary {
  margin-top: 20px;
  text-align: center;
  opacity: 0.8;
}

.btn-secondary {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border: 1px solid #00ffcc;
  color: #00ffcc;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
}

/* =====================================================
PC BUILDS HUB PAGE
===================================================== */
.builds-grid {
  padding: 100px 40px;
  text-align: center;
}

.build-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* BUILD CARD */
.build-card {
  width: 280px;
  padding: 30px;
  border-radius: 14px;
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.build-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.build-card p {
  font-size: 0.95rem;
  color: #c9d1d9;
  margin-bottom: 25px;
}

.build-card:hover {
  transform: translateY(-6px);
  background: var(--card-hover);
}

/* =====================================================
AFFILIATE DISCLOSURE
===================================================== */
.affiliate-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 20px;
  text-align: center;
}

/* =====================================================
FEATURED BUILDS PREVIEW
===================================================== */
.featured-builds {
  padding: 100px 40px;
  text-align: center;
}

.build-preview-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* BUILD PREVIEW CARD */
.build-preview-card {
  width: 300px;
  padding: 30px;
  border-radius: 14px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-align: left;
}

.build-preview-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.build-preview-card p {
  font-size: 0.95rem;
  color: #c9d1d9;
  margin-bottom: 20px;
}

.price {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--primary);
}

/* Hover Effect */
.build-preview-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: var(--card-hover);
}

/* =====================================================
TRUST SECTION
===================================================== */
.trust {
  padding: 80px 40px;
  text-align: center;
}

.trust-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  max-width: 280px;
}

.trust-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trust-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* =====================================================
PRICE ESTIMATE SECTION
===================================================== */

.price-estimate {
  text-align: center;
  margin: 60px 0;
}

.price-box {
  display: inline-block;
  padding: 30px 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.08);
}

.price-box h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* =====================================================
FPS PERFORMANCE SECTION
===================================================== */

.performance {
  text-align: center;
  margin: 60px 0;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.performance-card {
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease;
}

.performance-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
}

.performance-card h3 {
  margin-bottom: 10px;
}

.performance-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* =====================================================
HIGHLIGHT CARD (WHY BUILD)
===================================================== */
.overview-card.highlight {
  width: 640px;
  text-align: center;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

/* =====================================================
BRANDING
===================================================== */

.brand-intro {
  padding: 60px 20px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* =====================================================
Compare SECTION
===================================================== */

.compare {
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 60px;
}

.compare-table {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.compare-card {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  width: 280px;
  text-align: left;
}

.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.compare-card li {
  margin-bottom: 8px;
}

.compare-card.highlight {
  border: 2px solid #00ffcc;
}

.badge {
  display: inline-block;
  background: #00ffcc;
  color: #000;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* =====================================================
FOOTER
===================================================== */

.footer {
  text-align: center;
  padding: 20px;
  opacity: 0.7;
  font-size: 0.85rem;
}