:root {
    --rotate-speed: 40;
    --count: 6;
    --easing: cubic-bezier(0.000, 0.37, 1.000, 0.63);
}

.sections-headings {
    text-align: center;
    margin-bottom: -2rem;
}

.sections-headings h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #07294d;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.sections-headings p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.void {
    width: 100%;
    max-width: 1024px;
    height: 700px;
    max-height: 700px;
    margin: auto;
    position: relative;
    aspect-ratio: 1 / 1;
}

.card-list {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    outline: 2px dotted magenta;
    z-index: 1;
}

.card-list:hover * {
    animation-play-state: paused;
}

.card-wrapper {
    position: absolute;
    top: 39%;
    transform: translateY(-50%);
    width: 85%;
    animation: rotateCW calc(var(--rotate-speed) * 1s) var(--easing) infinite;
}

.card {
    width: 27%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 8px;
    background: #FFFFFF;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1),
        0px 16px 32px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #535062;
    animation: rotateCCW calc(var(--rotate-speed) * 1s) var(--easing) infinite;
}

.model-name {
    font-weight: 600;
    font-size: 15px;
    color: #07294d;
    display: block;
}

/* Rotation animation delay for each card */
.card-wrapper:nth-child(2),
.card-wrapper:nth-child(2) .card {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -1s);
}

.card-wrapper:nth-child(3),
.card-wrapper:nth-child(3) .card {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -2s);
}

.card-wrapper:nth-child(4),
.card-wrapper:nth-child(4) .card {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -3s);
}

.card-wrapper:nth-child(5),
.card-wrapper:nth-child(5) .card {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -4s);
}

.card-wrapper:nth-child(6),
.card-wrapper:nth-child(6) .card {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -5s);
}

@keyframes rotateCW {
    from {
        transform: translate3d(0px, -50%, -1px) rotate(-45deg);
    }

    to {
        transform: translate3d(0px, -50%, 0px) rotate(-315deg);
    }
}

@keyframes rotateCCW {
    from {
        transform: rotate(45deg);
    }

    to {
        transform: rotate(315deg);
    }
}

@keyframes pulseGlow {
    from {
        background-size: 60%;
    }

    to {
        background-size: 100%;
    }
}

.center-circle {
    position: absolute;
    width: 175px;
    aspect-ratio: 1 / 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #FFFFFF;
    box-shadow: 0px 18px 36px -18px rgba(12, 5, 46, 0.3),
        0px 30px 60px -12px rgba(12, 5, 46, 0.25);
    border-radius: 50%;
}

.second-circle {
    position: absolute;
    width: 30%;
    aspect-ratio: 1 / 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #F5F4FE;
    box-shadow: 0px 18px 36px -18px rgba(12, 5, 46, 0.3), 0px 30px 60px -12px rgba(12, 5, 46, 0.25);
    opacity: 0.5;
    border-radius: 50%;
}

.last-circle {
    position: absolute;
    width: 45%;
    aspect-ratio: 1 / 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #F5F4FE;
    box-shadow: 0px 18px 36px -18px rgba(12, 5, 46, 0.3), 0px 30px 60px -12px rgba(12, 5, 46, 0.25);
    opacity: 0.25;
    border-radius: 50%;
}

.crop {
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 1) 50%,
            rgba(0, 0, 0, 1));
    mask-image: linear-gradient(90deg,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 1) 50%,
            rgba(0, 0, 0, 1));
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    animation: pulseGlow 5s linear infinite alternate;
    background-position: 100% 50%;
    background-repeat: no-repeat;
    background-image: radial-gradient(100% 50% at 100% 50%,
            rgba(207, 33, 40, 0.25) 0%,
            rgba(207, 33, 40, 0.24) 11.79%,
            rgba(207, 33, 40, 0.23) 21.38%,
            rgba(207, 33, 40, 0.22) 29.12%,
            rgba(207, 33, 40, 0.21) 35.34%,
            rgba(207, 33, 40, 0.20) 40.37%,
            rgba(207, 33, 40, 0.18) 44.56%,
            rgba(207, 33, 40, 0.16) 48.24%,
            rgba(207, 33, 40, 0.14) 51.76%,
            rgba(207, 33, 40, 0.12) 55.44%,
            rgba(207, 33, 40, 0.10) 59.63%,
            rgba(207, 33, 40, 0.08) 64.66%,
            rgba(207, 33, 40, 0.06) 70.88%,
            rgba(207, 33, 40, 0.04) 78.62%,
            rgba(207, 33, 40, 0.02) 88.21%,
            rgba(207, 33, 40, 0) 100%);
}

.mask:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    right: 0;
    display: block;
    background-image: linear-gradient(180deg,
            rgba(207, 33, 40, 0) 0%,
            #cf2128 50%,
            rgba(207, 33, 40, 0) 100%);
}

/* 2nd section */
.core-features-section {
    background: #000;
    color: #fff;
}

.core-features-section .highlight {
    color: #cf2128;
}

.featured-card {
    background: #2a1a1a;
    border-radius: 6px;
    padding: 12px 15px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.featured-card .text {
    font-size: 12px;
}

.featured-card .icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #cf2128;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 16px;
}

.featured-card:hover {
    background: #cf2128;
    color: #fff;
}

.featured-card:hover .icon {
    background: #fff;
    color: #cf2128;
}

.ctaa-section {
  background: #cf2128;
  color: #fff;
  padding: 60px 20px;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1100px;
  position: relative;
}

.ctaa-section h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.ctaa-section p {
  font-size: 16px;
  margin-bottom: 25px;
  color: rgba(255,255,255,0.9);
}

.ctaa-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-buy {
  background: #fff;
  color: #cf2128;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-buy:hover {
  background: #f9f9f9;
}

.btn-portfolio {
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-portfolio:hover {
  background: #fff;
  color: #cf2128;
}
/* Section Background */
.stats-section {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  font-family: Arial, sans-serif;
}

/* Container Flex Layout */
.stats-containers {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Each Card */
.stats-card {
  max-width: 250px;
}

/* Icon Image Circle */
.stats-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.stats-icon img {
  width: 99%;
  height: auto;
  object-fit: contain;
}

/* Text + Numbers */
.stats-text {
  font-size: 16px;
  color: #bbb;
  margin-bottom: 8px;
}

.stats-number {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

/* CTA */
.cta h2 {
  font-size: 28px;
  color: #ff6600;
  font-weight: bold;
  margin-bottom: 10px;
}

.ctar p {
  font-size: 14px;
  margin-bottom: 20px;
}

.ctar-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #cf2128;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s ease;
}

.ctar-btn:hover {
  background: #fff;
}
