/* ═══════════════════════════════════════════════
   Ocular Vox — Shared Stylesheet
   ═══════════════════════════════════════════════ */

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

:root {
  --orange: #ff6600;
  --dark-orange: #cc5500;
  --dark: #111;
  --darker: #0a0a0a;
  --text: #e0e0e0;
  --text-dim: #888;
  --card-bg: #1a1a1a;
  --border: #2a2a2a;
  --nav-height: 56px;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--darker);
  color: var(--text);
  line-height: 1.6;
  padding-top: var(--nav-height);
}

/* ── NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.nav-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.nav-brand span {
  color: var(--orange);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.nav-links .nav-cta {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nav-links .nav-cta:hover {
  background: var(--dark-orange);
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}
.nav-links.open {
  display: flex;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-height));
  padding-top: var(--nav-height);
}
.hero-banner {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-mobile {
  display: none;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0) 0%,
    rgba(10,10,10,0) 50%,
    rgba(10,10,10,0.7) 75%,
    rgba(10,10,10,0.95) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px 60px;
}
.hero-content .tagline {
  font-size: clamp(16px, 3vw, 22px);
  color: var(--text);
  max-width: 650px;
  margin: 0 auto 30px;
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  background: rgba(10,10,10,0.6);
  padding: 16px 20px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}
.hero-content .tagline strong {
  color: var(--orange);
  font-weight: 600;
}
.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.scroll-hint {
  position: relative;
  z-index: 2;
  padding-bottom: 30px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-hint::after {
  content: "\2193";
  display: block;
  text-align: center;
  font-size: 18px;
  margin-top: 4px;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
}
.btn-primary:hover {
  background: var(--dark-orange);
  border-color: var(--dark-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,102,0,0.3);
}
.btn-outline {
  background: rgba(0,0,0,0.4);
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover {
  background: rgba(255,102,0,0.15);
  transform: translateY(-2px);
}

/* ── VIDEO ── */
.video-section {
  text-align: center;
  padding: 60px 20px;
  background: var(--darker);
}
.video-section .section-title {
  margin-bottom: 8px;
}
.video-section .section-subtitle {
  margin-bottom: 30px;
}
.video-container {
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  line-height: 0;
}
.video-container iframe {
  width: 350px;
  height: 622px;
}

/* ── SHOWCASE VIDEO (landscape 16:9) ── */
.showcase-video {
  display: block;
  width: 100%;
  border-radius: 12px;
}
.showcase-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* ── SECTIONS ── */
section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 0 auto 50px;
  border-radius: 2px;
}

/* ── PRODUCT SHOWCASE ── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}
.showcase.reverse {
  direction: rtl;
}
.showcase.reverse > * {
  direction: ltr;
}
.showcase-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.showcase-text h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.showcase-text p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── FEATURES ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── SPECS ── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.spec-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}
.spec-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
}
.spec-label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── EYES SECTION ── */
.eyes-showcase {
  text-align: center;
}
.eyes-showcase .eye-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.eye-sample {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  transition: border-color 0.2s, transform 0.2s;
}
.eye-sample:hover {
  border-color: var(--orange);
  transform: scale(1.1);
}
.eye-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
  text-align: center;
}
.eye-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── PAGE HEADER (non-home pages) ── */
.page-header {
  text-align: center;
  padding: 60px 20px 40px;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.page-header p {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

/* ── FAQ ACCORDION ── */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}
.faq-category {
  margin-bottom: 40px;
}
.faq-category h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--card-bg);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  font-family: inherit;
}
.faq-question:hover {
  background: rgba(255,255,255,0.03);
}
.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question::after {
  content: "\2212";
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 20px 16px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* ── RESOURCE CARDS ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}
.resource-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
}
.resource-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.resource-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}
.resource-card a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}
.resource-card a:hover {
  text-decoration: underline;
}
.resource-link {
  display: block;
  padding: 10px 0;
  color: var(--orange);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.resource-link:last-child {
  border-bottom: none;
}
.resource-link:hover {
  color: #fff;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}
footer a {
  color: var(--orange);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 16px;
  color: #555;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .video-container iframe {
    width: 280px;
    height: 498px;
  }
  .hero { min-height: auto; flex-direction: column; justify-content: flex-start; }
  .hero-banner { display: none; }
  .hero-overlay { display: none; }
  .hero-mobile {
    display: block;
    width: 100%;
    position: relative;
  }
  .hero-content {
    position: relative;
    padding: 24px 16px 40px;
    background: var(--darker);
  }
  .hero-content .tagline {
    background: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    text-shadow: none;
  }
  .showcase { grid-template-columns: 1fr; gap: 24px; }
  .showcase.reverse { direction: ltr; }
  .showcase-img { max-width: 400px; margin: 0 auto; }
  .showcase-video { max-width: 100%; }
  .showcase-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
  section { padding: 60px 16px; }
  .features { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr 1fr; }

  /* Mobile nav */
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 16px;
    font-size: 16px;
    width: 100%;
  }
  .nav-links li:last-child {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }

  /* Resource cards stack */
  .resource-grid { grid-template-columns: 1fr; }
}
