/* =========================================
   JAMES BUILDS — STYLES.CSS  v2.0
   ========================================= */

/* Google Fonts loaded via <link> in HTML — no @import here (avoids double request) */

/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
  --bg-base:      #0E0E0F;
  --bg-surface:   #161617;
  --bg-elevated:  #1E1E20;
  --accent:       #4F8EF7;
  --accent-dim:   #1C2F4A;
  --text-primary: #F0F0F0;
  --text-muted:   #6B6B72;
  --border:       #2A2A2E;
  --danger:       #E05252;
  --success:      #3DAA6E;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.5rem;
  --text-3xl:  3.5rem;

  --radius-card: 12px;
  --radius-tag:  6px;
  --radius-btn:  8px;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-base);
  background-image: radial-gradient(circle, #2a2a2e 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: #78a9f9; }

img {
  max-width: 100%;
  display: block;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.mono { font-family: 'JetBrains Mono', monospace; }
.text-muted  { color: var(--text-muted) !important; }
.text-accent { color: var(--accent); }

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  background: rgba(22, 22, 23, 0.97);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
}

.navbar.scrolled {
  padding: 12px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em;
}
.navbar-brand span { color: var(--accent); }

.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 6px 16px !important;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--text-primary) !important; }

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 6px 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28240, 240, 240, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-nav-cta {
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius-btn);
  padding: 8px 20px !important;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: background 0.2s, transform 0.1s;
}
.btn-nav-cta:hover {
  background: #3d7de8;
  transform: translateY(-1px);
  color: #fff !important;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: var(--text-base);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background: #3d7de8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 142, 247, 0.3);
}

.btn-ghost-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: var(--text-base);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-ghost-custom:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: gap 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-view:hover {
  gap: 10px;
  color: #78a9f9;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 142, 247, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(79, 142, 247, 0.2);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, var(--text-3xl));
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-headline .line-accent { color: var(--accent); }

.hero-sub {
  color: var(--text-muted);
  font-size: var(--text-lg);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-primary);
  display: block;
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================
   SECTIONS
   ========================================= */
.section    { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: var(--text-2xl);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: 520px;
  line-height: 1.7;
}

/* =========================================
   TAGS
   ========================================= */
.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-tag);
}
.tag-sale        { background: rgba(224,82,82,0.15);    color: var(--danger);  border: 1px solid rgba(224,82,82,0.25); }
.tag-gaming      { background: var(--accent-dim);       color: var(--accent);  border: 1px solid rgba(79,142,247,0.25); }
.tag-workstation { background: rgba(139,92,246,0.15);   color: #a78bfa;        border: 1px solid rgba(139,92,246,0.25); }
.tag-available   { background: rgba(61,170,110,0.15);   color: var(--success); border: 1px solid rgba(61,170,110,0.25); }
.tag-sold        { background: #dc2626;                 color: white;          border: 1px solid #ef4444; font-weight: 700; }
.tag-custom      { background: rgba(217,119,6,0.15);    color: #fbbf24;        border: 1px solid rgba(217,119,6,0.25); }
.tag-highend     { background: rgba(236,72,153,0.12);   color: #f472b6;        border: 1px solid rgba(236,72,153,0.2); }

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 20px 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.trust-bar-inner:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}
.trust-item i {
  color: var(--accent);
  font-size: 1rem;
}

/* =========================================
   BUILD CARDS
   ========================================= */
.builds-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.build-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.build-card:hover {
  border-color: rgba(79,142,247,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(79,142,247,0.1);
}

.build-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.build-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.build-card:hover .build-card-image img { transform: scale(1.04); }

.build-card-image-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, #1a1a1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--border);
}

.build-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.build-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.build-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.build-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.build-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.build-specs li i {
  color: var(--accent);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

.build-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.build-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xl);
  color: var(--text-primary);
  font-weight: 500;
}
.build-price-old {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
}

/* =========================================
   FEATURED CAROUSEL (HOME)
   ========================================= */
.featured-carousel-slide {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.carousel-img-wrap {
  height: 420px;
  overflow: hidden;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.carousel-content .build-price { font-size: var(--text-2xl); }

.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: background 0.2s;
}
.carousel-control-prev { left: -22px; }
.carousel-control-next { right: -22px; }
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.carousel-control-prev-icon,
.carousel-control-next-icon { width: 14px; height: 14px; }

.carousel-indicators { bottom: -32px; }
.carousel-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
}
.carousel-indicators .active {
  background: var(--accent);
  width: 20px;
  border-radius: 3px;
}

/* =========================================
   SERVICES
   ========================================= */
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
  height: 100%;
}
.service-card:hover {
  border-color: rgba(79,142,247,0.35);
  transform: translateY(-3px);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--accent);
}
.service-name {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 8px;
}
.service-desc {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: 16px;
}
.service-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 500;
}

/* =========================================
   PROCESS / HOW IT WORKS
   ========================================= */
.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.process-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xs);
  color: var(--accent);
  font-weight: 500;
  background: var(--accent-dim);
  border: 1px solid rgba(79,142,247,0.2);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.process-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 4px;
}
.process-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
}
.testimonial-stars {
  color: #fbbf24;
  font-size: 0.85rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-text {
  color: var(--text-primary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
}
.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* =========================================
   CONTACT
   ========================================= */
.contact-form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
}
.form-label-custom {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-control-custom {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-primary);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-control-custom:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.12);
}
.form-control-custom::placeholder { color: #404045; }
select.form-control-custom { cursor: pointer; }
select.form-control-custom option { background: var(--bg-elevated); }
textarea.form-control-custom { resize: vertical; min-height: 130px; }
.form-group { margin-bottom: 20px; }

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: 16px;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-info-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-weight: 500;
}
.form-success { display: none; text-align: center; padding: 32px; }
.form-success.show { display: block; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 12px 0 24px;
  max-width: 240px;
  line-height: 1.6;
}
.footer-heading {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: var(--text-xs); color: var(--text-muted); }
.footer-abn  { font-family: 'JetBrains Mono', monospace; font-size: var(--text-xs); color: var(--text-muted); }

/* =========================================
   PAGE HERO (INNER PAGES)
   ========================================= */
.page-hero {
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--border);
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, var(--text-2xl));
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.page-hero-sub {
  color: var(--text-muted);
  font-size: var(--text-base);
}

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb-custom a { color: var(--text-muted); }
.breadcrumb-custom a:hover { color: var(--text-primary); }
.breadcrumb-custom .sep { color: var(--border); }

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--accent-dim) 100%);
  border: 1px solid rgba(79, 142, 247, 0.2);
  border-radius: var(--radius-card);
  padding: 60px 48px;
  text-align: center;
}
.cta-banner-title {
  font-size: var(--text-2xl);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-banner-sub {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: var(--text-base);
}

/* =========================================
   UTILITIES
   ========================================= */
.divider { height: 1px; background: var(--border); margin: 0; }
.gap-row  { row-gap: 24px; }

.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   BLOG PAGE STYLES
   ========================================= */

/* About card */
.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
}
.about-avatar {
  width: 72px; height: 72px;
  background: var(--accent-dim);
  border: 2px solid rgba(79,142,247,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--accent);
  margin-bottom: 20px; flex-shrink: 0;
}
.about-stat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
}
.about-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xl);
  color: var(--text-primary);
  display: block;
  font-weight: 500;
}
.about-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Tag filter bar */
.tag-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.tag-filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.tag-filter-btn:hover,
.tag-filter-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

/* Log entries */
.log-entry {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.log-entry:hover {
  border-color: rgba(79,142,247,0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(79,142,247,0.08);
}

.log-entry-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--bg-elevated);
}
.log-entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.log-entry:hover .log-entry-image img { transform: scale(1.03); }

.log-entry-placeholder {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, #1a1a1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--border);
}
.log-entry-featured .log-entry-image,
.log-entry-featured .log-entry-placeholder { height: 360px; }

.log-entry-body { padding: 28px; }
.log-entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.log-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.log-entry-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.log-entry-excerpt {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.log-specs-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.log-spec-chip {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.log-entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.log-tag { cursor: pointer; transition: opacity 0.15s; }
.log-tag:hover { opacity: 0.8; }

/* ── VIDEO SECTION — redesigned ── */
.video-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.video-section-header .section-eyebrow { margin-bottom: 0; }
.video-section-divider {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.video-platform-badges {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.video-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}
.badge-youtube   { background: rgba(255,0,0,0.12);    color: #ff4444; }
.badge-instagram { background: rgba(225,48,108,0.12); color: #e1306c; }
.badge-tiktok    { background: rgba(0,242,234,0.1);   color: #00f2ea; }

/* Video card — clean, first-class media treatment */
.video-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.video-card:hover {
  border-color: rgba(79,142,247,0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}

/* Aspect ratio wrappers */
.video-ratio-9-16 {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  background: var(--bg-elevated);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
}
.video-ratio-16-9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--bg-elevated);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
}
.video-ratio-9-16 iframe,
.video-ratio-16-9 iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Placeholder state when no embed yet */
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--border);
}
.video-placeholder i { font-size: 2.5rem; }
.video-placeholder span { font-size: var(--text-xs); color: var(--text-muted); }

.video-card-meta {
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.video-card-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}
.video-card-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 3px;
}

/* Instagram embed override — strip white chrome */
.instagram-embed-wrap {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: var(--bg-elevated);
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.instagram-embed-wrap blockquote.instagram-media {
  margin: 0 !important;
  min-width: unset !important;
  max-width: 100% !important;
  width: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

/* Sold builds */
.sold-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 64px 0 32px;
}
.sold-divider .line { flex: 1; height: 1px; background: var(--border); }
.sold-divider .label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.sold-build-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s;
}
.sold-build-card:hover { opacity: 1; border-color: rgba(79,142,247,0.3); }
.sold-build-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--bg-elevated);
}
.sold-build-img img { width: 100%; height: 100%; object-fit: cover; }
.sold-build-img-placeholder {
  width: 100%;
  height: 180px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--border);
}
.sold-build-body { padding: 18px; }
.sold-build-name {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.sold-build-specs {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}
.sold-build-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Sidebar */
.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-heading {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.sidebar-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}
.sidebar-stat-row:last-child { border-bottom: none; }
.sidebar-stat-key { color: var(--text-muted); }
.sidebar-stat-val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
  font-size: var(--text-xs);
}
.topic-chip {
  display: inline-block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0 4px 6px 0;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.topic-chip:hover,
.topic-chip.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

/* Social links in sidebar */
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { color: var(--text-primary); }
.social-link.yt:hover  { border-color: #ff4444; color: #ff4444; }
.social-link.ig:hover  { border-color: #e1306c; color: #e1306c; }
.social-link.tt:hover  { border-color: #00f2ea; color: #00f2ea; }
.social-link i { font-size: 1.1rem; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .section { padding: 70px 0; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 24px; }
  .carousel-content { padding: 28px; }
  .carousel-img-wrap { height: 280px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 90px 0 50px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: 40px 24px; }
  .contact-form-wrap { padding: 28px 20px; }
  .carousel-control-prev { left: 8px; }
  .carousel-control-next { right: 8px; }
  .trust-bar-inner { animation-duration: 10s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
