/* SpaceX Design System - Styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&family=Outfit:wght@400;600;800&display=swap');

:root {
  /* SpaceX Color Palette */
  --bg-deep: #050505;
  --bg-section: #101010;
  --primary-blue: #005288;
  --primary-blue-glow: rgba(0, 82, 136, 0.4);
  --accent-blue: #00A3E0;
  --text-main: #E5E5E5;
  --text-dim: #A0A0A0;
  --white: #FFFFFF;
  --silver: #C0C0C0;
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--white);
}

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

ul {
  list-style: none;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--white);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
}

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

.auth-btns {
  display: flex;
  gap: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-login {
  background: transparent;
  border: 1px solid var(--text-dim);
  color: var(--white);
}

.btn-login:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-signup {
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 15px var(--primary-blue-glow);
}

.btn-signup:hover {
  background: #0063a5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-blue-glow);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.9) 100%);
  z-index: 1;
}

/* Page Specific Heros */
.hero-main { background-image: url('assets/hero_space.png'); }
.hero-forex { background-image: url('../assets/forex_chart.png'); }
.hero-stocks { background-image: url('../assets/stock_market.png'); }
.hero-trade { background-image: url('../assets/trading_platform.png'); }


.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, #ffffff 50%, #888888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 80px 5%;
  background: var(--bg-section);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Market Cards */
.markets {
  padding: 100px 5%;
  text-align: center;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.market-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  text-align: left;
}

.market-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-blue);
  transform: translateY(-5px);
}

.market-card h3 {
  margin-bottom: 15px;
}

.market-card p {
  color: var(--text-dim);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.market-card a {
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Footer */
footer {
  background: #000;
  padding: 80px 5% 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .nav-links { display: none; }
}
