/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  padding: 160px 24px 80px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 32px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

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

/* Social Proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: var(--gradient-1);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:nth-child(2) { background: var(--gradient-2); }
.avatar:nth-child(3) { background: var(--gradient-3); }
.avatar:nth-child(4) { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); }
.avatar:last-child {
  background: var(--surface);
  color: var(--text2);
}

.stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
}

.hero-social-proof span {
  font-size: 14px;
  color: var(--text2);
}

/* Hero Visual - Browser Mockup */
.hero-visual {
  margin-top: 64px;
  perspective: 1000px;
}

.browser-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(99, 102, 241, 0.15);
  transform: rotateX(5deg);
  transition: transform var(--transition-slow);
}

.browser-mockup:hover {
  transform: rotateX(0deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dot:nth-child(1) { background: #ef4444; }
.browser-dot:nth-child(2) { background: #f59e0b; }
.browser-dot:nth-child(3) { background: #10b981; }

.browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text2);
}

.browser-content {
  display: grid;
  grid-template-columns: 1fr 280px;
  min-height: 320px;
}

.browser-page {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skel {
  background: var(--bg-elevated);
  border-radius: 6px;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; }
}

/* Extension Panel */
.browser-extension-panel {
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ext-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ext-logo {
  width: 44px;
  height: 44px;
  background: var(--gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  color: white;
}

.ext-name {
  font-weight: 700;
  font-size: 16px;
}

.ext-version {
  font-size: 12px;
  color: var(--text3);
}

.ext-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
}

.status-dot-green {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s ease-in-out infinite;
}

.ext-connect-btn {
  padding: 12px;
  background: var(--error);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.ext-connect-btn:hover {
  opacity: 0.9;
}

.ext-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ext-stat {
  text-align: center;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius-md);
}

.ext-stat-label {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.ext-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text1);
}

.ext-server {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius-md);
  margin-top: auto;
}

.server-flag {
  font-size: 24px;
}

.server-info {
  flex: 1;
}

.server-name {
  font-weight: 600;
  font-size: 14px;
}

.server-ping {
  font-size: 12px;
  color: var(--text3);
}

.server-signal {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.signal-bar {
  width: 4px;
  background: var(--success);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 140px 16px 60px;
  }
  
  .browser-content {
    grid-template-columns: 1fr;
  }
  
  .browser-extension-panel {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}