/* ═══════════════════════════════════════════════════════
   NOVA LASER TECH — Industrial Dark Theme
   Design: Dark background, metallic accents, hard lines
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0a0a0f;
  color: #c8cbd0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  position: relative;

/* ── Design Tokens ── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --bg-card: #14141e;
  --bg-hover: #1e1e2c;

  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.25);
  --accent-dim: #d97706;
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.2);
  --red: #ef4444;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #fbbf24;

  --border: #1e1e2e;
  --border-accent: #f59e0b33;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.5);
  --shadow-accent: 0 0 30px rgba(245,158,11,.12);

  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --container: 1200px;
  --header-h: 72px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { color: var(--text-primary); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--text-accent); }
strong { color: var(--text-primary); }
code, .mono { font-family: var(--font-mono); }

/* ── Container ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ── Section ── */
.section { padding: 5rem 0; }
.section-dark { background: var(--bg-secondary); }
.section-darker { background: var(--bg-primary); }
.section-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: .75rem;
  display: block;
}

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: .75rem;
  font-size: 1.25rem; font-weight: 700; color: var(--text-primary);
  letter-spacing: -.02em;
}
.logo-img {
  height: 28px; width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .logo-img { height: 24px; }
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  color: var(--text-muted); font-size: .875rem; font-weight: 500;
  transition: color .2s; position: relative;
}
.nav a:hover, .nav a.active { color: var(--text-primary); }
.nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transition: transform .2s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

/* ── Dropdown ── */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--bg-tertiary); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: .5rem; min-width: 280px;
  opacity: 0; visibility: hidden; transition: all .2s;
  box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  display: block; padding: .625rem .875rem; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: .875rem;
  transition: all .15s;
}
.dropdown-menu a:hover { background: var(--bg-hover); color: var(--text-primary); }
.dropdown-menu a small { display: block; color: var(--text-muted); font-size: .75rem; margin-top: 2px; }

/* ── Mobile Menu ── */
.menu-toggle { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; padding: .5rem; }
.menu-toggle svg { width: 24px; height: 24px; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--header-h);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245,158,11,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(245,158,11,.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem .875rem; border-radius: 100px;
  border: 1px solid var(--border-accent);
  background: rgba(245,158,11,.08);
  font-size: .8125rem; color: var(--accent); margin-bottom: 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius-sm);
  font-size: .9375rem; font-weight: 600; cursor: pointer;
  transition: all .2s; border: none; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #000; box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(245,158,11,.2); color: #000; }
.btn-outline {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: all .25s; cursor: pointer;
  position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  opacity: 0; transition: opacity .25s;
}
.product-card:hover {
  border-color: var(--border-accent); transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.product-card:hover::before { opacity: 1; }
.product-card .icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(245,158,11,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.25rem;
}
.product-card h3 { margin-bottom: .5rem; }
.product-card p { font-size: .875rem; margin-bottom: 1rem; }
.product-tag {
  display: inline-block; padding: .125rem .5rem;
  border-radius: 3px; font-size: .6875rem; font-weight: 600;
  font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: .05em;
}
.tag-laser { background: rgba(245,158,11,.15); color: var(--accent); }
.tag-metal { background: rgba(6,182,212,.15); color: var(--cyan); }

.product-link {
  font-size: .875rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: .375rem;
}
.product-link svg { width: 16px; height: 16px; transition: transform .2s; }
.product-link:hover svg { transform: translateX(4px); }

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  padding: 2rem; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--border-accent); }
.feature-card .num {
  font-family: var(--font-mono); font-size: 2.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: .5rem; line-height: 1;
}
.feature-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.feature-card p { font-size: .875rem; margin: 0; }

/* ── Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem; text-align: center;
}
.stat-num {
  font-size: 2.5rem; font-weight: 700; line-height: 1;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .875rem; color: var(--text-muted); margin-top: .5rem; }

/* ── Newsletter ── */
.newsletter {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.newsletter-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.newsletter h2 { margin-bottom: .75rem; }
.newsletter p { font-size: .9375rem; margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: .75rem; }
.newsletter-form input {
  flex: 1; padding: .75rem 1rem; border-radius: var(--radius-sm);
  background: var(--bg-tertiary); border: 1px solid var(--border);
  color: var(--text-primary); font-size: .9375rem; outline: none;
  transition: border-color .2s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--text-muted); }

/* ── Footer ── */
.footer {
  background: var(--bg-primary); padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { font-size: .875rem; margin-top: 1rem; max-width: 320px; }
.footer-col h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-muted); margin-bottom: 1rem; }
.footer-col a {
  display: block; font-size: .875rem; color: var(--text-secondary);
  padding: .25rem 0; transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8125rem; color: var(--text-muted); margin: 0; }
.footer-lang {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8125rem; color: var(--text-muted);
}
.footer-lang select {
  background: var(--bg-tertiary); border: 1px solid var(--border);
  color: var(--text-secondary); padding: .375rem .625rem;
  border-radius: var(--radius-sm); font-size: .8125rem;
  cursor: pointer; outline: none;
}
.footer-lang select:focus { border-color: var(--accent); }

/* ── Product Page Specific ── */
.product-hero { padding: 8rem 0 4rem; position: relative; }
.product-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(245,158,11,.05) 0%, transparent 50%);
  pointer-events: none;
}
.specs-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.specs-table th, .specs-table td {
  padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.specs-table th { color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: .75rem; }
.specs-table td { color: var(--text-secondary); }
.specs-table tr:hover td { color: var(--text-primary); }

.breadcrumb {
  display: flex; gap: .5rem; align-items: center;
  font-size: .8125rem; color: var(--text-muted); margin-bottom: 2rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
.contact-form { background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .875rem; color: var(--text-secondary); margin-bottom: .375rem; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .75rem 1rem; border-radius: var(--radius-sm);
  background: var(--bg-tertiary); border: 1px solid var(--border);
  color: var(--text-primary); font-size: .9375rem; outline: none;
  transition: border-color .2s; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { font-size: .9375rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .25s;
}
.blog-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-accent); }
.blog-card-body { padding: 1.5rem; }
.blog-card .date { font-size: .75rem; color: var(--text-muted); margin-bottom: .5rem; font-family: var(--font-mono); }
.blog-card h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.blog-card p { font-size: .875rem; }
.blog-card .tag {
  display: inline-block; padding: .125rem .5rem;
  border-radius: 3px; font-size: .6875rem; font-weight: 600;
  background: rgba(245,158,11,.1); color: var(--accent);
  text-transform: uppercase; letter-spacing: .05em;
  font-family: var(--font-mono); margin-bottom: .75rem;
}

/* ── Page Header ── */
.page-header {
  padding: 8rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: .75rem; }
.page-header p { font-size: 1.125rem; max-width: 600px; }

/* ── Language Switcher ── */
.lang-switcher {
  display: flex; gap: .25rem; align-items: center;
}
.lang-switcher button {
  background: none; border: none; color: var(--text-muted);
  font-size: .75rem; padding: .25rem .375rem; border-radius: 3px;
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.lang-switcher button:hover, .lang-switcher button.active {
  color: var(--accent); background: rgba(245,158,11,.1);
}

/* ── Animations ── */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(245,158,11,.1); }
  50% { box-shadow: 0 0 40px rgba(245,158,11,.2); }
}
.glow-pulse { animation: pulse-glow 3s ease-in-out infinite; }

/* ── Divider ── */
.divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute;
    top: var(--header-h); left: 0; right: 0; background: var(--bg-secondary);
    padding: 1rem; border-bottom: 1px solid var(--border);
    gap: 1rem; align-items: stretch;
  }
  .nav.open a { padding: .5rem 0; }
  .menu-toggle { display: block; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .btn-group { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { min-height: auto; padding: 6rem 0 4rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: none; padding: 0; box-shadow: none; display: none; }
  .dropdown.open .dropdown-menu { display: block; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .container { padding: 0 1rem; }
}
