/* AI Bytes Landing Page Styles */
/* Design System Variables */

:root {
  /* Colors - Orange Theme (matching Chrome extension) */
  --primary: hsl(24, 95%, 53%);
  --primary-light: hsl(24, 95%, 58%);
  --primary-dark: hsl(24, 95%, 45%);
  --accent: hsl(33, 100%, 50%);
  
  --background: hsl(250, 100%, 99%);
  --foreground: hsl(230, 15%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(230, 15%, 15%);
  --muted: hsl(240, 5%, 96%);
  --muted-foreground: hsl(240, 4%, 46%);
  --border: hsl(240, 6%, 88%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(24, 95%, 53%), hsl(33, 100%, 50%));
  --gradient-subtle: linear-gradient(135deg, hsl(24, 95%, 53%, 0.1), hsl(33, 100%, 50%, 0.1));
  --gradient-hero: linear-gradient(180deg, hsl(24, 95%, 53%, 0.05) 0%, transparent 50%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px hsl(240, 6%, 20%, 0.05);
  --shadow-md: 0 4px 6px -1px hsl(240, 6%, 20%, 0.08);
  --shadow-lg: 0 10px 30px -10px hsl(24, 95%, 53%, 0.2);
  --shadow-xl: 0 25px 50px -12px hsl(24, 95%, 53%, 0.25);
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --container-max: 1200px;
  --section-spacing: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--gradient-subtle);
  border-radius: var(--radius-full);
  border: 1px solid hsl(24, 95%, 53%, 0.2);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: hsl(0, 0%, 100%, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
  position: relative;
  padding: calc(var(--section-spacing) + 4rem) 0 var(--section-spacing);
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--gradient-hero);
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-image {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.hero-image img {
  width: 100%;
  height: auto;
  background: var(--muted);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Features Section */
.features {
  padding: var(--section-spacing) 0;
  background: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.coming-soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-icon-tools {
  background: hsl(24, 95%, 53%, 0.1);
  color: var(--primary);
}

.feature-icon-news {
  background: hsl(200, 80%, 50%, 0.1);
  color: hsl(200, 80%, 50%);
}

.feature-icon-learn {
  background: hsl(142, 76%, 36%, 0.1);
  color: hsl(142, 76%, 36%);
}

.feature-icon-community {
  background: hsl(280, 80%, 55%, 0.1);
  color: hsl(280, 80%, 55%);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: var(--section-spacing) 0;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 280px;
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-lg);
}

.step-arrow {
  font-size: 2rem;
  color: var(--muted-foreground);
  padding-top: 0.5rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* Sources Section */
.sources {
  padding: var(--section-spacing) 0;
  background: var(--card);
}

.sources-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.source-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.source-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.source-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--muted);
  border-radius: var(--radius-md);
  padding: 8px;
}

.source-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

/* FAQ Section */
.faq {
  padding: var(--section-spacing) 0;
  background: var(--muted);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--muted);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* CTA Section */
.cta {
  padding: var(--section-spacing) 0;
  background: var(--gradient-subtle);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  background: var(--foreground);
  color: hsl(0, 0%, 100%, 0.9);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
}

.footer-brand .logo-text {
  color: white;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: hsl(0, 0%, 100%, 0.6);
  margin-top: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(0, 0%, 100%, 0.5);
  margin-bottom: 1rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column a {
  font-size: 0.9375rem;
  color: hsl(0, 0%, 100%, 0.8);
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid hsl(0, 0%, 100%, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: hsl(0, 0%, 100%, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-spacing: 4rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .steps-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .sources-grid {
    gap: 1rem;
  }
  
  .source-item {
    padding: 1rem 1.25rem;
  }
}