/* X Pulse Landing Page Styles */

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

:root {
  --bg-dark: #0A0F1E;
  --surface: #111827;
  --card-bg: #1A2234;
  --primary: #FFFFFF;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(135deg, #1E3A8A, #3B82F6, #FFFFFF);
}

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

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

/* Header */
header {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  padding: 80px 0 120px;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.app-badge {
  height: 50px;
  transition: opacity 0.2s;
}

.app-badge:hover {
  opacity: 0.8;
}

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

.section-label {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 48px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: -4px -4px 20px rgba(59, 130, 246, 0.15);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: -6px -6px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

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

/* Stats Row */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  text-align: center;
}

.cta h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
  letter-spacing: -1px;
}

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

.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: var(--primary);
  padding: 16px 48px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 24px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0;
  background: var(--surface);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

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

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

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* Policy Pages */
.policy-page {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.policy-page h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.policy-page .date {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 40px;
}

.policy-page h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--primary);
}

.policy-page p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.policy-page ul {
  color: var(--text-secondary);
  margin-left: 24px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.policy-page a {
  color: #3B82F6;
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  transition: border-color 0.2s;
}

.policy-page a:hover {
  border-color: #3B82F6;
}

.contact-info {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0;
}

.contact-info a {
  color: #3B82F6;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    gap: 20px;
  }

  nav a {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 18px;
  }

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

  .stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta h2 {
    font-size: 32px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  .policy-page h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 60px 0 80px;
  }

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

  .features {
    padding: 60px 0;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .cta {
    padding: 60px 0;
  }
}
