﻿/* ============================================
   Lightjams LED Mapper — Layout CSS
   ============================================ */

:root {
  --primary: #00aeef;
  --primary-dark: #008ec4;
  --secondary: #fefefe;
  --dark: #0a0a0a;
  --darker: #050505;
  --light: #f0f0f0;
  --gray: #777;
  --card-bg: rgba(20, 20, 20, 0.9);
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.45);
  --border-radius: 12px;
  --max-width: 1200px;
}

/* ============================================
   Reset
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--light);
  background-color: var(--dark);
  overflow-x: hidden;
  padding-bottom: 40px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 300;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--primary-dark);
}

a::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: var(--transition);
}

a:hover::after {
  width: 100%;
}

/* ============================================
   Layout
   ============================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.clear,
.clearerDiv {
  clear: both;
}

/* ============================================
   Typography — Section Titles
   ============================================ */

.section-title {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--secondary);
  position: relative;
}

.section-title span {
  color: var(--primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0.8rem auto 0;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn::after {
  content: none !important;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 174, 239, 0.1);
  color: var(--primary);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(5, 5, 5, 0.98);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: white;
}

.logo::after {
  content: none;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.3rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0.8rem;  
  transition: var(--transition);
  display: block;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: none;
}

.nav-link.btn {
  padding: 0.55rem 1.2rem;
  color: white;
  font-size: 0.9rem;
}

.nav-link-back {
  font-size: 0.85rem;
  opacity: 0.55;
}

.nav-link-back:hover {
  opacity: 1;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
  z-index: 1001;
}

/* ============================================
   Hero / Intro Section
   ============================================ */

.ljlm-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.88) 0%, rgba(0, 40, 60, 0.5) 100%),
    url('images/joy-award-2025-2.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}

.ljlm-hero-content {
  max-width: 780px;
  padding: 4rem 0;
}

.ljlm-hero h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.hero-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.25);
  border-radius: 30px;
  padding: 0.35rem 1rem 0.35rem 0.45rem;
  margin-bottom: 1.8rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-product-badge img {
  height: 28px;
  width: auto;
  display: block;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--light);
  margin-bottom: 2.5rem;
  max-width: 640px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   Showcase (Event Photo)
   ============================================ */

.showcase-section {
  position: relative;
  min-height: 420px;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

.showcase-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.15) 100%);
  width: 100%;
  padding: 3rem 2rem;
}

.showcase-caption {
  max-width: var(--max-width);
  margin: 0 auto;
}

.showcase-caption h2 {
  font-size: 1.9rem;
  color: white;
  margin-bottom: 0.8rem;
}

.showcase-caption p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

/* ============================================
   Demo Grid (Feature Videos)
   ============================================ */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.demo-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.demo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 174, 239, 0.3);
}

.demo-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.demo-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.demo-item-body {
  padding: 1.5rem 2rem 2rem;
  flex: 1;
}

.demo-item-body h3 {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.demo-item-body p {
  color: var(--light);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ============================================
   Specs Section
   ============================================ */

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.specs-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.specs-card:hover {
  border-color: rgba(0, 174, 239, 0.25);
}

.specs-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(0, 174, 239, 0.2);
}

.specs-list {
  list-style: none;
}

.specs-list li {
  color: var(--light);
  font-size: 0.98rem;
  font-weight: 300;
  padding: 0.45rem 0 0.45rem 1.3rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.5;
}

.specs-list li:last-child {
  border-bottom: none;
}

.specs-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Computer Specs */

.specs-section-title {
  font-size: 1.7rem;
  color: var(--secondary);
  margin: 0 0 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.computer-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.computer-specs-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.computer-specs-card:hover {
  border-color: rgba(0, 174, 239, 0.2);
}

.computer-specs-card h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

.computer-specs-card p {
  color: var(--light);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

/* ============================================
   Get It Section
   ============================================ */

.getit-content {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 820px;
  margin: 0 auto;
}

.getit-content h3 {
  font-size: 1.45rem;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

.getit-content h3:first-child {
  margin-top: 0;
}

.getit-content p {
  color: var(--light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.download-btn::after {
  content: none !important;
}

.download-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.download-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--light);
  box-shadow: none;
}

.download-btn-secondary:hover {
  background: rgba(0, 174, 239, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================
   History Page
   ============================================ */

.history-page {
  padding-top: 90px;
  padding-bottom: 4rem;
}

.history-intro-text {
  font-size: 1.2rem;
  color: var(--light);
  text-align: center;
  margin-bottom: 3rem;
}

.version-entry {
  margin-bottom: 3rem;
}

/* History: old markup compatibility */

.history-page .title,
.history-page h1.title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 0;
  background-image: none;
  letter-spacing: normal;
  line-height: 1.2;
  text-align: left;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(0, 174, 239, 0.25);
}

.history-page .title span,
.history-page h1.title span {
  color: var(--primary);
}

.history-page .sectionContent {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.5rem;
}

.history-page .sectionTop,
.history-page .sectionBottom {
  display: none;
}

.history-page .sectionContent p {
  color: var(--light);
  font-size: 0.98rem;
  font-weight: 300;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 0;
  line-height: 1.6;
  clear: none;
  float: none;
  width: 100%;
}

.history-page .sectionContent p:last-of-type {
  border-bottom: none;
}

.history-page .sectionContent p span {
  color: var(--primary);
  font-weight: 600;
}

.history-page .longDesc {
  color: var(--light);
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.6;
  clear: both;
  width: 100%;
  float: none;
  border-bottom: none;
  padding: 0;
}

.history-page .longDesc a {
  font-weight: 600;
}

.history-page .clearerDiv {
  clear: both;
}

/* ============================================
   CTA Section
   ============================================ */

#callToActionSection {
  text-align: center;
  padding: 3rem 2rem;
  clear: both;
}

#callToActionSection p {
  font-size: 1.8rem;
  color: var(--light);
  margin-bottom: 0;
  font-family: 'Space Grotesk', sans-serif;
}

/* ============================================
   Footer
   ============================================ */

footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-policy-card {
  padding: 1rem;
}

.footer-policy-title {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-policy-content {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
  font-weight: 300;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ============================================
   Responsive — 992px
   ============================================ */

@media (max-width: 992px) {
  .ljlm-hero h1 {
    font-size: 3rem;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .computer-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 2.4rem;
  }
}

/* ============================================
   Responsive — 768px
   ============================================ */

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    right: -100%;
    flex-direction: column;
    align-items: flex-start;
    background: var(--darker);
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 64px);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.4);
    gap: 0;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
    margin: 0.4rem 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }

  .nav-item-back {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }

  .ljlm-hero {
    background-attachment: scroll;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .ljlm-hero h1 {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .showcase-section {
    background-attachment: scroll;
    min-height: 280px;
  }

  .showcase-caption h2 {
    font-size: 1.5rem;
  }

  .computer-specs-grid {
    grid-template-columns: 1fr;
  }

  .getit-content {
    padding: 2rem 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .history-page .title,
  .history-page h1.title {
    font-size: 1.7rem;
  }

  .history-page .sectionContent {
    padding: 1.5rem;
  }
}

/* ============================================
   Responsive — 576px
   ============================================ */

@media (max-width: 576px) {
  .container {
    padding: 0 1.2rem;
  }

  .ljlm-hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

  .specs-card,
  .computer-specs-card {
    padding: 1.5rem;
  }

  .getit-content {
    padding: 1.5rem 1.2rem;
  }

  .download-actions {
    flex-direction: column;
  }

  .download-btn {
    justify-content: center;
    text-align: center;
  }

  #callToActionSection p {
    font-size: 1.4rem;
  }
}