:root {
  --color-1: #0a0a0a;
  --color-2: #171717;
  --color-3: #262626;
  --color-4: #fbbf24;
  --color-5: #f59e0b;
  --bg: var(--color-1);
  --bg-2: var(--color-2);
  --text: #ffffff;
  --muted: #a3a3a3;
  --accent: var(--color-4);
  --mx: 0;
  --my: 0;
  --brand-1: #52525b;
  --brand-2: #71717a;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: -2;
}

.parallax {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.parallax .layer {
  position: absolute;
  inset: -20%;
}

.parallax .layer.grid {
  background:
    linear-gradient(0deg, color-mix(in srgb, var(--bg), transparent 90%), color-mix(in srgb, var(--bg-2), transparent 90%)),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent), transparent 92%) 0 1px, transparent 1px 100px),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--accent), transparent 92%) 0 1px, transparent 1px 100px);
  transform: translate3d(calc(var(--mx) * 0.4px), calc(var(--my) * 0.4px), 0) scale(1.02);
  mask: radial-gradient(circle at center, black 30%, transparent 80%);
  mix-blend-mode: overlay;
}

.parallax .layer.glow {
  background:
    radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.12), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(82, 82, 91, 0.15), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.1), transparent 50%);
  filter: blur(80px);
  transform: translate3d(calc(var(--mx) * -0.2px), calc(var(--my) * -0.2px), 0);
  opacity: 1;
  animation: float 25s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.05); }
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--color-3), transparent 70%);
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  transition: 180ms ease;
  position: relative;
}

.nav a:hover {
  color: #fff;
  background: color-mix(in srgb, var(--bg), transparent 70%);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-4), var(--color-5));
  transform: scaleX(0);
  transform-origin: left;
  transition: 200ms ease;
  border-radius: 2px;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav .cta {
  color: #fff;
  background: linear-gradient(90deg, var(--color-4), var(--color-5));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--color-4), transparent 70%);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--muted), transparent 70%);
  background: color-mix(in srgb, var(--bg), transparent 70%);
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.hero {
  padding: 120px 24px 64px;
  text-align: center;
}

.hero-title {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #fff, color-mix(in srgb, var(--accent), #fff 30%), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

.hero-visual {
  width: 140px;
  height: 140px;
  margin: 30px auto 0;
  border-radius: 28px;
  background: conic-gradient(from 180deg at 50% 50%, var(--color-4), var(--color-5), var(--color-4));
  filter: blur(10px) saturate(140%);
  box-shadow: 0 30px 60px color-mix(in srgb, var(--color-4), transparent 70%);
  transform: translate3d(calc(var(--mx) * 0.08px), calc(var(--my) * 0.08px), 0);
}

@keyframes shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero p {
  margin: 16px auto 0;
  max-width: 720px;
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--muted);
}

.actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.button .icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  fill: currentColor;
}

.button.primary {
  color: #0a0a0a;
  background: var(--color-4);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
  border: 1px solid var(--color-4);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.5);
  background: #fcd34d;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.button.small {
  padding: 8px 12px;
  font-size: 14px;
}

.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-5), transparent 60%);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto 60px;
  perspective: 800px;
}

@media (max-width: 1100px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  padding: 20px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg), transparent 70%);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--muted), transparent 70%);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--bg-2), transparent 80%);
  transition: 200ms ease;
  will-change: transform;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--x) var(--y), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px color-mix(in srgb, var(--bg-2), transparent 70%);
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.about {
  padding: 40px 24px 24px;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg), transparent 70%);
  border: 1px solid color-mix(in srgb, var(--muted), transparent 70%);
  backdrop-filter: blur(10px);
}

.about h2, .contact h2 {
  margin-top: 0;
  font-size: 28px;
}

.contact {
  padding: 24px;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-top: 1px solid color-mix(in srgb, var(--muted), transparent 70%);
  background: color-mix(in srgb, var(--bg), transparent 60%);
  backdrop-filter: blur(10px);
}

/* Theme styles removed as per request */

.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tilt {
  transform-style: preserve-3d;
}

@media (max-width: 880px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  }

  .nav[data-open="true"] {
    display: flex;
    animation: slideDown 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  
  .nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  
  .nav a::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 20px 40px;
  }
  
  .actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .about h2, .contact h2 {
    font-size: 24px;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
