*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #121212;
  background: var(--section-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, .section-title, .gradient-heading, .course-hero__title, .batch-hero__title, .batch-hero__date {
  font-family: var(--font-heading);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 760px;
}

/* Ticker */
.ticker-bar {
  background: var(--ticker-bg);
  color: var(--ticker-text);
  overflow: hidden;
  padding: 12px 0;
  --ticker-gap: 3rem;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll var(--ticker-speed) linear infinite;
}

.ticker-item {
  margin: 0;
  padding: 0 var(--ticker-gap, 3rem);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

.ticker-bar--small .ticker-item { font-size: 0.95rem; }
.ticker-bar--medium .ticker-item { font-size: 1.1rem; }
.ticker-bar--large .ticker-item { font-size: 1.35rem; }
.ticker-bar--uppercase .ticker-item { text-transform: uppercase; }
.ticker-bar:not(.ticker-bar--uppercase) .ticker-item { text-transform: none; }
.ticker-bar--bold .ticker-item { font-weight: 700; }
.ticker-bar:not(.ticker-bar--bold) .ticker-item { font-weight: 500; }
.ticker-bar--italic .ticker-item { font-style: italic; }

@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

/* Header */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header--sticky-never {
  position: relative;
  top: auto;
}

.site-header--sticky-always {
  position: sticky;
  top: 0;
}

.site-header--separator {
  border-bottom: 1px solid #e5e7eb;
}

.site-header__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-header__nav--left {
  justify-content: flex-start;
}

.nav-link {
  color: #121212;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-link--community {
  color: #167c43;
  font-weight: 700;
}

.nav-link--community:hover {
  color: #0f5a30;
}

.site-header__logo img {
  max-width: 140px;
  width: 100%;
  height: auto;
}

.site-header__spacer {
  min-width: 1px;
}

/* Hero */
.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 56px 20px 64px;
}

.hero__inner {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--hero-h1-desktop, clamp(1.6rem, 4.2vw, 3.5rem));
  line-height: 1.15;
  margin: 0 0 28px;
  color: var(--hero-text);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: var(--hero-h1-mobile, clamp(1.6rem, 4.2vw, 3.5rem));
  }
}

.hero__features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--hero-text);
}

.hero-feature__icon {
  flex-shrink: 0;
  width: 18px;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-feature__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.bullet-shape {
  display: inline-block;
  flex-shrink: 0;
}

.bullet-shape--disc,
.bullet-shape--square {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
}

.bullet-shape--square {
  border-radius: 2px;
}

.bullet-shape--circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid currentColor;
  margin-top: 4px;
  box-sizing: border-box;
}

.bullet-shape--dash {
  width: 12px;
  height: 3px;
  border-radius: 2px;
  margin-top: 8px;
}

.bullet-shape--diamond {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  margin-top: 5px;
}

.bullet-shape--number {
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  font-family: var(--font-body);
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
  margin: 0 0 32px;
  font-weight: 700;
}

.section-title--light {
  color: var(--journey-text);
}

.section-subtitle {
  text-align: center;
  color: #565353;
  margin: 12px 0 0;
  font-size: 1rem;
}

.gradient-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.1rem);
  text-align: center;
  margin: 0;
  font-weight: 700;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-heading--sm {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

/* Logo slider */
.section--partners {
  padding-top: 64px;
}

.logo-slider {
  overflow: hidden;
  padding: 12px 0;
}

.logo-slider__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: tickerScroll 60s linear infinite;
}

.logo-card {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.logo-card img {
  max-height: 100%;
  object-fit: contain;
}

/* Alumni Spotlight - desktop grid (4 cards) + mobile carousel */
.section--alumni {
  background: #fff;
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.alumni-grid__item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  background: #f3f3f3;
}

.alumni-grid__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: top center;
  display: block;
  background: #fff;
}

.alumni-mobile-carousel {
  display: none;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  background: #f5f5f5;
}

.carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #fff;
  opacity: 0.5;
  cursor: pointer;
  padding: 0;
}

.carousel__dot.active {
  opacity: 1;
  transform: scale(1.15);
}

@media (max-width: 989px) {
  .alumni-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 749px) {
  .alumni-grid {
    display: none;
  }

  .alumni-mobile-carousel {
    display: block;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Journey */
.section--journey {
  background: var(--journey-bg);
  color: var(--journey-text);
}

.journey-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.journey-step {
  text-align: center;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.journey-step__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.journey-step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.journey-step p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.92;
}

/* Guarantee */
.section--guarantee {
  background: #fff;
  padding: 40px 0 24px;
}

/* Wave */
.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

.wave-divider path:first-child {
  fill: var(--muted-bg);
  opacity: 0.5;
}

.wave-divider path:last-child {
  fill: var(--muted-bg);
}

.wave-divider--flip {
  transform: scaleY(-1);
}

/* Jobs */
.section--jobs {
  background: var(--muted-bg);
  padding-top: 12px;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.job-card {
  background: #eee;
  border: 2px solid #000;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.job-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

/* Fees */
.section--fees {
  background: #fff;
}

.fees-header {
  text-align: center;
  margin-bottom: 40px;
}

.fee-timeline {
  position: relative;
  padding-left: 36px;
}

.fee-timeline__line {
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
}

.fee-timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--accent);
  transition: height 0.3s;
}

.fee-step {
  position: relative;
  margin-bottom: 48px;
  opacity: 0.45;
  transition: opacity 0.3s;
}

.fee-step.active {
  opacity: 1;
}

.fee-step__dot {
  position: absolute;
  left: -36px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e0e0e0;
  transition: all 0.3s;
}

.fee-step.active .fee-step__dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}

.fee-step__content {
  background: #f2f2f2;
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid #e0e0e0;
}

.fee-step.active .fee-step__content {
  border-left-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.fee-step__label {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.fee-step h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.fee-step p {
  margin: 0;
  color: #666;
}

.section--total-fees {
  padding: 8px 0 20px;
  background: #fff;
}

/* Footer */
.site-footer {
  background: #ececec;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  padding: 32px 20px;
}

.footer-brand img {
  max-width: 260px;
}

.footer-contact h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.footer-contact p {
  margin: 6px 0;
}

.footer-partners {
  padding: 24px 0 48px;
  overflow: hidden;
}

.footer-partners h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0 0 24px;
}

.footer-logo-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: tickerScroll 60s linear infinite;
}

.footer-logo {
  flex-shrink: 0;
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  max-height: 100%;
  object-fit: contain;
  opacity: 0.75;
}

.footer-copy {
  padding: 16px 0 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #444;
}

/* Course / Scrum Master - two column like live site */
.section--course {
  background: linear-gradient(135deg, rgba(188, 13, 93, 1), rgba(233, 239, 255, 1) 100%);
  padding: 48px 0;
}

.course-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 36px;
}

.course-hero__copy {
  color: #fff;
  padding: 12px 8px;
}

.course-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}

.course-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

.course-hero__subtitle {
  margin: 0 0 20px;
  font-size: 1.05rem;
  opacity: 0.95;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-tag {
  background: #fff;
  color: #121212;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

.course-hero__card,
.batch-hero__card {
  background: #fff;
  color: #121212;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  padding: clamp(24px, 3vw, 38px);
}

.course-hero__card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.course-hero__roles-label {
  margin: 0 0 18px;
  font-weight: 700;
}

.course-roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.course-roles li,
.eligibility-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
}

.check-dot {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.syllabus-wrap {
  background: #ececec;
  border-radius: 12px;
  padding: 28px 20px;
}

.syllabus-caption {
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 18px;
  color: #444;
}

.syllabus {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.syllabus-item {
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.syllabus-item summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.syllabus-item summary::-webkit-details-marker { display: none; }

.syllabus-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
}

.syllabus-item[open] summary::after { content: "–"; }

.syllabus-item ul {
  margin: 0;
  padding: 0 16px 16px 36px;
  color: #444;
}

.syllabus-item li { margin-bottom: 6px; }

/* Eligibility */
.section--eligibility {
  background: #fff;
  padding-top: 12px;
}

.eligibility-card {
  background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
  color: #fff;
  border-radius: 16px;
  padding: 28px 24px;
}

.eligibility-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 18px;
  text-align: center;
}

.eligibility-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.eligibility-card .check-dot {
  background: var(--primary);
}

/* Next batch - two column like live site */
.section--batch {
  background: linear-gradient(135deg, rgba(236, 236, 236, 1), rgba(233, 239, 255, 1) 100%);
  padding: 48px 0;
}

.batch-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.batch-hero__copy {
  padding: 12px 8px;
}

.batch-hero__copy .course-badge {
  background: rgba(18, 18, 18, 0.08);
  border-color: rgba(18, 18, 18, 0.15);
  color: #121212;
}

.batch-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin: 0;
  line-height: 1.15;
}

.batch-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.batch-hero__date {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.batch-hero__text {
  margin: 0 0 22px;
  font-weight: 700;
}

.btn-whatsapp {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid #167c43;
  background: #167c43;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

.btn-whatsapp:hover { filter: brightness(1.05); }

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #167c43;
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  font-size: 0.75rem;
}

.floating-whatsapp strong {
  font-size: 0.9rem;
}

@media (max-width: 749px) {
  .course-hero,
  .batch-hero {
    grid-template-columns: 1fr;
  }

  .section--course,
  .section--batch {
    padding: 32px 0;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }
}

@media (max-width: 989px) {
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .job-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 749px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  .site-header {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 12px 16px;
    gap: 10px;
  }

  .site-header__nav {
    justify-content: center;
    order: 2;
    gap: 12px;
    flex-wrap: wrap;
  }

  .site-header__logo {
    order: 1;
  }

  .site-header__logo img {
    max-width: 110px;
  }

  .site-header__spacer {
    display: none;
  }

  .hero {
    padding: 32px 16px 40px;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 7vw, 2rem);
    margin-bottom: 20px;
  }

  .hero-feature {
    font-size: 0.95rem;
  }

  .section {
    padding: 36px 0;
  }

  .section--partners {
    padding-top: 40px;
  }

  .logo-card {
    width: 140px;
    height: 96px;
  }

  .carousel {
    border-radius: 8px;
  }

  .carousel-slide img {
    aspect-ratio: auto;
    object-fit: contain;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .journey-step {
    padding: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
  }

  .footer-brand img {
    max-width: 200px;
    margin: 0 auto;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-partners h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .footer-logo {
    width: 120px;
    height: 64px;
  }

  .ticker-item {
    font-size: 0.9rem;
    padding: 0 1.25rem;
  }

  .wave-divider svg {
    height: 48px;
  }

  .fee-timeline {
    padding-left: 28px;
  }

  .fee-step__dot {
    left: -28px;
  }

  .job-card {
    padding: 16px;
  }

  .course-card {
    padding: 22px 16px;
  }

  .eligibility-card,
  .batch-card {
    padding: 22px 16px;
  }

  .course-hero__card,
  .batch-hero__card {
    padding: 22px 16px;
  }
}

/* Custom / Shopify-style addable blocks */
.nx-block-title {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 16px;
  text-align: center;
}

.nx-block-subtitle,
.nx-block-body {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
  text-align: inherit;
}

.nx-bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
}

.nx-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nx-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 0 16px;
}

.nx-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}

.nx-faq-item summary::-webkit-details-marker { display: none; }

.nx-faq-body {
  padding: 0 0 14px;
  color: #4b5563;
  line-height: 1.55;
}

.nx-compare-wrap { overflow-x: auto; }

.nx-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.nx-compare-table th,
.nx-compare-table td {
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  text-align: left;
}

.nx-compare-table thead th {
  background: #f3f4f6;
  font-weight: 700;
}

.nx-compare-highlight {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  font-weight: 600;
}

.nx-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.nx-vs-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}

.nx-vs-card--accent {
  border-color: color-mix(in srgb, var(--primary) 45%, #e5e7eb);
  background: color-mix(in srgb, var(--primary) 8%, #fff);
}

.nx-vs-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.nx-image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.nx-image-row__item img,
.nx-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.nx-media-placeholder {
  padding: 48px;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #64748b;
}

.nx-media--mobile { display: none; }
.nx-media--desktop { display: block; }

/* In the visual builder, always show device-specific media so edits aren't "invisible" */
body.nexus-builder .nx-media--mobile,
body.nexus-builder .nx-media--desktop {
  display: block !important;
}

body.nexus-builder .nx-media[data-device-label]::before {
  content: attr(data-device-label);
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: Inter, system-ui, sans-serif;
}

@media (max-width: 768px) {
  body:not(.nexus-builder) .nx-media--mobile { display: block; }
  body:not(.nexus-builder) .nx-media--desktop { display: none; }
  .nx-vs-grid { grid-template-columns: 1fr; }
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
}

.nx-btn--secondary {
  background: #111827;
}

.nx-btn--android {
  background: #3ddc84;
  color: #062816;
  border-radius: 10px;
}

.nx-line-divider {
  border-radius: 2px;
}

.nx-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nx-timeline-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.nx-timeline-index {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nx-timeline-step p {
  margin: 4px 0 0;
  color: #4b5563;
}
