/* ResumaticAI homepage redesign */

:root {
  --bg: #f4f7ff;
  --bg-soft: #eef4ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --ink: #182033;
  --muted: #4a5670;
  --line: rgba(96, 119, 180, 0.18);
  --brand: #3557ff;
  --brand-2: #008573;
  --brand-3: #7d63ff;
  --shadow-lg: 0 22px 60px rgba(26, 44, 104, 0.12);
  --shadow-md: 0 16px 40px rgba(26, 44, 104, 0.1);
  --shadow-sm: 0 8px 18px rgba(26, 44, 104, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.resumegx-home {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(53, 87, 255, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(31, 208, 191, 0.18), transparent 28%),
    linear-gradient(180deg, #edf2ff 0%, #f7f9ff 24%, #eef3ff 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

body.resumegx-home h1,
body.resumegx-home h2,
body.resumegx-home h3,
body.resumegx-home h4,
body.resumegx-home h5,
body.resumegx-home h6,
body.resumegx-home .brand,
body.resumegx-home .btn-pill,
body.resumegx-home .section-kicker,
body.resumegx-home .editor-mockup__badge,
body.resumegx-home .template-card__title,
body.resumegx-home .article-card__tag,
body.resumegx-home .step-card h3,
body.resumegx-home .feature-card h3,
body.resumegx-home .story-card__person strong,
body.resumegx-home .footer h4 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.resumegx-home a {
  color: inherit;
  text-decoration: none;
}

body.resumegx-home img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.resumegx-shell {
  position: relative;
  overflow: clip;
}

.resumegx-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 82%);
  opacity: 0.35;
  z-index: 0;
}

.resumegx-shell > * {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1240px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 18px 0;
  
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.resumegx-home .brand img {
  width: auto;
  height: 64px;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
}

.brand span {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  background: transparent;
  box-shadow: none;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links a {
  color: #51607f;
  font-size: 0.96rem;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.site-nav__links a:hover {
  opacity: 0.7;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-pill:hover {
  transform: translateY(-1px);
}

.btn-pill--ghost {
  color: #4d5a75 !important;
  border: 1px solid rgba(106, 126, 175, 0.22);
  background: rgba(255, 255, 255, 0.88);
}

.btn-pill--gradient {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 14px 26px rgba(53, 87, 255, 0.22);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: all 0.25s ease;
}

body.resumegx-home .offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  width: 340px;
  max-width: calc(100vw - 40px);
  visibility: hidden;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.4s ease;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
  border-left: 1px solid rgba(153, 172, 222, 0.15);
}

body.resumegx-home .offcanvas.show,
body.resumegx-home .offcanvas.showing {
  visibility: visible;
  transform: translateX(0);
}

body.resumegx-home .offcanvas:not(.show):not(.showing) {
  pointer-events: none;
}

body.resumegx-home .offcanvas-backdrop {
  z-index: 9998;
  background: rgba(11, 17, 32, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.resumegx-home .offcanvas-header {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(153, 172, 222, 0.1);
}

body.resumegx-home .offcanvas-header .brand img {
  width: auto;
  height: 52px;
  max-width: 200px;
}

body.resumegx-home .offcanvas-header .btn-close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(153, 172, 222, 0.18);
  background: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  opacity: 1;
  padding: 0;
}

body.resumegx-home .offcanvas-header .btn-close i {
  font-size: 1.15rem;
  color: var(--muted);
}

body.resumegx-home .offcanvas-header .btn-close:hover {
  background: rgba(53, 87, 255, 0.08);
  transform: rotate(90deg);
}

body.resumegx-home .offcanvas-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offcanvas-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  flex-shrink: 0;
}

.mobile-nav-links {
  display: grid;
  gap: 4px;
  list-style: none;
  padding: 20px 16px;
  margin: 0;
}

.mobile-nav-links li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 14px;
  color: #3a4867;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none;
  position: relative;
}

.mobile-nav-links li a i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #3557ff;
  background: rgba(53, 87, 255, 0.08);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.mobile-nav-links li a:hover {
  background: rgba(53, 87, 255, 0.06);
  color: #3557ff;
  transform: translateX(4px);
}

.mobile-nav-links li a:hover i {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.offcanvas-actions {
  display: grid;
  gap: 10px;
  padding: 16px 20px 12px;
  margin-top: auto;
  border-top: 1px solid rgba(153, 172, 222, 0.1);
}

.offcanvas-actions .btn-pill {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 0.96rem;
}

.offcanvas-actions .btn-pill--ghost {
  background: #fff;
}

.offcanvas-footer {
  padding: 14px 20px 20px;
  text-align: center;
}

.offcanvas-footer p {
  margin: 0;
  font-size: 0.75rem;
  color: #6d7a96;
  font-weight: 500;
}

.hero-section {
  padding: 14px 0 34px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(135deg, #2f54f3 0%, #3557ff 42%, var(--brand-2) 100%);
}

.hero-panel {
    position: relative;
    border-radius: 40px;
    padding: 75px 20px;
    color: #fff;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.7;
}

.hero-panel::before {
  width: 340px;
  height: 340px;
  background: rgba(255, 255, 255, 0.14);
  right: -120px;
  top: -120px;
}

.hero-panel::after {
  width: 260px;
  height: 260px;
  background: rgba(0, 0, 0, 0.08);
  left: -90px;
  bottom: -120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  z-index: 1;
}

.hero-copy {
  max-width: 580px;
  width: 100%;
  text-align: left;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 4.65rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero-copy h1 span {
  color: #84f7ff;
}

.hero-copy p {
  margin: 0;
  max-width: 470px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: rgba(243, 248, 255, 0.92);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 90px;
  flex-wrap: wrap;
}

.hero-actions .btn-pill {
  min-height: 48px;
  padding: 0 22px;
}

.btn-pill--hero-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.trust-block {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;

}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.95);
  margin-left: -8px;
  box-shadow: 0 8px 16px rgba(7, 20, 54, 0.16);
}

.trust-avatars img:first-child {
  margin-left: 0;
}

.trust-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: rgba(243, 248, 255, 0.92);
}

.trust-rating .stars {
  letter-spacing: 2px;
  color: #ffd75a;
}

.hero-art {
  position: relative;
  bottom: auto;
  right: auto;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Animation Container */
.hero-animation-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 420px;
  overflow: visible;
}

.hero-animation-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(53, 87, 255, 0.3) 0%, rgba(31, 208, 191, 0.2) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-animation-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-animation-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

.hero-animation-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero-animation-particles span:nth-child(2) { top: 60%; left: 80%; animation-delay: 1.2s; }
.hero-animation-particles span:nth-child(3) { top: 80%; left: 20%; animation-delay: 2.4s; }
.hero-animation-particles span:nth-child(4) { top: 30%; left: 70%; animation-delay: 3.6s; }
.hero-animation-particles span:nth-child(5) { top: 70%; left: 50%; animation-delay: 4.8s; }

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 1; transform: translateY(-20px) scale(1); }
  80% { opacity: 0.5; transform: translateY(-60px) scale(0.8); }
}

.animation-scene {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0;
  transform-style: preserve-3d;
  animation: sceneVisibility 12s infinite linear;
  z-index: 1;
}

.layer-bg {
  width: 75%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 40px rgba(53, 87, 255, 0.15);
  border-radius: 8px;
  opacity: 0;
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) rotateZ(0deg) scale(0.85);
  animation: fadeInTiltAndScaleBackground 12s infinite ease-out;
}

.layer-fg {
  position: absolute;
  bottom: 18%;
  left: -8%;
  width: 38%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(53, 87, 255, 0.2);
  border-radius: 10px;
  opacity: 0;
  transform-origin: center center;
  transform: perspective(1200px) rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) translateZ(50px) scale(0);
  animation: popInForeground 12s infinite cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scene-delay-0, .scene-delay-0 .layer-bg, .scene-delay-0 .layer-fg { animation-delay: 0s; }
.scene-delay-1, .scene-delay-1 .layer-bg, .scene-delay-1 .layer-fg { animation-delay: 4s; }
.scene-delay-2, .scene-delay-2 .layer-bg, .scene-delay-2 .layer-fg { animation-delay: 8s; }

@keyframes sceneVisibility {
  0%, 33.33% { opacity: 1; pointer-events: auto; }
  33.34%, 100% { opacity: 0; pointer-events: none; }
}

@keyframes fadeInTiltAndScaleBackground {
  0% {
    opacity: 0;
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) rotateZ(0deg) scale(0.85);
  }
  4% {
    opacity: 0.5;
    transform: perspective(1200px) rotateY(-6deg) rotateX(4deg) rotateZ(-1deg) scale(0.95);
  }
  8% {
    opacity: 1;
    transform: perspective(1200px) rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) scale(1);
  }
  28% {
    opacity: 1;
    transform: perspective(1200px) rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) scale(1);
  }
  33.33% {
    opacity: 0;
    transform: perspective(1200px) rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) scale(0.9);
  }
  100% { opacity: 0; }
}

@keyframes popInForeground {
  0%, 2% {
    opacity: 0;
    transform: perspective(1200px) rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) translateZ(50px) scale(0.3);
  }
  8% {
    opacity: 0.7;
    transform: perspective(1200px) rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) translateZ(50px) scale(1.05);
  }
  12% {
    opacity: 1;
    transform: perspective(1200px) rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) translateZ(50px) scale(1);
  }
  28% {
    opacity: 1;
    transform: perspective(1200px) rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) translateZ(50px) scale(1);
  }
  33.33% {
    opacity: 0;
    transform: perspective(1200px) rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) translateZ(50px) scale(0.3);
  }
  100% { opacity: 0; }
}

.editor-mockup__top,
.editor-mockup__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.editor-mockup__top {
  padding: 2px 8px 14px;
}

.editor-mockup__dots {
  display: inline-flex;
  gap: 6px;
}

.editor-mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dce4f7;
}

.editor-mockup__badge {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #59678a;
  background: #eef3ff;
}

.editor-shell {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  min-height: 414px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfcff 0%, #f7f8fd 100%);
  border: 1px solid rgba(158, 172, 220, 0.2);
}

.editor-sidebar {
  padding: 8px 0;
  border-right: 1px solid rgba(158, 172, 220, 0.18);
}

.editor-sidebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin-bottom: 8px;
  border-radius: 14px;
  color: #5d6b85;
  font-size: 0.84rem;
  font-weight: 700;
}

.editor-sidebar__item.active {
  color: #3557ff;
  background: rgba(53, 87, 255, 0.08);
}

.editor-sidebar__item span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef3ff;
  color: inherit;
  font-size: 0.76rem;
}

.resume-sheet {
  position: relative;
  background: #fff;
  border: 1px solid rgba(158, 172, 220, 0.2);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 12px 24px rgba(22, 41, 86, 0.08);
}

.resume-sheet__heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.resume-sheet__heading h3 {
  margin: 0;
  color: #17213a;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}

.resume-sheet__heading p {
  margin: 6px 0 0;
  color: #5d6b85;
  font-size: 0.83rem;
}

.resume-sheet__heading .mini-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f6ff;
  color: #5971d6;
  font-size: 0.78rem;
  font-weight: 700;
}

.resume-sheet__line {
  height: 9px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(53, 87, 255, 0.72), rgba(53, 87, 255, 0.12));
  opacity: 0.65;
}

.resume-sheet__line:nth-child(2n) {
  width: 88%;
}

.resume-sheet__line:nth-child(3n) {
  width: 72%;
}

.resume-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 22px;
}

.resume-card,
.resume-side {
  border-radius: 16px;
  background: #fbfdff;
  border: 1px solid rgba(158, 172, 220, 0.14);
  padding: 16px;
}

.resume-card h4,
.resume-side h4 {
  margin: 0 0 10px;
  color: #1f2c46;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skill-chip,
.summary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.summary-pill {
  width: 74px;
  height: 74px;
  color: #1da968;
  border: 6px solid #dff7ea;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(29, 169, 104, 0.14);
}

.resume-side__stack {
  display: grid;
  gap: 12px;
}

.resume-side__item {
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(158, 172, 220, 0.14);
}

.resume-side__item span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(53, 87, 255, 0.64), rgba(53, 87, 255, 0.14));
  margin-top: 10px;
}

.trust-row {
  margin-top: 24px;
  padding: 28px 0 10px;
  text-align: center;
}

.trust-row__label {
  color: #5d6b85;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.trust-row__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  flex-wrap: wrap;
  color: #5d667d;
  font-size: 1.05rem;
  font-weight: 700;
}

.trust-row__logos span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trust-row__logos img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.section-block {
  padding: 72px 0;
}

.section-block--tight {
  padding-top: 58px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(53, 87, 255, 0.08);
  color: #3557ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-kicker img {
  width: 16px;
  height: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.section-head h2 span {
  color: #3557ff;
}

.section-head p {
  margin: 12px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

/* Templates showcase nested in resumegx home */
body.resumegx-home .templates-showcase {
  padding: 0;
  overflow: visible;
}

body.resumegx-home .templates-showcase::before,
body.resumegx-home .templates-showcase::after {
  display: none;
}

body.resumegx-home .templates-showcase .section-head {
  margin-bottom: 28px;
}

body.resumegx-home .templates-showcase__viewport {
  max-width: 100%;
  margin-bottom: 8px;
}

body.resumegx-home .templates-showcase .section-link {
  display: inline-flex;
  margin-top: 8px;
}

body.resumegx-home .templates-showcase__preview {
  height: 340px;
  overflow: visible;
}

body.resumegx-home .templates-showcase__preview img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
}

body.resumegx-home .templates-showcase__card {
  overflow: hidden;
}

body.resumegx-home .templates-showcase__card:hover .templates-showcase__preview img,
body.resumegx-home .templates-showcase__card:focus-visible .templates-showcase__preview img {
  transform: none;
}

.panel-shell {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(153, 172, 222, 0.18);
  box-shadow: var(--shadow-lg);
}

.templates-strip {
  padding: 28px;
}

.templates-strip__grid {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--brand);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease, background 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
}

.carousel-arrow:hover {
  transform: scale(1.12);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  border-color: transparent;
}

.carousel-arrow:active {
  transform: scale(0.92);
}

.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
}

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex: 1;
  min-width: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  transform: translateZ(0);
  padding: 8px 4px;
}

.template-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease, border-color 0.4s ease;
  transform: translateY(0);
  will-change: transform, box-shadow;
}

.template-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: rgba(53, 87, 255, 0.25);
}

.template-card.is-active {
  border-color: rgba(53, 87, 255, 0.45);
  box-shadow: 0 14px 34px rgba(53, 87, 255, 0.14);
}

.template-card.is-active::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 20px 20px 0 0;
}

.template-card__body {
  padding: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.template-card__image {
  aspect-ratio: 753 / 800;
  width: 100%;
  background: linear-gradient(180deg, #f5f8ff 0%, #eef3ff 100%);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(153, 172, 222, 0.08);
  flex-shrink: 0;
  box-sizing: border-box;
}

.template-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(10, 20, 50, 0.1);
  transition: box-shadow 0.35s ease;
}

.template-card:hover .template-card__image img {
  box-shadow: 0 10px 24px rgba(10, 20, 50, 0.12);
}

.template-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  min-height: 1.5rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 0 4px;
  flex-shrink: 0;
}

.template-card__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  box-shadow: 0 4px 8px rgba(53, 87, 255, 0.2);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  color: #3557ff;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 28px;
  align-items: center;
}

.feature-visual {
  position: relative;
  padding: 28px;
}

.score-card {
  position: absolute;
  left: 22px;
  top: 28px;
  width: 118px;
  padding: 18px 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 30px rgba(18, 35, 78, 0.12);
  border: 1px solid rgba(153, 172, 222, 0.2);
  z-index: 2;
}

.score-ring {
  width: 74px;
  height: 74px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 7px solid #dcefe7;
  border-top-color: #20ba7a;
  border-right-color: #20ba7a;
  display: grid;
  place-items: center;
  color: #1a9461;
  font-size: 1.4rem;
  font-weight: 800;
  position: relative;
  animation: scorePulse 2s ease-in-out infinite;
}

@keyframes scorePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(32, 186, 122, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(32, 186, 122, 0); }
}

.score-card strong {
  display: block;
  text-align: center;
  font-size: 0.85rem;
}

.feature-visual__sheet {
  width: min(100%, 500px);
  margin: 64px auto 0;
  position: relative;
  min-height: 340px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
  border: 1px solid rgba(153, 172, 222, 0.2);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  overflow: hidden;
}

.feature-visual__sheet::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(53, 87, 255, 0.1);
  pointer-events: none;
  z-index: 1;
}

.feature-visual__sheet::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(31, 208, 191, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.feature-visual__image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.feature-visual__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(10, 20, 50, 0.1);
}

.feature-visual__float {
  position: absolute;
  right: 34px;
  top: 120px;
  width: 180px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(153, 172, 222, 0.18);
  z-index: 2;
  animation: floatBob 3s ease-in-out infinite;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.feature-visual__float::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 1px solid rgba(153, 172, 222, 0.18);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}

.feature-visual__float h4 {
  margin: 0 0 8px;
  font-size: 0.86rem;
}

.feature-visual__float p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(153, 172, 222, 0.2);
  box-shadow: 0 12px 28px rgba(26, 44, 104, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(53, 87, 255, 0.15);
  border-color: rgba(53, 87, 255, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3557ff;
  background: linear-gradient(135deg, rgba(53, 87, 255, 0.12) 0%, rgba(31, 208, 191, 0.08) 100%);
  margin-bottom: 16px;
  font-size: 1.1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover i {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}

.feature-card h3,
.step-card h3,
.story-card h3,
.article-card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}

.feature-card p,
.step-card p,
.story-card p,
.article-card p,
.faq-copy p,
.footer-col p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

.step-card,
.story-card,
.article-card,
.faq-card,
.cta-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(153, 172, 222, 0.2);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(53, 87, 255, 0.12);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(53, 87, 255, 0.06);
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  font-size: 1.4rem;
  box-shadow: 0 12px 24px rgba(53, 87, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 16px 32px rgba(53, 87, 255, 0.35);
}

.step-connector {
  display: none;
}

@media (min-width: 992px) {
  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(53, 87, 255, 0.08);
    color: #3557ff;
    font-size: 0.85rem;
    z-index: 2;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonials-section {
  background:
    radial-gradient(circle at 20% 80%, rgba(53, 87, 255, 0.06), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(31, 208, 191, 0.06), transparent 40%);
}

.story-card {
  padding: 28px;
  position: relative;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(53, 87, 255, 0.1);
}

.story-card__quote-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(53, 87, 255, 0.1) 0%, rgba(31, 208, 191, 0.08) 100%);
  color: #3557ff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.story-card__quote {
  font-size: 1rem;
  color: #28324a;
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
  position: relative;
}

.story-card__user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(153, 172, 222, 0.15);
}

.story-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-card__person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(53, 87, 255, 0.15);
}

.story-card__person strong {
  display: block;
  font-size: 0.95rem;
}

.story-card__person span {
  display: block;
  color: #5d6b85;
  font-size: 0.82rem;
}

.story-card__stars {
  color: #ffbf3d;
  font-size: 0.88rem;
  letter-spacing: 2px;
}

.story-card--featured {
  border-color: rgba(53, 87, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.95) 100%);
  box-shadow: 0 16px 36px rgba(53, 87, 255, 0.12);
}

.story-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 24px 24px 0 0;
}

.testimonials-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  padding: 18px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(153, 172, 222, 0.15);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-avatars {
  display: flex;
}

.testimonials-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -8px;
}

.testimonials-avatars img:first-child {
  margin-left: 0;
}

.testimonials-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.testimonials-cta strong {
  color: var(--ink);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(26, 44, 104, 0.12);
}

.article-card__image {
  aspect-ratio: 1.6;
  overflow: hidden;
  position: relative;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card__image img {
  transform: scale(1.06);
}

.article-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 17, 32, 0.6) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-card:hover .article-card__overlay {
  opacity: 1;
}

.article-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #3557ff;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.article-card__body {
  padding: 20px;
}

.article-card__tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  color: #3557ff;
  background: rgba(53, 87, 255, 0.09);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.article-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.article-card__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #3557ff;
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}

.article-link:hover {
  gap: 10px;
}

.article-link i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.faq-layout {
  display: grid;
  grid-template-columns:1fr;
  gap: 28px;
  align-items: start;
}

.faq-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(53, 87, 255, 0.06), transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(31, 208, 191, 0.06), transparent 50%),
    var(--bg);
}

.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(53, 87, 255, 0.03), transparent 60%);
  pointer-events: none;
}

.faq-card {
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.35s ease;
}

.faq-card:hover {
  box-shadow: var(--shadow-lg);
}

.accordion__item {
  border: 0px solid var(--line);
  border-radius: 0;
  border-top: 1px solid var(--line);
  transition: background 0.25s ease, padding 0.25s ease;
  position: relative;
      padding: 10px;
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.accordion__item:hover::after,
.accordion__item.active::after {
  opacity: 1;
  transform: scaleY(1);
}

.accordion__item.active {
  background: rgba(53, 87, 255, 0.03);
}

.accordion__item:hover {
  background: rgba(53, 87, 255, 0.03);
  border-radius: 0;
}

.accordion__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 5px;
  cursor: pointer;
  transition: padding 0.25s ease;
}

.accordion__title:hover {
  padding-left: 28px;
}

.accordion__title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.accordion__title:hover h2 {
  color: var(--brand);
}

.accordion__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--brand);
  flex-shrink: 0;
  font-size: 0.82rem;
  border: 1px solid var(--line);
  transition: background 0.35s ease, color 0.35s ease, transform 0.4s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.accordion__title:hover .accordion__icon {
  background: var(--bg-soft);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(53, 87, 255, 0.08);
}

.accordion__title.active .accordion__icon {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: transparent;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(53, 87, 255, 0.3);
}

.accordion__body {
  display: none;
  padding: 0 24px 22px;
  animation: accordionOpen 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes accordionOpen {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.accordion__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.93rem;
}

.cta-card {
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(31, 208, 191, 0.35), transparent 50%),
    linear-gradient(135deg, #2f54f3 0%, #4c5dfd 40%, #19b7d3 100%);
  color: #fff;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 52px rgba(47, 84, 243, 0.28);
}

.cta-card__inner {
  min-height: 100%;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 24px;
  align-items: center;
}

.cta-card__copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.cta-card__copy p {
  margin-bottom: 22px;
  color: rgba(241, 247, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 400px;
}

.cta-card__art {
  position: relative;
  height: 220px;
}

.cta-card__art img {
  position: absolute;
  right: 0;
  border-radius: 16px;
  box-shadow: 0 18px 30px rgba(8, 17, 45, 0.18);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-card:hover .cta-card__art img:first-child {
  transform: rotate(-8deg) translateY(-6px);
}

.cta-card:hover .cta-card__art img:last-child {
  transform: rotate(6deg) translateY(6px);
}

.cta-card__art img:first-child {
  width: 118px;
  top: 0;
  transform: rotate(-12deg);
}

.cta-card__art img:last-child {
  width: 144px;
  bottom: 0;
  transform: rotate(10deg);
}

/*========================
 CAREER DASHBOARD
=========================*/

/* Old dashboard styles removed - see dashboard-layout.css for new styles */

.footer {
  margin-top: 20px;
  padding: 64px 0 24px;
  color: rgba(240, 246, 255, 0.82);
  background: linear-gradient(180deg, #0b1120 0%, #080c14 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .brand span,
.footer a,
.footer h4 {
  color: #fff;
}

.footer-col p {
  color: rgba(240, 246, 255, 0.6);
  max-width: 320px;
  margin-top: 16px;
  line-height: 1.7;
  font-size: 0.92rem;
}

.footer-links,
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 14px;
}

.footer-links a {
  color: rgba(240, 246, 255, 0.6);
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer h4 {
  margin: 0 0 20px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  color: rgba(240, 246, 255, 0.6);
  font-size: 0.88rem;
}

.scrolltotop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(53, 87, 255, 0.28);
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(0);
  border: none;
  padding: 0;
}

.scrolltotop:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(53, 87, 255, 0.35);
}

.scrolltotop:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(53, 87, 255, 0.2), 0 16px 32px rgba(53, 87, 255, 0.28);
}

.scrolltotop .pluse,
.scrolltotop .pluse2 {
  display: none;
}

@media (max-width: 1199px) {
  .features-grid,
  .faq-layout,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 50%;
  }

  .hero-actions {
    margin-top: 40px;
  }

  .editor-mockup {
    width: 100%;
  }

  .templates-strip__grid {
    gap: 14px;
  }

  .template-card {
    flex: 0 0 calc((100% - 28px) / 3);
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .feature-cards,
  .steps-grid,
  .testimonials-grid,
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-connector {
    display: none;
  }

  .cta-card__inner {
    grid-template-columns: 1fr;
  }

  .cta-card__art {
    height: 200px;
    position: absolute;
        width: 100%;
        right: 0;
               opacity: 0.2;
        bottom: 0;
  }
}

@media (max-width: 991px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav__links,
  .site-nav__actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-panel {
    padding: 32px 24px;
    border-radius: 28px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-copy p {
    font-size: 1rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    margin-top: 32px;
    justify-content: center;
  }

  .trust-block {
    justify-content: center;
    text-align: left;
  }

  .hero-art {
    max-width: 350px;
    margin: 0 auto;
  }

  .hero-animation-container {
    max-width: 320px;
    height: 320px;
  }

  .hero-panel::before,
  .hero-panel::after {
    opacity: 0.45;
  }

  .editor-shell {
    grid-template-columns: 1fr;
  }

  .editor-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(158, 172, 220, 0.18);
    padding-bottom: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .editor-sidebar__item {
    margin-bottom: 0;
  }

  .resume-grid {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .template-card {
    flex: 0 0 calc((100% - 12px) / 2);
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .feature-cards,
  .steps-grid,
  .testimonials-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 24px, 1240px);
  }

  .site-header {
    padding: 12px 0;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .brand img {
    height: 52px;
    width: auto;
    max-width: 200px;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-section {
    padding: 0 0 20px;
  }

  .hero-panel {
    padding: 28px 18px 24px;
    border-radius: 20px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 12vw, 2.8rem);
    margin-bottom: 14px;
  }

  .hero-copy p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-pill {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .trust-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 24px;
    gap: 12px;
  }

  .trust-avatars img {
    width: 30px;
    height: 30px;
  }

  .trust-rating {
    flex-direction: column;
    gap: 4px;
    font-size: 0.88rem;
  }

  .hero-art {
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-animation-container {
    max-width: 280px;
    height: 280px;
  }

  .hero-animation-glow {
    width: 200px;
    height: 200px;
  }

  .hero-panel::before {
    width: 200px;
    height: 200px;
    right: -80px;
    top: -80px;
  }

  .hero-panel::after {
    width: 160px;
    height: 160px;
    left: -60px;
    bottom: -80px;
  }

  .trust-row {
    padding: 20px 0 6px;
    margin-top: 16px;
  }

  .trust-row__label {
    font-size: 0.7rem;
    margin-bottom: 14px;
  }

  .trust-row__logos {
    gap: 16px;
    font-size: 0.9rem;
  }

  .templates-strip {
    padding: 16px 12px;
  }

  .templates-strip__grid {
    gap: 10px;
  }

  .carousel-track {
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .carousel-track::-webkit-scrollbar { display:none; }

  .template-card {
    flex: 0 0 calc((100% - 10px) / 2);
    border-radius: 16px;
    scroll-snap-align: center;
  }

  .template-card__body {
    padding: 8px;
  }

  .template-card__image {
    padding: 8px;
  }

  .template-card__image img {
    border-radius: 8px;
  }

  .template-card__title {
    font-size: 0.82rem;
    margin-top: 8px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .editor-mockup {
    padding: 12px;
    min-height: auto;
  }

  .editor-shell {
    padding: 12px;
  }

  .editor-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resume-sheet {
    padding: 16px;
  }

  .resume-sheet__heading {
    flex-direction: column;
  }

  .feature-visual {
    padding: 14px 0 0;
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .feature-visual__sheet {
    padding: 14px;
    min-height: auto;
  }

  .feature-visual__image {
    min-height: 220px;
  }

  .score-card {
    position: static;
    max-width: 200px;
    width: 100%;
    margin-bottom: 16px;
    padding: 14px 12px;
  }

  .score-ring {
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
    border-width: 6px;
    margin-bottom: 6px;
  }

  .feature-visual__float {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .cta-card__inner {
    padding: 22px;
  }

  .cta-card__art {
    height: 180px;
  }

  .step-number {
    font-size: 2.2rem;
  }

  .story-card {
    padding: 22px;
  }

  .testimonials-cta {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
    width: 100%;
  }

  .article-card__overlay {
    opacity: 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  body.resumegx-home a {
    margin-left: 30px;
    padding: 10px;
}

  .templates-strip {
    padding: 12px 0;
  }

  .templates-strip__grid {
    gap: 0;
  }

  .carousel-track {
    gap: 12px;
    overflow: visible;
  }

  .template-card {
    flex: 0 0 82%;
    border-radius: 14px;
  }

  .template-card:last-child {
    margin-right: 12px;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
  }
}



    
  #hiwWrap{
    --hiw-ink:#182033;
    --hiw-ink-soft:#4a5670;
    --hiw-line:rgba(96,119,180,.18);
    --hiw-paper:#ffffff;
    --hiw-wash:#f4f7ff;
    --hiw-brand:#3557ff;
    --hiw-brand-2:#008573;
    --hiw-brand-dark:#1a3bd6;
    --hiw-brand-wash:rgba(53,87,255,.08);
    --hiw-ease:cubic-bezier(.16,1,.3,1);
    --hiw-ease-soft:cubic-bezier(.22,.61,.36,1);
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    color:var(--hiw-ink);
    position:relative;
  }
  #hiwWrap *{box-sizing:border-box;}
  #hiwWrap a{color:inherit;}

  /* ---- pin mechanism ---- */
  .hiw-wrap{ position:relative; } /* height is set by JS based on step count */
  .hiw-inner{
    position:sticky;
    top:0;
    height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
  }
  

  .hiw-section{
    max-width:1180px;
    margin:0 auto;
    padding:72px 32px;
    width:100%;
    max-height:100vh;
    overflow-y:auto;
    scrollbar-width:none;
  }
  #hiwWrap{
    background:
      radial-gradient(circle at 80% 20%, rgba(53,87,255,.05), transparent 40%),
      radial-gradient(circle at 20% 80%, rgba(31,208,191,.05), transparent 40%),
      var(--hiw-wash);
    isolation:isolate;
  }
  #hiwWrap::before{
    content:'';
    position:absolute;
    top:0;left:0;right:0;
    height:4px;
    background:linear-gradient(90deg, var(--hiw-brand), var(--hiw-brand-2));
    z-index:1;
  }
  .hiw-section::-webkit-scrollbar{display:none;}

  /* ---- head ---- */
  .hiw-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:8px 14px;
    border-radius:999px;
    background:var(--hiw-brand-wash);
    color:var(--hiw-brand);
    font-size:10px;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
  }
  .hiw-eyebrow img{
    width:16px;height:16px;
  }
  .hiw-head{
    text-align:center;
    max-width:640px;
    margin:0 auto 36px;
    opacity:0;
    transform:translateY(24px);
    transition:opacity .8s var(--hiw-ease), transform .8s var(--hiw-ease);
  }
  .hiw-head.hiw-in{opacity:1;transform:translateY(0);}
  .hiw-title{
    font-size:clamp(26px,3.6vw,38px);
    line-height:1.06;
    margin:14px 0 0;
    letter-spacing:-0.05em;
    font-family:'Plus Jakarta Sans','Inter',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  }

  /* ---- grid ---- */
  .hiw-grid{
    display:grid;
    grid-template-columns:minmax(0,420px) minmax(0,1fr);
    gap:48px;
    align-items:center;
    opacity:0;
    transform:translateY(28px);
    transition:opacity .8s var(--hiw-ease) .08s, transform .8s var(--hiw-ease) .08s;
  }
  .hiw-grid.hiw-in{opacity:1;transform:translateY(0);}

  /* ---- steps list ---- */
  .hiw-steps{
    display:flex;
    flex-direction:column;
    position:relative;
  }
  .hiw-timeline-base, .hiw-timeline-fill{
    position:absolute;
    width:2px;
    border-radius:2px;
    top:0; height:0;
  }
  .hiw-timeline-base{ background:var(--hiw-line); }
  .hiw-timeline-fill{
    background:linear-gradient(180deg, var(--hiw-brand), var(--hiw-brand-2));
    box-shadow:0 0 10px 0 rgba(53,87,255,.5);
    transition:height .12s linear;
  }
  .hiw-step{
    position:relative;
    padding:18px 16px 18px 58px;
    border-radius:14px;
    cursor:pointer;
    transition:background .45s var(--hiw-ease), box-shadow .45s var(--hiw-ease), transform .45s var(--hiw-ease);
  }
  .hiw-step:hover{background:#ffffffaa;}
  .hiw-step.hiw-active{
    background:var(--hiw-paper);
    box-shadow:0 8px 28px -12px rgba(26,44,104,.2);
    transform:translateX(4px);
  }
  .hiw-step.hiw-active::after{
    content:'';
    position:absolute;
    left:0;top:14px;bottom:14px;
    width:3px;
    background:linear-gradient(180deg, var(--hiw-brand), var(--hiw-brand-2));
    border-radius:0 3px 3px 0;
  }
  .hiw-step-num{
    position:absolute;
    left:14px;
    top:14px;
    width:28px;height:28px;
    border-radius:50%;
    background:var(--hiw-wash);
    border:2px solid var(--hiw-line);
    color:var(--hiw-ink-soft);
    font-weight:700;
    font-size:13px;
    display:flex;align-items:center;justify-content:center;
    transition:background .4s var(--hiw-ease), border-color .4s var(--hiw-ease), color .4s var(--hiw-ease), box-shadow .4s var(--hiw-ease);
    z-index:1;
  }
  .hiw-step.hiw-active .hiw-step-num{
    background:linear-gradient(135deg, var(--hiw-brand), var(--hiw-brand-2));
    border-color:var(--hiw-brand);
    color:#fff;
    box-shadow:0 0 0 6px var(--hiw-brand-wash);
  }
  .hiw-step.hiw-active .hiw-step-num.hiw-pop{
    animation:hiwNumPop .5s var(--hiw-ease-soft);
  }
  @keyframes hiwNumPop{
    0%{transform:scale(1);}
    40%{transform:scale(1.28);}
    100%{transform:scale(1);}
  }
  .hiw-step-title{
    font-size:17px;
    font-weight:700;
    margin:0;
    font-family:'Plus Jakarta Sans','Inter',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
    transition:color .4s var(--hiw-ease), transform .4s var(--hiw-ease);
  }
  .hiw-step.hiw-active .hiw-step-title{color:var(--hiw-brand); transform:translateX(2px);}
  .hiw-step-desc{
    display:grid;
    grid-template-rows:0fr;
    opacity:0;
    transition:grid-template-rows .5s var(--hiw-ease), opacity .4s var(--hiw-ease), margin .5s var(--hiw-ease);
    margin-top:0;
  }
  .hiw-step.hiw-active .hiw-step-desc{
    grid-template-rows:1fr;
    opacity:1;
    margin-top:6px;
  }
  .hiw-step-desc-inner{overflow:hidden;}
  .hiw-step-desc p{
    margin:0 0 10px;
    font-size:14px;
    line-height:1.6;
    color:var(--hiw-ink-soft);
    max-width:380px;
  }
  .hiw-progress-track{
    height:3px;
    width:100%;
    background:var(--hiw-line);
    border-radius:3px;
    overflow:hidden;
  }
  .hiw-progress-fill{
    position:relative;
    height:100%;
    width:0%;
    background:linear-gradient(90deg, var(--hiw-brand), var(--hiw-brand-2));
    border-radius:3px;
    transition:width .08s linear;
  }
  .hiw-progress-fill::after{
    content:"";
    position:absolute;
    right:0; top:50%;
    width:8px;height:8px;
    border-radius:50%;
    transform:translate(50%,-50%);
    box-shadow:0 0 8px 2px rgba(53,87,255,.7);
    opacity:0;
    transition:opacity .2s ease;
  }
  .hiw-progress-fill.hiw-live::after{ opacity:1; }

  /* ---- visual panel ---- */
.hiw-panel{
    position:relative;
    background:var(--hiw-paper);
    border-radius:24px;
    border:1px solid var(--hiw-line);
    box-shadow:0 20px 50px -24px rgba(26,44,104,.25);
    padding:32px;
    min-height:420px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    transform-style:preserve-3d;
    transition:transform .3s var(--hiw-ease-soft), box-shadow .4s var(--hiw-ease);
    will-change:transform;
  }
  .hiw-panel-glow{
    position:absolute;
    width:300px;height:300px;
    border-radius:50%;
    filter:blur(60px);
    opacity:.55;
    background:rgba(53,87,255,.1);
    top:-100px; left:-70px;
    transition:background 1.1s var(--hiw-ease);
    animation:hiwDriftGlow 10s ease-in-out infinite;
    z-index:0;
  }
  @keyframes hiwDriftGlow{
    0%,100%{ transform:translate(0,0) scale(1); }
    50%{ transform:translate(30px,20px) scale(1.15); }
  }
  .hiw-panel-bg{
    position:absolute;
    inset:0;
    background:radial-gradient(120% 120% at 15% 0%, var(--hiw-brand-wash), transparent 60%);
    opacity:.7;
    transition:background 1.1s var(--hiw-ease);
    z-index:0;
  }
  .hiw-panel{
    box-shadow:0 20px 50px -24px rgba(26,44,104,.25);
  }
  .hiw-art-wrap{
    position:relative;
    z-index:1;
    width:100%;
    display:flex;
    justify-content:center;
    perspective:800px;
  }
  .hiw-art{
    width:100%;
    max-width:280px;
    opacity:0;
    filter:blur(6px);
    transform:translateY(22px) scale(.94);
    transition:opacity .55s var(--hiw-ease), transform .55s var(--hiw-ease), filter .55s var(--hiw-ease);
  }
  .hiw-art.hiw-show{
    opacity:1;
    filter:blur(0);
    transform:translateY(0) scale(1);
  }
  .hiw-art.hiw-exit-up{ transform:translateY(-22px) scale(.94); }
  .hiw-art.hiw-exit-down{ transform:translateY(22px) scale(.94); }
  .hiw-blink{ animation:hiwBlink 1s step-start infinite; }
  @keyframes hiwBlink{50%{opacity:0;}}
  .hiw-floaty{ animation:hiwFloaty 3.2s ease-in-out infinite; }
  @keyframes hiwFloaty{ 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }

  @media (prefers-reduced-motion:reduce){
    .hiw-panel-glow{ animation:none; }
    .hiw-floaty{ animation:none; }
    .hiw-eyebrow::before{ animation:none; }
    .hiw-step, .hiw-art, .hiw-head, .hiw-grid{ transition:none !important; }
  }

  /* ---- mobile: pinning turns off, section scrolls normally ---- */
  @media (max-width:860px){
    .hiw-inner{ position:static; height:auto; overflow:visible; }
    .hiw-progress-bar{ display:none; }
    .hiw-section{ padding:56px 20px; max-height:none; overflow:visible; }
    #hiwWrap{ background:transparent; }
    .hiw-panel{ border-radius:18px; }
    .hiw-grid{ grid-template-columns:1fr; gap:8px; }
    .hiw-panel{
      order:-1;
      min-height:280px;
      margin-bottom:24px;
      padding:20px;
    }
    .hiw-step{padding:16px 14px 16px 52px;}
    .hiw-step-num{left:10px;top:12px;width:26px;height:26px;font-size:12px;}
    .hiw-panel:hover{ transform:none; }
  }
