:root {
  /* Color Palette - Solana & La Familia Fusion */
  --color-bg: #050505;
  --color-surface: #111111;
  --color-border: #222222;
  --color-text-main: #FFFFFF;
  --color-text-muted: #888888;
  --color-accent: #14F195; /* Solana Green */
  --color-accent-alt: #9945FF; /* Solana Purple */
  --color-spanish-red: #AA1916; /* Subdued Spanish Red for heritage */
  --color-spanish-gold: #F1BF00; /* Subdued Spanish Gold */
  
  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: 4rem;
  --space-xl: 8rem;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-display);
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Components */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-m);
}

.section {
  padding: var(--space-xl) 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-alt));
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: var(--space-m);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-radius: 20px;
  margin-bottom: var(--space-s);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  margin-bottom: var(--space-m);
}

.hero-footer {
  margin-top: var(--space-l);
  display: flex;
  gap: var(--space-l);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-m);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.stat-value {
  font-weight: 700;
  font-size: 1.2rem;
}

/* Product Cards & Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: var(--space-m);
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
}

.product-image {
  aspect-ratio: 4/5;
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mockup Placeholder Styling */
.placeholder-mockup {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111), 
                    linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-m);
  text-align: center;
}

.mockup-item-outline {
  width: 80%;
  height: 70%;
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-s);
}

.mockup-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.product-info {
  padding: var(--space-m);
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Feature Blocks */
.features {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-s);
  color: var(--color-accent);
}

/* Concept Section */
.concept-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-l);
  align-items: center;
}

.concept-image {
  aspect-ratio: 1;
  background: #111;
  border: 1px solid var(--color-border);
  padding: var(--space-m);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.design-element {
  border: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-s);
  border-radius: 4px;
}

/* Utility Classes for Migration */
.text-accent { color: var(--color-accent); }
.text-accent-alt { color: var(--color-accent-alt); }
.text-muted { color: var(--color-text-muted); }
.max-width-600 { max-width: 600px; }
.max-width-800 { max-width: 800px; }
.margin-b-m { margin-bottom: var(--space-m); }
.margin-b-l { margin-bottom: var(--space-l); }
.margin-t-10 { margin-top: 10px; }
.font-size-1-25 { font-size: 1.25rem; }
.font-size-1-5 { font-size: 1.5rem; }
.font-size-3 { font-size: 3rem; }
.font-weight-900 { font-weight: 900; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-10 { gap: 10px; }
.circle-element { width: 40px; height: 40px; border-radius: 50%; border: 2px solid currentColor; }
.square-element { width: 40px; height: 40px; border: 2px solid currentColor; }
.diamond-element { width: 40px; height: 40px; border: 2px solid currentColor; transform: rotate(45deg); }
.btn-outline { background: transparent; border: 1px solid var(--color-border); color: white; }
.section-dark-gradient { background: linear-gradient(to bottom, var(--color-bg), #0a0a0a); }
.text-center { text-align: center; }

/* Footer */
footer {
  padding: var(--space-l) 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-logo {
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: var(--space-s);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-m);
  margin-top: var(--space-m);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* Custom UI Elements */
.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-text-main);
  color: var(--color-bg);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

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

.london-mark {
  font-family: var(--font-mono);
  background: var(--color-accent-alt);
  color: white;
  padding: 2px 6px;
  font-size: 0.6rem;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
  .product-grid, .feature-grid, .concept-display {
    grid-template-columns: 1fr;
  }
  
  .hero-footer {
    flex-wrap: wrap;
    gap: var(--space-m);
  }
}
