:root {
  --green: var(--color-primary, #31a653);
  --green-dark: var(--color-secondary, #238642);
  --green-soft: color-mix(
    in srgb,
    var(--green-dark) 14%,
    var(--color-background, #fff)
  );
  --ink: var(--color-title, #17212b);
  --muted: var(--color-text, #6f7a86);
  --line: var(--color-border, #edf0f2);
  --content-background: var(--color-background, #fff);
  --site-radius: var(--radius, 14px);
  --site-shadow: var(--box-shadow, 0 16px 34px rgba(23, 33, 43, 0.06));
  --footer: #101c23;
}

* {
  letter-spacing: 0;
}

body {
  font-family:
    var(--site-font-family, system-ui),
    system-ui,
    -apple-system,
    "Segoe UI",
    Tahoma,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--color-background, #fff);
}

a {
  text-decoration: none;
}

.template-title,
.template-text {
  color: var(--ink) !important;
}

.template-subtitle {
  color: var(--muted) !important;
}

.dynamic-bg-image {
  border-radius: var(--site-radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.text-gray,
.text-white-50,
.brand-text,
.nav-link,
.hero-text,
.muted-copy,
.plan-list,
.check-list,
.footer,
.footer a,
.footer p,
.footer li,
.copyright {
  color: var(--muted) !important;
}

.footer h6,
.cta-box h2,
.cta-box .template-title {
  color: var(--ink) !important;
}

.feature-card,
.pricing-card {
  color: var(--ink);
}

.feature-card .template-subtitle,
.feature-card .muted-copy,
.feature-card p,
.pricing-card .template-subtitle,
.pricing-card .muted-copy {
  color: var(--ink) !important;
}

.navbar {
  min-height: 86px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-text {
  font-size: 1.02rem;
  font-weight: 800;
}

.nav-link {
  font-weight: 600;
  font-size: 0.94rem;
  padding-inline: 1rem !important;
}

.nav-link.active,
.nav-link:hover {
  color: var(--green);
}

.btn-main {
  color: var(--ink);
  border: 0;
  font-weight: 800;
  border-radius: calc(var(--site-radius) * 0.7);
  padding: 0.86rem 1.65rem;
  background: var(--green);
  box-shadow: var(--site-shadow);
}

.btn-main:hover {
  color: var(--ink);
  background: var(--green-dark);
}

.btn-light-soft {
  color: var(--ink);
  border: 1px solid #e4e9ed;
  font-weight: 800;
  border-radius: calc(var(--site-radius) * 0.7);
  padding: 0.82rem 1.6rem;
  background: var(--green);
  box-shadow: var(--site-shadow);
}

.btn-light-soft:hover {
  color: var(--ink);
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.hero {
  padding: 74px 0 34px;
  border-bottom: 1px solid #f0f2f4;
  background:
    radial-gradient(
      circle at 16% 38%,
      color-mix(in srgb, var(--green) 12%, transparent),
      transparent 22%
    ),
    linear-gradient(180deg, #fff 0%, #fbfcfc 100%);
}

.page-hero {
  padding: 70px 0 54px;
  border-bottom: 1px solid #f0f2f4;
  background:
    radial-gradient(
      circle at 16% 38%,
      color-mix(in srgb, var(--green) 12%, transparent),
      transparent 22%
    ),
    linear-gradient(180deg, #fff 0%, #fbfcfc 100%);
}

.page-hero-box {
  min-height: 270px;
  display: flex;
  align-items: center;
  padding: 54px 48px;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.55;
  font-weight: 950;
}

.page-hero p {
  max-width: 640px;
  margin: 20px 0 0;
  line-height: 2;
  font-size: 1.05rem;
}

.content-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--site-radius);
  background: var(--content-background);
  box-shadow: var(--site-shadow);
  color: var(--ink);
}

.content-panel :is(h1, h2, h3, h4, h5, h6) {
  color: var(--ink);
}

.content-panel :is(p, li, span) {
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  line-height: 1.45;
  font-weight: 950;
  color: var(--ink);
}

.hero .green-title {
  color: var(--green);
  display: block;
}

.hero-text {
  max-width: 520px;
  font-size: 1.14rem;
  line-height: 2.05;
}

.mockup-wrap {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-mockup {
  width: min(100%, 620px);
  overflow: hidden;
  border: 1px solid rgba(17, 35, 48, 0.06);
  border-radius: var(--site-radius);
  background: #fff;
  box-shadow: var(--site-shadow);
  transform: perspective(900px) rotateY(-7deg) rotateX(3deg);
}

.mock-top {
  height: 56px;
  border-bottom: 1px solid #eef1f3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  color: var(--muted);
  background: linear-gradient(180deg, #fff, #fafbfc);
}

.mock-body {
  display: grid;
  grid-template-columns: 116px 1fr;
  min-height: 384px;
}

.mock-sidebar {
  border-left: 1px solid #edf0f2;
  padding: 22px 14px;
  background: #fbfcfc;
}

.side-pill {
  height: 34px;
  border-radius: calc(var(--site-radius) * 0.65);
  margin-bottom: 13px;
  background: #eef2f4;
}

.side-pill.active {
  background: #dff3e4;
  border-right: 4px solid var(--green);
}

.mock-content {
  padding: 24px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.stat-card {
  min-height: 78px;
  border: 1px solid #eef1f3;
  border-radius: calc(var(--site-radius) * 0.85);
  background: #fff;
  box-shadow: var(--site-shadow);
  padding: 14px;
}

.chart-box,
.table-box {
  border: 1px solid #eef1f3;
  border-radius: var(--site-radius);
  background: #fff;
  box-shadow: var(--site-shadow);
}

.chart-box {
  height: 150px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  inset: 40px 24px 24px;
  border-bottom: 4px solid var(--green);
  border-radius: var(--site-radius) var(--site-radius) 0 0;
  transform: skewX(-18deg);
  opacity: 0.8;
}

.table-box {
  height: 116px;
  padding: 18px;
}

.line {
  height: 10px;
  border-radius: var(--site-radius);
  background: #eef2f4;
  margin-bottom: 13px;
}

.phone-mockup {
  position: absolute;
  left: 42px;
  bottom: 18px;
  width: 184px;
  min-height: 318px;
  border: 8px solid #20262c;
  border-radius: calc(var(--site-radius) * 1.9);
  background: #fff;
  box-shadow: var(--site-shadow);
  padding: 22px 14px 14px;
}

.phone-notch {
  width: 72px;
  height: 15px;
  border-radius: 0 0 var(--site-radius) var(--site-radius);
  background: #20262c;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.ticket-row {
  height: 42px;
  border: 1px solid #eef1f3;
  border-radius: calc(var(--site-radius) * 0.7);
  margin-bottom: 10px;
  background: #fbfcfc;
}

.logos {
  padding: 34px 0 48px;
}

.logo-word {
  background: #f1f5f9;
  border-radius: calc(var(--site-radius) * 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  transition: all 0.2s;
  height: 64px;
  width: 150px;
}

.soft-band {
  background: linear-gradient(180deg, #fbfcfc 0%, #fff 100%);
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 950;
  color: var(--ink);
}

.title-mark {
  width: 34px;
  height: 3px;
  border-radius: var(--site-radius);
  background: var(--green);
  display: block;
  margin: 14px auto 0;
}

.feature-card {
  height: 100%;
  min-height: 212px;
  padding: 26px 20px;
  border: 1px solid #edf0f2;
  border-radius: var(--site-radius);
  background: var(--content-background);
  box-shadow: var(--site-shadow);
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  will-change: transform;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--green) 22%, transparent);
  box-shadow: var(--site-shadow);
  transform: translateY(-6px);
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--site-radius);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 12px;
  margin-top: 25px;
}

.feature-card p,
.muted-copy {
  line-height: 1.95;
  font-size: 0.95rem;
}

.dashboard-section {
  padding: 72px 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--green) 7%, transparent),
    #fff 38%,
    color-mix(in srgb, var(--green) 4%, transparent)
  );
}

.large-mockup {
  transform: none;
  min-height: 390px;
}

.large-mockup .mock-body {
  min-height: 334px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  line-height: 2.2;
}

.check-list i {
  color: var(--green);
  margin-left: 8px;
}

.pricing-card {
  position: relative;
  height: 100%;
  padding: 34px 36px;
  border: 1px solid #e5e9ec;
  border-radius: var(--site-radius);
  background: var(--content-background);
  box-shadow: var(--site-shadow);
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  will-change: transform;
}
.plan-price p{
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  white-space: normal !important;
}

.pricing-card:hover {
  border-color: color-mix(in srgb, var(--green) 28%, transparent);
  box-shadow: var(--site-shadow);
  transform: translateY(-7px);
}

.popular-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 30px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 30px;
  border-radius: var(--site-radius) var(--site-radius) 0 0;
  background: var(--green-dark);
}

.plan-name {
  font-weight: 950;
  margin-top: 10px;
}

.plan-price {
  font-weight: 950;
  margin: 18px 0 20px;
}

.plan-price span {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}--color-secondary

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: right;
  line-height: 2.15;
  font-size: 0.94rem;
}

.plan-list i {
  color: var(--green);
  margin-left: 8px;
}

.cta-box {
  overflow: hidden;
  border-radius: var(--site-radius);
  padding: 44px 48px;
  color: var(--ink);
  background-color: var(--green-dark) !important;
  box-shadow: var(--site-shadow);
}

.cta-box h2 {
  font-size: 1.65rem;
  font-weight: 950;
  line-height: 1.8;
}

.email-input {
  height: 58px;
  border: 0;
  border-radius: calc(var(--site-radius) * 0.7);
  padding-inline: 22px;
}

.footer {
  background: linear-gradient(180deg, #14222b, #0c151b);
}

.footer h6 {
  font-weight: 900;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2.25;
}

.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  margin-left: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}

.social a:hover {
  background: var(--green);
}

.copyright {
  text-align: center;
  padding: 0 0 30px;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .navbar {
    min-height: auto;
    padding: 14px 0;
  }

  .hero {
    padding-top: 42px;
  }

  .mockup-wrap {
    min-height: 470px;
  }

  .phone-mockup {
    left: 18px;
    bottom: 6px;
  }
}

@media (max-width: 575.98px) {
  .dashboard-mockup {
    transform: none;
  }

  .mock-body {
    grid-template-columns: 80px 1fr;
  }

  .mock-content {
    padding: 16px;
  }

  .stat-row {
    gap: 10px;
  }

  .phone-mockup {
    width: 150px;
    min-height: 260px;
  }

  .cta-box {
    padding: 32px 22px;
  }

  .page-hero-box,
  .content-panel {
    padding: 28px 20px;
  }
}
