:root {
  --bg-color: #09090B;
  --text-color: #FAFAFA;
  --text-muted: #A1A1AA;
  --accent-color: #D4D4D8;
  --accent-hover: #FAFAFA;
  --card-bg: rgba(24, 24, 27, 0.4);
  --card-border: #27272A;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  color: var(--text-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--accent-color);
  color: var(--bg-color);
}

.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav */
.nav {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.lang-option {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

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

.lang-option.active {
  color: var(--text-color);
  cursor: default;
}

.lang-sep {
  opacity: 0.4;
}

/* Hero */
.hero {
  margin-bottom: 8rem;
}

.hero-brand {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text-color); /* fallback */
  margin-bottom: 0.25rem;
}

.hero-name {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background-color: #E4E4E7;
}

.btn-secondary {
  background-color: #121214;
  color: var(--text-color);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background-color: #18181B;
  border-color: #3F3F46;
}

/* Sections */
.section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-color);
}

/* Ventures */
.ventures-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.venture-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  text-decoration: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.venture-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.04),
    transparent 40%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.venture-card:hover::before {
  opacity: 1;
}

.venture-card > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .venture-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.venture-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px) scale(1.01);
}



.venture-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.venture-card:hover .venture-title {
  color: var(--accent-color);
}

.venture-desc {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 600px;
}

.venture-highlight {
  display: inline-flex;
  padding-left: 0.75rem;
  border-left: 2px solid var(--accent-color);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-color);
}

.venture-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  transition: color 0.2s;
  padding-top: 0.5rem;
}

@media (min-width: 768px) {
  .venture-link {
    padding-top: 0;
  }
}

.venture-card:hover .venture-link {
  color: var(--text-color);
}

.link-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.link-icon {
  transition: transform 0.2s;
}

.venture-card:hover .link-icon {
  transform: translateX(4px);
}

/* Credibility */
.credibility-box {
  border-left: 4px solid var(--card-border);
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.credibility-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Footer */
.footer {
  margin-top: 2rem;
  padding-top: 4rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-main-link {
  font-size: clamp(1.25rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-color) !important;
  text-decoration: none !important;
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  letter-spacing: -0.02em;
}

.footer-main-link:hover {
  opacity: 0.8;
}

.footer-icon {
  width: clamp(24px, 5vw, 36px);
  height: clamp(24px, 5vw, 36px);
  flex-shrink: 0;
}

.footer-triggers {
  display: flex;
  gap: 2rem;
  margin-bottom: 5rem;
}

.footer-trigger {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  font-family: inherit;
}

.footer-trigger:hover, .footer-trigger.active {
  color: var(--text-color);
}

.footer-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.85rem;
  color: #71717A;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 404 Page Styles */
.error-container {
  margin-top: 3rem;
  position: relative;
}

.error-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 40vw;
  height: 40vw;
  max-width: 400px;
  max-height: 400px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(30px);
}

.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
