/**
 * Volume Shared Styles
 * Canonical nav and footer styles for all Volume pages
 * Source of truth - do not duplicate in individual pages
 */

/* ================================
   CSS VARIABLES
   ================================ */
:root {
  --pearl-white: #FDFCFA;
  --pearl-soft: #F8F7F5;
  --pearl-mid: #F3F2F0;
  --pearl-deep: #E8E6E4;
  --pearl-warm: #FAF9F7;
  --pearl-ivory: #F8F6F1;
  --pearl-silver: #E8E6E3;
  --iri-purple: #8A7ABB;
  --iri-blue: #7A9ACA;
  --iri-teal: #6ABABA;
  --iri-green: #7BC9A0;
  --text-dark: #1A1A1E;
  --text-mid: #4A4A50;
  --text-muted: #7A7A82;
  --text-light: #9A9AA2;
  --graphite: #1C1C1E;
  --charcoal: #3A3A3C;
  --slate: #636366;
  --silver: #8E8E93;
  --dark-pearl: #3A3845;
  --font-display: 'Satoshi', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================
   GLOBAL RESETS
   ================================ */
html {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

/* Prevent horizontal overflow from decorative elements */
main,
section,
.hero,
.footer,
.page-header,
.coming-soon {
  overflow-x: hidden;
}

/* ================================
   NAVIGATION
   ================================ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background: linear-gradient(180deg, rgba(253, 252, 250, 0.95) 0%, rgba(248, 246, 241, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--pearl-deep);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: linear-gradient(135deg, #5A5A68 0%, #6A6A7A 20%, #7A7A8C 35%, #8A8A9C 50%, #7A7A8C 65%, #6A6A7A 80%, #5A5A68 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-center a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-center a:hover {
  color: var(--text-dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-login {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--iri-purple) !important;
  font-weight: 500 !important;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--iri-teal) !important;
}

.nav-cta {
  background: linear-gradient(135deg, var(--iri-purple), var(--iri-teal)) !important;
  color: white !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500 !important;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(138, 122, 187, 0.25);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(138, 122, 187, 0.35);
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: linear-gradient(180deg, #2D2D35 0%, #28282F 50%, #232328 100%);
  padding: 60px 60px 40px;
  position: relative;
}

.footer-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(138, 122, 187, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 100%, rgba(106, 186, 186, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(138, 122, 187, 0.4) 25%,
    rgba(122, 154, 202, 0.5) 50%,
    rgba(106, 186, 186, 0.4) 75%,
    transparent 100%);
}

.footer-main {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #A8A8B8 0%, #B8B8C8 20%, #A8C0C8 40%, #A0C8C8 50%, #A8C0C8 60%, #B8B8C8 80%, #A8A8B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand .footer-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.footer-column {
  position: relative;
  z-index: 1;
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-column a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ================================
   RESPONSIVE - NAV & FOOTER
   ================================ */
@media (max-width: 1024px) {
  .footer {
    padding: 50px 32px 30px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }
  .nav-center {
    display: none;
  }
  .footer {
    padding: 40px 20px 25px;
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  .footer-column h4 {
    margin-bottom: 12px;
  }
  .footer-column li {
    margin-bottom: 8px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 12px 16px;
  }
  .nav-logo {
    font-size: 1.1rem;
  }
  .footer {
    padding: 30px 16px 20px;
  }
  .footer-main {
    gap: 16px;
  }
  .footer-column h4 {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
  }
  .footer-column a {
    font-size: 0.8rem;
  }
  .footer-copy {
    font-size: 0.75rem;
  }
}
