/* Brand Colors */
:root {
  --brand-red: #AF0006;
  --brand-navy: #161D28;
  --off-white: #FAFBFB;
  --on3-orange: #ff6b35;
  --two47-blue: #003087;
  --reddit-orange: #ff4500;
  --x-black: #000000;

  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --border-color: #e0e0e0;
}

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

/* Base */
html {
  scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 48px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--brand-red);
  color: white;
}

.btn-primary:hover {
  background: #8f0005;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(175, 0, 6, 0.3);
}

.btn-secondary {
  background: var(--brand-navy);
  color: white;
}

.btn-secondary:hover {
  background: #0d1219;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo img {
  display: block;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
}

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

.nav-links .btn {
  color: white;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-badges {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-badge svg {
  color: var(--brand-red);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Features */
.features {
  padding: 100px 0;
}

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

.feature-card {
  text-align: center;
  padding: 32px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--brand-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

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

.feature-card p {
  color: var(--text-secondary);
}

/* Platforms */
.platforms {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.platform-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.platform {
  text-align: center;
  padding: 32px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.platform-name {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.platform-name.on3 {
  background: var(--on3-orange);
  color: white;
}

.platform-name.two47 {
  background: var(--two47-blue);
  color: white;
}

.platform-name.reddit {
  background: var(--reddit-orange);
  color: white;
}

.platform-name.x {
  background: var(--x-black);
  color: white;
}

.platform p {
  color: var(--text-secondary);
}

.platform-badge {
  display: inline-block;
  background: var(--brand-red);
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
}

/* Pricing */
.pricing {
  padding: 100px 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

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

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

.pricing-card.featured {
  background: white;
  border: 2px solid var(--brand-red);
  box-shadow: 0 8px 32px rgba(175, 0, 6, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-red);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.price-annual {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.price-savings {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-red) 0%, #d44045 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: 700;
}

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

/* Footer */
footer {
  background: var(--brand-navy);
  color: var(--off-white);
  padding: 64px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  color: #8a9bae;
}

.footer-links h4 {
  margin-bottom: 16px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  color: #8a9bae;
  text-decoration: none;
  padding: 4px 0;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #2a3240;
  text-align: center;
}

.footer-bottom p {
  color: #8a9bae;
  font-size: 0.875rem;
}

.footer-bottom p + p {
  margin-top: 8px;
}

/* Legal Pages */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  text-align: left;
  background: none;
  -webkit-text-fill-color: var(--text-primary);
}

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

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

.legal-section h2 {
  font-size: 1.25rem;
  text-align: left;
  margin-bottom: 16px;
  color: var(--brand-navy);
}

.legal-section h3 {
  font-size: 1rem;
  margin: 24px 0 12px;
  color: var(--text-primary);
}

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

.legal-section ul {
  margin: 12px 0;
  padding-left: 24px;
  color: var(--text-secondary);
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--brand-red);
}

.legal-section a:hover {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-cta {
    align-items: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 280px;
  }

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

  .platform-logos {
    grid-template-columns: 1fr;
  }

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

  .pricing-card.featured {
    order: -1;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
