/* CloudCostFlow POC2 — Shared Styles */

:root {
  --bg: #F5F0E8;
  --surface: #FFFDF8;
  --surface-alt: #F0EBE1;
  --text: #1C2B45;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --border: rgba(28,43,69,0.10);
  --accent: #C94B1A;
  --expensive: #A83428;
  --cheap: #1E6B5E;
  --info: #2563EB;
  --caution: #E8B830;
}

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

body { 
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; 
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Navigation */
.nav { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 16px 40px; 
  background: var(--surface);
  border-bottom: 1px solid rgba(28,43,69,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: border-color 0.3s;
  line-height: 1.4;
}

.nav.scrolled { 
  border-bottom-color: rgba(28,43,69,0.18); 
}

.nav-brand { 
  font-family: 'Playfair Display', serif;
  font-size: 1.3em; 
  font-weight: 700; 
  color: var(--accent);
  text-decoration: none;
}

.nav-links { 
  display: flex; 
  gap: 20px; 
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link { 
  color: var(--muted);
  text-decoration: none; 
  font-size: 0.95em;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover { 
  color: var(--text); 
}

/* Buttons */
a.btn-primary,
.btn-primary { 
  background: var(--accent);
  color: white;
  border: none; 
  padding: 14px 32px; 
  border-radius: 3px;
  font-size: 1em; 
  font-weight: 600;
  cursor: pointer; 
  text-decoration: none; 
  display: inline-block; 
  transition: opacity 0.2s;
}

a.btn-primary:hover,
.btn-primary:hover { 
  opacity: 0.85; 
}

.btn-secondary { 
  background: transparent; 
  color: var(--text);
  border: 1px solid rgba(28,43,69,0.15);
  padding: 13px 31px; 
  border-radius: 3px;
  font-size: 1em; 
  font-weight: 600;
  cursor: pointer; 
  text-decoration: none; 
  display: inline-block; 
  transition: opacity 0.2s;
}

.btn-secondary:hover { 
  opacity: 0.85; 
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

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

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted-2);
  font-size: 0.85em;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    gap: 14px;
  }
  .nav-link {
    font-size: 0.85em;
  }
}

@media (max-width: 768px) {
  .nav { 
    padding: 14px 24px; 
  }
  .nav-links {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.8em;
  }
  
  .footer {
    padding: 40px 24px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
