/* CSS Variables for theming - matching extension styles */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #EFEDED;
  --bg-hover: #dbdbdb;
  --text-primary: #3c3c3c;
  --text-secondary: #959595;
  --border-color: rgba(0, 0, 0, 0.2);
  --accent-color: #1a1a1a;
  --accent-hover: #000000;
  --accent-text: #ffffff;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Dark mode - auto switches based on OS preference */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #3C3C3C;
    --bg-secondary: #282828;
    --bg-hover: #505050;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.06);
    --accent-color: #ffffff;
    --accent-hover: #e5e5e5;
    --accent-text: #1a1a1a;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  }
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.header {
  padding: 2.5rem 4rem;
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #a855f7 100%);
  transition: transform 0.3s ease;
}

.logo:hover .logo-circle {
  transform: scale(1.05);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

.install-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  color: var(--text-primary);
}

.install-btn:hover {
  border-color: var(--text-secondary);
  background-color: var(--bg-secondary);
}

.chrome-icon {
  width: 20px;
  height: 20px;
}

/* Main Content */
.main {
  flex: 1;
  padding: 2rem 0 32px;
  padding-left: 0px;
  padding-right: 0px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  height: fit-content;
}

/* Hero */
.hero {
  margin-bottom: 5rem;
}

.hero-title {
  font-family: 'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 57px;
  font-weight: 600;
  line-height: 62px;
  letter-spacing: -0.6px;
  color: var(--text-primary);
  width: 100%;
}

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.feature-item {
  width: 100%;
}

.feature-title {
  font-family: 'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer */
.footer {
  padding: 2rem 4rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-right {
  display: flex;
  gap: 2rem;
}

.footer-link {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 1.5rem 1.5rem;
  }
  
  .header-nav {
    gap: 1rem;
  }
  
  .nav-link {
    display: none;
  }
  
  .install-btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
  
  .main {
    padding: 1.5rem 1.5rem 4rem;
  }
  
  .hero {
    margin-bottom: 3.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .features {
    gap: 2.5rem;
  }
  
  .feature-title {
    font-size: 1.25rem;
  }
  
  .footer {
    padding: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-right {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-circle {
    width: 44px;
    height: 44px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .feature-title {
    font-size: 1.125rem;
  }
  
  .feature-desc {
    font-size: 0.9375rem;
  }
}
