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

:root {
  --accent: rgb(135, 80, 255);
  --accent-light: rgba(135, 80, 255, 0.12);
  --accent-glow: rgba(135, 80, 255, 0.25);
  --blue-light: #e8edf5;
  --blue-mist: #f0f4fa;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-secondary: #5a5a7a;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(135, 80, 255, 0.08);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0d0d1a 0%, #12122a 50%, #1a1040 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: rgb(115, 60, 235);
  box-shadow: 0 4px 24px var(--accent-glow);
}

/* === Sections === */
.section {
  padding: 6rem 2rem;
}

.section-alt {
  background: var(--blue-mist);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.75;
}

/* === Cards Grid === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid rgba(135, 80, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(135, 80, 255, 0.1);
  transform: translateY(-2px);
}

.card-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === Values === */
.values {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 640px;
}

.value {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.value-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.value h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.value p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Contact === */
.contact-container {
  text-align: center;
}

.contact-container .section-text {
  margin: 0 auto 2rem;
}

.contact-container .btn {
  font-size: 0.95rem;
}

/* === Footer === */
.footer {
  background: #0d0d1a;
  color: rgba(255, 255, 255, 0.5);
  padding: 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.75rem;
}

/* === Legal Pages === */
.legal {
  padding: 7rem 2rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.legal .legal-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal p,
.legal li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links {
    gap: 1.25rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

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

@media (max-width: 480px) {
  .nav-inner {
    padding: 0 1.25rem;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
