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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --bg: #0a0a0f;
  --bg-card: #131318;
  --text: #ffffff;
  --text-secondary: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(99, 102, 241, 0.4);
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Page container - full viewport */
.page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Background effects */
.bg-gradient {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    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: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Header */
.header {
  padding: 24px 48px;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
}

.logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  stroke: none;
}

/* Main content */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 48px;
  position: relative;
  z-index: 10;
}

.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Hero text */
.hero-text {
  max-width: 580px;
}

.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.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 4px 24px var(--glow),
    0 8px 32px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.2),
    0 8px 40px var(--glow),
    0 16px 48px rgba(0,0,0,0.5);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button .chrome-icon {
  flex-shrink: 0;
}

.cta-button .arrow-icon {
  transition: transform 0.3s;
}

.cta-button:hover .arrow-icon {
  transform: translateX(4px);
}

/* Features row */
.features-row {
  display: flex;
  gap: 28px;
  margin-top: 36px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.feature-item svg {
  color: #10b981;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.browser-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 50px rgba(0,0,0,0.5),
    0 0 100px rgba(99, 102, 241, 0.1);
  width: 360px;
}

.browser-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

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

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.browser-content {
  padding: 16px;
}

/* Profile cards */
.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.profile-card:last-child {
  margin-bottom: 0;
}

.profile-card:hover {
  background: rgba(255,255,255,0.03);
}

.profile-card.active {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.profile-stats {
  font-size: 12px;
  color: var(--text-secondary);
}

.profile-badge {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 6px;
}

.profile-proxy {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(20, 184, 166, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #14b8a6;
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: float 4s ease-in-out infinite;
}

.float-card svg {
  color: var(--primary);
}

.float-1 {
  top: 20px;
  right: -20px;
  animation-delay: 0s;
}

.float-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  color: var(--text-secondary);
  font-size: 13px;
  position: relative;
  z-index: 10;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 1200px) {
  h1 {
    font-size: 48px;
  }

  .content {
    gap: 60px;
  }
}

@media (max-width: 1024px) {
  .content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 600px;
    margin: 0 auto;
  }

  .features-row {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .header, .main, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  h1 {
    font-size: 36px;
  }

  .subtitle {
    font-size: 16px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .features-row {
    flex-wrap: wrap;
    gap: 16px;
  }
}
