/* Premium Host & Folio — design system tokens */
:root {
  --primary: #4ff07f;
  --primary-container: #25d366;
  --on-primary: #003915;
  --background: #101415;
  --surface-deep: #0a0c0b;
  --surface-card: #161b18;
  --surface-container: #1d2022;
  --surface-container-low: #191c1e;
  --on-surface: #e0e3e5;
  --on-surface-variant: #bbcbb9;
  --text-muted: #94a3b8;
  --outline: #869584;
  --outline-variant: #3c4a3d;
  --hostinger-blue: #673de6;
  --font-display: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
  --section-gap: 160px;
  --section-gap-mobile: 80px;
  --container-max: 1200px;
  --card-padding: 40px;
  --grid-gutter: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.icon-fill {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Stitch custom utilities */
.glass-nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-gradient {
  background: radial-gradient(circle at 70% 30%, rgba(79, 240, 127, 0.1) 0%, transparent 70%);
}

.card-hover:hover {
  box-shadow: 0 0 30px rgba(79, 240, 127, 0.15);
  border-color: rgba(79, 240, 127, 0.3);
  transform: translateY(-4px);
}

.text-glow {
  text-shadow: 0 0 10px rgba(79, 240, 127, 0.4);
}

/* Header */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.site-header-bar {
  flex-shrink: 0;
}

.site-header.is-scrolled {
  background: rgba(16, 20, 21, 0.95) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--on-surface);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 0 1.25rem 1rem;
  background: rgba(16, 20, 21, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--on-surface-variant);
  font-size: 1rem;
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: var(--primary);
}

.nav-mobile-cta {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem !important;
  border: 0 !important;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--on-primary) !important;
  font-weight: 700;
  text-align: center;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .card-hover {
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
