/* ============================================
   GALAXY RECORDING CO — Main Stylesheet
   Optimized for laptop (1280px–1600px) browsing
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Space+Mono:wght@400;700&display=swap');

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --bg:           #080a0f;
  --bg2:          #0d1018;
  --bg3:          #111520;
  --surface:      #131825;
  --surface2:     #1a2235;
  --surface3:     #1f293e;

  --accent:       #c8a96e;
  --accent2:      #e8c98a;
  --accent-dim:   #a07840;
  --accent-glow:  rgba(200, 169, 110, 0.18);
  --accent-glow2: rgba(200, 169, 110, 0.08);

  --text:         #f0ede8;
  --text-muted:   #8a95a8;
  --text-dim:     #4a5568;
  --text-faint:   #2d3748;

  --border:       rgba(200, 169, 110, 0.2);
  --border-faint: rgba(255, 255, 255, 0.06);
  --border-mid:   rgba(255, 255, 255, 0.1);

  --green:        #5ae0a0;
  --red:          #e05a5a;
  --blue:         #5a9ee0;

  --nav-h:        80px;
  --max-w:        1200px;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    18px;
  --radius-xl:    24px;

  --shadow-card:  0 4px 24px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-glow:  0 0 40px rgba(200,169,110,0.08);
  --transition:   all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text);
}


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(8, 10, 15, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-faint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(8, 10, 15, 0.98);
  border-bottom-color: var(--border);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
   height: 40px; /* Optional: Explicitly limit the height of the entire logo container */
}

.nav-logo-mark {
  /* Force the logo to stay small regardless of its file resolution */
  width: 50px !important;
  height: 50px !important;
  /* This ensures the image isn't squashed if the aspect ratio differs */
  object-fit: contain; 
  /* Removes any border-radius if the image is square or round */
  border-radius: var(--radius-sm);
  /* Ensures the logo stays in line with the text */
  display: block; 
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-primary {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.nav-logo-sub {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  background: var(--border-faint);
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-glow);
  border-color: var(--border);
}

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
}

.nav-search:hover { border-color: var(--border-mid); color: var(--text-muted); }
.nav-search-icon { font-size: 12px; }

.nav-cta {
  padding: 9px 22px;
  background: var(--accent);
  color: #080a0f;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,169,110,0.3);
}

/* Mobile burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: rgba(8,10,15,0.97);
  z-index: 199;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}
.mobile-link:hover, .mobile-link.active {
  color: var(--accent);
  border-color: var(--border);
  background: var(--accent-glow);
}


/* ============================================
   PAGE SYSTEM
   ============================================ */
.page {
  display: none;
  padding-top: var(--nav-h);
  min-height: 100vh;
  animation: pageFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.page.active { display: block; }

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: 96px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-full {
  padding: 96px 0;
  background: var(--bg2);
}

.section-full .section {
  padding-top: 0;
  padding-bottom: 0;
}

.section-surface {
  background: var(--bg3);
}

/* Section Labels */
.section-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(40px, 4vw, 56px);
  margin-bottom: 16px;
  color: var(--text);
}

.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 52px;
}

/* Grid layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #080a0f;
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,169,110,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-mid);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: none;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { gap: 12px; }

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-full { width: 100%; justify-content: center; }


/* ============================================
   TAGS / BADGES
   ============================================ */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--border);
}

.badge-popular {
  display: inline-block;
  background: var(--accent);
  color: #080a0f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.badge-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: block;
}

.status-live   { background: rgba(90,224,160,0.12); color: var(--green); }
.status-mix    { background: rgba(200,169,110,0.14); color: var(--accent); }
.status-record { background: rgba(224,90,90,0.12);  color: var(--red); }
.status-master { background: rgba(90,158,224,0.12); color: var(--blue); }


/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  background: var(--surface2);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Feature list inside card */
.card-features {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.card-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Stat / number cards */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.stat-card-label {
  font-size: 11.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-family: 'Space Mono', monospace;
}

.stat-card-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--text);
  line-height: 1;
}

.stat-card-delta {
  font-size: 12px;
  margin-top: 6px;
}

.delta-up   { color: var(--green); }
.delta-warn { color: var(--accent); }
.delta-info { color: var(--text-dim); }


/* ============================================
   HERO — HOME
   ============================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0 48px;
}

/* Atmospheric background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-faint) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.5;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(200,169,110,0.07) 0%, transparent 70%);
}

.hero-bg-glow2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}

/* Hero pill badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 12.5px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* Hero headline */
.hero h1 {
  font-size: clamp(60px, 8vw, 108px);
  line-height: 0.95;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-bottom: 72px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
  z-index: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
  background: var(--surface);
}

.stats-bar-item {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid var(--border-faint);
  transition: var(--transition);
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-item:hover { background: var(--surface2); }

.stats-bar-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.stats-bar-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 6px;
  font-family: 'Space Mono', monospace;
}


/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.process-step {
  padding: 36px 32px;
  border-right: 1px solid var(--border-faint);
  transition: var(--transition);
  position: relative;
}

.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--surface2); }

.process-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
  letter-spacing: 0.1em;
}

.process-step h3 { font-size: 26px; margin-bottom: 10px; }
.process-step p  { color: var(--text-muted); font-size: 14px; line-height: 1.7; }


/* ============================================
   SERVICES
   ============================================ */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--border);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  background: var(--surface2);
}

.service-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  display: block;
}

.service-card h3 { font-size: 26px; margin-bottom: 10px; }
.service-card p  { color: var(--text-muted); font-size: 14px; line-height: 1.7; flex: 1; margin-bottom: 18px; }

.service-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  color: var(--accent);
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-faint);
}

.service-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
}

/* Service divider */
.service-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 52px 0 36px;
}

.service-divider h2 { font-size: 40px; flex-shrink: 0; }

.service-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-faint);
}


/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-faint);
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.portfolio-card:hover {
  border-color: var(--border);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.portfolio-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
}

.portfolio-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,10,15,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-thumb-overlay { opacity: 1; }

.portfolio-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #080a0f;
}

.portfolio-body { padding: 22px 24px; }

.portfolio-type {
  font-size: 10.5px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-family: 'Space Mono', monospace;
  margin-bottom: 6px;
  display: block;
}

.portfolio-body h3 { font-size: 20px; margin-bottom: 4px; }
.portfolio-body p  { font-size: 13px; color: var(--text-muted); }


/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-xl);
  padding: 38px 36px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--surface2) 0%, rgba(200,169,110,0.04) 100%);
  box-shadow: var(--shadow-glow), 0 0 0 1px var(--border);
}

.price-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.price-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.price-period {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.price-features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.price-features li::before {
  content: '✓';
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open { border-color: var(--border); }

.faq-q {
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 15px;
  gap: 16px;
  user-select: none;
}

.faq-icon {
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.25s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  padding: 0 26px 22px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
  display: none;
}

.faq-item.open .faq-a { display: block; }


/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.testi-card:hover {
  border-color: var(--border);
  background: var(--surface2);
}

.testi-quote-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: var(--border);
  line-height: 0.6;
  margin-bottom: 18px;
  display: block;
}

.testi-stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-text {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

.testi-author { display: flex; align-items: center; gap: 14px; }

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7a5520);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: #080a0f;
  flex-shrink: 0;
}

.testi-name { font-weight: 600; font-size: 14px; }
.testi-role { font-size: 12px; color: var(--text-dim); margin-top: 2px; }


/* ============================================
   CONTACT
   ============================================ */
.contact-layout {
  display: block; /* Removes the grid, allowing items to fill width */
  max-width: 800px; /* Optional: Sets a comfortable width so it doesn't stretch too far on huge screens */
  margin: 0 auto; /* Centers the form on the page */
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Space Mono', monospace;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 14.5px;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }

.form-group textarea { height: 130px; resize: vertical; }
.form-group select option { background: var(--bg); }

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--border); background: var(--surface2); }

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-card h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 4px; }
.contact-info-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.contact-social {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-md);
  padding: 22px;
}

.contact-social h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }

.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } 

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg3);
  border: 1px solid var(--border-faint);
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow2); }


/* ============================================
   ABOUT
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 80px;
}

.about-visual {
  height: 460px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface3) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, var(--accent-glow) 0%, transparent 65%);
}

.about-visual-emoji { position: relative; z-index: 1; }

.skill-bar { margin-bottom: 18px; }

.skill-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 7px;
  color: var(--text-muted);
}

.skill-pct { color: var(--accent); font-weight: 600; font-family: 'Space Mono', monospace; font-size: 12px; }

.skill-track {
  background: var(--surface2);
  border-radius: 100px;
  height: 4px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent2));
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }


/* ============================================
   BLOG / UPDATES
   ============================================ */
/* CTA Button Area */
.updates-hero-cta {
  text-align: center;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

/* Grid Layout for your manual cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.blog-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #1a2035, #0d1020);
}

.blog-body { padding: 24px; flex: 1; }
.blog-tag { font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 8px; display: block; }
.blog-body h3 { 
    font-size: 18px; 
    margin-top: 30px;    /* Adds space ABOVE the heading */
    margin-bottom: 20px; /* Adds space BELOW the heading */
}
.blog-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.blog-meta { margin-top: 15px; font-size: 11px; color: var(--text-dim); }
.blog-text {
    margin-bottom: 30px; /* Adjust this number to get the exact space you want */
}


/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-block {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(200,169,110,0.05) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.newsletter-block h2 { font-size: 40px; margin-bottom: 10px; }
.newsletter-block p  { color: var(--text-muted); font-size: 15px; max-width: 440px; }

.newsletter-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.newsletter-form input {
  background: var(--bg);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  color: var(--text);
  font-size: 14px;
  width: 260px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--text-dim); }


/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--nav-h));
}

.dash-sidebar {
  background: var(--bg2);
  border-right: 1px solid var(--border-faint);
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.dash-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  padding: 0 20px;
  margin: 20px 0 8px;
  font-family: 'Space Mono', monospace;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
  border-left: 2px solid transparent;
  margin: 1px 0;
}
.dash-nav-item:hover { color: var(--text); background: var(--border-faint); }
.dash-nav-item.active { color: var(--accent); background: var(--accent-glow2); border-left-color: var(--accent); }
.dash-nav-icon { font-size: 16px; flex-shrink: 0; }

.dash-main {
  background: var(--bg3);
  padding: 40px 48px;
  overflow-y: auto;
}

.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.dash-topbar h2 { font-size: 38px; line-height: 1; }
.dash-topbar p  { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-notif-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.dash-notif-btn:hover { border-color: var(--border-mid); background: var(--surface2); }

.notif-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  top: 1px; right: 1px;
  border: 2px solid var(--bg3);
}

.dash-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7a5520);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: #080a0f;
  cursor: pointer;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.dash-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.dash-panel {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.dash-panel-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-panel-action {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
  font-weight: 500;
}

.dash-project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-faint);
}
.dash-project-row:last-child { border-bottom: none; }

.dash-project-name { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.dash-project-meta { font-size: 12px; color: var(--text-dim); }

.dash-activity-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-faint);
}
.dash-activity-item:last-child { border-bottom: none; }

.activity-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}

.activity-text { font-size: 13.5px; color: var(--text-muted); margin-bottom: 3px; }
.activity-time { font-size: 11px; color: var(--text-dim); font-family: 'Space Mono', monospace; }

.quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-faint);
  background: var(--surface2);
  color: var(--text-muted);
  transition: var(--transition);
}
.quick-action-btn:hover { border-color: var(--border-mid); color: var(--text); background: var(--surface3); }
.quick-action-btn.primary { background: var(--accent); color: #080a0f; border-color: var(--accent); }
.quick-action-btn.primary:hover { background: var(--accent2); }


/* ============================================
   PAGE HERO VARIANTS (inner pages)
   ============================================ */
.inner-hero {
  padding: 64px 48px 56px;
  background: radial-gradient(ellipse 70% 80% at 50% -10%, rgba(200,169,110,0.07) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-faint);
  position: relative;
  overflow: hidden;
}

.inner-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border-faint) 1px, transparent 1px), linear-gradient(90deg, var(--border-faint) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
}

.inner-hero-content { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }

.inner-hero h1 { font-size: clamp(52px, 6vw, 80px); max-width: 800px; }


/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border-faint);
  padding: 72px 48px 32px;
}

.footer-inner { max-width: var(--max-w); margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 300px;
  line-height: 1.75;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border-faint);
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.social-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow2); }

.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-col li {
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px 0;
}
.footer-col li:hover { color: var(--accent); }
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }

.footer-divider { height: 1px; background: var(--border-faint); margin-bottom: 28px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-bottom a { color: var(--accent); }


/* ============================================
   MISC COMPONENTS
   ============================================ */

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8,10,15,0.92);
  backdrop-filter: blur(24px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.search-overlay.open { display: flex; }
.search-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.search-box input {
  background: none;
  border: none;
  outline: none;
  font-size: 20px;
  color: var(--text);
  flex: 1;
}
.search-box input::placeholder { color: var(--text-dim); }
.search-close { font-size: 20px; color: var(--text-dim); cursor: pointer; }
.search-icon-lrg { font-size: 22px; color: var(--text-dim); }

/* Highlight link */
.link-accent {
  color: var(--accent);
  cursor: pointer;
  transition: color 0.2s;
}
.link-accent:hover { color: var(--accent2); }

/* Divider */
.divider { height: 1px; background: var(--border-faint); margin: 0 48px; }


/* ============================================
   RESPONSIVE — LAPTOP OPTIMIZED
   ============================================ */

/* 1400px+ — give content a bit more room */
@media (min-width: 1400px) {
  :root { --max-w: 1280px; }
  .hero h1 { font-size: 116px; }
  .grid-3 { gap: 26px; }
}

/* 1100px–1280px — slight squeeze */
@media (max-width: 1280px) {
  .nav { padding: 0 32px; }
  .section { padding: 80px 32px; }
  .container { padding: 0 32px; }
  footer { padding: 64px 32px 28px; }
  .inner-hero { padding: 56px 32px 48px; }
  .newsletter-block { padding: 44px 48px; gap: 32px; }
  .contact-layout { gap: 36px; }
  .about-split { gap: 48px; }
}

/* 960px–1100px — tablet-laptop border */
@media (max-width: 1100px) {
  .grid-3, .pricing-grid, .testi-grid, .blog-grid, .portfolio-grid, .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-stats-row { grid-template-columns: repeat(2, 1fr); }
  .dash-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .newsletter-block { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-form { flex-wrap: wrap; }
  .newsletter-form input { width: 100%; }
  .about-split { grid-template-columns: 1fr; }
  .about-visual { height: 320px; }
}

/* ≤960px — tablet / large phone */
@media (max-width: 960px) {
  .nav-links, .nav-search, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav { padding: 0 24px; }
  .section { padding: 64px 24px; }
  .contact-layout { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item:nth-child(2) { border-right: none; }
  .stats-bar-item:nth-child(3) { border-top: 1px solid var(--border-faint); }
  footer { padding: 48px 24px 24px; }
  inner-hero { padding: 48px 24px 40px; }
}

/* ≤640px — phone */
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2,
  .pricing-grid, .testi-grid, .blog-grid,
  .portfolio-grid, .process-steps,
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 52px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-block { padding: 32px 24px; }
  .contact-form-wrap { padding: 28px; }
  .dash-main { padding: 24px 20px; }
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
}
