/* ============================================================================
   INVEST.DJAZ.APP — Ultra Premium Investor Relations
   ============================================================================ */

:root {
  /* Premium Dark Palette */
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #0f0f0f;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  
  /* Typography */
  --text-primary: #f5f5f0;
  --text-secondary: #a0a098;
  --text-muted: #6a6a60;
  --text-accent: #ffd700;
  
  /* Accents */
  --gold: #ffd700;
  --gold-soft: rgba(255, 215, 0, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  
  /* Spacing */
  --section-y: clamp(120px, 20vh, 200px);
  --gutter: clamp(24px, 5vw, 80px);
  --max-width: 1200px;
  
  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient Glow */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(ellipse 80vw 50vh at 20% 10%, rgba(196, 163, 90, 0.03), transparent 60%),
    radial-gradient(ellipse 60vw 40vh at 80% 80%, rgba(196, 163, 90, 0.02), transparent 50%);
}

/* Shell */
.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ============================================================================
   Topbar
   ============================================================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.4s var(--ease-smooth);
}

.topbar.is-scrolled {
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  height: 28px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.brand:hover .brand-logo {
  opacity: 1;
}

/* Language Switch */
.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-tertiary);
  border-radius: 100px;
  border: 1px solid var(--border);
}

.lang-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 8px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  text-transform: uppercase;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* ============================================================================
   Hero
   ============================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-lede {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 80px;
  line-height: 1.8;
  font-weight: 300;
}

/* Scroll Indicator */
.hero-scroll {
  display: flex;
  justify-content: center;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-indicator::before {
  content: 'Scroll';
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================================
   Section Commons
   ============================================================================ */
section {
  padding-block: var(--section-y);
  position: relative;
}

.section-header {
  max-width: 800px;
  margin-bottom: 80px;
}

.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-lede {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 32px;
  line-height: 1.7;
  font-weight: 300;
}

.section-lede em {
  font-style: italic;
  color: var(--text-primary);
}

/* ============================================================================
   Problem Section
   ============================================================================ */
.problem {
  background: var(--bg-secondary);
}

.problem-content {
  max-width: 720px;
}

.problem-text {
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  font-family: var(--font-display);
  font-weight: 300;
}

.problem-solution {
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.8;
  padding-left: 32px;
  border-left: 1px solid var(--gold);
}

/* ============================================================================
   Model Section
   ============================================================================ */
.model {
  background: var(--bg-primary);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  transition: all 0.4s var(--ease-slow);
}

.model-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.model-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--gold);
}

.model-icon svg {
  width: 28px;
  height: 28px;
}

.model-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.3;
}

.model-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================================
   Moat Section
   ============================================================================ */
.moat {
  background: var(--bg-secondary);
}

.moat-content {
  max-width: 800px;
}

.moat-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.moat-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.moat-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.1em;
  min-width: 40px;
  padding-top: 4px;
}

.moat-text h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}

.moat-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================================
   CTA Section
   ============================================================================ */
.cta-section {
  background: var(--bg-primary);
  text-align: center;
  padding-block: calc(var(--section-y) * 1.2);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 32px;
}

.cta-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 18px 36px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cta-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 400px;
}

.cta-divider::before,
.cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.cta-divider span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Access Form */
.access-form {
  width: 100%;
  max-width: 480px;
}

.form-field {
  display: flex;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px;
  transition: border-color 0.3s;
}

.form-field:focus-within {
  border-color: var(--gold);
}

.form-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 20px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

/* ============================================================================
   Footer — Premium Edition
   ============================================================================ */
.footer {
  background: var(--bg-secondary);
  padding: 100px 0 60px;
  border-top: 1px solid var(--border);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-brand img {
  height: 32px;
  width: auto;
  opacity: 1;
  filter: brightness(1.1);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.03em;
  font-family: var(--font-sans);
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.4s var(--ease-smooth);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding-bottom: 4px;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-smooth);
}

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

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 8px;
}

.footer-bottom span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 1024px) {
  .model-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .moat-item {
    flex-direction: column;
    gap: 16px;
  }
  
  .footer {
    padding: 80px 0 50px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand img {
    height: 28px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 48px;
  }

  .footer-links a {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-y: 120px;
    --gutter: 24px;
  }
  
  .hero {
    min-height: auto;
    padding-top: 180px;
    padding-bottom: 100px;
  }
  
  .hero-title {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 48px;
  }
  
  .hero-eyebrow {
    margin-bottom: 56px;
  }
  
  .hero-lede {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 60px;
  }
  
  .section-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 36px;
  }
  
  .section-header {
    margin-bottom: 64px;
  }
  
  .section-lede {
    margin-top: 40px;
    line-height: 1.8;
  }
  
  .problem-text {
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 56px;
  }
  
  .problem-solution {
    padding-left: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.8;
  }
  
  .problem-content {
    padding-top: 24px;
  }
  
  .model-card {
    padding: 40px 28px;
    margin-bottom: 16px;
  }
  
  .model-card h3 {
    font-size: 22px;
    margin-bottom: 24px;
  }
  
  .model-card p {
    line-height: 1.8;
  }
  
  .model-icon {
    margin-bottom: 40px;
  }
  
  .moat-text h4 {
    font-size: 22px;
    margin-bottom: 16px;
    line-height: 1.3;
  }
  
  .moat-text p {
    line-height: 1.8;
    font-size: 15px;
  }
  
  .moat-item {
    gap: 24px;
    margin-bottom: 48px;
  }
  
  .moat-list {
    gap: 0;
    padding-top: 24px;
  }
  
  .form-field {
    flex-direction: column;
    border-radius: 24px;
  }
  
  .form-field .btn {
    width: 100%;
  }

  .cta-title {
    font-size: 36px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 40px;
  }

  .cta-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 56px;
  }

  .cta-section {
    padding-block: 160px 140px;
  }

  .footer {
    padding: 64px 0 40px;
  }

  .footer-inner {
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .footer-brand {
    gap: 16px;
  }

  .footer-brand img {
    height: 26px;
  }

  .footer-tagline {
    font-size: 13px;
  }

  .footer-links {
    gap: 24px 32px;
  }

  .footer-links a {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .footer-bottom span {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
}

/* ============================================================================
   Reveal Animations
   ============================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-slow), transform 0.8s var(--ease-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
