/* ==========================================================================
   ULTRAMOUSE PRO — Showcase & Download Platform Stylesheet
   Theme: Obsidian Darkroom & Electric Cyan Accents
   ========================================================================== */

:root {
  --bg-deep: #06090a;
  --bg-surface: #0b1012;
  --bg-card: #101618;
  --bg-card-hover: #151d20;
  --bg-glass: rgba(16, 22, 24, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 220, 254, 0.35);
  --border-active: #00dcfe;

  --cyan-primary: #00dcfe;
  --cyan-bright: #b2efff;
  --cyan-glow: rgba(0, 220, 254, 0.25);
  --cyan-faint: rgba(0, 220, 254, 0.08);
  
  --amber-accent: #fdbf2b;
  --red-accent: #ffb4ab;

  --text-main: #f0f4f6;
  --text-muted: #859397;
  --text-dim: #5c686b;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 220, 254, 0.12) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  background-position: 0 0, -1px -1px, -1px -1px;
}

/* ── Global Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography Utilities ── */
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cyan-text {
  color: var(--cyan-primary);
}

.gradient-heading {
  background: linear-gradient(135deg, #ffffff 40%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Navigation Bar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--bg-card), #1b262a);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--cyan-glow);
}

.brand-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--cyan-primary);
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.badge-pro {
  background: rgba(0, 220, 254, 0.15);
  color: var(--cyan-primary);
  border: 1px solid rgba(0, 220, 254, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-cta-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}

.telemetry-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 22, 24, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
}

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

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

/* ── Hero Section ── */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--cyan-faint);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  color: var(--cyan-primary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--cyan-primary);
  color: #002229;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 0 28px rgba(0, 220, 254, 0.4);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--cyan-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0, 220, 254, 0.6);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.meta-download-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.hash-snippet {
  cursor: pointer;
  padding: 2px 6px;
  background: rgba(0, 220, 254, 0.1);
  border-radius: 4px;
  color: var(--cyan-primary);
}

.hash-snippet:hover {
  text-decoration: underline;
}

/* ── Interactive Phone Device Mockup ── */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 0 0 3px #283236,
    0 0 0 6px #12181a,
    0 30px 80px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 220, 254, 0.15);
  position: relative;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-deep);
  border-radius: 38px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
}

.phone-app-header {
  padding: 38px 14px 10px;
  background: rgba(8, 15, 18, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-pills {
  display: flex;
  gap: 6px;
}

.profile-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.profile-pill.active {
  background: rgba(0, 220, 254, 0.15);
  color: var(--cyan-primary);
  border-color: var(--border-glow);
}

.nle-deck-container {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.mini-hud {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.deck-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.deck-tile:hover, .deck-tile.active {
  border-color: var(--cyan-primary);
  background: rgba(0, 220, 254, 0.08);
}

.deck-tile span {
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}

.deck-tile small {
  font-size: 8px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Interactive Jog Dial in Mockup */
.jog-housing {
  background: #090e10;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.rotary-wheel {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, #1c2528 20%, #0d1214 70%);
  border: 2px solid #28363b;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.8);
  user-select: none;
}

.rotary-wheel:active {
  cursor: grabbing;
}

.dimple-dot {
  position: absolute;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan-primary);
  box-shadow: 0 0 10px var(--cyan-primary);
}

.wheel-center-hud {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(8, 15, 18, 0.95);
  border: 1px solid var(--border-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

/* ── Value Pillars Section ── */
.features-section {
  padding: 90px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 38px;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 12px 0;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--cyan-faint);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* ── Comparison Matrix / Pricing ── */
.pricing-section {
  padding: 90px 0;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.4);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 36px rgba(0, 220, 254, 0.2);
  background: linear-gradient(180deg, rgba(0, 220, 254, 0.05), var(--bg-card) 60%);
}

.pricing-card.featured::after {
  content: 'LAUNCH SPECIAL';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan-primary);
  color: #002229;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.tier-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tier-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0;
}

.tier-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.tier-features {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

.tier-features li.included {
  color: var(--text-main);
}

.check-icon {
  color: var(--cyan-primary);
  font-weight: 800;
}

/* ── FAQ Section ── */
.faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  font-size: 18px;
  transition: transform var(--transition-fast);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
  background: var(--bg-deep);
  color: var(--text-muted);
  font-size: 13px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Responsive Queries ── */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}
