/* ============================================================
   Seoul Dak Career Pages — Design System
   Light warm theme matching eatseouldak.com
   Enhanced with modern animations & micro-interactions
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Gasoek+One&family=Poppins:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  /* Core palette — light pink theme */
  --sd-bg: #f3dfe1;
  --sd-bg-alt: #edd5d8;
  --sd-surface: #ffffff;
  --sd-surface-warm: #f9f0f1;
  --sd-red: #d62929;
  --sd-red-hover: #C02020;
  --sd-red-light: #fdf4f5;
  --sd-red-glow: rgba(214, 41, 41, 0.25);
  --sd-text: #1A1A1A;
  --sd-text-secondary: #555555;
  --sd-text-muted: #888888;
  --sd-border: #e0ccce;
  --sd-border-light: #ebd8da;
  --sd-input-bg: #ffffff;
  --sd-input-border: #d9c8cb;
  --sd-overlay-dark: rgba(26, 26, 26, 0.7);

  /* Extended palette */
  --sd-red-gradient: linear-gradient(135deg, #d62929 0%, #FF4444 50%, #d62929 100%);
  --sd-glass-bg: rgba(243, 223, 225, 0.75);
  --sd-glass-border: rgba(255, 255, 255, 0.3);

  /* Typography */
  --sd-font-title: "Gasoek One", "Poppins", sans-serif;
  --sd-font-display: "Poppins", sans-serif;
  --sd-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --sd-max-width: 1200px;
  --sd-transition: 0.3s ease;
  --sd-easing: cubic-bezier(0.22, 1, 0.36, 1);

  /* Animation tokens */
  --sd-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --sd-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --sd-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --sd-duration-fast: 0.2s;
  --sd-duration-normal: 0.4s;
  --sd-duration-slow: 0.7s;
  --sd-duration-reveal: 0.9s;
  --sd-stagger: 0.08s;

  /* Shadows — multi-layered for realistic depth */
  --sd-shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  --sd-shadow-md: 0 2px 4px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.08);
  --sd-shadow-lg: 0 4px 8px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.12);
  --sd-shadow-glow: 0 0 20px rgba(214, 41, 41, 0.15);
  --sd-shadow-card-hover: 0 8px 16px rgba(0,0,0,0.06), 0 24px 64px rgba(0,0,0,0.1);

  /* Border-radius scale */
  --sd-radius-sm: 6px;
  --sd-radius-md: 8px;
  --sd-radius-lg: 12px;
  --sd-radius-xl: 16px;
  --sd-radius-pill: 24px;

  /* Z-index scale */
  --sd-z-header: 1000;
  --sd-z-modal: 2000;
  --sd-z-fab: 999;
  --sd-z-toast: 3000;

  /* Neon glow filters — multi-layered tube glow */
  --sd-neon-glow:
    drop-shadow(0 0 4px rgba(255,60,60,0.9))
    drop-shadow(0 0 11px rgba(214,41,41,0.6))
    drop-shadow(0 0 28px rgba(214,41,41,0.3));
  --sd-neon-glow-strong:
    drop-shadow(0 0 3px rgba(255,120,120,1))
    drop-shadow(0 0 8px rgba(255,60,60,0.9))
    drop-shadow(0 0 20px rgba(214,41,41,0.7))
    drop-shadow(0 0 46px rgba(214,41,41,0.35));
  --sd-neon-glow-dim:
    drop-shadow(0 0 2px rgba(255,60,60,0.5))
    drop-shadow(0 0 8px rgba(214,41,41,0.25));
  --sd-neon-glow-off:
    drop-shadow(0 0 1px rgba(214,41,41,0.2));
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sd-font-body);
  background-color: var(--sd-bg);
  color: var(--sd-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
  animation: sd-page-enter 0.6s var(--sd-easing) both;
}

@keyframes sd-page-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- Selection --- */
::selection { background: var(--sd-red); color: #FFFFFF; }
::-moz-selection { background: var(--sd-red); color: #FFFFFF; }

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--sd-bg); }
::-webkit-scrollbar-thumb { background: var(--sd-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--sd-red); }
html { scrollbar-width: thin; scrollbar-color: var(--sd-border) var(--sd-bg); }

/* --- Container --- */
.sd-container {
  max-width: var(--sd-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.sd-container--narrow { max-width: 760px; }

/* ============================================================
   SCROLL PROGRESS INDICATOR
   ============================================================ */
.sd-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--sd-red);
  z-index: calc(var(--sd-z-header) + 1);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* ============================================================
   HEADER
   ============================================================ */
.sd-header {
  position: sticky;
  top: 0;
  z-index: var(--sd-z-header);
  background: var(--sd-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sd-border-light);
  transition: box-shadow var(--sd-duration-fast) ease;
}

.sd-header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.sd-header__container {
  max-width: var(--sd-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
  transition: padding var(--sd-duration-normal) var(--sd-easing);
}

.sd-header--scrolled .sd-header__container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.sd-header__logo img {
  height: 48px;
  width: auto;
  transition: height var(--sd-duration-normal) var(--sd-easing);
}

.sd-header--scrolled .sd-header__logo img {
  height: 40px;
}

.sd-header__nav-list {
  display: flex;
  gap: 2.5rem;
}

.sd-header__nav-list a {
  color: var(--sd-text);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--sd-transition);
  position: relative;
}

.sd-header__nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sd-red);
  transition: width var(--sd-transition);
}

.sd-header__nav-list a:hover,
.sd-header__nav-list a.active {
  color: var(--sd-red);
}

.sd-header__nav-list a:hover::after,
.sd-header__nav-list a.active::after {
  width: 100%;
}

/* Admin nav link with tooltip */
.sd-header__admin-link {
  position: relative;
}

.sd-header__admin-link > a {
  opacity: 0.5;
  font-size: 0.78rem !important;
}

.sd-header__admin-note {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  padding: 0.6rem 0.8rem;
  background: #1A1A1A;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 8px;
  z-index: 100;
  pointer-events: none;
}

.sd-header__admin-note::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 16px;
  width: 10px;
  height: 10px;
  background: #1A1A1A;
  transform: rotate(45deg);
}

.sd-header__admin-link:hover .sd-header__admin-note {
  display: block;
}

/* Hamburger */
.sd-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--sd-radius-md);
  padding: 10px;
  position: relative;
  z-index: 1002;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--sd-duration-fast) ease,
              border-color var(--sd-duration-fast) ease;
}

.sd-header__hamburger:hover {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.12);
}

.sd-header__hamburger--active {
  background: rgba(214, 41, 41, 0.08);
  border-color: rgba(214, 41, 41, 0.2);
}

.sd-header__hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--sd-text);
  border-radius: 2px;
  transition: all 0.3s var(--sd-ease-spring);
}

.sd-header__hamburger--active span {
  background: var(--sd-red);
}

.sd-header__hamburger--active span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.sd-header__hamburger--active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.sd-header__hamburger--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

@media (max-width: 768px) {
  /* Solid background — no backdrop-filter, which would break
     position:fixed on the nav overlay (creates containing block) */
  .sd-header {
    background: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .sd-header__container {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .sd-header__logo img {
    height: 40px;
  }

  .sd-header__hamburger { display: flex; }

  /* Full-screen mobile nav overlay */
  .sd-header__nav-list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #f3dfe1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 5rem 2rem 3rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--sd-easing), visibility 0.4s;
    z-index: 1001;
    overflow-y: auto;
  }

  .sd-header__nav-list--open {
    opacity: 1;
    visibility: visible;
  }

  /* Staggered link entrance */
  .sd-header__nav-list li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--sd-easing), transform 0.4s var(--sd-easing);
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .sd-header__nav-list--open li {
    opacity: 1;
    transform: translateY(0);
  }

  .sd-header__nav-list--open li:nth-child(1) { transition-delay: 0.1s; }
  .sd-header__nav-list--open li:nth-child(2) { transition-delay: 0.15s; }
  .sd-header__nav-list--open li:nth-child(3) { transition-delay: 0.2s; }
  .sd-header__nav-list--open li:nth-child(4) { transition-delay: 0.25s; }
  .sd-header__nav-list--open li:nth-child(5) { transition-delay: 0.3s; }

  .sd-header__nav-list a {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 1rem 0;
    color: var(--sd-text, #1A1A1A);
  }

  .sd-header__nav-list a.active {
    color: var(--sd-red, #D62929);
  }

  .sd-header__nav-list a::after {
    display: none;
  }

  /* Admin link in mobile nav */
  .sd-header__admin-link > a {
    font-size: 1rem !important;
    opacity: 0.4;
  }

  .sd-header__admin-note {
    display: block !important;
    position: static;
    width: auto;
    background: none;
    color: rgba(0, 0, 0, 0.35);
    font-size: 0.65rem;
    padding: 0;
    margin-top: -0.5rem;
  }

  .sd-header__admin-note::before {
    display: none;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.sd-hero {
  position: relative;
  height: 85vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.sd-hero__bg {
  position: absolute;
  inset: -15%;
  background: url('../assets/images/444.webp') center/cover no-repeat,
              linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  will-change: transform;
  z-index: 0;
}

/* Fallback when no __bg div exists (legacy pages) */
.sd-hero:not(:has(.sd-hero__bg)) {
  background: url('../assets/images/444.webp') center/cover no-repeat,
              linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.sd-hero--compact {
  height: auto;
  min-height: 300px;
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.sd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.sd-hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
}

/* Hero text stagger entrance */
.sd-hero__tag {
  font-family: var(--sd-font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: #FFB4B4;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--sd-radius-pill);
  opacity: 0;
  transform: translateY(20px);
  animation: sd-hero-text-in 0.8s var(--sd-easing) 0.2s forwards;
}

.sd-hero__title {
  font-family: var(--sd-font-title);
  font-size: clamp(1.8rem, 4.5vw + 0.5rem, 3.5rem);
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 2px 2px 0px rgba(214, 41, 41, 0.5);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  word-spacing: 0.05em;
  opacity: 0;
  transform: translateY(30px);
  animation: sd-hero-text-in 0.8s var(--sd-easing) 0.4s forwards;
}

.sd-hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw + 0.5rem, 1.2rem);
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(20px);
  animation: sd-hero-text-in 0.8s var(--sd-easing) 0.6s forwards;
}

.sd-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.sd-hero__actions .sd-btn {
  min-width: 280px;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: sd-hero-text-in 0.8s var(--sd-easing) 0.8s forwards;
}

@keyframes sd-hero-text-in {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Hero Scroll Hint --- */
.sd-hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: sd-hero-text-in 0.8s var(--sd-easing) 1.2s forwards;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.sd-hero__scroll-hint span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sd-hero__scroll-hint svg {
  animation: sd-scroll-bounce 2s ease-in-out infinite;
}

@keyframes sd-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* --- Hero Floating Badges --- */
.sd-hero__floats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.sd-hero__float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--sd-radius-pill);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
}

.sd-hero__float svg {
  width: 16px;
  height: 16px;
  color: #FFB4B4;
}

.sd-hero__float--1 {
  top: 22%;
  left: 8%;
  animation: sd-float-in 0.8s var(--sd-easing) 1s forwards,
             sd-float-drift-1 6s ease-in-out 1.8s infinite;
}

.sd-hero__float--2 {
  top: 30%;
  right: 6%;
  animation: sd-float-in 0.8s var(--sd-easing) 1.3s forwards,
             sd-float-drift-2 7s ease-in-out 2.1s infinite;
}

.sd-hero__float--3 {
  bottom: 22%;
  left: 12%;
  animation: sd-float-in 0.8s var(--sd-easing) 1.6s forwards,
             sd-float-drift-3 5s ease-in-out 2.4s infinite;
}

@keyframes sd-float-in {
  from { opacity: 0; transform: translateY(15px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sd-float-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -8px); }
}

@keyframes sd-float-drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, 6px); }
}

@keyframes sd-float-drift-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, 7px); }
}

@media (max-width: 600px) {
  .sd-hero__floats { display: none; }
  .sd-hero__scroll-hint { bottom: 1.25rem; }
  .sd-hero__scroll-hint svg { width: 20px; height: 20px; }
}

/* ============================================================
   BUTTONS — Enhanced with Ripple, Press & Loading
   ============================================================ */
.sd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--sd-font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--sd-radius-md);
  cursor: pointer;
  transition: transform var(--sd-duration-fast) var(--sd-ease-spring),
              background var(--sd-duration-fast) var(--sd-easing),
              box-shadow var(--sd-duration-fast) var(--sd-easing),
              color var(--sd-duration-fast) var(--sd-easing),
              border-color var(--sd-duration-fast) var(--sd-easing);
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}

/* Focus visible ring for keyboard navigation */
.sd-btn:focus-visible {
  outline: 2px solid var(--sd-red);
  outline-offset: 3px;
}

/* Press effect */
.sd-btn:active:not(:disabled) {
  transform: scale(0.95) !important;
  transition-duration: 0.08s;
}

/* Ripple element (created by JS) */
.sd-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: sd-ripple-expand 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes sd-ripple-expand {
  to { transform: scale(4); opacity: 0; }
}

.sd-btn--primary {
  background: linear-gradient(135deg, #D62929 0%, #E84545 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(214, 41, 41, 0.3);
}
.sd-btn--primary:hover {
  background: linear-gradient(135deg, #C02020 0%, #D63636 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(214, 41, 41, 0.4),
              0 0 0 1px rgba(214, 41, 41, 0.1);
}

.sd-btn--outline {
  background: transparent;
  color: var(--sd-red);
  border: 2px solid var(--sd-red);
}
.sd-btn--outline:hover {
  background: var(--sd-red);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(214, 41, 41, 0.25);
}

.sd-btn--outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255,255,255,0.7);
}
.sd-btn--outline-white:hover {
  background: #FFFFFF;
  color: var(--sd-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.sd-btn--dark {
  background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.sd-btn--dark:hover {
  background: linear-gradient(135deg, #333333 0%, #444444 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.sd-btn--lg { padding: 1.05rem 2.75rem; font-size: 1rem; }
.sd-btn--sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }
.sd-btn--full { width: 100%; }

.sd-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Loading state — hides text, shows spinner */
.sd-btn--loading {
  pointer-events: none;
  color: transparent !important;
}

.sd-btn--loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sd-spin 0.7s linear infinite;
}

/* ============================================================
   HERO BUTTON ENHANCEMENTS — Magnetic, Shimmer, Glow
   ============================================================ */

/* --- Shimmer sweep on primary hero button --- */
.sd-hero__actions .sd-btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
  z-index: 1;
}

.sd-hero__actions .sd-btn--primary:hover::before {
  animation: sd-shimmer-sweep 0.8s var(--sd-ease-out-expo) forwards;
}

@keyframes sd-shimmer-sweep {
  0%   { left: -100%; }
  100% { left: 150%; }
}

/* --- Enhanced red glow on primary hero button hover --- */
.sd-hero__actions .sd-btn--primary:hover {
  box-shadow:
    0 6px 20px rgba(214, 41, 41, 0.4),
    0 0 30px rgba(214, 41, 41, 0.2),
    0 0 60px rgba(214, 41, 41, 0.1);
}

/* --- Magnetic button base styles --- */
.sd-btn[data-magnetic] {
  will-change: transform;
  transition: transform var(--sd-duration-normal) var(--sd-ease-spring),
              background var(--sd-duration-normal) var(--sd-easing),
              box-shadow var(--sd-duration-normal) var(--sd-easing),
              color var(--sd-duration-normal) var(--sd-easing),
              border-color var(--sd-duration-normal) var(--sd-easing);
}

/* --- Border glow on outline hero button hover --- */
.sd-hero__actions .sd-btn--outline-white[data-hero-glow]:hover {
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    0 0 15px rgba(255, 255, 255, 0.2),
    0 0 30px rgba(255, 255, 255, 0.1),
    inset 0 0 15px rgba(255, 255, 255, 0.05);
}

/* ============================================================
   CTA BAND BUTTON ENHANCEMENTS  (.sd-cta-btn)
   ============================================================ */

/* Base — ensure clip context */
.sd-cta-btn {
  overflow: hidden;
  position: relative;
}

/* ── Primary: shimmer sweep on hover ── */
.sd-cta-btn.sd-btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 1;
}

.sd-cta-btn.sd-btn--primary:hover::before {
  animation: sd-shimmer-sweep 0.8s var(--sd-ease-out-expo) forwards;
}

/* Idle glow pulse — draws attention before hover */
.sd-cta-btn.sd-btn--primary {
  animation: sd-cta-glow 3s ease-in-out infinite 1.5s;
}

.sd-cta-btn.sd-btn--primary:hover {
  box-shadow:
    0 10px 32px rgba(214, 41, 41, 0.55),
    0 0 48px rgba(214, 41, 41, 0.22);
  animation-play-state: paused;
}

@keyframes sd-cta-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(214, 41, 41, 0.3); }
  50%       { box-shadow: 0 6px 28px rgba(214, 41, 41, 0.6), 0 0 36px rgba(214, 41, 41, 0.18); }
}

/* ── Outline: clip-path fill from bottom ── */
.sd-cta-btn.sd-btn--outline {
  isolation: isolate;
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s var(--sd-ease-spring);
}

.sd-cta-btn.sd-btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sd-red);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.45s var(--sd-ease-spring);
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}

/* Override generic outline hover — fill comes from ::before */
.sd-cta-btn.sd-btn--outline:hover {
  background: transparent;
  color: #FFFFFF;
  border-color: var(--sd-red);
  box-shadow: 0 8px 28px rgba(214, 41, 41, 0.4);
  transform: translateY(-3px);
}

.sd-cta-btn.sd-btn--outline:hover::before {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .sd-cta-btn { animation: none !important; }
  .sd-cta-btn::before { transition: none !important; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.sd-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.sd-section--alt {
  background: var(--sd-bg-alt);
}

.sd-section--white {
  background: var(--sd-surface);
}

.sd-section__heading {
  font-family: var(--sd-font-title);
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  color: var(--sd-red);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.sd-section__subheading {
  text-align: center;
  color: var(--sd-text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* ============================================================
   CARDS — Enhanced with Glow Effect
   ============================================================ */
.sd-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #f8e8ea 100%);
  border: 1px solid rgba(232, 222, 218, 0.5);
  padding: 2rem;
  border-radius: var(--sd-radius-xl);
  box-shadow: var(--sd-shadow-sm);
  transition: all var(--sd-duration-normal) var(--sd-easing);
  position: relative;
}

.sd-card:hover {
  border-color: var(--sd-red);
  transform: translateY(-6px);
  box-shadow: var(--sd-shadow-card-hover);
}

/* ============================================================
   FORMS — Enhanced with Focus & Validation
   ============================================================ */
.sd-form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.sd-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--sd-text);
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: normal;
}

.sd-form-group label .sd-required {
  color: var(--sd-red);
  font-weight: 700;
}

.sd-form-group input,
.sd-form-group select,
.sd-form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--sd-input-bg);
  border: 1.5px solid var(--sd-input-border);
  color: var(--sd-text);
  font-size: 1rem;
  border-radius: var(--sd-radius-md);
  transition: border-color var(--sd-duration-normal) var(--sd-easing),
              box-shadow var(--sd-duration-normal) var(--sd-easing),
              background var(--sd-duration-normal) var(--sd-easing);
  appearance: none;
  -webkit-appearance: none;
}

.sd-form-group input:hover,
.sd-form-group select:hover,
.sd-form-group textarea:hover {
  border-color: #C4B5AE;
}

.sd-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.sd-form-group input:focus,
.sd-form-group select:focus,
.sd-form-group textarea:focus {
  outline: none;
  border-color: var(--sd-red);
  box-shadow: 0 0 0 4px rgba(214, 41, 41, 0.08);
  background: rgba(255, 249, 244, 0.5);
}

.sd-form-group input::placeholder,
.sd-form-group textarea::placeholder {
  color: var(--sd-text-muted);
}

/* Validation states */
.sd-form-group--valid input,
.sd-form-group--valid select {
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.08);
}

.sd-form-group--invalid input,
.sd-form-group--invalid select,
.sd-form-group--invalid .sd-select__trigger {
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.08);
  animation: sd-shake 0.4s var(--sd-easing);
}

.sd-form-group--invalid .sd-file-upload {
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.08);
  animation: sd-shake 0.4s var(--sd-easing);
}

@keyframes sd-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.sd-form-group input[type="file"] {
  padding: 0.75rem;
  cursor: pointer;
  background: var(--sd-bg);
}

.sd-form-group input[type="file"]::file-selector-button {
  background: var(--sd-red);
  color: #FFFFFF;
  border: none;
  padding: 0.5rem 1rem;
  font-family: var(--sd-font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-right: 1rem;
  transition: background var(--sd-transition);
}

.sd-form-group input[type="file"]::file-selector-button:hover {
  background: var(--sd-red-hover);
}

.sd-form-group select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: var(--sd-bg-alt);
}

.sd-form-hint {
  font-size: 0.8rem;
  color: var(--sd-text-muted);
  margin-top: 0.35rem;
}

.sd-form-tooltip {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  line-height: 1;
  opacity: 0.75;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.sd-form-tooltip:hover,
.sd-form-tooltip:focus {
  opacity: 1;
}
.sd-form-tooltip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sd-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: sans-serif;
  line-height: 1;
}
.sd-form-tooltip__text {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: -8px;
  width: 260px;
  padding: 0.65rem 0.85rem;
  background: var(--sd-text);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.45;
  border-radius: var(--sd-radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}
.sd-form-tooltip__text::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 12px;
  border: 6px solid transparent;
  border-top-color: var(--sd-text);
}
.sd-form-tooltip:hover .sd-form-tooltip__text,
.sd-form-tooltip:focus .sd-form-tooltip__text,
.sd-form-tooltip:active .sd-form-tooltip__text {
  display: block;
}

/* --- Conditional Form Fields (show/hide with animation) --- */
.sd-form-conditional {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
}

.sd-form-conditional > * {
  overflow: hidden;
  min-height: 0;
}

.sd-form-conditional--visible {
  grid-template-rows: 1fr;
  opacity: 1;
}

.sd-form-conditional .sd-form-row {
  margin-top: 0;
  padding-top: 0.25rem;
}

.sd-form-conditional .sd-form-group {
  padding-top: 0.25rem;
}

/* ============================================================
   Custom Select Dropdown — Shared Component
   ============================================================ */
.sd-select {
  position: relative;
  min-width: 130px;
}

.sd-select--open {
  z-index: 999;
}

/* Trigger button */
.sd-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--sd-surface);
  border: 1.5px solid var(--sd-input-border);
  border-radius: var(--sd-radius-md);
  color: var(--sd-text);
  font-family: var(--sd-font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-align: left;
  white-space: nowrap;
  line-height: 1.4;
}

.sd-select__trigger:hover {
  border-color: #C4B5AE;
  background: rgba(255, 249, 244, 0.5);
}

.sd-select--open .sd-select__trigger {
  border-color: var(--sd-red);
  box-shadow: 0 0 0 4px rgba(214, 41, 41, 0.1);
  background: var(--sd-surface);
}

.sd-select--has-value .sd-select__trigger {
  border-color: rgba(0, 0, 0, 0.15);
}

.sd-select--has-value .sd-select__value {
  color: var(--sd-text, #1A1A1A);
  font-weight: 500;
}

/* Red accent only for admin filter bar selects */
.sd-admin-filters .sd-select--has-value .sd-select__trigger {
  border-color: var(--sd-red);
  background: rgba(214, 41, 41, 0.03);
}

.sd-admin-filters .sd-select--has-value .sd-select__value {
  color: var(--sd-red);
  font-weight: 600;
}

/* Chevron icon */
.sd-select__chevron {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s;
  color: var(--sd-text-muted);
  opacity: 0.7;
}

.sd-select__trigger:hover .sd-select__chevron { opacity: 1; color: var(--sd-text-secondary); }
.sd-select--open .sd-select__chevron { transform: rotate(180deg); color: var(--sd-red); opacity: 1; }

/* Dropdown panel */
.sd-select__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 100%;
  background: var(--sd-surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12),
              0 4px 12px rgba(0, 0, 0, 0.06),
              0 0 0 1px rgba(0, 0, 0, 0.04);
  z-index: 200;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  opacity: 0;
  transform: translateY(-8px);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sd-select--open .sd-select__dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Scrollbar styling */
.sd-select__dropdown::-webkit-scrollbar { width: 6px; }
.sd-select__dropdown::-webkit-scrollbar-track { background: transparent; margin: 6px 0; }
.sd-select__dropdown::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}
.sd-select__dropdown::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.25); }

/* Option items */
.sd-select__option {
  padding: 0.6rem 0.85rem;
  font-size: 0.87rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 8px;
  margin-bottom: 2px;
  color: var(--sd-text-secondary);
  position: relative;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sd-select__option:last-child { margin-bottom: 0; }

.sd-select__option:hover {
  background: rgba(214, 41, 41, 0.06);
  color: var(--sd-text);
  transform: translateX(2px);
}

.sd-select__option:active {
  transform: scale(0.98);
}

/* Selected option */
.sd-select__option--selected {
  background: rgba(214, 41, 41, 0.08);
  color: var(--sd-red);
  font-weight: 600;
}

.sd-select__option--selected:hover {
  background: rgba(214, 41, 41, 0.12);
}

.sd-select__option--selected::after {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sd-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='white' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
  background-size: 11px;
  flex-shrink: 0;
}

/* Group label separator */
.sd-select__group-label {
  padding: 0.6rem 0.85rem 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sd-text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sd-select__group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sd-border);
}

/* Disabled state */
.sd-select--disabled .sd-select__trigger {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: var(--sd-bg-alt);
  pointer-events: none;
}

/* In-form variant (full-width, taller) */
.sd-form-group .sd-select { min-width: 0; width: 100%; }

.sd-form-group .sd-select__trigger {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border-radius: var(--sd-radius-md);
}

.sd-form-group .sd-select__dropdown {
  border-radius: 12px;
}

.sd-form-group .sd-select__option {
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
}

/* Filter-bar variant (compact) */
.sd-admin-filters .sd-select__trigger {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
}

.sd-admin-filters .sd-select__option {
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
}

/* Label above select (for public filter pages) */
.sd-select__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sd-text-secondary);
}

.sd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

/* Custom File Upload Drop Zone */
.sd-file-upload {
  border: 2px dashed var(--sd-border);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--sd-duration-normal) var(--sd-easing);
  background: var(--sd-red-light);
  border-radius: var(--sd-radius-lg);
}

.sd-file-upload:hover,
.sd-file-upload--dragover {
  border-color: var(--sd-red);
  background: var(--sd-red-light);
}

.sd-file-upload__icon {
  margin: 0 auto 0.75rem;
  opacity: 0.4;
  transition: opacity var(--sd-duration-normal) ease;
}

.sd-file-upload:hover .sd-file-upload__icon {
  opacity: 0.7;
}

.sd-file-upload__text {
  font-size: 0.9rem;
  color: var(--sd-text-secondary);
}

.sd-file-upload__text strong {
  color: var(--sd-red);
}

.sd-file-upload__filename {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sd-red);
  display: none;
}

.sd-file-upload--has-file .sd-file-upload__filename {
  display: block;
}

.sd-file-upload--has-file {
  border-color: #4CAF50;
  background: #E8F5E9;
  border-radius: var(--sd-radius-lg);
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.sd-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--sd-red-light);
  color: var(--sd-red);
  border: 1px solid rgba(214, 41, 41, 0.15);
  border-radius: var(--sd-radius-sm);
}

.sd-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--sd-red);
  color: #FFFFFF;
  margin-left: 0.5rem;
}

/* ============================================================
   SPINNER
   ============================================================ */
.sd-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--sd-border);
  border-top-color: var(--sd-red);
  border-radius: 50%;
  animation: sd-spin 0.8s linear infinite;
}

@keyframes sd-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.sd-skeleton {
  background: linear-gradient(
    90deg,
    var(--sd-bg-alt) 25%,
    var(--sd-surface-warm) 50%,
    var(--sd-bg-alt) 75%
  );
  background-size: 200% 100%;
  animation: sd-skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--sd-radius-sm);
}

@keyframes sd-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sd-skeleton-card {
  background: var(--sd-surface);
  border: 1px solid var(--sd-border);
  padding: 1.75rem;
  border-radius: var(--sd-radius-xl);
}

.sd-skeleton-line {
  height: 14px;
  margin-bottom: 0.75rem;
}

.sd-skeleton-line--title {
  width: 65%;
  height: 20px;
  margin-bottom: 1rem;
}

.sd-skeleton-line--short {
  width: 40%;
}

.sd-skeleton-tag {
  width: 70px;
  height: 24px;
  display: inline-block;
  border-radius: var(--sd-radius-sm);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.sd-toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: var(--sd-z-toast);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.sd-toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--sd-surface);
  border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-lg);
  box-shadow: var(--sd-shadow-lg);
  font-size: 0.9rem;
  color: var(--sd-text);
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  animation: sd-toast-in var(--sd-duration-normal) var(--sd-ease-spring) forwards;
}

.sd-toast--error { border-left: 4px solid #D32F2F; }
.sd-toast--success { border-left: 4px solid #4CAF50; }

.sd-toast--exit {
  animation: sd-toast-out 0.3s var(--sd-easing) forwards;
}

@keyframes sd-toast-in {
  to { transform: translateX(0); opacity: 1; }
}

@keyframes sd-toast-out {
  to { transform: translateX(120%); opacity: 0; }
}

@media (max-width: 600px) {
  .sd-toast-container { left: 1rem; right: 1rem; top: 1rem; }
  .sd-toast { padding: 0.75rem 1rem; font-size: 0.85rem; }
}

/* ============================================================
   FOOTER — Dark Professional Layout
   ============================================================ */
.sd-footer {
  background: #1A1A1A;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4rem;
  position: relative;
}

.sd-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sd-red) 0%, #FF4444 50%, var(--sd-red) 100%);
}

.sd-footer__main {
  padding: 4rem 0 3rem;
}

.sd-footer__container {
  max-width: var(--sd-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.sd-footer__heading {
  font-family: var(--sd-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

/* --- Brand Column --- */
.sd-footer__logo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sd-footer__logo a {
  display: block;
}

.sd-footer__logo img {
  height: 45px;
  width: auto;
  display: block;
}

.sd-footer__logo-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.sd-footer__logo-text {
  font-family: var(--sd-font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}

.sd-footer__tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

.sd-footer__locations {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Navigation Column --- */
.sd-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sd-footer__links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color var(--sd-duration-fast) ease, transform var(--sd-duration-fast) ease;
  display: inline-block;
}

.sd-footer__links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* --- Subscribe Column --- */
.sd-footer__subscribe-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.sd-footer__form {
  display: flex;
  gap: 0;
  max-width: 360px;
}

.sd-footer__form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  border-radius: var(--sd-radius-md) 0 0 var(--sd-radius-md);
  color: #FFFFFF;
  font-family: var(--sd-font-body);
  font-size: 0.9rem;
  transition: border-color var(--sd-duration-fast) ease, background var(--sd-duration-fast) ease;
}

.sd-footer__form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.sd-footer__form input:focus {
  outline: none;
  border-color: var(--sd-red);
  background: rgba(255, 255, 255, 0.12);
}

.sd-footer__form button {
  padding: 0.75rem 1.1rem;
  background: var(--sd-red);
  color: #FFFFFF;
  border: none;
  border-radius: 0 var(--sd-radius-md) var(--sd-radius-md) 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--sd-duration-fast) ease, transform var(--sd-duration-fast) ease;
}

.sd-footer__form button:hover {
  background: var(--sd-red-hover);
}

.sd-footer__form button:active {
  transform: scale(0.95);
}

.sd-footer__form button svg {
  width: 18px;
  height: 18px;
}

/* --- Social Column --- */
.sd-footer__social-icons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sd-footer__social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sd-radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  transition: background var(--sd-duration-fast) ease,
              color var(--sd-duration-fast) ease,
              transform var(--sd-duration-fast) var(--sd-ease-spring),
              border-color var(--sd-duration-fast) ease;
}

.sd-footer__social-icons a:hover {
  background: var(--sd-red);
  color: #FFFFFF;
  border-color: var(--sd-red);
  transform: translateY(-2px);
}

.sd-footer__social-icons svg {
  width: 20px;
  height: 20px;
}

.sd-footer__social-handle {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--sd-duration-fast) ease;
}

.sd-footer__social-handle:hover {
  color: var(--sd-red);
}

/* --- Bottom Bar --- */
.sd-footer__bottom {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sd-footer__bottom-inner {
  max-width: var(--sd-max-width);
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.sd-footer__credit a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--sd-duration-fast) ease;
}

.sd-footer__credit a:hover {
  color: var(--sd-red);
}

/* --- Footer: Tablet (768px) --- */
@media (max-width: 768px) {
  .sd-footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .sd-footer__logo { align-items: center; }
  .sd-footer__social-icons { justify-content: flex-start; }
  .sd-footer__bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* --- Footer: Phone (480px) --- */
@media (max-width: 480px) {
  .sd-footer__main { padding: 3rem 0 2rem; }
  .sd-footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .sd-footer__nav { text-align: center; }
  .sd-footer__links a:hover { transform: none; }
  .sd-footer__form {
    flex-direction: column;
    gap: 0.5rem;
    max-width: 320px;
    margin: 0 auto;
  }
  .sd-footer__form input {
    border-right: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--sd-radius-md);
    text-align: center;
  }
  .sd-footer__form button {
    border-radius: var(--sd-radius-md);
    padding: 0.75rem;
    justify-content: center;
  }
  .sd-footer__social {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .sd-footer__social-icons { justify-content: center; }
  .sd-footer__heading { text-align: center; }
}

/* ============================================================
   FLOATING ACTION BUTTON (FAB) — Consolidated
   ============================================================ */
/* --- Floating Social Buttons (Always Visible) --- */
.sd-social-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--sd-z-fab);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sd-social-float__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s var(--sd-ease-spring),
              box-shadow 0.25s ease;
}

.sd-social-float__btn svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
}

/* Tooltip labels */
.sd-social-float__btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 0.65rem);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #fff;
  color: var(--sd-text);
  font-family: var(--sd-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: var(--sd-radius-md);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease,
              transform 0.25s var(--sd-ease-spring);
}

.sd-social-float__btn::after {
  content: '';
  position: absolute;
  right: calc(100% + 0.25rem);
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sd-social-float__btn:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.sd-social-float__btn:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Instagram — gradient background */
.sd-social-float__btn--instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  box-shadow: 0 3px 14px rgba(225, 48, 108, 0.35);
}

.sd-social-float__btn--instagram:hover {
  transform: scale(1.12);
  box-shadow: 0 5px 22px rgba(225, 48, 108, 0.5);
}

.sd-social-float__btn:active {
  transform: scale(0.95);
}

/* --- Back to Top Button --- */
.sd-back-to-top {
  position: fixed;
  bottom: calc(2rem + 48px + 0.625rem);
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--sd-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sd-text);
  z-index: var(--sd-z-fab);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.85);
  transition: opacity 0.3s ease, visibility 0.3s ease,
              transform 0.3s var(--sd-ease-spring),
              background 0.2s ease, color 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease;
}

.sd-back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.sd-back-to-top:hover {
  background: var(--sd-red);
  border-color: var(--sd-red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(214, 41, 41, 0.3);
  transform: translateY(-2px) scale(1.08);
}

.sd-back-to-top:active {
  transform: translateY(0) scale(0.95);
}

.sd-back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.2s var(--sd-ease-spring);
}

.sd-back-to-top:hover svg {
  transform: translateY(-2px);
}

@supports (padding: env(safe-area-inset-bottom)) {
  .sd-back-to-top {
    bottom: calc(2rem + 48px + 0.625rem + env(safe-area-inset-bottom));
  }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS — Multi-Variant System
   ============================================================ */
.sd-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--sd-duration-reveal) var(--sd-easing),
              transform var(--sd-duration-reveal) var(--sd-easing),
              clip-path var(--sd-duration-reveal) var(--sd-easing),
              filter var(--sd-duration-reveal) var(--sd-easing);
  will-change: opacity, transform;
}

.sd-reveal--visible {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
  filter: blur(0) !important;
  clip-path: inset(0 0 0 0) !important;
}

/* Variant: fade-left */
.sd-reveal--left { transform: translateX(-40px); }

/* Variant: fade-right */
.sd-reveal--right { transform: translateX(40px); }

/* Variant: scale-up */
.sd-reveal--scale { transform: scale(0.92); }

/* Variant: clip-reveal */
.sd-reveal--clip {
  clip-path: inset(0 100% 0 0);
  transform: none;
}

/* Variant: blur-in */
.sd-reveal--blur {
  filter: blur(8px);
  transform: translateY(15px);
}

/* Stagger delays */
.sd-reveal--delay-1 { transition-delay: calc(var(--sd-stagger) * 1); }
.sd-reveal--delay-2 { transition-delay: calc(var(--sd-stagger) * 2); }
.sd-reveal--delay-3 { transition-delay: calc(var(--sd-stagger) * 3); }
.sd-reveal--delay-4 { transition-delay: calc(var(--sd-stagger) * 4); }
.sd-reveal--delay-5 { transition-delay: calc(var(--sd-stagger) * 5); }
.sd-reveal--delay-6 { transition-delay: calc(var(--sd-stagger) * 6); }
.sd-reveal--delay-7 { transition-delay: calc(var(--sd-stagger) * 7); }
.sd-reveal--delay-8 { transition-delay: calc(var(--sd-stagger) * 8); }

/* ============================================================
   ERROR / SUCCESS STATES — Enhanced with Animations
   ============================================================ */
.sd-error {
  color: #D32F2F;
  background: #FDECEA;
  border: 1px solid #F5C6CB;
  border-radius: var(--sd-radius-lg);
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}

.sd-success-card {
  text-align: center;
  padding: 4rem 2rem;
  animation: sd-success-enter 0.6s var(--sd-ease-spring) both;
}

@keyframes sd-success-enter {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.sd-success-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: #E8F5E9;
  border: 2px solid #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sd-icon-bounce 0.6s var(--sd-ease-spring) 0.2s both;
}

@keyframes sd-icon-bounce {
  from { transform: scale(0); }
  60% { transform: scale(1.15); }
  to { transform: scale(1); }
}

.sd-success-card__icon svg {
  width: 36px;
  height: 36px;
  color: #4CAF50;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: sd-checkmark-draw 0.5s ease-out 0.5s forwards;
}

@keyframes sd-checkmark-draw {
  to { stroke-dashoffset: 0; }
}

.sd-success-card h2 {
  font-family: var(--sd-font-display);
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--sd-text);
}

.sd-success-card p {
  color: var(--sd-text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ============================================================
   UTILITY
   ============================================================ */
.sd-text-center { text-align: center; }
.sd-mt-1 { margin-top: 0.5rem; }
.sd-mt-2 { margin-top: 1rem; }
.sd-mt-3 { margin-top: 1.5rem; }
.sd-mt-4 { margin-top: 2rem; }
.sd-mb-4 { margin-bottom: 2rem; }
.sd-hidden { display: none !important; }

/* ============================================================
   SMALL PHONE RESPONSIVE — 480px and below
   ============================================================ */
@media (max-width: 480px) {
  /* Hero */
  .sd-hero {
    min-height: 400px;
    height: 75vh;
  }
  .sd-hero--compact {
    min-height: 220px;
  }
  .sd-hero__content {
    padding: 1.25rem;
  }
  .sd-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .sd-hero__actions .sd-btn {
    width: 100%;
    justify-content: center;
    border-radius: var(--sd-radius-lg);
    padding: 0.95rem 1.5rem;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
  }
  .sd-hero__actions .sd-btn svg {
    width: 16px;
    height: 16px;
  }

  /* Buttons */
  .sd-btn--lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.88rem;
    border-radius: var(--sd-radius-lg);
  }

  /* Custom Select */
  .sd-select__dropdown {
    max-height: 200px;
  }

  /* File Upload */
  .sd-file-upload {
    padding: 1.25rem;
  }
  .sd-file-upload__icon svg {
    width: 32px;
    height: 32px;
  }
  .sd-file-upload__text {
    font-size: 0.82rem;
  }
}

/* ============================================================
   MOBILE-SPECIFIC ENHANCEMENTS
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .sd-btn:active,
  .sd-job-card:active,
  .sd-benefit-card:active,
  .sd-social-float__btn:active {
    transform: scale(0.97) !important;
    transition-duration: 0.1s !important;
  }
}

@supports (padding: env(safe-area-inset-bottom)) {
  .sd-footer__bottom-inner {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }
  .sd-social-float {
    bottom: calc(2rem + env(safe-area-inset-bottom));
    right: calc(2rem + env(safe-area-inset-right));
  }
}

/* ============================================================
   NEON DECORATIVE ELEMENTS — Seoul Nights Theme
   ============================================================ */

/* Base class for HTML-based neon accents */
.sd-neon {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.sd-neon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Blend mode for light backgrounds (hides white bg from PNGs) */
.sd-neon--light img {
  mix-blend-mode: multiply;
}

/* Glow modifier for dark backgrounds */
.sd-neon--glow-subtle img {
  mix-blend-mode: screen;
  filter: var(--sd-neon-glow-subtle);
}

/* Animations */
@keyframes sd-neon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes sd-neon-pulse {
  0%, 100% { filter: var(--sd-neon-glow-subtle); }
  50% { filter: var(--sd-neon-glow); }
}

.sd-neon--float {
  animation: sd-neon-float 6s ease-in-out infinite;
}

.sd-neon--pulse img {
  animation: sd-neon-pulse 4s ease-in-out infinite;
}

/* ============================================================
   REDUCED MOTION — Respect User Preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .sd-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }

  .sd-hero__tag,
  .sd-hero__title,
  .sd-hero__subtitle,
  .sd-hero__actions,
  .sd-hero__scroll-hint {
    opacity: 1 !important;
    transform: none !important;
  }

  .sd-hero__scroll-hint svg {
    animation: none !important;
  }

  .sd-hero__floats {
    display: none !important;
  }

  .sd-hero__bg {
    transform: none !important;
  }

  .sd-btn[data-magnetic] {
    will-change: auto !important;
  }

  .sd-hero__actions .sd-btn--primary::before {
    display: none !important;
  }

  .sd-neon--float,
  .sd-neon--pulse img {
    animation: none !important;
  }
}
