:root {
  --bg: #f5f8ff;
  --bg-secondary: #ffffff;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #0d1222;
  --muted: #5b647a;
  --border: rgba(16, 24, 40, 0.08);
  --shadow: 0 20px 60px rgba(42, 61, 102, 0.12);
  --shadow-soft: 0 14px 40px rgba(42, 61, 102, 0.08);
  --brand: linear-gradient(135deg, #4f46e5, #06b6d4);
  --brand-solid: #4f46e5;
  --brand-2: #7c3aed;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #ef4444;
  --card-blur: blur(18px);
}

html[data-theme="dark"] {
  --bg: #312d4b;
  --bg-secondary: #312d4b;
  --surface: rgba(13, 23, 40, 0.68);
  --surface-strong: rgba(13, 23, 40, 0.92);
  --text: #eef4ff;
  --muted: #96a3ba;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.22);
  --brand: linear-gradient(135deg, #6366f1, #22d3ee);
  --brand-solid: #6366f1;
  --brand-2: #8b5cf6;
  --success: #22c55e;
  --warning: #fbbf24;
  --danger: #f87171;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
  position: relative;
  width: 100%;
}

img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

.section-space {
  padding: 110px 0;
  position: relative;
  z-index: 2;
  width: 100%;
}

.text-gradient {
  background: var(--brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-heading {
  max-width: 100%;
  margin-bottom: 30px;
}

@media (min-width: 992px) {
  .section-heading {
    max-width: 780px;
  }
}

.section-heading h2,
.section-title-left {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-heading p,
.section-text-left {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--brand-solid);
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
  max-width: 100%;
}

.white-tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.18);
}

.custom-navbar {
  padding: 18px 0;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  z-index: 1000;
  width: 100%;
}

.custom-navbar.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.navbar-brand .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text);
}

.btn-brand {
  background: var(--brand);
  border: 0;
  color: white;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  display: inline-block;
  text-align: center;
}

.btn-brand:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  opacity: 0.95;
}

.btn-soft {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  display: inline-block;
  text-align: center;
}

.btn-soft:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.theme-toggle-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  transform: translateY(-2px);
}

.icon-dark,
.logo-dark {
  display: none;
}

html[data-theme="dark"] .icon-light {
  display: none;
}

html[data-theme="dark"] .icon-dark {
  display: inline-block;
}

html[data-theme="dark"] .logo-light {
  display: none;
}

html[data-theme="dark"] .logo-dark {
  display: inline-block;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.28;
  pointer-events: none;
}

.orb-1 {
  width: 340px;
  height: 340px;
  background: #4f46e5;
  top: 80px;
  left: -100px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: #06b6d4;
  bottom: 80px;
  right: -90px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(120, 140, 180, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 140, 180, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.hero-section {
  padding-top: 170px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  font-weight: 600;
  max-width: 100%;
}

.hero-title {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 20px;
  word-wrap: break-word;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 95%;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-trust .mini-stat {
  padding: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  flex: 1 1 calc(50% - 16px);
  min-width: 140px;
}

.hero-trust .mini-stat strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
}

.hero-trust .mini-stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  width: 100%;
}

.dashboard-shell,
.product-window,
.final-cta,
.automation-banner,
.cta-band,
.glass-strip {
  background: var(--surface);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
}

.dashboard-shell {
  border-radius: 28px;
  overflow: hidden;
  padding: 0;
}

.dashboard-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-secondary) 60%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.red {
  background: var(--danger);
}

.yellow {
  background: var(--warning);
}

.green {
  background: var(--success);
}

.dashboard-body {
  padding: 22px;
}

.dashboard-panel {
  background: color-mix(in srgb, var(--bg-secondary) 82%, transparent);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.hero-panel {
  padding: 22px;
}

.panel-label {
  display: inline-block;
  color: var(--muted);
  margin-bottom: 4px;
}

.metric-card {
  border-radius: 18px;
  padding: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  width: 100%;
}

.metric-card span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.metric-card strong {
  font-size: 1.5rem;
}

.chart-bars {
  height: 180px;
  display: flex;
  gap: 12px;
  align-items: end;
  padding-top: 18px;
  width: 100%;
}

.chart-bars span {
  flex: 1;
  border-radius: 999px 999px 12px 12px;
  background: var(--brand);
  box-shadow: var(--shadow-soft);
}

.task-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.task-item:last-child {
  border-bottom: 0;
}

.task-item i {
  font-size: 1.2rem;
  color: var(--brand-solid);
  flex-shrink: 0;
}

.task-item strong {
  display: block;
  font-size: 0.96rem;
}

.task-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.floating-card {
  position: absolute;
  width: 240px;
  max-width: calc(100vw - 40px);
  padding: 18px;
  border-radius: 22px;
  background: var(--surface-strong);
  backdrop-filter: var(--card-blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 2;
  animation: floatCard 4s ease-in-out infinite;
}

.floating-card h6 {
  margin: 14px 0 8px;
  font-size: 1rem;
}

.floating-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.card-top {
  top: -20px;
  right: -10px;
}

.card-bottom {
  bottom: -22px;
  left: -12px;
  animation-delay: 1.4s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pill.primary {
  background: rgba(79, 70, 229, 0.12);
  color: var(--brand-solid);
}

.pill.success {
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
}

.pill.dark {
  background: rgba(17, 24, 39, 0.1);
  color: var(--text);
}

.glass-strip {
  border-radius: 22px;
  padding: 20px 22px;
}

.glass-strip p {
  color: var(--muted);
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
}

.stats-grid .stat-card,
.feature-card,
.why-card,
.automation-card,
.benefit-card,
.testimonial-card {
  height: 100%;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.stats-grid .stat-card:hover,
.feature-card:hover,
.why-card:hover,
.automation-card:hover,
.benefit-card:hover,
.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand-solid) 30%, var(--border));
}

.stat-card h3 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  word-wrap: break-word;
}

.stat-card p {
  color: var(--muted);
  margin: 0;
}

.feature-icon,
.benefit-card i,
.why-card i {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: white;
  font-size: 1.35rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.feature-card h5,
.benefit-card h5,
.why-card h5,
.automation-card h5 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.feature-card p,
.why-card p,
.automation-card p,
.benefit-card p,
.testimonial-card p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0;
  flex-grow: 1;
}

.compare-list {
  display: grid;
  gap: 16px;
  width: 100%;
}

.compare-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.compare-item i {
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.compare-item .bad {
  color: var(--danger);
}

.compare-item .good {
  color: var(--success);
}

.compare-item strong {
  display: block;
  margin-bottom: 4px;
}

.compare-item span {
  color: var(--muted);
  line-height: 1.7;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.automation-card {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.auto-step {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.automation-banner {
  border-radius: 28px;
  padding: 34px;
}

.automation-banner h3,
.cta-band h3,
.final-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 10px;
}

.automation-banner p,
.cta-band p,
.final-cta p {
  color: var(--muted);
  line-height: 1.8;
}

.product-window {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
}

.product-sidebar {
  padding: 22px 16px;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-secondary) 70%, transparent);
}

.product-logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--brand);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
}

.product-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-sidebar li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 12px 10px;
  border-radius: 14px;
  margin-bottom: 8px;
}

.product-sidebar li.active,
.product-sidebar li:hover {
  background: var(--surface-strong);
  color: var(--text);
}

.product-main {
  padding: 24px;
  width: 100%;
  overflow-x: hidden;
}

.product-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.product-topbar small {
  color: var(--muted);
}

.product-kpi {
  padding: 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-secondary) 85%, transparent);
  border: 1px solid var(--border);
  width: 100%;
}

.product-kpi span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.product-kpi strong {
  font-size: 1.7rem;
}

.product-chart {
  position: relative;
  height: 190px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(to top, rgba(99, 102, 241, 0.08), transparent),
    color-mix(in srgb, var(--bg-secondary) 88%, transparent);
  width: 100%;
}

.product-chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(120, 140, 180, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 140, 180, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.line {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 3px;
  border-radius: 999px;
}

.line-1 {
  bottom: 45px;
  background: linear-gradient(90deg, transparent 0%, #06b6d4 18%, #4f46e5 42%, #7c3aed 70%, #22c55e 100%);
  transform: rotate(-4deg);
}

.line-2 {
  bottom: 80px;
  background: linear-gradient(90deg, transparent 0%, #4f46e5 18%, #22d3ee 48%, #7c3aed 72%, #f59e0b 100%);
  transform: rotate(1deg);
}

.line-3 {
  bottom: 120px;
  background: linear-gradient(90deg, transparent 0%, #22c55e 22%, #06b6d4 46%, #4f46e5 74%, #7c3aed 100%);
  transform: rotate(-6deg);
}

.product-message {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-secondary) 85%, transparent);
  border: 1px solid var(--border);
  width: 100%;
}

.product-message i {
  font-size: 1.2rem;
  color: var(--brand-solid);
  flex-shrink: 0;
}

.product-message strong {
  display: block;
  margin-bottom: 4px;
}

.product-message span {
  color: var(--muted);
  font-size: 0.92rem;
}

.showcase-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
  width: 100%;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.showcase-list i {
  color: var(--success);
  margin-top: 4px;
  flex-shrink: 0;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-top h6 {
  margin: 0;
  font-size: 1rem;
}

.testimonial-top span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  border-radius: 32px;
  padding: 40px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  border: 0;
  color: white;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
}

.custom-accordion .accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.custom-accordion .accordion-button {
  background: transparent;
  color: var(--text);
  font-weight: 700;
  padding: 22px 24px;
  box-shadow: none;
  width: 100%;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--text);
}

.custom-accordion .accordion-button::after {
  filter: grayscale(1) opacity(0.8);
}

.custom-accordion .accordion-body {
  color: var(--muted);
  line-height: 1.8;
  padding: 0 24px 24px;
}

.final-cta {
  padding: 40px;
  border-radius: 32px;
}

.cta-form {
  padding: 24px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--bg-secondary) 88%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.form-label {
  color: var(--text);
  font-weight: 600;
}

.form-control {
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: none !important;
  width: 100%;
}

.form-control::placeholder {
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.form-control:focus {
  border-color: color-mix(in srgb, var(--brand-solid) 50%, var(--border));
  background: var(--surface-strong);
  color: var(--text);
}

.footer-section {
  padding: 40px 0 20px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.footer-text {
  color: var(--muted);
  line-height: 1.8;
  max-width: 360px;
}

.footer-section h6 {
  margin-bottom: 16px;
  font-size: 1rem;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--text);
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.social-links a:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--muted);
  margin-bottom: 0;
}

/* Feature detail pages */
.feature-page .hero-section {
  padding-top: 150px;
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  max-width: 100%;
}

.feature-hero-card,
.timeline-card,
.benefit-detail-card,
.info-panel,
.page-cta-panel,
.shot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  border-radius: 28px;
  width: 100%;
}

.feature-hero-card {
  padding: 34px;
}

.feature-summary-list,
.benefit-chip-list,
.outcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-summary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.feature-summary-list li,
.outcome-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  width: 100%;
}

.feature-summary-list i,
.outcome-list i {
  color: var(--success);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-page .hero-shot {
  overflow: hidden;
  width: 100%;
}

.feature-page .hero-shot img,
.timeline-visual img {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: color-mix(in srgb, var(--bg-secondary) 88%, transparent);
}

.timeline-shell {
  position: relative;
  display: grid;
  gap: 26px;
  margin-top: 18px;
  width: 100%;
}

.timeline-shell::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
}

.timeline-card {
  padding: 26px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: 10px;
  top: 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 6px solid var(--brand-solid);
  box-shadow: var(--shadow-soft);
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1px 1.1fr 1fr;
  gap: 26px;
  align-items: center;
  width: 100%;
}

.timeline-line {
  width: 1px;
}

.timeline-image {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.step-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.timeline-copy h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.timeline-copy p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.benefit-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.benefit-chip-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.shot-card {
  padding: 16px;
}

.shot-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.shot-caption strong {
  display: block;
}

.shot-caption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.kicker-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-solid);
  font-weight: 700;
  font-size: 0.92rem;
}

.benefit-detail-card {
  padding: 26px;
  height: 100%;
}

.benefit-detail-card .feature-icon {
  margin-bottom: 16px;
}

.benefit-detail-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.page-cta-panel {
  padding: 34px;
}

.page-cta-panel p {
  color: var(--muted);
  max-width: 760px;
  line-height: 1.85;
}

.mini-back-link {
  color: var(--muted);
  font-weight: 600;
}

.mini-back-link:hover {
  color: var(--text);
}

.info-panel {
  padding: 26px;
  height: 100%;
}

.info-panel h4 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.outcome-list {
  display: grid;
  gap: 12px;
}

.home-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--brand-solid);
  font-weight: 700;
}

.home-feature-cta i {
  transition: transform 0.25s ease;
}

.feature-card:hover .home-feature-cta i {
  transform: translateX(4px);
}

#clients {
  padding-bottom: 90px;
  padding-top: 50px;
  padding-left: 0px;
  padding-right: 0px;
  width: 100%;
  overflow: hidden;
}

.classeslogo-carousel,
.classeslogo-carousel1,
.classeslogo-carousel2,
.classeslogo-carousel3 {
  position: relative;
  overflow: hidden;
  height: 160px;
  border-radius: 12px;
  margin-bottom: 0px;
  width: 100%;
}

.classeslogo-track {
  display: flex;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  align-items: center;
  will-change: transform;
}

.classeslogo-item {
  flex-shrink: 0;
  margin: 0 15px; /* Adjusted margin slightly for smaller screens */
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transform-origin: center;
}

.classeslogo-img {
  max-height: 110px;
  width: auto;
  max-width: 100%;
  transition: all 0.3s ease;
  border-radius: 15px;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
}

.logo {
  max-width: 100%; /* Made fully responsive */
  height: auto;
  max-height: 50px; /* Capped to preserve design intention */
}

.option-item {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.options-list:not(:hover) .default-highlight {
  background: linear-gradient(90deg, #7c3aed, #4f46e5) !important;
  color: white !important;
  font-weight: 600 !important;
}

.option-item:hover {
  background: linear-gradient(90deg, #7c3aed, #4f46e5) !important;
  color: white !important;
  font-weight: 600 !important;
}

/* =========================================================================
   MEDIA QUERIES FOR FLUID RESPONSIVENESS
========================================================================= */

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
  }
}

@media (max-width: 991.98px) {
  .hero-subtitle {
    max-width: 100%;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 40px;
  }

  .floating-card {
    position: relative;
    width: 100%;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-bottom: 18px;
    animation: none;
  }

  .dashboard-shell {
    margin-bottom: 18px;
  }

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

  .product-window {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .product-sidebar ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .product-sidebar li {
    justify-content: center;
  }

  .product-sidebar li span {
    display: none;
  }
  
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .timeline-card {
    padding-left: 62px;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 84px 0;
  }

  .hero-section {
    padding-top: 130px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .dashboard-body,
  .automation-banner,
  .cta-band,
  .final-cta {
    padding: 22px;
  }

  .feature-card,
  .benefit-card,
  .testimonial-card,
  .why-card,
  .automation-card,
  .stat-card {
    padding: 22px;
  }

  .cta-form {
    padding: 18px;
  }

  .product-sidebar ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-hero-card,
  .timeline-card,
  .benefit-detail-card,
  .info-panel,
  .page-cta-panel,
  .shot-card {
    border-radius: 22px;
  }

  .feature-hero-card,
  .page-cta-panel {
    padding: 24px;
  }

  .timeline-copy h3 {
    font-size: 1.2rem;
  }

  .timeline-shell::before {
    left: 18px;
  }

  .timeline-dot {
    left: 4px;
  }

  .timeline-card {
    padding: 22px 18px 22px 18px;
  }

  .footer-text {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-trust .mini-stat {
    flex: 1 1 100%;
  }

  .product-sidebar ul {
    grid-template-columns: 1fr;
  }

  .product-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band {
    padding: 24px;
  }

  .feature-summary-list {
    grid-template-columns: 1fr;
  }
}