/* ===== VARIABLES ===== */
:root {
  --bg-primary: #0b0d17;
  --bg-secondary: #11152a;
  --bg-card: #171c36;
  --accent: #3d72f0;
  --accent-dim: rgba(61, 114, 240, 0.15);
  --accent-glow: rgba(61, 114, 240, 0.4);
  --accent-dark: #1a2d7a;
  --charcoal: #3c3c3c;
  --text: #e8eaf6;
  --text-muted: #8892b0;
  --border: rgba(61, 114, 240, 0.25);
  --radius: 12px;
  --transition: 0.25s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--text-muted); }

/* ===== UTILITIES ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }
.section { padding: 96px 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  background: var(--accent-dim);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header { margin-bottom: 56px; }
.section-header p { margin-top: 12px; max-width: 560px; font-size: 1.05rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #33d4ff;
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(11, 13, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.logo-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { margin-left: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 200, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(123, 94, 167, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 80%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  background: var(--accent-dim);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-value { font-size: 1.8rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.camera-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  width: 360px;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 200, 255, 0.08);
}
.camera-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.3), transparent 50%, rgba(123, 94, 167, 0.2));
  z-index: -1;
}
.camera-lens {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  position: relative;
}
.lens-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
}
.lens-ring-1 {
  inset: 0;
  border-color: rgba(0, 200, 255, 0.6);
  animation: spin 12s linear infinite;
}
.lens-ring-2 {
  inset: 12px;
  border-color: rgba(123, 94, 167, 0.4);
  animation: spin 8s linear infinite reverse;
}
.lens-core {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, #001f2e 0%, #000d17 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 200, 255, 0.3);
}
.lens-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, #00c8ff 0%, #0066aa 100%);
  box-shadow: 0 0 20px var(--accent-glow);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.camera-hero-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  display: block;
}
.camera-info { text-align: center; }
.camera-info h3 { color: var(--text); margin-bottom: 6px; }
.camera-info p { font-size: 0.85rem; }
.camera-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.metric {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.metric-val { font-size: 1.1rem; font-weight: 700; color: var(--accent); }
.metric-key { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* Floating badges on hero visual */
.float-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.float-badge-1 { top: -20px; right: -20px; animation: float 4s ease-in-out infinite; }
.float-badge-2 { bottom: -16px; left: -24px; animation: float 4s ease-in-out infinite 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 200, 255, 0.08);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 1.75;
  fill: none;
}
.service-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}
.contact-method-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 1.75;
  fill: none;
}
.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}
.feature-card h3 { margin-bottom: 8px; color: var(--text); }

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(0, 200, 255, 0.08);
}
.service-card .service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}
.service-card h3 { color: var(--text); margin-bottom: 12px; font-size: 1.35rem; }
.service-card p { flex: 1; }
.service-card ul {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.service-card ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== PRODUCT SECTION ===== */
.product-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.product-visual {
  display: flex;
  justify-content: center;
}
.product-card-large {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 80px rgba(0, 200, 255, 0.06);
}
.product-lens-large {
  width: 180px;
  height: 180px;
  margin: 0 auto 32px;
  position: relative;
}
.product-lens-large .lens-ring-1 { border-color: rgba(0, 200, 255, 0.5); animation: spin 14s linear infinite; }
.product-lens-large .lens-ring-2 { inset: 14px; border-color: rgba(123, 94, 167, 0.35); animation: spin 9s linear infinite reverse; }
.product-lens-large .lens-ring-3 {
  inset: 28px;
  border-color: rgba(0, 200, 255, 0.2);
  animation: spin 6s linear infinite;
}
.product-lens-large .lens-core { inset: 40px; }
.product-lens-large .lens-dot { width: 36px; height: 36px; }
.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.spec-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  text-align: left;
}
.spec-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.spec-value { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-top: 4px; }
.product-info h2 { margin-bottom: 16px; }
.product-info p { margin-bottom: 28px; }
.product-features { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 14px; }
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.product-features li .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0, 200, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== CONTACT PAGE ===== */
.contact-simple { max-width: 720px; }
.contact-simple h2 { margin: 12px 0 16px; }
.contact-simple > p { margin-bottom: 36px; }
.contact-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-method-link {
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.contact-method-link:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(61, 114, 240, 0.15);
  transform: translateY(-2px);
}
.contact-method-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-method-info strong { display: block; color: var(--text); font-size: 0.85rem; margin-bottom: 4px; }
.contact-method-info span { font-size: 0.875rem; color: var(--text-muted); }

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
input, textarea, select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.1);
}
select option { background: var(--bg-secondary); }
textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; margin-top: 8px; justify-content: center; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0, 200, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero p { margin: 16px auto 0; max-width: 600px; font-size: 1.1rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo img { height: 40px; }
.footer-brand p { margin-top: 14px; font-size: 0.875rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--accent); }

/* ===== PRODUCT GALLERY ===== */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.product-image-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.1);
  transition: var(--transition);
}
.product-image-frame:hover {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(0, 200, 255, 0.18);
}
.product-image-frame img {
  width: 100%;
  display: block;
}
.product-image-caption {
  padding: 8px 14px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.gallery-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.4;
  font-style: italic;
  text-align: center;
  padding: 12px 0 4px;
}

/* ===== TABLET ===== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; }
  .product-layout { grid-template-areas: "info" "visual"; }
  .product-info { grid-area: info; }
  .product-visual { grid-area: visual; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--bg-secondary); padding: 24px; border-bottom: 1px solid var(--border); gap: 20px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-methods-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .logo img { height: 32px; }
  .logo-name { font-size: 1.2rem; }
  .page-hero { padding: 120px 0 60px; }
  .product-specs { grid-template-columns: repeat(2, 1fr); }
  .camera-metrics { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .contact-simple > p { font-size: 0.95rem; }
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: rgba(0, 200, 255, 0.05);
  border: 1px solid var(--accent);
  border-radius: 10px;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 500;
}
