/* ===== CaptVr Website - Global Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Inter:wght@400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --void: #0A0A0A;
  --surface: #151515;
  --card: #1A1A1A;
  --card-line: #2A2A2A;
  --paper: #F5F3EE;
  --paper-dim: #B9B7B0;
  --mute: #84827C;
  --accent-green: #2ECC8A;
  --accent-green-dim: #1E9C68;
  --gold: #F0A430;
  --gold-dim: #C98620;
}

html {
  scroll-behavior: smooth;
  cursor: none;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--void);
  color: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

/* ===== HEADINGS - ALL CAPS, INSTRUMENT SANS, BOLD ===== */

h1, h2, h3, h4 {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 24px;
  word-wrap: normal;
  overflow-wrap: normal;
  -webkit-hyphens: none;
  hyphens: none;
  text-wrap: balance;
}

h1 { 
  font-size: 56px;
  line-height: 1.2;
}

h2 { 
  font-size: 40px;
  line-height: 1.3;
}

h3 { 
  font-size: 24px;
  line-height: 1.4;
}

h4 { 
  font-size: 18px;
  line-height: 1.5;
}

/* ===== BODY TEXT - INTER, REGULAR, 1.65 LINE HEIGHT ===== */

p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--paper);
  margin-bottom: 16px;
  line-height: 1.65;
  word-wrap: normal;
  overflow-wrap: normal;
  -webkit-hyphens: none;
  hyphens: none;
  text-wrap: pretty;
}

.text-dim {
  color: var(--paper-dim);
  font-size: 14px;
  line-height: 1.65;
}

.text-mute {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.65;
}

/* ===== ACCENT TEXT - INSTRUMENT SANS, SEMI-BOLD (600), ITALIC ===== */

.accent-green {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-style: italic;
  color: var(--accent-green);
}

.accent-gold {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
}

/* ===== LAYOUT - 1240px MAX, 32px PADDING DESKTOP ===== */

body {
  max-width: 100%;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ===== SECTIONS - 80px PADDING DESKTOP, 48px MOBILE, ALTERNATING BACKGROUNDS ===== */

section {
  padding: 80px 32px;
  border-bottom: 1px solid var(--card-line);
  width: 100%;
}

section:nth-child(odd) {
  background-color: var(--void);
}

section:nth-child(even) {
  background-color: var(--surface);
}

/* ===== HERO SECTION - LEFT ALIGNED ===== */

.hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 80px 32px;
  background-size: cover;
  background-position: center 10%;
  background-attachment: fixed;
  position: relative;
}

.hero-content {
  max-width: 650px;
  text-align: left;
  z-index: 2;
}

.hero h1 {
  text-align: left;
  margin-bottom: 32px;
}

.hero p {
  text-align: left;
  margin-bottom: 32px;
}

/* ===== NAVIGATION - INTER, MEDIUM (500) ===== */

header {
  background-color: var(--void);
  border-bottom: 1px solid var(--card-line);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--accent-green);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--paper-dim);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-green);
}

/* ===== PILL/BADGE - INTER, MEDIUM (500) ===== */

.pill {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  background-color: transparent;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pill.accent-gold {
  color: var(--gold);
  border-color: var(--gold);
}

/* ===== CARDS - 24px GAP ===== */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background-color: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 4px;
  padding: 32px;
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  border-color: var(--accent-green);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 24px;
  border-radius: 4px;
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-block;
  background-color: var(--accent-green);
  color: var(--void);
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background-color: var(--accent-green-dim);
}

.btn-gold {
  background-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-dim);
}

/* ===== FOOTER ===== */

footer {
  background-color: var(--void);
  border-top: 1px solid var(--card-line);
  padding: 48px 32px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.footer-col h4 {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.footer-col p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--paper-dim);
  line-height: 1.65;
}

.footer-bottom {
  border-top: 1px solid var(--card-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--mute);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom a {
  color: var(--paper-dim);
  text-decoration: none;
  margin-left: 16px;
}

/* ===== TICKER ===== */

.ticker {
  display: flex;
  gap: 48px;
  animation: scroll-left 45s linear infinite;
  white-space: nowrap;
  padding: 0 32px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--paper-dim);
  letter-spacing: 1px;
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== FORMS ===== */

.form-container {
  background-color: var(--card);
  border: 1px solid var(--card-line);
  padding: 32px;
  border-radius: 4px;
  margin: 32px 0;
}

.form-placeholder {
  background-color: var(--void);
  border: 2px dashed var(--card-line);
  padding: 48px;
  text-align: center;
  color: var(--paper-dim);
  border-radius: 4px;
  font-size: 14px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== CUSTOM CURSOR ===== */

.cursor-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  display: block;
  opacity: 0.7;
  box-shadow: 0 0 8px var(--accent-green);
  transition: all 0.1s ease;
}

/* ===== UTILITIES ===== */

.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-80 { margin-top: 80px; }

.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* ==========================================
   TABLET - 768px to 1023px
========================================== */

@media (max-width: 1023px) and (min-width: 769px) {
  .container {
    padding: 0 28px;
  }

  h1 { font-size: 44px; line-height: 1.25; }
  h2 { font-size: 32px; line-height: 1.3; }
  h3 { font-size: 22px; line-height: 1.35; }
  h4 { font-size: 16px; line-height: 1.5; }

  p { font-size: 15px; line-height: 1.65; }

  section {
    padding: 60px 28px;
  }

  .hero {
    padding: 60px 28px;
    min-height: 80vh;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 36px;
  }

  nav { gap: 24px; padding: 0 28px; }
  .nav-links { gap: 28px; }

  footer { padding: 40px 28px; }
  .footer-content { gap: 40px; }

  .grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   MOBILE - 481px to 768px - SINGLE COLUMN
========================================== */

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  h1 { font-size: 32px; line-height: 1.25; }
  h2 { font-size: 26px; line-height: 1.3; }
  h3 { font-size: 20px; line-height: 1.35; }
  h4 { font-size: 15px; line-height: 1.4; }

  p { font-size: 15px; line-height: 1.65; }

  section {
    padding: 48px 20px;
  }

  .hero {
    padding: 48px 20px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    text-align: left;
    font-size: 28px;
    line-height: 1.25;
  }

  .hero p {
    text-align: left;
    font-size: 14px;
  }

  nav {
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  footer {
    padding: 40px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom a {
    margin-left: 0;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ticker {
    padding: 0 20px;
    gap: 32px;
    font-size: 13px;
  }

  .form-container {
    padding: 20px;
    margin: 20px 0;
  }

  .form-placeholder {
    padding: 24px;
  }
}

/* ==========================================
   EXTRA SMALL MOBILE - under 480px
========================================== */

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 { font-size: 26px; line-height: 1.2; }
  h2 { font-size: 22px; line-height: 1.25; }
  h3 { font-size: 18px; line-height: 1.3; }
  h4 { font-size: 14px; line-height: 1.35; }

  p { font-size: 14px; line-height: 1.65; }

  section {
    padding: 40px 16px;
  }

  .hero {
    padding: 40px 16px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    text-align: left;
    font-size: 24px;
    line-height: 1.2;
  }

  .hero p {
    text-align: left;
    font-size: 13px;
  }

  nav { padding: 0 16px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 12px; letter-spacing: 0; }

  footer { padding: 32px 16px; }
  .footer-col h4 { font-size: 12px; }
  .footer-col p { font-size: 13px; }

  .btn {
    width: 100%;
    text-align: center;
    font-size: 13px;
  }

  .ticker {
    padding: 0 16px;
    gap: 24px;
    font-size: 12px;
  }

  .card { padding: 20px; }
  .grid { gap: 24px; }
}