/* ============================================
   Valuenetics Marketing Site — style.css
   Design: Linear.app-inspired, dark theme
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-deep:       #080c18;
  --bg-card:       #0d1328;
  --bg-surface:    #0a0f22;
  --accent:        #e8872a;
  --accent-light:  #f5a853;
  --accent-glow:   rgba(232,135,42,0.15);
  --text-primary:  #f0f2f8;
  --text-secondary:#8b92a8;
  --text-muted:    #545b72;
  --border:        #1a2044;
  --border-light:  #242e5a;
  --green:         #34d399;
  --red:           #f87171;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --radius:        12px;
  --radius-sm:     8px;
  --nav-height:    72px;
  --max-width:     1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-copy {
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 24px;
}
.disclaimer-asterisk {
  color: var(--text-muted);
  font-size: 0.7rem;
  vertical-align: super;
  cursor: help;
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(8,12,24,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: height 0.3s, padding 0.3s;
}
.nav.shrink {
  height: 56px;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
}
.nav__cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 0 24px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(232,135,42,0.3);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,12,24,0.95);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.nav__mobile-overlay.open { display: flex; }
.nav__mobile-overlay a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* ============================================
   PAGE SECTIONS — shared wrapper
   ============================================ */
.page-section {
  display: none;
  padding-top: calc(var(--nav-height) + 40px);
}
.page-section.active { display: block; }

/* ============================================
   HERO
   ============================================ */
.hero {
  text-align: center;
  padding: 80px 0 40px;
  position: relative;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 28px;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

/* Hero variant switcher */
.hero__variants {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.hero__variant-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.hero__variant-btn.active {
  border-color: var(--accent);
  color: var(--accent-light);
}

.hero__headline {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 20px;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 32px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 40px rgba(232,135,42,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(232,135,42,0.05);
}

/* Hero carousel */
.hero__carousel-frame {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(0,0,0,0.5), 0 0 80px var(--accent-glow);
  aspect-ratio: 16/10;
  background: var(--bg-card);
}
.hero__carousel-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__carousel-frame img.active { opacity: 1; }

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 56px 0 40px;
}
.stats-bar__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.stats-bar__number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 4px;
}
.stats-bar__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
@media (max-width: 640px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   SHOWCASE SECTIONS (alternating)
   ============================================ */
.showcase {
  padding: 80px 0;
}
.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.showcase__inner.reverse .showcase__img { order: 2; }
.showcase__inner.reverse .showcase__text { order: 1; }

.showcase__img img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4), 0 0 40px var(--accent-glow);
}
.showcase__bullets {
  margin-top: 8px;
}
.showcase__bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.showcase__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 768px) {
  .showcase__inner { grid-template-columns: 1fr; gap: 32px; }
  .showcase__inner.reverse .showcase__img { order: 0; }
  .showcase__inner.reverse .showcase__text { order: 0; }
}

/* ============================================
   COUNTDOWN BANNER
   ============================================ */
.countdown-banner {
  margin: 40px 0 80px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 0 60px var(--accent-glow);
  position: relative;
}
.countdown-banner__days {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--accent-light);
  font-family: var(--font-mono);
}
.countdown-banner__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.countdown-banner h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.countdown-banner p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
}
.countdown-banner .disclaimer-inline {
  display: block;
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============================================
   FEATURES PAGE
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 0 60px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.feature-card__tag {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent-light);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* Comparison table */
.comparison-section {
  padding: 60px 0 80px;
}
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th {
  background: var(--bg-card);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.comparison-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}
.comparison-table .check { color: var(--green); font-weight: 700; }
.comparison-table .cross { color: var(--text-muted); }

/* Screenshot gallery */
.gallery-section { padding: 60px 0 80px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-grid img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  width: 100%;
}
.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px var(--accent-glow);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

/* ============================================
   VIDEOS PAGE
   ============================================ */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  padding: 40px 0 80px;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}
.video-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.8);
  pointer-events: none;
}
.video-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
}
.video-card__info {
  padding: 16px 20px;
  background: var(--bg-card);
}
.video-card__info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.video-card__info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 40px 0 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.contact-details__item strong {
  color: var(--text-primary);
  min-width: 100px;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form select { cursor: pointer; }
.contact-form select option { background: var(--bg-card); }
.contact-form .btn-primary { width: 100%; padding: 14px; font-size: 1rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--green);
  font-weight: 600;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text-primary); }
.footer__disclaimer {
  width: 100%;
  margin-top: 20px;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}
.footer__copyright {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}
