/**
 * BidRadar Landing Page Styles
 */

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

:root {
  --bg-dark: #1a1d21;
  --bg-card: #252a30;
  --bg-card-hover: #2f363e;
  --border-color: #3a424c;
  --text-primary: #f7fafc;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --accent: #63b3ed;
  --accent-hover: #4299e1;
  --success: #48bb78;
  --aurora-start: #667eea;
  --aurora-end: #764ba2;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(26, 29, 33, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--aurora-start), var(--aurora-end));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-cta {
  margin-bottom: 16px;
}

.hero-note {
  font-size: 14px;
  color: var(--text-muted);
}

.browser-mockup {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.browser-header {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}

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

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca40; }

.browser-content {
  padding: 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-content img {
  width: 100%;
  display: block;
}

.browser-content .placeholder {
  color: var(--text-muted);
  padding: 60px;
  text-align: center;
}

/* Sites Section */
.sites-section {
  text-align: center;
  padding: 60px 32px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.sites-section h2 {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 24px;
}

.sites-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.site-badge {
  padding: 8px 20px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Features Section */
.features-section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-section h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--aurora-start), var(--aurora-end));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 32px;
  background: var(--bg-card);
  text-align: center;
}

.pricing-section h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.pricing-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 40px;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 16px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.toggle-label.active {
  color: var(--text-primary);
  font-weight: 600;
}

.save-badge {
  background: var(--success);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border-color);
  border-radius: 26px;
  transition: 0.3s;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--aurora-start), var(--aurora-end));
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: left;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--aurora-start);
  box-shadow: 0 0 40px rgba(102, 126, 234, 0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--aurora-start), var(--aurora-end));
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.price {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.features-list {
  list-style: none;
  margin-bottom: 32px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.features-list svg {
  width: 20px;
  height: 20px;
  fill: var(--success);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* FAQ Section */
.faq-section {
  padding: 100px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-section h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
}

.faq-grid {
  display: grid;
  gap: 24px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 100px 32px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 60px 32px 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand .logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 8px;
}

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

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  padding: 6px 0;
  font-size: 14px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}

/* Legal Pages */
.legal-page {
  padding: 60px 32px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.last-updated {
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-page section {
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--accent);
}

.legal-page h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-page p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-page ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-page li {
  color: var(--text-secondary);
  padding: 4px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-image {
    order: -1;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links-grid {
    gap: 40px;
  }

  .nav-links {
    display: none;
  }
}
