/* XForge Landing Page - Bold Industrial Forge Style */

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

:root {
  --bg-dark: #060D1F;
  --bg-surface: #0D1B35;
  --bg-card: #0F2040;
  --accent-blue: #3B82F6;
  --blue-dark: #1E40AF;
  --blue-light: #E0F2FE;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.55);
  --border-color: rgba(59, 130, 246, 0.2);
}

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;
  min-height: 100vh;
}

/* Header */
header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(180deg, #1E40AF 0%, #3B82F6 50%, #E0F2FE 100%);
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: "X";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 35rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.app-badge {
  display: inline-block;
  transition: transform 0.2s;
}

.app-badge:hover {
  transform: scale(1.05);
}

.app-badge img {
  height: 60px;
  width: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  text-align: center;
  color: var(--text-primary);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-blue);
  padding: 1.5rem;
  border-radius: 4px;
  transition: transform 0.2s, border-left-color 0.2s;
}

.feature-card:hover {
  transform: translateX(4px);
  border-left-color: var(--blue-light);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

/* Stats Section */
.stats {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  margin: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent-blue);
  display: inline-block;
  padding-bottom: 0.25rem;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-surface);
  margin: 3rem 0;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.cta h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

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

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

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Content Pages */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content-page h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.content-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.content-page p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-page ul {
  color: var(--text-secondary);
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-page a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.content-page a:hover {
  color: var(--blue-light);
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-blue);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.contact-box p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-button {
  display: inline-block;
  background: var(--accent-blue);
  color: var(--text-primary);
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s;
}

.contact-button:hover {
  background: var(--blue-light);
  color: var(--bg-dark);
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  nav a {
    margin-left: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 5rem;
  }

  .hero::before {
    font-size: 45rem;
  }

  .container {
    padding: 5rem 1.5rem;
  }
}
