/*
 * ══════════════════════════════════════════════════════
 *  HOLIFANT LANDING 2026
 *  Scoped under .hf-landing-2026 — safe to load alongside
 *  existing site CSS without conflicts.
 *
 *  Rollback: remove this file + the HTML partial.
 * ══════════════════════════════════════════════════════
 */

/* ── CSS CUSTOM PROPERTIES (scoped) ── */
.hf-landing-2026 {
  /* Brand colors — from logo pixel map */
  --hfl-px-darkest: #a93274;
  --hfl-px-dark: #b33e7f;
  --hfl-px-mid: #c14b8d;
  --hfl-px-core: #cd5799;
  --hfl-px-bright: #db65a7;
  --hfl-px-glow: #e06aab;
  --hfl-px-light: #da6fab;
  --hfl-px-soft: #eaaccf;
  --hfl-px-pale: #f0b7d8;
  --hfl-px-muted: #c389aa;

  /* UI palette */
  --hfl-bg-deep: #1A0A12;
  --hfl-bg-dark: #220E18;
  --hfl-bg-mid: #2E1422;
  --hfl-magenta: #cd5799;
  --hfl-magenta-hot: #db65a7;
  --hfl-magenta-glow: #e06aab;
  --hfl-pink-light: #eaaccf;
  --hfl-pink-pale: #f0b7d8;
  --hfl-coral: #c771a2;
  --hfl-white: #FFFFFF;
  --hfl-text-primary: #F5EDE8;
  --hfl-text-muted: rgba(245,237,232,0.75);
  --hfl-text-dim: rgba(245,237,232,0.3);

  /* Base */
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--hfl-text-primary);
  background: var(--hfl-bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.hf-landing-2026 *,
.hf-landing-2026 *::before,
.hf-landing-2026 *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ═══════════════════════════════════════
   NAV
   ═══════════════════════════════════════ */
.hf-landing-2026 .hfl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3.5rem;
  background: rgba(26,10,18,0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(205,87,153,0.1);
}
.hf-landing-2026 .hfl-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.hf-landing-2026 .hfl-nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.hf-landing-2026 .hfl-nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.hf-landing-2026 .hfl-nav-links a {
  text-decoration: none;
  color: var(--hfl-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}
.hf-landing-2026 .hfl-nav-links a:hover {
  color: var(--hfl-text-primary);
}
.hf-landing-2026 .hfl-nav-cta {
  border: 1.5px solid var(--hfl-magenta);
  color: var(--hfl-magenta-glow);
  padding: 0.55rem 1.35rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
}
.hf-landing-2026 .hfl-nav-cta:hover {
  background: var(--hfl-magenta);
  color: var(--hfl-white);
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hf-landing-2026 .hfl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 3.5rem;
  overflow: hidden;
}

/* Atmospheric glow orbs */
.hf-landing-2026 .hfl-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hf-landing-2026 .hfl-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #cd5799 0%, transparent 70%);
  top: -15%; right: -10%;
  opacity: 0.18;
  animation: hfl-drift 20s ease-in-out infinite;
}
.hf-landing-2026 .hfl-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #c771a2 0%, transparent 70%);
  bottom: -10%; left: 15%;
  opacity: 0.1;
  animation: hfl-drift 25s ease-in-out infinite reverse;
}
.hf-landing-2026 .hfl-glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #e06aab 0%, transparent 70%);
  top: 30%; left: 50%;
  opacity: 0.07;
  animation: hfl-drift 18s ease-in-out infinite;
  animation-delay: -5s;
}
@keyframes hfl-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Pixel grid overlay */
.hf-landing-2026 .hfl-hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(205,87,153,0.035) 1px, transparent 1px),
    linear-gradient(rgba(205,87,153,0.035) 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
}

/* Floating pixel clusters */
.hf-landing-2026 .hfl-atmo-cluster {
  position: absolute;
  display: grid;
  gap: 5px;
  opacity: 0.07;
  pointer-events: none;
}
.hf-landing-2026 .hfl-atmo-cluster span {
  border-radius: 3px;
}

.hf-landing-2026 .hfl-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding: 8rem 0 4rem;
}

.hf-landing-2026 .hfl-hero-text h1 {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--hfl-text-primary);
  margin-bottom: 2rem;
}
.hf-landing-2026 .hfl-hero-text h1 .hfl-accent {
  display: block;
  background: linear-gradient(135deg, #db65a7 0%, #c771a2 50%, #eaaccf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hf-landing-2026 .hfl-hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--hfl-text-muted);
  max-width: 520px;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hf-landing-2026 .hfl-hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.hf-landing-2026 .hfl-btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--hfl-magenta);
  color: var(--hfl-white);
  padding: 1.05rem 2.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.3s;
  box-shadow: 0 0 40px rgba(205,87,153,0.3), 0 4px 20px rgba(205,87,153,0.2);
  position: relative;
  overflow: hidden;
}
.hf-landing-2026 .hfl-btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.hf-landing-2026 .hfl-btn-glow:hover::before { transform: translateX(100%); }
.hf-landing-2026 .hfl-btn-glow:hover {
  background: var(--hfl-magenta-hot);
  box-shadow: 0 0 60px rgba(219,101,167,0.4), 0 8px 30px rgba(219,101,167,0.25);
  transform: translateY(-2px);
}

.hf-landing-2026 .hfl-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hfl-text-muted);
  padding: 1.05rem 1.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s;
  border-bottom: 1px solid var(--hfl-text-dim);
}
.hf-landing-2026 .hfl-btn-ghost:hover {
  color: var(--hfl-text-primary);
  border-color: var(--hfl-text-muted);
}

.hf-landing-2026 .hfl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid rgba(205,87,153,0.35);
  color: var(--hfl-magenta-glow);
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.hf-landing-2026 .hfl-btn-outline:hover {
  background: rgba(205,87,153,0.12);
  border-color: var(--hfl-magenta);
  transform: translateY(-2px);
}

/* ── PIXEL ELEPHANT ── */
.hf-landing-2026 .hfl-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hf-landing-2026 .hfl-pixel-elephant {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 5px;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9/7;
  filter: drop-shadow(0 0 60px rgba(205,87,153,0.2));
}
.hf-landing-2026 .hfl-pixel-elephant .hfl-px {
  aspect-ratio: 1;
  border-radius: 4px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}
.hf-landing-2026 .hfl-pixel-elephant .hfl-px:not(.hfl-px-0)::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12);
}
.hf-landing-2026 .hfl-pixel-elephant .hfl-px:not(.hfl-px-0):hover {
  transform: scale(1.2) rotate(2deg);
  border-radius: 6px;
  z-index: 2;
  filter: brightness(1.25);
}
.hf-landing-2026 .hfl-px-0 { background: transparent; }

/* Floating accent pixels */
.hf-landing-2026 .hfl-float-pixel {
  position: absolute;
  border-radius: 4px;
  animation: hfl-float-px 8s ease-in-out infinite;
}
@keyframes hfl-float-px {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-18px) rotate(8deg); opacity: 1; }
}

/* ═══════════════════════════════════════
   SECTIONS — shared
   ═══════════════════════════════════════ */
.hf-landing-2026 .hfl-section {
  position: relative;
  padding: 7rem 3.5rem;
  overflow: hidden;
}
.hf-landing-2026 .hfl-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hf-landing-2026 .hfl-section-tag {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hfl-magenta-glow);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hf-landing-2026 .hfl-section-title {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--hfl-text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.015em;
}
.hf-landing-2026 .hfl-section-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--hfl-text-muted);
  max-width: 560px;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */
.hf-landing-2026 .hfl-services-section {
  background: var(--hfl-bg-dark);
}
.hf-landing-2026 .hfl-services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(205,87,153,0.25) 50%, transparent 100%);
}
.hf-landing-2026 .hfl-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hf-landing-2026 .hfl-service-card {
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(205,87,153,0.08);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  position: relative;
  overflow: hidden;
}
.hf-landing-2026 .hfl-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(205,87,153,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.hf-landing-2026 .hfl-service-card:hover::before { opacity: 1; }
.hf-landing-2026 .hfl-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(205,87,153,0.25);
  box-shadow: 0 20px 60px rgba(205,87,153,0.1), 0 0 40px rgba(205,87,153,0.05);
}
.hf-landing-2026 .hfl-service-icon {
  width: 50px; height: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 1.75rem;
}
.hf-landing-2026 .hfl-service-icon span { border-radius: 3px; }
.hf-landing-2026 .hfl-service-card h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--hfl-text-primary);
}
.hf-landing-2026 .hfl-service-card p {
  color: var(--hfl-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 300;
}
.hf-landing-2026 .hfl-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  color: var(--hfl-magenta-glow);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: gap 0.25s;
}
.hf-landing-2026 .hfl-service-card:hover .hfl-card-link { gap: 0.7rem; }

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */
.hf-landing-2026 .hfl-about-section {
  background: var(--hfl-bg-deep);
  position: relative;
}
.hf-landing-2026 .hfl-about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(205,87,153,0.025) 1px, transparent 1px),
    linear-gradient(rgba(205,87,153,0.025) 1px, transparent 1px);
  background-size: 10px 10px;
}
.hf-landing-2026 .hfl-about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.hf-landing-2026 .hfl-about-portrait { position: relative; }
.hf-landing-2026 .hfl-about-portrait img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  display: block;
  filter: saturate(0.85);
  transition: filter 0.5s;
}
.hf-landing-2026 .hfl-about-portrait:hover img { filter: saturate(1); }
.hf-landing-2026 .hfl-about-portrait::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(205,87,153,0.12) 0%, rgba(199,113,162,0.08) 100%);
  z-index: -1;
  filter: blur(40px);
}
.hf-landing-2026 .hfl-about-text p {
  color: var(--hfl-text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.hf-landing-2026 .hfl-about-text strong {
  color: var(--hfl-magenta-glow);
  font-weight: 500;
}
.hf-landing-2026 .hfl-about-links {
  margin-top: 2rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   UTBILDNINGAR
   ═══════════════════════════════════════ */
.hf-landing-2026 .hfl-edu-section { background: var(--hfl-bg-mid); }
.hf-landing-2026 .hfl-edu-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(205,87,153,0.25) 50%, transparent 100%);
}
.hf-landing-2026 .hfl-edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.hf-landing-2026 .hfl-edu-card {
  padding: 2.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(205,87,153,0.07);
  border-radius: 14px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  position: relative;
  overflow: hidden;
}
.hf-landing-2026 .hfl-edu-card::after {
  content: '→';
  position: absolute;
  top: 2.25rem; right: 2rem;
  color: var(--hfl-text-dim);
  font-size: 1.2rem;
  transition: all 0.3s;
}
.hf-landing-2026 .hfl-edu-card:hover::after {
  color: var(--hfl-magenta-glow);
  transform: translateX(4px);
}
.hf-landing-2026 .hfl-edu-card:hover {
  background: rgba(205,87,153,0.05);
  border-color: rgba(205,87,153,0.18);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(205,87,153,0.06);
}
.hf-landing-2026 .hfl-edu-marker {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  border-radius: 8px;
  overflow: hidden;
}
.hf-landing-2026 .hfl-edu-marker span { border-radius: 2px; }
.hf-landing-2026 .hfl-edu-card h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--hfl-text-primary);
}
.hf-landing-2026 .hfl-edu-card p {
  color: var(--hfl-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 300;
  padding-right: 2rem;
}

/* ═══════════════════════════════════════
   CTA
   ═══════════════════════════════════════ */
.hf-landing-2026 .hfl-cta-section {
  background: var(--hfl-bg-deep);
  text-align: center;
  padding: 6rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.hf-landing-2026 .hfl-cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(205,87,153,0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.hf-landing-2026 .hfl-cta-section h2 {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--hfl-text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  position: relative;
}
.hf-landing-2026 .hfl-cta-section p {
  color: var(--hfl-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  position: relative;
  font-weight: 300;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.hf-landing-2026 .hfl-footer {
  background: var(--hfl-bg-deep);
  padding: 3rem 3.5rem;
  border-top: 1px solid rgba(205,87,153,0.07);
}
.hf-landing-2026 .hfl-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hf-landing-2026 .hfl-footer-logo {
  height: 26px;
  width: auto;
  opacity: 0.7;
}
.hf-landing-2026 .hfl-footer-links { display: flex; gap: 2rem; }
.hf-landing-2026 .hfl-footer-links a {
  color: var(--hfl-text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s;
}
.hf-landing-2026 .hfl-footer-links a:hover { color: var(--hfl-magenta-glow); }
.hf-landing-2026 .hfl-footer-contact { font-size: 0.85rem; color: var(--hfl-text-dim); }
.hf-landing-2026 .hfl-footer-contact a { color: var(--hfl-magenta-glow); text-decoration: none; }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
.hf-landing-2026 .hfl-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1);
}
.hf-landing-2026 .hfl-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1000px) {
  .hf-landing-2026 .hfl-nav { padding: 1.25rem 1.5rem; }
  .hf-landing-2026 .hfl-nav-links { display: none; }
  .hf-landing-2026 .hfl-hero { padding: 0 1.5rem; }
  .hf-landing-2026 .hfl-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 7rem 0 3rem; }
  .hf-landing-2026 .hfl-hero-visual { order: -1; }
  .hf-landing-2026 .hfl-pixel-elephant { max-width: 240px; margin: 0 auto; }
  .hf-landing-2026 .hfl-hero-text h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); }
  .hf-landing-2026 .hfl-section { padding: 5rem 1.5rem; }
  .hf-landing-2026 .hfl-services-grid { grid-template-columns: 1fr; }
  .hf-landing-2026 .hfl-about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hf-landing-2026 .hfl-about-portrait img { max-width: 300px; margin: 0 auto; }
  .hf-landing-2026 .hfl-edu-grid { grid-template-columns: 1fr; }
  .hf-landing-2026 .hfl-footer-inner { flex-direction: column; text-align: center; }
  .hf-landing-2026 .hfl-footer-links { flex-wrap: wrap; justify-content: center; }
}
