/* ===== NIVORA — SHARED STYLES ===== */

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: #faf8f5;
  color: #2c2416;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Page Wrapper --- */
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.page-wrapper main { flex: 1; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf8f5; }
::-webkit-scrollbar-thumb { background: #c8a45c; border-radius: 4px; }

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 60px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 2px solid #e8d5a3;
  box-shadow: 0 2px 30px rgba(200,164,92,0.08);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1a1a2e;
  text-decoration: none;
}
.logo .emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #c8a45c;
  border-radius: 50%;
  font-size: 18px;
  color: #c8a45c;
  background: linear-gradient(135deg, #faf8f5, #f0e8d0);
  box-shadow: 0 0 20px rgba(200,164,92,0.15);
}
.logo .gold { color: #c8a45c; }
.logo .dark { color: #1a1a2e; }

nav { display: flex; align-items: center; gap: 36px; }
nav a {
  color: #6b5a3e;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.3s;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #c8a45c;
  transition: width 0.3s;
}
nav a:hover { color: #c8a45c; }
nav a:hover::after { width: 100%; }
nav a.active { color: #c8a45c; }
nav a.active::after { width: 100%; }

.nav-sep { display: inline-block; width: 1px; height: 18px; background: #e8d5a3; }
.nav-extra { margin-left: 4px; }

.header-btns { display: flex; gap: 12px; align-items: center; }

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Mobile Nav --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid #e8d5a3;
  padding: 20px 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #6b5a3e;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid #f0e8d0;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: #c8a45c; }
.mobile-nav a.active { color: #c8a45c; }
.mobile-nav .mobile-btns {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.mobile-nav .mobile-btns .btn-gold {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Buttons --- */
.btn-gold {
  padding: 12px 32px;
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-gold-primary {
  background: linear-gradient(135deg, #c8a45c, #b8943a, #c8a45c);
  background-size: 200% 100%;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(200,164,92,0.35);
  position: relative;
  overflow: hidden;
}
.btn-gold-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}
.btn-gold-primary:hover::before { left: 100%; }
.btn-gold-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,164,92,0.45);
}
.btn-gold-outline {
  background: transparent;
  color: #c8a45c;
  border: 1.5px solid #c8a45c;
}
.btn-gold-outline:hover {
  background: rgba(200,164,92,0.06);
  transform: translateY(-2px);
}
.btn-gold-sm {
  padding: 8px 20px;
  font-size: 12px;
}

/* --- Page Header --- */
.page-header {
  text-align: center;
  padding: 130px 24px 60px;
  background: linear-gradient(135deg, #faf8f5 30%, #f5efdf 70%, #f0e8d0 100%);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,164,92,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,26,46,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #8a7a5a;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.page-header .breadcrumb a {
  color: #c8a45c;
  text-decoration: none;
  transition: color 0.3s;
}
.page-header .breadcrumb a:hover { color: #b8943a; }
.page-header .breadcrumb span { color: #a89878; }
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.page-header p {
  font-size: clamp(15px, 2vw, 18px);
  color: #6b5a3e;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* --- Section Styling --- */
.section-padding { padding: 80px 60px; }
.section-padding-narrow { padding: 60px 60px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 860px; margin: 0 auto; }

.section-label {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  color: #c8a45c;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: #6b5a3e;
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* --- Cards --- */
.card {
  background: #ffffff;
  border: 1px solid #e8d5a3;
  border-radius: 18px;
  padding: 36px 32px;
  transition: all 0.4s;
  position: relative;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c8a45c, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover::after { opacity: 1; }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(200,164,92,0.1);
  border-color: #c8a45c;
}

/* --- Form Elements --- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #8a7a5a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e8d5a3;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #2c2416;
  background: #faf8f5;
  transition: all 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #c8a45c;
  box-shadow: 0 0 0 3px rgba(200,164,92,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }


/* --- nivora Logo --- */
.nivora-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  color: #1a1a2e;
}
.nivora-text .gold { color: #c8a45c; }

/* --- Emoji Replacement Icons --- */
.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #c8a45c;
  background: linear-gradient(135deg, #faf8f5, #f0e8d0);
  border: 1px solid #e8d5a3;
  flex-shrink: 0;
}
.ico-sm {
  width: 36px;
  height: 36px;
  font-size: 13px;
  border-radius: 10px;
}
.ico-lg {
  width: 48px;
  height: 48px;
  font-size: 20px;
  border-radius: 14px;
}
.service-icon .ico {
  font-size: 18px;
}
.fm-icon .ico {
  width: 52px;
  height: 52px;
  font-size: 20px;
  border-radius: 14px;
}

/* --- CoinGecko Ticker --- */
.coingecko-ticker {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 60px;
}
@media (max-width: 768px) {
  .coingecko-ticker { padding: 0 20px; }
}

/* --- nivora pages social button --- */
.social-btn-nivora {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid #e8d5a3;
  border-radius: 50%;
  color: #8a7a5a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}
.social-btn-nivora:hover {
  border-color: #c8a45c;
  color: #c8a45c;
  background: rgba(200,164,92,0.06);
}

/* --- Footer --- */
footer {
  border-top: 1px solid #e8d5a3;
  padding: 60px 60px 30px;
  background: #ffffff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: #8a7a5a;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: #8a7a5a;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-col a:hover { color: #c8a45c; }
.footer-bottom {
  border-top: 1px solid #f0e8d0;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom p { font-size: 13px; color: #8a7a5a; }
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom .links a {
  color: #8a7a5a;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}
.footer-bottom .links a:hover { color: #c8a45c; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid #e8d5a3;
  border-radius: 50%;
  color: #8a7a5a;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: #c8a45c;
  color: #c8a45c;
  background: rgba(200,164,92,0.06);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  header { padding: 0 30px; }
  .section-padding { padding: 60px 30px; }
  .section-padding-narrow { padding: 40px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 40px 30px 24px; }
}
@media (max-width: 768px) {
  header { padding: 0 20px; }
  nav { display: none; }
  .hamburger { display: flex; }
  .header-btns { display: none; }
  .section-padding { padding: 48px 20px; }
  .section-padding-narrow { padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 32px 20px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-brand p { max-width: 100%; }
}
