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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: #050a12;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* ===== Canvas ===== */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgba(5, 10, 18, 0.88);
  backdrop-filter: blur(12px);
}

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

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.nav-list a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: #00e0d0;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s;
}

.btn:hover {
  background: #fff;
  color: #0a0a0f;
  border-color: #fff;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== Sections ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  text-align: center;
}

/* ===== About ===== */
.about-body {
  max-width: 800px;
  margin: 0 auto;
}

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

.stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #00e0d0;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

/* ===== Philosophy ===== */
.philosophy {
  background: rgba(255,255,255,0.02);
}

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

.phil-card {
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s;
}

.phil-card:hover {
  border-color: rgba(0, 224, 208, 0.4);
  transform: translateY(-4px);
}

.phil-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.phil-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.contact-info {
  margin-bottom: 32px;
}

.contact-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.contact-info strong {
  color: rgba(255,255,255,0.8);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

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

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ===== Legal Pages ===== */
.page-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  min-height: calc(100vh - 120px);
}

.page-content .container {
  max-width: 780px;
}

.page-content h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 32px;
}

.page-content h2 {
  font-size: 1.2rem;
  color: #fff;
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-content h3 {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
  margin-bottom: 8px;
}

.page-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 10px;
}

.page-content ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.page-content ul li {
  list-style: disc;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  line-height: 1.7;
}

.page-content a {
  color: #00e0d0;
}

.page-content a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 10, 18, 0.95);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    gap: 14px;
  }

  .nav-list.active {
    display: flex;
  }

  .hero {
    min-height: 90vh;
    padding: 100px 20px 60px;
  }

  .section {
    padding: 64px 0;
  }

  .stats {
    gap: 32px;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
