/* ========================================
   US CRITICAL METALS CORPORATION
   Professional Industrial Minimalist Design
   Navy (#0a1a2f) + Gold (#c9a03d) Palette
   ======================================== */

/* Root Variables */
:root {
  --primary-dark: #0a1a2f;
  --primary-navy: #0f2a3f;
  --primary-steel: #1e3a5f;
  --accent-gold: #c9a03d;
  --accent-gold-light: #e0b354;
  --accent-copper: #b87333;
  --text-light: #f0f4f8;
  --text-muted: #9aaebf;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-light);
  color: #1a2a3a;
  line-height: 1.6;
  font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', monospace;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

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

h2 {
  font-size: 2.8rem;
  font-weight: 700;
}

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

h4 {
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  line-height: 1.8;
  color: #4b5563;
}

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

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

/* ========================================
   NAVIGATION BAR
   ======================================== */

nav {
  background: rgba(10, 26, 47, 0.98);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid rgba(201, 160, 61, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

nav.scrolled {
  padding: 0.8rem 2rem;
  background: rgba(10, 26, 47, 0.99);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-image {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo:hover .logo-image {
  transform: scale(1.05);
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(201, 160, 61, 0.3);
}

.logo-text h1 {
  font-size: 1.3rem;
  color: white;
  margin: 0;
  display: none;
}

.logo-text p {
  font-size: 0.7rem;
  color: var(--accent-gold);
  letter-spacing: 1px;
  margin: 0;
  display: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

.mobile-menu {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-steel) 50%, var(--primary-dark) 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBmaWxsPSIjYzlhMDNkIiBmaWxsLW9wYWNpdHk9IjAuMDMiIGQ9Ik0wIDBoNDB2NDBIMHoiLz48cGF0aCBkPSJNMjAgMjBsMTAgMTBtLTEwLTEwTDEwIDMwbTEwLTEwTDEwIDEwbTEwIDEwbDEwLTEwIiBzdHJva2U9IiNjOWEwM2QiIHN0cm9rZS13aWR0aD0iMC41IiBmaWxsPSJub25lIi8+PC9zdmc+') repeat;
  opacity: 0.1;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h2 {
  font-size: 1.2rem;
  color: var(--accent-gold);
  letter-spacing: 4px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-text h1 {
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-image {
  background: linear-gradient(145deg, rgba(30, 58, 95, 0.6), rgba(10, 26, 47, 0.8));
  border-radius: 24px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 160, 61, 0.3);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent-gold);
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 15px rgba(201, 160, 61, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-gold-light);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 160, 61, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-dark {
  background: var(--primary-dark);
  color: var(--text-light);
}

.section-dark .section-title,
.section-dark .section-subtitle {
  color: white;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--primary-steel);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-top: 1.5rem;
}

.section-dark .section-subtitle {
  color: var(--text-muted);
}

/* ========================================
   GRIDS
   ======================================== */

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.four-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* ========================================
   CARDS
   ======================================== */

.card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.card p {
  color: #6b7280;
  font-size: 1rem;
}

.card-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 160, 61, 0.1);
  color: var(--text-light);
}

.card-dark h3 {
  color: white;
}

.card-dark p {
  color: var(--text-muted);
}

/* ========================================
   BADGES
   ======================================== */

.badge {
  display: inline-block;
  background: rgba(201, 160, 61, 0.1);
  color: var(--accent-gold);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

/* ========================================
   STATS GRID
   ======================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(201, 160, 61, 0.05), rgba(30, 58, 95, 0.05));
  border-radius: 24px;
  border: 1px solid rgba(201, 160, 61, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-item h4 {
  color: var(--accent-gold);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   VALUE ITEMS
   ======================================== */

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.value-item h3 {
  color: white;
  margin-bottom: 1rem;
}

.value-item p {
  color: var(--text-muted);
}

/* ========================================
   TIMELINE
   ======================================== */

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 2.5rem;
  position: relative;
  padding-left: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--accent-gold);
  border-radius: 50%;
  border: 3px solid var(--card-bg);
  box-shadow: 0 0 0 3px var(--accent-gold);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: calc(100% + 2rem);
  background: var(--accent-gold);
  opacity: 0.3;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-year {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(201, 160, 61, 0.2);
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 2rem;
}

.footer-grid a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-grid a:hover {
  color: var(--accent-gold);
}

.footer-grid h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 160, 61, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  max-width: 1400px;
  margin: 0 auto;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out forwards;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    height: 300px;
  }

  .hero {
    padding: 6rem 1rem 2rem;
    margin-top: 60px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 26, 47, 0.98);
    border-top: 1px solid rgba(201, 160, 61, 0.2);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    z-index: 999;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 0;
    border-radius: 12px;
  }

  .mobile-menu {
    display: block;
  }

  .nav-container {
    gap: 1rem;
  }

  .two-col-grid,
  .three-col-grid,
  .four-col-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

  .nav-links {
    display: none;
  }

  .section {
    padding: 2rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .hero {
    padding: 5rem 1rem 2rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .timeline-item {
    flex-direction: column;
    padding-left: 1.5rem;
  }

  .timeline-item::after {
    left: 8px;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.text-gold {
  color: var(--accent-gold);
}

.text-white {
  color: white;
}

.text-muted {
  color: var(--text-muted);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

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

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

.justify-between {
  justify-content: space-between;
}
