* {
  box-sizing: border-box;
}

:root {
  --picart-page-max: 1240px;
  --picart-page-gutter: 48px;
  --picart-font:
    Inter,
    "Plus Jakarta Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  --picart-ink: #0f172a;
  --picart-text: #344054;
  --picart-muted: #667085;
  --bg: #f7faff;
  --white: #ffffff;
  --text: #090b12;
  --muted: #687083;
  --blue: #2563eb;
  --blue-dark: #174fd2;
  --blue-soft: #edf4ff;
  --green: #16b981;
  --green-soft: #eafff5;
  --purple: #7c5cff;
  --purple-soft: #f3efff;
  --line: #e6ecf5;
  --shadow: 0 24px 70px rgba(30, 64, 175, 0.12);
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: var(--picart-font);
  background:
    radial-gradient(
      circle at 80% 12%,
      rgba(37, 99, 235, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

:where(h1, h2, h3) {
  color: var(--picart-ink);
  font-weight: 900;
  letter-spacing: 0;
}

:where(p) {
  line-height: 1.65;
}

.container {
  width: min(var(--picart-page-max), calc(100% - var(--picart-page-gutter)));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 34px;
  color: #222938;
  font-size: 15px;
  font-weight: 650;
}

.nav-actions {
  gap: 18px;
  font-weight: 700;
}

.nav-btn {
  background: var(--blue);
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.hero {
  padding: 72px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 650px;
  margin: 24px 0 20px;
  font-size: clamp(48px, 5.8vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--blue);
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  margin: 0;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  min-width: 170px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 17px 24px;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 850;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: white;
  box-shadow: inset 0 0 0 1px #d7deea;
}

.trust {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border: 2px solid white;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.avatars span:first-child {
  margin-left: 0;
}

.stars {
  color: #f5b400;
  letter-spacing: 4px;
}

.trust p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 565px;
}

.doc {
  position: absolute;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.cv-doc {
  top: 0;
  left: 80px;
  width: 350px;
  height: 520px;
  display: grid;
  grid-template-columns: 105px 1fr;
  overflow: hidden;
  transform: rotate(-3deg);
}

.cv-side {
  background: #0f3758;
  color: white;
  padding: 24px 16px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
  margin: 0 auto 14px;
}

.cv-side h4,
.cv-side p {
  text-align: center;
}

.cv-side h4 {
  margin: 0;
  font-size: 14px;
}

.cv-side p {
  margin: 4px 0 24px;
  font-size: 10px;
  color: #bdd7ef;
}

.cv-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 24px;
}

.cv-list span,
.skill-line,
.section-line,
.job-row {
  display: block;
  border-radius: 99px;
}

.cv-list span {
  height: 6px;
  background: rgba(255, 255, 255, 0.55);
}

.cv-side small {
  font-size: 9px;
  color: #bdd7ef;
}

.skill-line {
  height: 6px;
  margin-top: 10px;
  background: #93c5fd;
}

.skill-line.short {
  width: 72%;
}

.cv-main {
  padding: 28px 22px;
}

.cv-main h3 {
  margin: 0;
  font-size: 23px;
}

.role {
  margin: 5px 0 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.section-line {
  height: 8px;
  background: #d9e2ef;
  margin-bottom: 10px;
}

.section-line.big {
  width: 90%;
}

.cv-main h5 {
  margin: 25px 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 10px;
}

.job-row {
  height: 9px;
  background: #e8eef7;
  margin-bottom: 9px;
}

.job-row.short {
  width: 70%;
}

.invoice-doc {
  right: 0;
  top: 70px;
  width: 360px;
  height: 390px;
  padding: 30px;
  transform: rotate(4deg);
}

.invoice-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.invoice-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.invoice-head h4 {
  margin: 0;
  color: var(--blue);
}

.bill-box {
  background: #f6f8fc;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 22px;
}

.bill-box p,
.bill-box span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.bill-box strong {
  display: block;
  margin: 5px 0;
}

.invoice-table {
  display: grid;
  gap: 10px;
}

.invoice-table div {
  height: 28px;
  border-radius: 7px;
  background: #eef4ff;
}

.total-box {
  margin-top: 24px;
  background: #eef4ff;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  color: var(--blue);
}

.floating-badge {
  position: absolute;
  left: 360px;
  bottom: 60px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 22px 42px rgba(124, 92, 255, 0.3);
}

.floating-badge strong {
  display: block;
  font-size: 26px;
}

.floating-badge span {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.strip-card {
  background: white;
  border-radius: 16px;
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 16px 55px rgba(16, 24, 40, 0.08);
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item span {
  font-size: 28px;
}

.strip-item strong {
  display: block;
}

.strip-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tools-section {
  padding: 72px 0 50px;
}

.section-head p {
  color: var(--blue);
  font-weight: 950;
  letter-spacing: 0.12em;
  font-size: 13px;
  margin: 0 0 12px;
}

.section-head h2,
.center-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.055em;
}

.section-head span,
.center-head p {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.tool-card {
  min-height: 230px;
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  transition: 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.12);
}

.cv-card {
  background: linear-gradient(135deg, #f7fbff, #eef5ff);
  box-shadow: inset 0 0 0 1px #cfe0ff;
}

.invoice-card {
  background: linear-gradient(135deg, #f8fffb, #effdf6);
  box-shadow: inset 0 0 0 1px #c9f2df;
}

.ai-card {
  background: linear-gradient(135deg, #fbf9ff, #f4efff);
  box-shadow: inset 0 0 0 1px #ddd0ff;
}

.tool-info {
  max-width: 260px;
  z-index: 2;
}

.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.tool-icon.blue {
  background: #dceaff;
}
.tool-icon.green {
  background: #d9faeb;
}
.tool-icon.purple {
  background: #ece5ff;
}

.tool-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.tool-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.tool-card strong {
  color: var(--blue);
}

.mini-preview {
  width: 130px;
  min-width: 130px;
  height: 170px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 16px 35px rgba(16, 24, 40, 0.09);
  align-self: flex-end;
}

.cv-mini {
  display: grid;
  grid-template-columns: 35px 1fr;
  overflow: hidden;
}

.mini-dark {
  background: #0f3758;
}

.mini-lines,
.ai-mini {
  padding: 20px 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.mini-lines span,
.ai-mini span {
  height: 7px;
  border-radius: 99px;
  background: #dce5f2;
}

.invoice-mini {
  padding: 18px;
}

.invoice-mini-head,
.invoice-mini-row,
.invoice-mini-total {
  border-radius: 7px;
  background: #dceaff;
  margin-bottom: 12px;
}

.invoice-mini-head {
  height: 25px;
}
.invoice-mini-row {
  height: 18px;
}
.invoice-mini-total {
  height: 30px;
  background: #cde0ff;
}

.ai-mini span {
  background: #ded5ff;
}
.ai-mini .short {
  width: 65%;
}

.templates-section {
  padding: 90px 0;
  background: #f4f5f8;
}

.center-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.template-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 940px;
  margin: auto;
}

.template-card {
  height: 360px;
  background: white;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 55px rgba(16, 24, 40, 0.08);
  overflow: hidden;
}

.template-card h4 {
  margin: 0;
  font-size: 16px;
}

.template-card p {
  margin: 5px 0 24px;
  color: var(--muted);
  font-size: 12px;
}

.paper-lines {
  height: 7px;
  background: #d9e2ef;
  border-radius: 99px;
  margin-bottom: 11px;
}

.paper-lines.short {
  width: 65%;
}

.paper-block {
  height: 78px;
  border-radius: 10px;
  background: #f0f4fa;
  margin: 18px 0;
}

.template-blue {
  padding-top: 0;
}

.template-top {
  background: #225285;
  color: white;
  margin: 0 -24px 24px;
  padding: 24px;
  text-align: center;
  font-weight: 900;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b7f7d5, #dffbea);
}

.green-pill {
  height: 12px;
  width: 85%;
  border-radius: 99px;
  background: #9ed9b5;
  margin: 20px 0;
}

.template-side {
  display: grid;
  grid-template-columns: 1fr 90px;
  padding: 0;
}

.side-content {
  padding: 24px;
}

.side-dark {
  background: #102744;
}

.slider-btn {
  position: absolute;
  top: 44%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #dfe3ea;
  color: #4b5563;
  font-size: 32px;
  z-index: 4;
}

.slider-btn.left {
  left: -28px;
}
.slider-btn.right {
  right: -28px;
}

.color-row {
  margin: 28px auto 18px;
  display: flex;
  justify-content: center;
  gap: 13px;
}

.color-row span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow:
    inset 0 0 0 3px white,
    0 6px 18px rgba(0, 0, 0, 0.12);
}

.color-row .selected {
  background: linear-gradient(135deg, #22c55e, #7c5cff, #ff4d8d);
}
.color-row .black {
  background: #111;
}
.color-row .blue {
  background: #2563eb;
}
.color-row .red {
  background: #e11d48;
}
.color-row .orange {
  background: #f97316;
}
.color-row .green {
  background: #0f766e;
}
.color-row .purple {
  background: #7e22ce;
}
.color-row .cyan {
  background: #06b6d4;
}

.view-all {
  display: block;
  text-align: center;
  color: var(--blue);
  font-size: 18px;
  font-weight: 850;
  margin-top: 12px;
}

.why-section {
  padding: 88px 0;
  background: #f4f5f8;
}

.why-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  background: #eaecf1;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 18px;
}

.why-card span {
  font-size: 34px;
  flex: 0 0 auto;
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.why-card p {
  margin: 0;
  color: #303642;
  line-height: 1.5;
}

.steps-section {
  padding: 90px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.steps-grid div {
  background: white;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.07);
}

.steps-grid strong {
  color: var(--blue);
  font-size: 14px;
}

.steps-grid h3 {
  margin: 14px 0 8px;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
}

.footer {
  padding: 26px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1050px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .tools-grid,
  .why-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .cv-doc {
    left: 5%;
  }

  .invoice-doc {
    right: 5%;
  }

  .strip-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .template-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --picart-page-gutter: 28px;
  }

  .container {
    width: min(var(--picart-page-max), calc(100% - var(--picart-page-gutter)));
  }

  .nav-actions {
    display: none;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 10vw, 44px);
    line-height: 1.08;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 460px;
    overflow: hidden;
  }

  .cv-doc {
    width: 285px;
    height: 430px;
    left: 0;
  }

  .invoice-doc {
    width: 270px;
    height: 315px;
    right: -45px;
    top: 90px;
  }

  .floating-badge {
    width: 95px;
    height: 95px;
    left: 42%;
    bottom: 40px;
  }

  .strip-card,
  .template-showcase {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .slider-btn {
    display: none;
  }

  .tool-card {
    flex-direction: column;
  }
}
.builder-progress {
  background: #f6f8fc;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 26px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: #667085;
  font-weight: 800;
  font-size: 13px;
}

.progress-top strong {
  color: #2563eb;
}

.progress-bar {
  height: 8px;
  background: #e4eaf4;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}

#progressFill {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.step-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.step-dot {
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  color: #98a2b3;
  font-weight: 800;
}

.step-dot span {
  width: 34px;
  height: 34px;
  margin: 0 auto 7px;
  border-radius: 50%;
  background: #e8eef7;
  color: #667085;
  display: grid;
  place-items: center;
  transition: 0.25s ease;
}

.step-dot small {
  display: block;
  font-size: 12px;
}

.step-dot.active {
  color: #2563eb;
}

.step-dot.active span {
  background: #2563eb;
  color: white;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  transform: scale(1.08);
}

.form-step {
  animation: fadeSlide 0.28s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preview-shell {
  position: sticky;
  top: 96px;
}

@media (max-width: 720px) {
  .step-dots {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-shell {
    position: static;
  }
}
.cv-section {
  padding: 80px 20px;
  background: #f8fafc;
  text-align: center;
}

.cv-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0f172a;
}

.cv-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.cv-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px;
}

.cv-carousel::-webkit-scrollbar {
  display: none;
}

.cv-card {
  min-width: 260px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.cv-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.cv-card-info {
  padding: 16px;
  text-align: left;
}

.cv-card h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.cv-card p {
  font-size: 13px;
  color: #64748b;
}

/* 🔥 HOVER EFFECT */
.cv-card:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ACTIVE CARD */
.cv-card.active {
  transform: scale(1.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* NAV BUTTONS */
.cv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
}

.cv-nav.left {
  left: -20px;
}

.cv-nav.right {
  right: -20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .cv-card {
    min-width: 220px;
  }
}
.carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 40px auto;
}

.carousel {
  display: flex;
  gap: 24px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.template-card {
  min-width: 260px;
  background: white;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: left;
}

.template-card img {
  width: 100%;
  border-radius: 12px;
}

.template-card h4 {
  margin: 10px 0 4px;
}

.template-card p {
  font-size: 13px;
  color: #64748b;
}

/* HOVER */
.template-card:hover {
  transform: scale(1.08);
}

/* ACTIVE CENTER */
.template-card.active {
  transform: scale(1.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* NAV */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.left {
  left: -20px;
}
.carousel-btn.right {
  right: -20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .carousel {
    overflow-x: auto;
  }
}
/* =========================
   TEMPLATE CAROUSEL (PRO)
========================= */

.pro-carousel-section {
  padding: 80px 0;
}

.template-carousel-wrap {
  position: relative;
  margin-top: 40px;
}

.template-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 10px;
}

.template-carousel::-webkit-scrollbar {
  display: none;
}

/* CARD */
.home-template-card {
  min-width: 240px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: #111;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.home-template-card:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.home-template-card strong {
  display: block;
  margin-top: 12px;
  font-size: 15px;
}

.home-template-card p {
  font-size: 13px;
  color: #666;
}

/* PREVIEW BOX */
.home-template-preview {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  background: #f3f4f6;
  position: relative;
  overflow: hidden;
}

/* MODERN */
.preview-modern .preview-side {
  position: absolute;
  left: 0;
  width: 40%;
  height: 100%;
  background: #1e3a5f;
}

.preview-modern .preview-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #dbeafe;
  position: absolute;
  top: 15px;
  left: 10px;
}

.preview-modern .preview-line {
  height: 6px;
  background: #d1d5db;
  border-radius: 4px;
  position: absolute;
  left: 50%;
  width: 40%;
}

.preview-modern .a {
  top: 20px;
}
.preview-modern .b {
  top: 40px;
}
.preview-modern .c {
  top: 60px;
}

/* CLASSIC */
.preview-classic .preview-title {
  height: 8px;
  width: 60%;
  background: #111;
  margin: 20px auto;
  border-radius: 4px;
}

.preview-classic .preview-line {
  height: 6px;
  background: #d1d5db;
  margin: 8px 20px;
}

.preview-classic .preview-rule {
  height: 2px;
  background: #333;
  margin: 12px 20px;
}

/* EXECUTIVE */
.preview-exec .preview-top {
  height: 40px;
  background: #111827;
}

.preview-exec .preview-box {
  width: 60px;
  height: 60px;
  background: #e5e7eb;
  position: absolute;
  right: 10px;
  top: 50px;
}

/* MINIMAL */
.preview-minimal .preview-line {
  height: 5px;
  background: #cbd5e1;
  margin: 10px 20px;
}

/* CREATIVE */
.preview-creative .preview-side {
  width: 30%;
  height: 100%;
  background: #9f4c5c;
  position: absolute;
}

/* BUTTON OVERLAY */
.choose-overlay {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  opacity: 0;
  transition: 0.3s;
}

.home-template-card:hover .choose-overlay {
  opacity: 1;
}

/* ARROWS */
.template-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  font-size: 20px;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.template-prev {
  left: -10px;
}
.template-next {
  right: -10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .home-template-card {
    min-width: 200px;
  }
}
/* NEXT LEVEL TEMPLATE CAROUSEL */
.pro-carousel-section {
  padding: 110px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 35%),
    #f6f8fc;
  overflow: hidden;
}

.template-carousel-wrap {
  position: relative;
  max-width: 1180px;
  margin: 56px auto 0;
}

.template-carousel {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 34px 22px 48px;
  scroll-snap-type: x mandatory;
}

.template-carousel::-webkit-scrollbar {
  display: none;
}

.home-template-card {
  min-width: 280px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 18px;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
  scroll-snap-align: center;
}

.home-template-card:hover,
.home-template-card.active {
  transform: translateY(-14px) scale(1.06);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.18);
}

.home-template-preview {
  height: 260px;
  border-radius: 18px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.home-template-card strong {
  display: block;
  margin: 18px 0 6px;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.home-template-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
  font-size: 14px;
}

.choose-overlay {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #2563eb;
  color: white;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 900;
  opacity: 0;
  transition: 0.3s ease;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.32);
}

.home-template-card:hover .choose-overlay,
.home-template-card.active .choose-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.template-arrow {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 45%;
  z-index: 10;
}

.template-prev {
  left: -10px;
}
.template-next {
  right: -10px;
}

/* realistic preview drawings */
.preview-side {
  position: absolute;
  left: 0;
  top: 0;
  width: 35%;
  height: 100%;
  background: #163f66;
}

.preview-creative .preview-side {
  background: #a94f64;
}

.preview-avatar {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dbeafe;
}

.preview-title {
  position: absolute;
  top: 34px;
  left: 45%;
  width: 40%;
  height: 10px;
  border-radius: 99px;
  background: #0f172a;
}

.preview-line {
  position: absolute;
  left: 45%;
  height: 8px;
  border-radius: 99px;
  background: #cbd5e1;
}

.preview-line.a {
  top: 70px;
  width: 46%;
}
.preview-line.b {
  top: 96px;
  width: 36%;
}
.preview-line.c {
  top: 122px;
  width: 50%;
}

.preview-classic .preview-title,
.preview-minimal .preview-title {
  left: 22%;
  width: 56%;
}

.preview-classic .preview-line,
.preview-minimal .preview-line {
  left: 18%;
}

.preview-rule {
  position: absolute;
  top: 76px;
  left: 14%;
  width: 72%;
  height: 2px;
  background: #0f172a;
}

.preview-top {
  position: absolute;
  top: 0;
  left: 0;
  height: 58px;
  width: 100%;
  background: #111827;
}

.preview-exec .preview-title {
  top: 24px;
  left: 22px;
  background: white;
}

.preview-box {
  position: absolute;
  right: 22px;
  top: 95px;
  width: 62px;
  height: 92px;
  border-radius: 10px;
  background: #e2e8f0;
}

.preview-creative .preview-title {
  left: 47%;
}

/* mobile */
@media (max-width: 768px) {
  .pro-carousel-section {
    padding: 72px 0;
  }

  .template-carousel {
    padding: 24px 8px 38px;
    gap: 18px;
  }

  .home-template-card {
    min-width: 255px;
  }

  .home-template-preview {
    height: 330px;
  }

  .template-arrow {
    width: 46px;
    height: 46px;
  }

  .template-prev {
    left: 4px;
  }
  .template-next {
    right: 4px;
  }
}
/* remove old broken overlay */
.choose-overlay {
  display: none !important;
}

/* clean button */
.template-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0;
  transition: 0.25s ease;
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

/* show on hover */
.home-template-card:hover .template-btn,
.home-template-card.active .template-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
}

/* make preview look like real paper */
.home-template-preview {
  background: #fff;
  border: 1px solid #e5eaf3;
  box-shadow: inset 0 0 0 1px #eef2f7;
}
.image-preview {
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

/* hover zoom */
.home-template-card:hover img {
  transform: scale(1.05);
}

/* remove fake preview */
.home-template-preview span {
  display: none !important;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 73px;
  width: auto;
  object-fit: contain;
}
.coming-soon {
  position: relative;
  overflow: hidden;
}

/* Badge */
.coming-badge {
  position: absolute;
  top: 14px;
  right: -40px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 40px;
  transform: rotate(35deg);
  letter-spacing: 0.5px;

  /* Glow animation */
  animation: pulseGlow 2s infinite ease-in-out;
}

/* Glow animation (NOT annoying blink) */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  }
  50% {
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
  }
  100% {
    box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Disable click feel */
.coming-soon .disabled-link {
  color: #94a3b8;
  cursor: not-allowed;
  pointer-events: none;
}
/* COMING SOON FIX */
.tool-card {
  position: relative;
  overflow: hidden;
}

/* Badge */
.coming-badge {
  position: absolute;
  top: 14px;
  right: -45px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 50px;
  transform: rotate(35deg);
  letter-spacing: 0.5px;
  z-index: 2;

  animation: pulseGlow 2s infinite ease-in-out;
}

/* Glow animation (premium, not annoying blink) */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  }
  50% {
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.6);
  }
  100% {
    box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Disable interaction */
.coming-soon {
  opacity: 0.9;
}

.disabled-link {
  color: #94a3b8;
  pointer-events: none;
  cursor: not-allowed;
}
/* NEXT LEVEL TOOLS SECTION */
.tools-section {
  position: relative;
  padding: 110px 0;
  background:
    radial-gradient(
      circle at 75% 15%,
      rgba(37, 99, 235, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  overflow: hidden;
}

.tools-grid {
  align-items: stretch;
}

.tool-card {
  position: relative;
  min-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.45)
  );
  z-index: -1;
}

.tool-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  filter: blur(10px);
  transition: 0.35s ease;
}

.tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 90px rgba(15, 23, 42, 0.14);
}

.tool-card:hover::after {
  transform: scale(1.35);
}

.tool-icon {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.tool-info h3 {
  font-size: 25px;
  letter-spacing: -0.04em;
}

.tool-info p {
  max-width: 270px;
  line-height: 1.65;
}

.tool-info strong,
.disabled-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 900;
}

/* premium coming soon ribbon */
.coming-badge {
  top: 20px;
  right: -52px;
  padding: 8px 58px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0f172a, #2563eb, #7c3aed);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.35);
}

.coming-soon::before {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.55)
    ),
    repeating-linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.04) 0px,
      rgba(37, 99, 235, 0.04) 8px,
      transparent 8px,
      transparent 18px
    );
}

.coming-soon .tool-info {
  position: relative;
  z-index: 3;
}

.coming-soon:hover {
  transform: translateY(-6px);
}

.coming-soon:hover .mini-preview {
  transform: translateY(-6px) rotate(-1deg);
}

/* mini preview animation */
.mini-preview {
  transition: transform 0.35s ease;
}

.tool-card:hover .mini-preview {
  transform: translateY(-8px) rotate(-1deg);
}

/* disabled coming soon link */
.disabled-link {
  color: #64748b;
  background: #eef3fb;
  padding: 10px 14px;
  border-radius: 999px;
}

/* mobile */
@media (max-width: 768px) {
  .tools-section {
    padding: 70px 0;
  }

  .tool-card {
    min-height: 360px;
    border-radius: 22px;
  }

  .coming-badge {
    right: -58px;
  }
}
