/**
 * PiDesk Landing Page - Header & Hero Section
 */

/* Header / Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 14px var(--accent-glow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 0.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.hero-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-install-snippet {
  margin-top: var(--space-sm);
}

/* Hero Noscript Fallback */
.hero-noscript {
  background: rgba(255, 42, 59, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  font-size: 0.9375rem;
}

.hero-noscript a {
  color: var(--accent-light);
  text-decoration: underline;
  font-weight: 600;
}

/* Hero App Window Showcase */
.hero-window-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  perspective: 1000px;
}

.hero-window {
  background: #0f1219;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 
    0 24px 64px -12px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(255, 42, 59, 0.15);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-window:hover {
  box-shadow: 
    0 32px 80px -12px rgba(0, 0, 0, 0.9),
    0 0 65px rgba(255, 42, 59, 0.25);
}

.window-titlebar {
  background: #141722;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  position: relative;
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-light {
  width: 11px;
  height: 11px;
  border-radius: var(--radius-full);
}

.traffic-close { background: #ff5f56; }
.traffic-min { background: #ffbd2e; }
.traffic-max { background: #27c93f; }

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.window-content {
  position: relative;
  background: #090b10;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}
