:root {
  --bg: #05080f;
  --bg-2: #0a1020;
  --ink: #e9f2ff;
  --muted: #a7b4c9;
  --accent: #67f6d1;
  --accent-2: #79a7ff;
  --glass: rgba(15, 24, 45, 0.6);
  --stroke: rgba(121, 167, 255, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;
  background: radial-gradient(circle at 20% 20%, #141b34 0%, var(--bg) 45%, #04060c 100%);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;
  letter-spacing: 0.3px;
}

.bg-veil {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(103, 246, 209, 0.18), transparent 50%),
              radial-gradient(circle at 10% 70%, rgba(121, 167, 255, 0.2), transparent 55%),
              linear-gradient(120deg, rgba(7, 10, 20, 0.8), rgba(7, 10, 20, 0.95));
  z-index: 0;
}

.tesseract-grid {
  position: fixed;
  inset: -20% -10% -10% -10%;
  background-image:
    linear-gradient(rgba(103, 246, 209, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 167, 255, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px);
  background-size: 60px 60px, 60px 60px, 180px 180px;
  transform: perspective(1200px) rotateX(70deg) rotateZ(-20deg);
  opacity: 0.6;
  z-index: 0;
  animation: drift 20s ease-in-out infinite alternate;
}

.glow-orbs {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 60% 30%, rgba(103, 246, 209, 0.3), transparent 40%),
    radial-gradient(circle at 30% 80%, rgba(121, 167, 255, 0.25), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.12), transparent 35%);
  z-index: 0;
  filter: blur(2px);
}

@keyframes drift {
  from { transform: perspective(1200px) rotateX(70deg) rotateZ(-20deg) translateY(0); }
  to { transform: perspective(1200px) rotateX(70deg) rotateZ(-20deg) translateY(40px); }
}

.hero, main, footer {
  position: relative;
  z-index: 1;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-block {
  padding: 4rem 0;
}

.section-title {
  margin-bottom: 1rem;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.feature-list li {
  padding: 6px 0;
  color: var(--muted);
}

.portrait-wrap {
  position: relative;
  display: inline-block;
  padding: 10px;
  border-radius: 30px;
  border: 1px solid rgba(103, 246, 209, 0.4);
  background: rgba(8, 12, 24, 0.6);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.portrait {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  display: block;
  filter: saturate(1.1) contrast(1.05);
}

.portrait-glow {
  position: absolute;
  inset: -15px;
  border-radius: 32px;
  border: 1px solid rgba(121, 167, 255, 0.3);
  box-shadow: 0 0 40px rgba(103, 246, 209, 0.4);
  pointer-events: none;
}

.caption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  color: #05080f;
  font-weight: 600;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--ink);
}

.contact-block .btn-primary {
  text-transform: none;
}

.socials {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.social-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.social-link:hover {
  color: var(--ink);
}

@media (max-width: 991px) {
  .socials {
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .kicker {
    letter-spacing: 2px;
  }
  .section-block {
    padding: 3rem 0;
  }
}
