/* === WAMMSSEE LAKE MAPPER — PREMIUM NAUTICAL WEBSITE === */
/* Luxury instrument interface. No bootstrap. No templates. */

:root {
  --abyss: #050F1A;
  --deep: #0A1929;
  --surface: #132238;
  --surface-hi: #1B3352;
  --cyan: #00BFFF;
  --cyan-muted: #0080CC;
  --cyan-glow: rgba(0, 191, 255, 0.12);
  --amber: #FFB347;
  --text-primary: #E8F1F8;
  --text-secondary: #8BA3BE;
  --text-muted: #4A6585;
  --steel: #4A6585;
  --glass-bg: rgba(10, 25, 41, 0.72);
  --glass-border: rgba(0, 229, 204, 0.15);
  --font-mono: 'Roboto Mono', monospace;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* === CANVAS BACKGROUND === */
#deepSea {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* === NAVIGATION === */
.nav-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5,15,26,0.95) 0%, rgba(5,15,26,0.7) 60%, transparent 100%);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-spin {
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.logo-accent {
  color: var(--cyan);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.nav-link:hover {
  color: var(--cyan);
  background: var(--cyan-glow);
}

.nav-cta {
  background: var(--cyan-glow);
  border: 1px solid var(--glass-border);
  color: var(--cyan);
}

.nav-cta:hover {
  background: rgba(0, 229, 204, 0.2);
  box-shadow: 0 0 20px rgba(0, 229, 204, 0.15);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan-muted);
  background: var(--cyan-glow);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-glow {
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cyan);
  color: var(--abyss);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(0, 229, 204, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 204, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--surface-hi);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0066CC 0%, #0088FF 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--surface-hi), transparent);
}

/* Floating depth markers */
.hero-floaters {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.floater {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--abyss);
  box-shadow: 0 0 20px var(--c);
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0.15;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* === DEPTH BAR === */
.depth-bar {
  position: relative;
  z-index: 1;
  display: flex;
  height: 4px;
  margin: 0 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2px;
  overflow: hidden;
}

.depth-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #7FFFD4, #00CED1, #008B8B, #2E3A87, #1A0F3C);
}

.depth-label {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  padding-top: 12px;
  letter-spacing: 0.5px;
}

/* === SECTIONS === */
.features, .gallery, .download, .guide {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
}

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: linear-gradient(135deg, rgba(19, 34, 56, 0.6), rgba(10, 25, 41, 0.8));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 204, 0.3);
  box-shadow: 0 12px 40px rgba(0, 229, 204, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === GALLERY === */
.gallery-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.phone-mockup {
  position: relative;
  flex-shrink: 0;
}

.phone-frame {
  width: 280px;
  height: 570px;
  background: var(--surface);
  border-radius: 36px;
  padding: 8px;
  border: 2px solid var(--surface-hi);
  box-shadow: 
    0 0 0 1px rgba(0, 229, 204, 0.1),
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 229, 204, 0.05);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: var(--abyss);
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  display: block;
}

.phone-reflection {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 40%);
  pointer-events: none;
}

.gallery-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid var(--surface-hi);
  color: var(--text-secondary);
  padding: 14px 20px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  min-width: 180px;
}

.gallery-btn:hover, .gallery-btn.active {
  border-color: var(--cyan);
  background: var(--cyan-glow);
  color: var(--text-primary);
}

.btn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 8px var(--color);
  flex-shrink: 0;
}

/* === DOWNLOAD === */
.download {
  display: flex;
  justify-content: center;
  padding: 80px 24px;
}

.download-card {
  position: relative;
  max-width: 640px;
  width: 100%;
  background: linear-gradient(135deg, rgba(19, 34, 56, 0.8), rgba(10, 25, 41, 0.9));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  overflow: hidden;
}

.download-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.15), transparent 70%);
  pointer-events: none;
}

.download-content {
  position: relative;
  z-index: 1;
}

.download-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.download-desc {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.download-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.meta-item svg {
  flex-shrink: 0;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-muted));
  color: var(--abyss);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  padding: 18px 32px;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(0, 229, 204, 0.25);
  margin-bottom: 20px;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 204, 0.4);
}

.download-hint {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.download-hint strong {
  color: var(--text-secondary);
}

/* === GUIDE === */
.guide-timeline {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.guide-step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-left: 2px solid var(--surface-hi);
  margin-left: 24px;
  padding-left: 32px;
  position: relative;
}

.guide-step:last-child {
  border-left-color: transparent;
}

.step-number {
  position: absolute;
  left: -17px;
  top: 32px;
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 204, 0.2);
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  position: relative;
  z-index: 1;
  padding-top: 60px;
}

.footer-waves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
}

.footer-waves svg {
  width: 100%;
  height: 100%;
}

.footer-content {
  background: var(--deep);
  padding: 48px 24px 32px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-stats {
    gap: 16px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-showcase {
    flex-direction: column;
  }
  
  .phone-frame {
    width: 240px;
    height: 490px;
  }
  
  .download-card {
    padding: 32px 24px;
  }
  
  .guide-step {
    padding-left: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
