/* ===========================
   ETNA LABS - Global Styles
   Pixel-perfect recreation
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

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

:root {
  --gold: #B5973A;
  --gold-light: #C9A84C;
  --gold-bright: #D4AA50;
  --black: #000000;
  --dark-green: #0d1f08;
  --cream: #F5F0E8;
  --cream-light: #F2EDE3;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #444444;
  --text-gray: #666666;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-grotesk: 'Space Grotesk', 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--dark-green);
  padding: 18px 50px;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.015em;
  transition: color 0.2s;
  font-family: var(--font-sans);
}

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

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

.hero-section {
  position: relative;
  width: 100%;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 62px; /* navbar height */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 50px;
  padding-top: 80px;
  min-height: 580px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 88px;
  font-weight: 400;
  color: var(--gold-bright);
  line-height: 1.0;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 30, 80, 0.55);
  padding: 22px 50px;
  margin: 0 -50px;
  backdrop-filter: blur(2px);
}

.hero-tagline-main {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  font-family: var(--font-grotesk);
}

.hero-tagline-right p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 280px;
  line-height: 1.55;
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about-section {
  background-color: var(--cream);
  padding: 72px 50px 64px;
}

.about-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title-gold {
  font-size: 17px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 36px;
  letter-spacing: 0.01em;
  font-family: var(--font-sans);
}

/* About section title is dark, not gold */
.about-section .section-title-gold {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 600;
}

.section-title-gold-sm {
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 32px;
  letter-spacing: 0.01em;
  font-family: var(--font-sans);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.about-left p,
.about-right p {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-left p:last-of-type,
.about-right p:last-of-type {
  margin-bottom: 0;
}

.btn-philosophy {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 22px;
  border: 1.5px solid var(--gold);
  border-radius: 24px;
  font-size: 12.5px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background-color 0.2s, color 0.2s;
  font-family: var(--font-sans);
}

.btn-philosophy:hover {
  background-color: var(--gold);
  color: var(--white);
}

/* ===========================
   STATS SECTION
   =========================== */

.stats-section {
  background-color: var(--black);
  padding: 72px 50px;
}

.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 16px 20px;
}

.stat-number {
  font-size: 80px;
  font-weight: 400;
  color: var(--gold-bright);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-family: var(--font-serif);
}

.stat-label {
  font-size: 13px;
  color: var(--white);
  margin-top: 14px;
  letter-spacing: 0.03em;
  opacity: 0.82;
  font-family: var(--font-sans);
}

/* ===========================
   COMPANIES SECTION
   =========================== */

.companies-section {
  background-color: var(--cream-light);
  padding: 64px 50px 72px;
}

.companies-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px 16px;
  align-items: center;
}

.company-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

.company-logo {
  max-height: 38px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.3);
  opacity: 0.85;
  transition: opacity 0.25s, filter 0.25s;
}

.company-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* ===========================
   WHAT WE OFFER SECTION
   =========================== */

.offer-section {
  background-color: var(--black);
  padding: 88px 50px 96px;
}

.offer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 40px;
  align-items: start;
}

.offer-label {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  padding-top: 10px;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

.offer-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.offer-item-link {
  font-size: 56px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.12;
  font-family: var(--font-serif);
  transition: color 0.2s;
  cursor: pointer;
  display: block;
}

.offer-item-link:hover {
  color: var(--gold-light);
}

.offer-item-plain {
  font-size: 56px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.12;
  font-family: var(--font-serif);
  display: block;
}

.offer-more {
  font-size: 56px;
  font-weight: 400;
  color: var(--gold-bright);
  line-height: 1.12;
  font-family: var(--font-serif);
  margin-top: 4px;
  display: block;
}

.offer-descriptions {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 14px;
}

.offer-descriptions p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 260px;
  font-family: var(--font-sans);
}

/* ===========================
   ADVISORS SECTION
   =========================== */

.advisors-section {
  background-color: var(--cream);
  padding: 72px 50px 56px;
}

.advisors-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.advisors-header {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  margin-bottom: 52px;
  align-items: start;
}

.advisors-desc {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.75;
  max-width: 620px;
}

.advisors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px 16px;
  align-items: center;
  margin-bottom: 24px;
}

.advisor-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4px 0;
}

.advisor-logo {
  max-height: 34px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.4);
  opacity: 0.75;
  transition: opacity 0.25s, filter 0.25s;
}

.advisor-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.disclaimer {
  font-size: 11px;
  color: var(--text-gray);
  margin-top: 28px;
  opacity: 0.55;
  font-family: var(--font-sans);
}

/* ===========================
   COMMUNITY SECTION
   =========================== */

.community-section {
  background-color: var(--white);
  padding: 88px 50px 96px;
}

.community-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.community-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: var(--font-grotesk);
}

.community-sub {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 14px;
  font-weight: 400;
}

.community-desc {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.75;
}

.community-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.community-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nsp-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.nsp-word {
  font-size: 76px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 0.98;
  letter-spacing: -0.03em;
  display: block;
  font-family: var(--font-grotesk);
}

.nsp-cursor {
  display: inline-block;
  font-size: 76px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.0;
  animation: blink 1s step-end infinite;
  margin-top: 4px;
  font-family: var(--font-grotesk);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

.footer {
  background-color: var(--cream);
  padding: 64px 50px 32px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-logo-area {
  margin-bottom: 44px;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dark);
  opacity: 0.7;
  font-family: var(--font-sans);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-col p {
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.9;
  opacity: 0.75;
  font-family: var(--font-sans);
}

.footer-link {
  color: var(--text-dark);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 22px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-dark);
  opacity: 0.55;
  line-height: 1.9;
  font-family: var(--font-sans);
}

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

@media (max-width: 1100px) {
  .navbar,
  .hero-content,
  .about-section,
  .stats-section,
  .companies-section,
  .offer-section,
  .advisors-section,
  .community-section,
  .footer {
    padding-left: 32px;
    padding-right: 32px;
  }
  
  .hero-bottom {
    padding-left: 32px;
    padding-right: 32px;
    margin: 0 -32px;
  }
  
  .hero-title {
    font-size: 68px;
  }
  
  .offer-inner {
    grid-template-columns: 180px 1fr 240px;
  }
  
  .offer-item-link,
  .offer-item-plain,
  .offer-more {
    font-size: 46px;
  }
}

@media (max-width: 900px) {
  .companies-grid,
  .advisors-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .offer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .offer-label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px 20px;
  }
  
  .hero-section {
    min-height: 420px;
  }
  
  .hero-content {
    min-height: 420px;
    padding: 0 20px;
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: 52px;
  }
  
  .hero-tagline-main {
    font-size: 14px;
  }
  
  .hero-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 18px 20px;
    margin: 0 -20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-inner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 8px;
  }
  
  .stat-number {
    font-size: 60px;
  }
  
  .companies-grid,
  .advisors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .offer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .offer-item-link,
  .offer-item-plain,
  .offer-more {
    font-size: 38px;
  }
  
  .advisors-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .community-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .nsp-word {
    font-size: 56px;
  }
  
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .about-section,
  .stats-section,
  .companies-section,
  .offer-section,
  .advisors-section,
  .community-section,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}
