:root {
  --cc-primary: #ed6e38;
  --cc-accent-1: #40ab8c;
  --cc-accent-2: #3d85db;
  --cc-bg: #f7f5ef;
  --cc-card: #ffffff;
  --cc-text: #1f1f1f;
  --cc-muted: #5f6670;
  --cc-stroke: rgba(0, 0, 0, 0.09);
  --cc-surface-soft: #eef1f4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--cc-text);
  background:
    radial-gradient(circle at 8% 8%, rgba(237, 110, 56, 0.12), transparent 40%),
    radial-gradient(circle at 90% 15%, rgba(61, 133, 219, 0.12), transparent 34%),
    var(--cc-bg);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
  animation: drift 16s ease-in-out infinite;
}

body::before {
  top: 90px;
  left: -120px;
  background: rgba(237, 110, 56, 0.22);
}

body::after {
  right: -120px;
  top: 320px;
  background: rgba(61, 133, 219, 0.18);
  animation-delay: -8s;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cc-bg: #1b1b1d;
    --cc-card: #2b2b2f;
    --cc-text: rgba(255, 255, 255, 0.92);
    --cc-muted: rgba(255, 255, 255, 0.72);
    --cc-stroke: rgba(255, 255, 255, 0.14);
    --cc-surface-soft: #3a3a40;
  }
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.features-page,
.page-shell {
  width: min(1080px, 92vw);
}

.hero {
  background: var(--cc-card);
  border: 1px solid var(--cc-stroke);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 18px;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.06);
  animation: fade-up 0.7s ease both;
}

.eyebrow {
  display: inline-block;
  color: var(--cc-primary);
  background: rgba(237, 110, 56, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 8px 12px;
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
}

h2,
h3 {
  color: var(--cc-text);
}

p {
  margin: 0;
  line-height: 1.65;
  color: var(--cc-muted);
}

.hero p {
  max-width: 68ch;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--cc-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 10px;
  padding: 11px 15px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(237, 110, 56, 0.18);
}

.btn-secondary {
  background: transparent;
  color: var(--cc-primary);
  border: 1px solid var(--cc-primary);
}

.hero-badges,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges {
  margin-top: 18px;
}

.hero-badge,
.pill-list a,
.pill-list span {
  background: var(--cc-surface-soft);
  border: 1px solid var(--cc-stroke);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--cc-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.stats-grid,
.grid,
.detail-grid,
.faq-grid,
.related-grid,
.landing-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid,
.detail-grid,
.faq-grid,
.related-grid,
.landing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.card,
.faq-card,
.link-card,
.landing-card,
.highlight-panel {
  background: var(--cc-card);
  border: 1px solid var(--cc-stroke);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.05);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
  animation: fade-up 0.7s ease both;
}

.stat-card:hover,
.card:hover,
.faq-card:hover,
.link-card:hover,
.landing-card:hover,
.highlight-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.08);
  border-color: rgba(237, 110, 56, 0.2);
}

.stat-card strong {
  display: block;
  font-size: 1.04rem;
  margin-bottom: 6px;
}

.card h2,
.card h3,
.faq-card h3,
.link-card h3,
.landing-card h3,
.highlight-panel h2 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.card-media {
  width: 100%;
  min-height: 132px;
  border: 1px solid var(--cc-stroke);
  border-radius: 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(237, 110, 56, 0.12), rgba(61, 133, 219, 0.1)),
    var(--cc-surface-soft);
}

.card-media span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cc-primary);
}

.card-media strong {
  font-size: 1.02rem;
  line-height: 1.35;
}

.card ul,
.highlight-panel ul,
.faq-card ul,
.landing-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--cc-muted);
}

.card li,
.highlight-panel li,
.faq-card li,
.landing-card li {
  margin: 7px 0;
  line-height: 1.55;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.feature-svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-maint { background: rgba(64, 171, 140, 0.16); color: #248269; }
.icon-fuel { background: rgba(61, 133, 219, 0.16); color: #2967ab; }
.icon-fuel .feature-svg { width: 22px; height: 22px; }
.icon-trip { background: rgba(237, 110, 56, 0.14); color: #c85625; }
.icon-accel { background: rgba(237, 110, 56, 0.16); color: #ed6e38; }
.icon-report { background: rgba(139, 92, 246, 0.16); color: #7c3aed; }

.cta-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.text-link {
  color: var(--cc-primary);
  text-decoration: none;
  font-weight: 700;
}

.highlight-panel {
  background:
    linear-gradient(135deg, rgba(237, 110, 56, 0.08), rgba(61, 133, 219, 0.08)),
    var(--cc-card);
}

.panel-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.panel-list div {
  border: 1px solid var(--cc-stroke);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.panel-list div:hover {
  transform: translateY(-2px);
  border-color: rgba(237, 110, 56, 0.2);
}

@media (prefers-color-scheme: dark) {
  .panel-list div {
    background: rgba(255, 255, 255, 0.04);
  }
}

@media (max-width: 860px) {
  .grid,
  .detail-grid,
  .faq-grid,
  .related-grid,
  .landing-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 22px;
    border-radius: 20px;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(16px, -14px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
