/* ============================================================
   LED Strip Studio 4 – Marketing Website Styles
   Theme: Dark (black/dark-gray backgrounds, red accents)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ─────────────────────────────────── */
:root {
  --black:       #08080f;
  --black2:      #0c0c16;
  --dark-card:   #11111e;
  --dark-alt:    #161626;
  --dark-3:      #1c1c2e;
  --white:       #ffffff;
  --bg-light:    #0c0c16;
  --bg-section:  #11111e;
  --red:         #e05050;
  --red-dark:    #c02828;
  --red-btn:     #c83232;
  --red-dim:     rgba(224, 80, 80, 0.15);
  --text:        #e0e0ec;
  --text-2:      #8e8ea8;
  --text-3:      #484860;
  --border:      #1e1e32;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 2px 20px rgba(0,0,0,0.5);
  --shadow-md:   0 4px 32px rgba(0,0,0,0.7);
  --max-w:       1200px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 { line-height: 1.25; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 0; }

a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: #ff7070; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ────────────────────────────────── */
.site-nav {
  background: #050508;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; border-radius: 4px; }
.nav-links {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: #aaaacc;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--red-dark) !important; color: #fff !important; }

/* ── Mobile Nav Toggle ─────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #aaaacc;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  line-height: 1;
}
.btn-primary {
  background: var(--red-btn);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180,30,30,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.btn-white {
  background: rgba(255,255,255,0.12);
  color: #e8e8f8;
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-white:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── Hero ──────────────────────────────────────── */
.hero {
  background: var(--black);
  color: #fff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, rgba(224,80,80,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(224,80,80,0.18);
  border: 1px solid rgba(224,80,80,0.35);
  color: #ff9999;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-title {
  color: #ffffff;
  margin-bottom: 18px;
}
.hero-title span { color: var(--red); }
.hero-sub {
  color: #9090b0;
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
}

/* ── Page Hero (sub-pages) ─────────────────────── */
.page-hero {
  background: var(--black);
  color: #fff;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  gap: 8px;
  list-style: none;
  font-size: 0.8rem;
  color: #555570;
  margin-bottom: 20px;
}
.breadcrumb a { color: #555570; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; }

/* ── Sections ──────────────────────────────────── */
section { padding: 80px 0; }
.section-white { background: var(--black2); }
.section-gray  { background: var(--dark-alt); }
.section-dark  { background: var(--black); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .section-text { color: #9090b0; }
.section-dark .section-label { color: #ff8080; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-text {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 640px;
  margin-bottom: 28px;
}

/* ── Feature Blocks ────────────────────────────── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.feature-list li { display: flex; gap: 10px; color: var(--text-2); font-size: 0.9rem; }
.feature-list li::before { content: '→'; color: var(--red); flex-shrink: 0; font-weight: 700; }

/* ── Cards ─────────────────────────────────────── */
.card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.card:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--dark-3);
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.card-title { margin-bottom: 10px; font-size: 1.1rem; color: var(--text); }
.card-text {
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

/* ── Benefit Cards ─────────────────────────────── */
.benefit-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}
.benefit-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.benefit-icon { font-size: 2rem; margin-bottom: 14px; line-height: 1; }
.benefit-title { font-size: 1rem; margin-bottom: 10px; color: var(--text); }
.benefit-text { color: var(--text-2); font-size: 0.875rem; line-height: 1.65; }

/* ── Grid Utilities ────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ── Screenshot Grid ───────────────────────────── */
.screenshot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.screenshot-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}
.screenshot-item:hover { border-color: var(--red); transform: scale(1.02); box-shadow: var(--shadow-md); }
.screenshot-item img { width: 100%; }
.screenshot-caption {
  background: var(--dark-3);
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--text-2);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* ── CTA Banner ────────────────────────────────── */
.cta-banner {
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: var(--text-2); max-width: 540px; margin: 0 auto 32px; font-size: 1rem; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── CTA Full Width ────────────────────────────── */
.cta-full {
  background: linear-gradient(135deg, #6e1010 0%, #b02020 50%, #8a1818 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-full h2 { color: #fff; margin-bottom: 16px; }
.cta-full p { color: rgba(255,255,255,0.8); max-width: 540px; margin: 0 auto 32px; }

/* ── FAQ ───────────────────────────────────────── */
.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(224,80,80,0.3); }
.faq-q { font-weight: 600; margin-bottom: 10px; font-size: 1rem; color: var(--text); }
.faq-a { color: var(--text-2); font-size: 0.9rem; line-height: 1.8; }

/* ── Specs Table ───────────────────────────────── */
.specs-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.specs-table th {
  text-align: left;
  padding: 12px 18px;
  background: var(--dark-3);
  color: #dcdcf0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.specs-table td { padding: 12px 18px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.specs-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ── Tag / Badge ───────────────────────────────── */
.tag {
  display: inline-block;
  background: var(--red-dim);
  border: 1px solid rgba(224,80,80,0.25);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 6px;
  margin-bottom: 8px;
}
.tag-dark {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  color: #aaaacc;
}

/* ── Feature Icon List ─────────────────────────── */
.icon-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list .icon { color: var(--red); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ── Stats Row ─────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 24px 16px; background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius); }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 8px; display: block; }
.stat-label { color: var(--text-2); font-size: 0.85rem; display: block; }

/* ── Contact Section ───────────────────────────── */
.section-contact {
  background: var(--dark-3);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}
.contact-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card:hover {
  border-color: rgba(224,80,80,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.contact-icon { font-size: 1.8rem; line-height: 1; }
.contact-title { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0; }
.contact-text { color: var(--text-2); font-size: 0.85rem; line-height: 1.6; flex: 1; margin: 0; }
.contact-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  word-break: break-all;
  transition: color 0.2s;
}
.contact-link:hover { color: #ff7070; }
.btn-contact {
  display: inline-block;
  background: rgba(224,80,80,0.15);
  border: 1px solid rgba(224,80,80,0.3);
  color: var(--red) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.82rem;
  text-align: center;
  transition: all 0.2s;
  width: fit-content;
}
.btn-contact:hover {
  background: rgba(224,80,80,0.25);
  border-color: var(--red);
  color: #ff7070 !important;
}
.btn-contact-red {
  background: var(--red-btn) !important;
  border-color: var(--red-btn) !important;
  color: #fff !important;
}
.btn-contact-red:hover {
  background: var(--red-dark) !important;
  border-color: var(--red-dark) !important;
  color: #fff !important;
}

/* ── Footer Contact Info ───────────────────────── */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7070a0;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-contact-link:hover { color: var(--red); }
.footer-contact-icon { font-size: 0.95rem; flex-shrink: 0; }

/* ── Footer ────────────────────────────────────── */
.site-footer {
  background: #050508;
  color: #aaaacc;
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: #555570; font-size: 0.875rem; line-height: 1.75; max-width: 280px; margin-top: 14px; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #e0e0ec; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: #555570; font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #33333a;
  font-size: 0.825rem;
}
.footer-bottom a { color: #444458; }
.footer-bottom a:hover { color: var(--red); }

/* ── Divider ───────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.divider-dark { background: rgba(255,255,255,0.05); }

/* ── Trust logos ───────────────────────────────── */
.trust-section { background: var(--dark-card); padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-label { text-align: center; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 24px; font-weight: 600; }

/* ── Scroll Reveal ─────────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Helpers ───────────────────────────────────── */
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-muted { color: var(--text-2); }
.text-white { color: #fff; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-2, .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block.reverse { direction: ltr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .screenshot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero { padding: 52px 0; }
  .cta-banner { padding: 36px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 16px 12px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 8px 0 16px;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 10px 16px;
    border-radius: 0;
    font-size: 0.9rem;
  }
  .nav-cta {
    margin: 8px 16px 0 !important;
    text-align: center;
    border-radius: 6px !important;
  }
}
