/* =====================================================
   FUTURESWAMP STUDIOS - Modern Dark Theme v3.0
   Inspired by: Xfer Records, Linear, Aurora DSP
   ===================================================== */

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

:root {
  /* Core palette */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-hover: #1a1a1a;
  
  /* Accent colors */
  --accent-red: #dc2626;
  --accent-red-glow: #ef4444;
  --accent-copper: #d97706;
  --accent-green: #22c55e;
  --accent-cyan: #06b6d4;
  
  /* Text */
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  /* Borders */
  --border-subtle: #27272a;
  --border-hover: #3f3f46;
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: clamp(60px, 10vw, 120px);
}

/* Base */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


/* =====================================================
   HEADER & NAVIGATION - Clean & Minimal
   ===================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 40px);
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

/* LOGO SCALING FIX - Responsive across all screens */
.logo img {
  height: clamp(40px, 8vw, 60px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
}

/* Desktop nav - this gets overridden in mobile media query below */

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

nav a:hover {
  color: var(--text-primary);
}

nav a.active {
  color: var(--text-primary);
}

/* Mobile nav toggle - HIDDEN ON DESKTOP */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--text-primary);
  font-size: 24px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}


/* =====================================================
   HERO SECTION - Full-bleed with Background Images
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px clamp(20px, 5vw, 60px) 80px;
  overflow: hidden;
}

/* Background image container */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg.cybercity { background-image: url('../images/bg-cybercity.png'); }
.hero-bg.fire { background-image: url('../images/bg-fire.png'); }
.hero-bg.blackhole { background-image: url('../images/bg-blackhole.png'); }
.hero-bg.demon { background-image: url('../images/bg-demon.png'); }
.hero-bg.greeneye { background-image: url('../images/bg-greeneye.png'); }

/* Dark gradient overlay for text readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(10, 10, 10, 0.7) 80%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero .btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Status badge for Coming Soon etc */
.status-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  margin-bottom: 20px;
}

.status-badge.coming-soon {
  background: rgba(217, 119, 6, 0.15);
  color: var(--accent-copper);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.status-badge.available {
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}


/* =====================================================
   BUTTONS - Clean & Modern
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  background: var(--bg-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-red-glow);
  border-color: var(--accent-red-glow);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--text-muted);
}

.btn-outline:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-primary);
}

/* =====================================================
   CONTENT SECTIONS
   ===================================================== */
.content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-padding) clamp(20px, 5vw, 40px);
  overflow-x: hidden;
}

.content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.content h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.content a {
  color: var(--accent-copper);
  transition: color 0.2s ease;
}

.content a:hover {
  color: var(--text-primary);
}


/* =====================================================
   PLUGIN CARDS - Product Grid (Aurora DSP style)
   ===================================================== */
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  max-width: 100%;
}

.plugin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.plugin-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Plugin image - PROPERLY SCALED */
.plugin-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--bg-secondary);
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.plugin-card-content {
  padding: 24px;
}

.plugin-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.plugin-card .tagline {
  font-size: 0.875rem;
  color: var(--accent-copper);
  margin-bottom: 12px;
}

.plugin-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.plugin-card .btn {
  width: 100%;
}


/* =====================================================
   PRODUCT PAGE LAYOUT
   ===================================================== */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0 60px;
}

.product-hero-image img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.product-hero-info h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 8px;
}

.product-hero-info .tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.product-hero-info .btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====================================================
   SCREENSHOT GALLERY
   ===================================================== */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
  max-width: 100%;
  overflow: hidden;
}

.screenshot-gallery figure {
  margin: 0;
}

.screenshot-gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.screenshot-gallery img:hover {
  border-color: var(--border-hover);
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.screenshot-gallery figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}


/* =====================================================
   FEATURE SECTIONS & CARDS
   ===================================================== */
.feature-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card p,
.feature-card ul {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.feature-card ul {
  list-style: none;
  margin-top: 12px;
}

.feature-card li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.feature-card li:last-child {
  border-bottom: none;
}

/* =====================================================
   MODE GRID (Distortion Modes)
   ===================================================== */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.mode-item {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent-red);
  transition: all 0.2s ease;
}

.mode-item:hover {
  background: var(--bg-hover);
  transform: translateX(4px);
}

.mode-item .mode-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.mode-item .mode-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* =====================================================
   SPECS TABLES
   ===================================================== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.875rem;
}

.specs-table th,
.specs-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table th {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.specs-table td {
  color: var(--text-secondary);
}

.specs-table tr:hover td {
  background: var(--bg-hover);
}

/* =====================================================
   GEAR LIST
   ===================================================== */
.gear-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 8px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.gear-item:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.gear-info h3 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.gear-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.manufacturer-link {
  color: var(--accent-copper);
}

section ul {
  list-style: none;
}


/* =====================================================
   FORMS
   ===================================================== */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 40px 0;
}

input,
textarea {
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-copper);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button[type="submit"] {
  align-self: flex-start;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  margin: 60px 0;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 80px;
}

footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

footer a {
  color: var(--accent-copper);
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--text-primary);
}


/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .product-hero-info .btn-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 20px;
    height: 64px;
  }
  
  .logo img {
    height: 36px;
  }
  
  .nav-toggle {
    display: block !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--text-primary);
    font-size: 24px;
  }
  
  nav {
    display: none !important;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px;
    gap: 16px;
  }
  
  nav.active {
    display: flex !important;
  }
  
  .hero {
    min-height: 80vh;
    padding-top: 100px;
  }
  
  .hero .btn-group {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  .hero .btn {
    width: 100%;
  }
  
  .plugin-grid {
    grid-template-columns: 1fr;
  }
  
  .plugin-card img {
    height: 160px;
  }
  
  .screenshot-gallery {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .mode-grid {
    grid-template-columns: 1fr;
  }
  
  .specs-table {
    font-size: 0.8rem;
  }
  
  .specs-table th,
  .specs-table td {
    padding: 10px 12px;
  }
  
  .gear-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-section {
    padding: 50px 24px;
    border-radius: 12px;
  }
}

/* Desktop override - must come AFTER mobile rules */
@media (min-width: 769px) {
  nav {
    display: flex !important;
  }
  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .content h1 {
    font-size: 1.75rem;
  }
  
  .content h2 {
    font-size: 1.35rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 13px;
  }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }



/* =====================================================
   HERO LOGO - Large centered logo
   ===================================================== */
.hero-logo {
  max-width: clamp(250px, 40vw, 450px);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 40px rgba(220, 38, 38, 0.3));
}

.tagline-main {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--accent-copper);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}



/* =====================================================
   PRODUCT PAGE - Main Image & Smaller Gallery
   ===================================================== */
.product-main-image {
  margin: 40px 0 60px;
  text-align: center;
  overflow: hidden;
}

.product-main-image img {
  max-width: 100%;
  width: min(900px, 90vw);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

/* Smaller screenshot gallery */
.screenshot-gallery-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 30px 0;
  max-width: 100%;
  overflow: hidden;
}

.screenshot-gallery-small figure {
  margin: 0;
  overflow: hidden;
}

.screenshot-gallery-small img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.screenshot-gallery-small img:hover {
  border-color: var(--border-hover);
  transform: scale(1.02);
}

.screenshot-gallery-small figcaption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

@media (max-width: 768px) {
  .screenshot-gallery-small {
    grid-template-columns: 1fr;
  }
  
  .product-main-image img {
    width: 100%;
  }
}



/* Hero sublogo - smaller secondary logo */
.hero-sublogo {
  max-width: clamp(150px, 25vw, 280px);
  height: auto;
  margin-bottom: 20px;
  opacity: 0.9;
}

