/*
Theme Name: NeoVision4K
Theme URI: https://neovision4k.com
Author: NeoVision4K
Author URI: https://neovision4k.com
Description: Premium dark navy/black multi-page WordPress theme with emerald-green accents. Includes Home, Pricing, How It Works, Installation, Contact, About and FAQ. Mobile-first and fully responsive.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neovision4k
Tags: dark, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, one-column, responsive-layout, translation-ready
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --nv-navy: #0a0f1a;
  --nv-navy-light: #111827;
  --nv-black: #05070c;
  --nv-emerald: #10b981;
  --nv-emerald-dark: #059669;
  --nv-emerald-glow: rgba(16, 185, 129, 0.25);
  --nv-text: #e5e7eb;
  --nv-text-muted: #9ca3af;
  --nv-white: #ffffff;
  --nv-card: #0f172a;
  --nv-border: rgba(16, 185, 129, 0.15);
  --nv-radius: 12px;
  --nv-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --nv-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nv-transition: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--nv-font);
  background: var(--nv-navy);
  color: var(--nv-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--nv-emerald);
  text-decoration: none;
  transition: color var(--nv-transition);
}

a:hover {
  color: var(--nv-emerald-dark);
}

ul, ol {
  list-style: none;
}

button, .btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--nv-white);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.lead {
  font-size: 1.1rem;
  color: var(--nv-text-muted);
  max-width: 640px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header .badge {
  display: inline-block;
  background: var(--nv-emerald-glow);
  color: var(--nv-emerald);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.page-hero {
  padding: 8.5rem 0 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--nv-black) 0%, var(--nv-navy) 100%);
  border-bottom: 1px solid var(--nv-border);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero .lead {
  margin: 0 auto;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 26, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nv-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--nv-white);
}

.site-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--nv-emerald), var(--nv-emerald-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--nv-emerald-glow);
}

.site-logo .logo-mark svg {
  width: 22px;
  height: 22px;
  fill: var(--nv-white);
}

.site-logo .accent {
  color: var(--nv-emerald);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-nav a {
  color: var(--nv-text);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--nv-emerald);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nv-emerald);
  transition: width var(--nv-transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--nv-emerald);
  color: var(--nv-navy) !important;
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background var(--nv-transition), transform var(--nv-transition);
}

.nav-cta:hover {
  background: var(--nv-emerald-dark);
  transform: translateY(-1px);
  color: var(--nv-navy) !important;
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--nv-white);
  width: 40px;
  height: 40px;
  padding: 0;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--nv-transition);
}

.btn-primary {
  background: var(--nv-emerald);
  color: var(--nv-navy);
}

.btn-primary:hover {
  background: var(--nv-emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--nv-emerald-glow);
  color: var(--nv-navy);
}

.btn-outline {
  background: transparent;
  color: var(--nv-white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--nv-emerald);
  color: var(--nv-emerald);
}

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--nv-emerald-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.15rem;
}

.hero h1 .accent {
  color: var(--nv-emerald);
}

.hero .lead {
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat .number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nv-emerald);
  display: block;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--nv-text-muted);
}

.hero-card {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--nv-shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nv-emerald), transparent);
}

.hero-card .preview-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nv-text-muted);
  margin-bottom: 1rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.feature-item .icon {
  width: 28px;
  height: 28px;
  background: var(--nv-emerald-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item .icon svg {
  width: 14px;
  height: 14px;
  fill: var(--nv-emerald);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-table-wrapper {
  overflow-x: auto;
  border-radius: var(--nv-radius);
  border: 1px solid var(--nv-border);
  background: var(--nv-card);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.pricing-table th,
.pricing-table td {
  padding: 1.15rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--nv-border);
}

.pricing-table th {
  background: rgba(16, 185, 129, 0.08);
  color: var(--nv-emerald);
  font-weight: 600;
  font-size: 0.95rem;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--nv-white);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table td {
  font-size: 1.15rem;
  font-weight: 600;
}

.pricing-table .price {
  color: var(--nv-emerald);
}

.pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--nv-text-muted);
}

.pricing-cards {
  display: none;
}

.price-card {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius);
  padding: 1.5rem;
}

.price-card h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--nv-border);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row .duration {
  color: var(--nv-text-muted);
}

.price-row .amount {
  font-weight: 700;
  color: var(--nv-emerald);
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nv-emerald), transparent);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background: var(--nv-card);
  border: 2px solid var(--nv-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nv-emerald);
  box-shadow: 0 0 25px var(--nv-emerald-glow);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--nv-text-muted);
  line-height: 1.5;
}

/* ============================================================
   FEATURES / CARDS
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius);
  padding: 1.6rem;
  transition: transform var(--nv-transition), border-color var(--nv-transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
}

.feature-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--nv-emerald-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.feature-card .icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: var(--nv-emerald);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--nv-text-muted);
  font-size: 0.93rem;
}

/* ============================================================
   INSTALLATION
   ============================================================ */
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.install-card {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: 16px;
  padding: 1.75rem;
}

.install-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.install-card .device-badge {
  font-size: 0.75rem;
  background: var(--nv-emerald-glow);
  color: var(--nv-emerald);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
}

.install-card ol {
  list-style: decimal;
  padding-left: 1.25rem;
  color: var(--nv-text-muted);
}

.install-card ol li {
  margin-bottom: 0.6rem;
  padding-left: 0.25rem;
}

.install-card .note {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--nv-emerald);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: var(--nv-text);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: 12px;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--nv-white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--nv-emerald);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--nv-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   CONTACT / ORDER FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.75rem;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  transition: border-color var(--nv-transition);
}

.contact-method:hover {
  border-color: var(--nv-emerald);
}

.contact-method .icon {
  width: 44px;
  height: 44px;
  background: var(--nv-emerald-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method .icon svg {
  width: 20px;
  height: 20px;
  fill: var(--nv-emerald);
}

.contact-method .details .label {
  font-size: 0.78rem;
  color: var(--nv-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-method .details .value {
  font-weight: 600;
  color: var(--nv-white);
  font-size: 1.02rem;
}

.order-form {
  background: var(--nv-card);
  border: 1px solid var(--nv-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--nv-shadow);
}

.order-form h3 {
  margin-bottom: 0.4rem;
}

.order-form .form-intro {
  color: var(--nv-text-muted);
  font-size: 0.93rem;
  margin-bottom: 1.4rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nv-text);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--nv-navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--nv-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--nv-transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--nv-emerald);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--nv-text-muted);
  text-align: center;
  margin-top: 1rem;
}

.alert-success {
  background: rgba(16,185,129,0.15);
  border: 1px solid var(--nv-emerald);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  color: var(--nv-emerald);
}

.alert-error {
  background: rgba(239,68,68,0.15);
  border: 1px solid #ef4444;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  color: #f87171;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--nv-text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--nv-black);
  border-top: 1px solid var(--nv-border);
  padding: 3.25rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.footer-brand .site-logo {
  margin-bottom: 0.9rem;
}

.footer-brand p {
  color: var(--nv-text-muted);
  font-size: 0.92rem;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
  color: var(--nv-white);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--nv-text-muted);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--nv-emerald);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nv-border);
  font-size: 0.85rem;
  color: var(--nv-text-muted);
}

.irish-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.irish-note svg {
  width: 16px;
  height: 16px;
  fill: var(--nv-emerald);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .process-steps::before {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--nv-navy-light);
    flex-direction: column;
    padding: 1.4rem;
    gap: 0.9rem;
    border-bottom: 1px solid var(--nv-border);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 7.5rem 0 3.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.7rem;
    text-align: center;
  }

  .pricing-table-wrapper {
    display: none;
  }

  .pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* WordPress helpers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
