* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #071826, #0c2b44, #071826);
  background-size: 300% 300%;
  animation: bgmove 10s infinite linear;
  color: white;
}

@keyframes bgmove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.25) 3px
  );
  pointer-events: none;
}

body.home {
  background: #020b16;
  animation: none;
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
  display: block;
}

body.home::after { display: none; }

/* ─── LOADING ─── */
#loading {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo {
  font-size: 120px;
  font-weight: 900;
  letter-spacing: 18px;
  position: relative;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
}

.logo::before {
  content: "LUUTEK";
  position: absolute;
  left: 0; top: 0;
  width: 0%;
  overflow: hidden;
  white-space: nowrap;
  color: #ff6a45;
  animation: fill 1s linear forwards;
}

@keyframes fill { from { width: 0; } to { width: 100%; } }

.bar {
  margin: 40px auto 10px;
  width: 420px;
  height: 6px;
  background: #132739;
  overflow: hidden;
  border-radius: 3px;
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6a45, #ff8a65);
  box-shadow: 0 0 10px #ff6a45;
}

.loading-text {
  color: #ff6a45;
  letter-spacing: 4px;
  font-size: 12px;
}

/* ─── HOME ─── */
#home { display: none; position: relative; width: 100%; }

.layer1, .layer2, .layer3 {
  position: absolute;
  width: 100%; top: 0; left: 0;
  pointer-events: none;
}

.layer1 { animation: move1  60s linear infinite; }
.layer2 { animation: move2 120s linear infinite; }
.layer3 { animation: move3 180s linear infinite; }

@keyframes move1 { from { transform: translateY(0); } to { transform: translateY(-2000px); } }
@keyframes move2 { from { transform: translateY(0); } to { transform: translateY(-1500px); } }
@keyframes move3 { from { transform: translateY(0); } to { transform: translateY(-1000px); } }

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.2; }
  to   { opacity: 1; }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  cursor: none;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.title {
  position: relative;
  z-index: 10;
  font-size: 60px;
  letter-spacing: 10px;
  color: #6bd6ff;
  text-shadow: 0 0 20px #2bc4ff;
  text-align: center;
}

/* ─── CONTACT ─── */
.contact {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(to bottom, transparent, rgba(2, 11, 22, 0.95));
  color: #aaa;
  font-size: 14px;
}

.contact-title {
  color: #ff2a2a;
  letter-spacing: 6px;
  margin-bottom: 20px;
  font-size: 13px;
}

.quote {
  color: #ff4444;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.social { margin-top: 20px; }

.social a {
  text-decoration: none;
  margin-right: 20px;
  cursor: pointer;
  color: #bbb;
  transition: color 0.2s;
}

.social a:hover { color: white; }

.big-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 160px;
  color: rgba(255, 255, 255, 0.03);
  font-weight: bold;
  letter-spacing: 20px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

/* ─── INFO ROWS (shared) ─── */
.info-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  color: #444;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.35s;
}

.info-row:hover { color: #ddd; }

/* ─── SHARED ICON WRAP (email + phone) ─── */
.icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-icon {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 2;
  color: #444;
  filter: brightness(0.35);
  transition: filter 0.35s, color 0.35s;
}

.info-row:hover .row-icon {
  color: #ff6a45;
  filter: brightness(1) drop-shadow(0 0 6px #ff6a45) drop-shadow(0 0 14px #ff4422);
  animation: iconpulse 1.2s ease-in-out infinite;
}

@keyframes iconpulse {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 4px #ff6a45); }
  50%       { filter: brightness(1.3) drop-shadow(0 0 14px #ff6a45) drop-shadow(0 0 24px #ff4422); }
}

/* scan ring for email + phone */
.scan-ring {
  position: absolute;
  top: 0; left: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px dashed #ff6a45;
  opacity: 0;
  transition: opacity 0.35s;
}

.info-row:hover .scan-ring {
  opacity: 1;
  animation: ringspin 4s linear infinite;
}

/* action badge for email + phone */
.action-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: 1px solid #ff6a45;
  color: #ff6a45;
  font-size: 8px;
  letter-spacing: 2px;
  padding: 2px 6px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s;
}

.info-row:hover .action-badge {
  opacity: 1;
  animation: badgeglitch 3s steps(1) infinite;
}

/* ─── PIN WRAP (location) ─── */
.pin-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-icon {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 2;
  filter: grayscale(1) brightness(0.35);
  transition: filter 0.35s;
}

.info-row:hover .pin-icon {
  filter: none;
  animation: pinpulse 1.2s ease-in-out infinite;
}

@keyframes pinpulse {
  0%, 100% { filter: drop-shadow(0 0 4px #ff2a2a); }
  50%       { filter: drop-shadow(0 0 14px #ff2a2a) drop-shadow(0 0 24px #cc0000); }
}

.pin-ring {
  position: absolute;
  top: 0; left: 0;
  width: 52px;
  height: 52px;
  opacity: 0;
  transition: opacity 0.35s;
}

.info-row:hover .pin-ring {
  opacity: 1;
  animation: ringspin 4s linear infinite;
}

@keyframes ringspin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* breach badge (location) */
.breach-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: 1px solid #cc0000;
  color: #ff2a2a;
  font-size: 8px;
  letter-spacing: 2px;
  padding: 2px 6px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s;
}

.info-row:hover .breach-badge {
  opacity: 1;
  animation: badgeglitch 3s steps(1) infinite;
}

@keyframes badgeglitch {
  0%, 90%, 100% { opacity: 1; transform: translateX(-50%) skewX(0deg); }
  91%           { opacity: 0.4; transform: translateX(-48%) skewX(-4deg); }
  93%           { opacity: 1; transform: translateX(-52%) skewX(2deg); }
  95%           { opacity: 0.6; transform: translateX(-50%) skewX(0deg); }
}

/* ─── NAVBAR ─── */
.navbar {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
  z-index: 20;
}

.nav-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: white;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 12px;
  letter-spacing: 3px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

/* ─── RADAR CANVAS ─── */
#radar {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ─── HERO TITLE ─── */
.hero-title {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  pointer-events: none;
  font-style: italic;
  text-align: center;
}

/* ─── CTA BUTTONS ─── */
.hero-cta {
  position: absolute;
  z-index: 10;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
}

.btn-primary,
.btn-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 42, 42, 0.5);
  color: #ff2a2a;
}

.btn-primary:hover {
  background: rgba(180, 20, 20, 0.2);
  border-color: #ff2a2a;
  box-shadow: 0 0 20px rgba(255, 42, 42, 0.3);
}

.btn-secondary {
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255,255,255,0.12);
  color: #aaa;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
  color: white;
}

/* ─── INFO BAR ─── */
.info-bar {
  position: absolute;
  z-index: 10;
  bottom: 28px;
  left: 0; right: 0;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #444;
  font-family: 'Courier New', monospace;
}

.info-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2a2a;
  box-shadow: 0 0 8px #ff2a2a;
  animation: dotpulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotpulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.info-bar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

/* nav-brand link in sub-pages */
.nav-brand a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
}

.nav-brand a:hover {
  color: #ccc;
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (≤ 768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {

  /* Loading */
  .logo { font-size: 52px; letter-spacing: 8px; }
  .bar  { width: 80vw; }

  /* Navbar */
  .navbar { padding: 18px 20px; flex-wrap: wrap; gap: 12px; }
  .nav-links { gap: 18px; }
  .nav-link  { font-size: 10px; letter-spacing: 2px; }

  /* Hero */
  .hero { cursor: auto; }
  .hero-title {
    font-size: clamp(28px, 8vw, 52px);
    white-space: normal;
    text-align: center;
    padding: 0 20px;
  }

  /* CTA buttons */
  .hero-cta {
    flex-direction: column;
    align-items: center;
    bottom: 12%;
    width: 90%;
    gap: 12px;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 11px;
  }

  /* Info bar */
  .info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    bottom: 16px;
    padding: 0 20px;
    font-size: 9px;
  }
  .info-bar-right { align-items: flex-start; }

  /* Contact */
  .contact {
    flex-direction: column;
    padding: 40px 24px;
    gap: 40px;
  }
  .contact-left, .contact-right { width: 100%; }
  .big-name { font-size: 56px; letter-spacing: 6px; }

  /* Sub-page grid */
  .placeholder-grid {
    grid-template-columns: 1fr !important;
    width: 90vw;
  }

  /* Sub-page title */
  .page-title { font-size: clamp(36px, 12vw, 72px) !important; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 480px)
   ═══════════════════════════════════════ */
@media (max-width: 480px) {

  /* Loading */
  .logo { font-size: 36px; letter-spacing: 5px; }
  .bar  { width: 85vw; }

  /* Navbar — stack brand + links */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 10px;
  }
  .nav-links { gap: 14px; flex-wrap: wrap; }

  /* Hero title */
  .hero-title {
    font-size: clamp(22px, 7vw, 40px);
    padding: 0 16px;
  }

  /* CTA */
  .hero-cta { bottom: 10%; }
  .btn-primary, .btn-secondary { font-size: 10px; padding: 11px 16px; }

  /* Info bar — hide right side on very small screens */
  .info-bar-right { display: none; }

  /* Contact */
  .contact { padding: 32px 18px; gap: 32px; }
  .contact-title { font-size: 11px; letter-spacing: 4px; }
  .big-name { font-size: 36px; letter-spacing: 3px; }

  /* Info rows */
  .info-row { font-size: 12px; gap: 12px; }
  .pin-wrap, .icon-wrap { width: 40px; height: 40px; }
  .pin-ring, .scan-ring { width: 40px; height: 40px; }

  /* Social links */
  .social a { font-size: 12px; margin-right: 14px; }

  /* Sub-page */
  .page-title   { font-size: clamp(28px, 10vw, 56px) !important; }
  .page-desc    { font-size: 11px !important; letter-spacing: 2px !important; }
  .back-btn     { font-size: 10px !important; padding: 10px 18px !important; }
  .placeholder-card { padding: 20px 16px !important; }
}