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

:root {
  --color-meteorite-dark:   #2f1c6a;
  --color-meteorite-dark-2: #1F1346;
  --color-meteorite:        #8c85ff;
  --color-meteorite-light:  #d5dfff;
  --color-primary-dark:     #5025d1;
  --color-primary:          #673de6;
  --color-primary-light:    #ebe4ff;
  --color-dark:             #1d1e20;
  --color-gray-dark:        #36344d;
  --color-gray:             #727586;
  --color-gray-border:      #dadce0;
  --color-gray-light:       #f2f3f6;
  --color-light:            #ffffff;
  --color-success:          #00b090;
  --color-warning:          #ffcd35;

  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 10px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-dark);
  color: var(--color-light);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout Helpers ───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-meteorite);
  margin-bottom: 14px;
}

h1, h2, h3 { line-height: 1.25; }

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(29, 30, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--color-light); }

.nav-cta {
  background: var(--color-primary);
  color: var(--color-light) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 14px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--color-primary-dark) !important; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-light);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-light);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover { border-color: var(--color-meteorite); color: var(--color-meteorite); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--color-meteorite-dark-2) 0%, #0d0a1e 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(103,61,230,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-inner--single {
  grid-template-columns: 1fr;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(140,133,255,0.12);
  border: 1px solid rgba(140,133,255,0.25);
  color: var(--color-meteorite-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--color-light);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-meteorite);
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  aspect-ratio: 4/3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Partners Bar ─────────────────────────────────────────── */
.partners {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}

.partners-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.partners-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gray);
  white-space: nowrap;
}

.partner-logo img {
  height: 40px;
  width: auto;
  opacity: 0.7;
  filter: brightness(1.4);
  transition: opacity 0.2s;
}

.partner-logo img:hover { opacity: 1; }

/* ── Problem Section ──────────────────────────────────────── */
.problem {
  background: var(--color-dark);
}

.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem-inner--single {
  grid-template-columns: 1fr;
  max-width: 680px;
}

.problem h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 20px;
}

.problem p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.problem-image {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.problem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── How It Works ─────────────────────────────────────────── */
.how-it-works {
  background: linear-gradient(180deg, rgba(31,19,70,0.5) 0%, transparent 100%);
}

.how-it-works h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 56px;
  text-align: center;
}

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

.step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.step:hover {
  border-color: rgba(140,133,255,0.3);
  background: rgba(140,133,255,0.05);
}

.step-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-meteorite);
  margin-bottom: 18px;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: rgba(103,61,230,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.75;
}

/* ── What You Can Expect ──────────────────────────────────── */
.expect {
  background: var(--color-dark);
}

.expect h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 52px;
  text-align: center;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.expect-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.expect-card:hover { border-color: rgba(140,133,255,0.25); }

.expect-icon {
  font-size: 26px;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(103,61,230,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expect-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.expect-card p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.65;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials {
  background: linear-gradient(180deg, transparent, rgba(31,19,70,0.4), transparent);
}

.testimonials h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 48px;
  text-align: center;
}

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

.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
}

.stars {
  color: var(--color-warning);
  font-size: 17px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial blockquote {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-meteorite-light);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-meteorite-dark) 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin-bottom: 32px;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: #111113;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.footer-brand img { height: 38px; width: auto; margin-bottom: 16px; }

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-email a {
  color: var(--color-meteorite);
  font-size: 14px;
}

.footer-partner-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-partner-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.footer-partner-block img {
  height: 60px;
  width: auto;
  opacity: 0.75;
  filter: brightness(1.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

/* ── Philosophy Page ──────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--color-meteorite-dark-2) 0%, #0d0a1e 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  display: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.philosophy-section {
  background: var(--color-dark);
  padding: 80px 0;
}

.philosophy-intro {
  max-width: 720px;
  margin: 0 auto 72px;
  text-align: center;
}

.philosophy-intro h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  margin-bottom: 20px;
}

.philosophy-intro p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: border-color 0.2s;
}

.pillar:hover { border-color: rgba(140,133,255,0.3); }

.pillar-icon {
  font-size: 30px;
  margin-bottom: 16px;
}

.pillar h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pillar p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.7;
}

/* ── Charlie Munger section ───────────────────────────────── */
.munger-section {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 80px 0;
}

.munger-inner {
  max-width: 680px;
}

.munger-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--color-light);
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.munger-inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 16px;
}

.munger-inner p:last-child { margin-bottom: 0; }

/* ── CTA note (small supporting line) ────────────────────── */
.cta-note {
  font-size: 13px !important;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 28px !important;
}

/* kept for reference but no longer used as primary block */
.philosophy-quote {
  background: linear-gradient(135deg, rgba(47,28,106,0.5), rgba(103,61,230,0.3));
  border: 1px solid rgba(140,133,255,0.2);
  border-radius: 14px;
  padding: 48px;
  text-align: center;
  margin-bottom: 72px;
}

.philosophy-quote blockquote {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 600;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 14px;
  color: var(--color-meteorite-light);
}

.philosophy-quote cite {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-style: normal;
}

.about-section {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0;
}

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

.about-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 20px;
}

.about-text p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ── Team ─────────────────────────────────────────────────── */
.team { background: var(--color-dark); padding: 80px 0; }

.team h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 48px;
  text-align: center;
}

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

.team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.team-card:hover {
  border-color: rgba(140,133,255,0.25);
  transform: translateY(-4px);
}

.team-photo {
  aspect-ratio: 1;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.team-card:hover .team-photo img { transform: scale(1.05); }

.team-info { padding: 18px; }

.team-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-info p {
  color: var(--color-meteorite);
  font-size: 13px;
}

/* ── Mobile Hamburger Menu ────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(18, 18, 22, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 99;
  padding: 12px 0 20px;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s, background 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active { color: var(--color-light); background: rgba(255,255,255,0.04); }

.mobile-menu .mobile-contact {
  margin: 12px 24px 0;
  display: inline-block;
  padding: 11px 20px;
  background: var(--color-primary);
  color: var(--color-light) !important;
  border-radius: 7px;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.mobile-menu .mobile-contact:hover { background: var(--color-primary-dark) !important; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 56px 0; }

  .steps,
  .expect-grid,
  .testimonials-grid,
  .philosophy-pillars { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }

  .footer-partner-block { align-items: flex-start; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav { position: sticky; }
}
