/* ============================================
   XVAULT — LANDING PAGE
   Dark · Tactical · MilSpec
   ============================================ */

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

:root {
  --blue:      #1a6bff;
  --blue-dim:  #0f3d99;
  --blue-glow: rgba(26, 107, 255, 0.15);
  --white:     #ffffff;
  --grey-1:    #c8c8c8;
  --grey-2:    #8a8a8a;
  --grey-3:    #3a3a3a;
  --bg:        #080808;
  --bg-2:      #0d0d0d;
  --bg-3:      #111111;
  --font-tac:  'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* NOISE */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: linear-gradient(to bottom, rgba(8,8,8,0.95), transparent);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-hex {
  height: 80px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(26,107,255,0.2);
  transition: box-shadow 0.3s ease;
}
.nav-logo:hover .logo-hex {
  box-shadow: 0 0 35px rgba(26,107,255,0.4);
}

.nav-brand {
  font-family: var(--font-tac);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 4px;
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  font-family: var(--font-tac);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--grey-2);
  text-decoration: none;
  transition: color 0.2s;
}
.lang-btn:hover,
.lang-btn.active { color: var(--white); }
.lang-sep { color: var(--grey-3); font-size: 12px; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 80px;
  gap: 40px;
  overflow: hidden;
}

/* BG */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hex-grid {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='70'%3E%3Cpolygon points='30,2 58,17 58,53 30,68 2,53 2,17' fill='none' stroke='rgba(26,107,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 70px;
  opacity: 1;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,107,255,0.12) 0%, transparent 70%);
  top: -100px;
  right: 10%;
}
.glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,107,255,0.07) 0%, transparent 70%);
  bottom: 0;
  left: 5%;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-eyebrow {
  font-family: var(--font-tac);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-title {
  font-family: var(--font-tac);
  font-weight: 700;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}
.line-1 { animation-delay: 0.35s; }
.line-2 { animation-delay: 0.48s; color: var(--grey-1); }
.line-3 { animation-delay: 0.61s; }

.accent { color: var(--blue); }

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey-2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards 0.75s;
}

/* CTA */
.cta-block {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards 0.9s;
}

.cta-label {
  font-family: var(--font-tac);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 16px;
}

.input-group {
  display: flex;
  gap: 0;
  max-width: 480px;
  border: 1px solid var(--grey-3);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.input-group:focus-within { border-color: var(--blue); }

.input-group input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
  min-width: 0;
}
.input-group input::placeholder { color: var(--grey-3); }

.btn-cta {
  background: var(--blue);
  border: none;
  padding: 16px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-cta:hover { background: #2575ff; }
.btn-cta:active { transform: scale(0.98); }

.btn-text {
  font-family: var(--font-tac);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
}
.btn-icon {
  color: var(--white);
  font-size: 16px;
  transition: transform 0.2s;
}
.btn-cta:hover .btn-icon { transform: translateX(4px); }

.form-note {
  font-size: 11px;
  color: var(--grey-3);
  margin-top: 10px;
  letter-spacing: 1px;
  font-family: var(--font-tac);
}

/* SUCCESS STATE */
.form-success {
  display: none;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  padding: 20px 24px;
  border: 1px solid rgba(26,107,255,0.3);
  background: rgba(26,107,255,0.06);
  border-radius: 2px;
}
.form-success.visible { display: flex; }

.success-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.form-success p {
  font-family: var(--font-tac);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--grey-1);
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.product-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  opacity: 0;
  animation: floatIn 1s ease forwards 1s;
}

.hero-photo {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.photo-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,107,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* HERO METAL IMAGE */
.hero-metal-wrap {
  position: relative;
  width: 100%;
  opacity: 0;
  animation: floatIn 1s ease forwards 0.8s;
  overflow: hidden;
}

.hero-metal-img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.05) saturate(1.05);
  mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}

.hero-metal-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 45%, rgba(26,107,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* LOGO HERO DISPLAY */
.logo-display {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: floatIn 1s ease forwards 0.8s;
}

.logo-hero-img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  position: relative;
  z-index: 3;
  box-shadow:
    0 0 0 2px rgba(26,107,255,0.35),
    0 20px 80px rgba(0,0,0,0.9),
    0 0 100px rgba(26,107,255,0.2);
  filter: contrast(1.05) saturate(1.1);
  animation: logoFloat 6s ease-in-out infinite 2s;
  transition: box-shadow 0.4s ease;
}
.logo-hero-img:hover {
  box-shadow:
    0 0 0 2px rgba(26,107,255,0.6),
    0 24px 100px rgba(0,0,0,0.95),
    0 0 140px rgba(26,107,255,0.35);
}

.ring-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(26,107,255,0.18) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 1;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26,107,255,0.15);
  z-index: 0;
}
.ring-1 {
  width: 370px;
  height: 370px;
  animation: ringPulse 4s ease-in-out infinite;
}
.ring-2 {
  width: 420px;
  height: 420px;
  animation: ringPulse 4s ease-in-out infinite 1s;
  border-color: rgba(26,107,255,0.08);
}
.ring-3 {
  width: 480px;
  height: 480px;
  animation: ringPulse 4s ease-in-out infinite 2s;
  border-color: rgba(26,107,255,0.04);
}

/* GALLERY */
.gallery {
  padding: 80px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--grey-3);
}

.gallery-header {
  margin-bottom: 32px;
}

.gallery-label {
  font-family: var(--font-tac);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--grey-2);
  text-transform: uppercase;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.photo-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(8%) contrast(1.04);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.photo-item:hover img {
  filter: grayscale(0%) contrast(1.06);
  transform: scale(1.02);
}

.photo-wide {
  grid-column: 1 / -1;
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(8,8,8,0.8) 0%, transparent 100%);
  font-family: var(--font-tac);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--grey-1);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-caption { opacity: 1; }

/* PILLARS */
.pillars {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--grey-3);
  border-bottom: 1px solid var(--grey-3);
  background: var(--bg-2);
}

.pillar {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s;
}
.pillar:hover { background: var(--bg-3); }

.pillar-icon {
  width: 32px;
  height: 32px;
}
.pillar-icon svg { width: 100%; height: 100%; }

.pillar h3 {
  font-family: var(--font-tac);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
}

.pillar p {
  font-size: 13px;
  color: var(--grey-2);
  line-height: 1.7;
  font-weight: 300;
}

.pillar-divider {
  width: 1px;
  background: var(--grey-3);
  align-self: stretch;
}

/* FOOTER */
.footer {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tac);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--grey-2);
}

.footer-tagline {
  font-family: var(--font-tac);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--grey-3);
  text-transform: uppercase;
}

.footer-contact {
  font-size: 12px;
  color: var(--grey-3);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-contact:hover { color: var(--blue); }

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.footer-legal-link {
  font-size: 11px;
  color: var(--grey-3);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-legal-link:hover { color: var(--grey-2); }

.footer-legal-sep {
  color: var(--grey-3);
  font-size: 10px;
}

.footer-disclaimer {
  font-size: 10px;
  color: var(--grey-3);
  letter-spacing: 0.5px;
  text-align: center;
  max-width: 400px;
  margin-top: 4px;
}

/* ANIMATIONS */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0px) scale(1); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.03); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-visual { display: none; }

  .gallery { padding: 48px 24px; }
  .carousel-slide img { height: 320px; }

  .hero-title { font-size: clamp(44px, 10vw, 72px); }

  .pillars { flex-direction: column; }
  .pillar-divider { width: 100%; height: 1px; }
  .pillar { padding: 32px 24px; }

  .footer { padding: 40px 24px; }
}

@media (max-width: 500px) {
  .input-group { flex-direction: column; }
  .btn-cta { justify-content: center; padding: 14px; }
}
