:root{ --bg:#0b0d10; --card:#101317; --muted:#a9b0b7; --brandA:#00d1d6; --brandB:#00f0ff; }
*{box-sizing:border-box} body{background:var(--bg);color:#e9eef2}
h1,h2,h3{letter-spacing:.2px}
.section{padding:80px 0}
.badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}
.btn-primary{background:linear-gradient(90deg,var(--brandA),var(--brandB));border-radius:999px;padding:12px 20px;font-weight:700;color:#051015}
.btn-outline{border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:12px 20px;font-weight:600}
.card{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.08);border-radius:20px;backdrop-filter:blur(8px);transition:transform .4s,border-color .3s,box-shadow .3s}
.card:hover{transform:translateY(-6px);border-color:rgba(255,255,255,.18);box-shadow:0 12px 30px rgba(0,0,0,.25)}
.gradient-text{background:linear-gradient(90deg,var(--brandA),var(--brandB));-webkit-background-clip:text;background-clip:text;color:transparent}
.cart-bar{position:fixed;left:0;right:0;bottom:0;z-index:70;background:rgba(10,12,15,.9);backdrop-filter:blur(10px);border-top:1px solid rgba(255,255,255,.12);display:none}
.cart-inner{max-width:72rem;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.plan-selected{outline:2px solid rgba(0,240,255,.28)}
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}
input,select,textarea{background:#0e1115;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:12px 14px;width:100%;color:#e9eef2}
label{display:block;margin-bottom:6px;color:#cbd5e1;font-size:.9rem}
small.note{color:#a9b0b7}
footer{color:#c5ccd3}
.meta{color:#b7bec6}








/* Container */
.carousel-container {
  width: 100%;
  height: 500px;
  perspective: 1600px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 80px 0;
}

/* 3D Wheel */
.carousel-3d {
  width: 350px;
  height: 350px;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(-450px);
  transition: transform 0.8s cubic-bezier(.17,.67,.89,1.2);
}

/* Cards */
.carousel-item {
  width: 260px;
  height: 160px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  transform-origin: 0 0 450px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  background: #111;
  text-align: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-item span {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  background: rgba(0,0,0,0.55);
  padding: 4px 10px;
  border-radius: 6px;
}

/* Hover effect */
.carousel-item:hover {
  transform: scale(1.06);
  box-shadow: 0 22px 50px rgba(0,0,0,0.35);
}


/* Wrapper to ensure perfect centering */
.template-card {
    width: 320px;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #111;
    cursor: pointer;

    /* Ensures card stays centered inside parent container */
    display: flex;
    justify-content: center;
    align-items: center;

    transform-origin: center;
    transition: transform 0.45s cubic-bezier(.17,.67,.43,1),
                box-shadow 0.45s cubic-bezier(.17,.67,.43,1);
}

/* Image centered perfectly inside card */
.template-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Prevents distortions during transform */
    transform-origin: center;
    transition: transform 0.6s ease;
}

/* Soft premium hover */
.template-card.hover-soft:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0px 20px 45px rgba(0,0,0,0.35);
}

.template-card.hover-soft:hover img {
    transform: scale(1.10);
}

/* Highlight Sweep — made smoother and cleaner */
.template-card.hover-soft::before {
    content: "";
    position: absolute;
    top: -150%;
    left: -150%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        115deg,
        rgba(255,255,255,0) 40%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0) 60%
    );
    transform: rotate(20deg);
    transition: all 1s ease;
}

.template-card.hover-soft:hover::before {
    top: -10%;
    left: -10%;
}


/* Template Pack Card Container */
.template-pack-card {
    text-align: center;
    max-width: 340px;
}

/* Pack Titles */
.pack-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 14px;
    color: white;
}

.pack-subtitle {
    font-size: 1rem;
    opacity: .7;
    margin-top: 4px;
}

/* Tag showing connection to carousel */
.pack-tag {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brandA), var(--brandB));
    color: #051015;
    opacity: .9;
}

/* Alignment fixes */
#packs .template-card {
    margin-left: auto;
    margin-right: auto;
}

/* Soft connecting glow between packs + carousel */
#packs {
    position: relative;
}

#packs::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 520px;
    height: 120px;
    background: radial-gradient(circle, rgba(0,240,255,0.15) 0%, rgba(0,240,255,0) 70%);
    filter: blur(40px);
    opacity: .5;
    pointer-events: none;
}

.cta-section {
  text-align: center;
}

.cta-section img {
  display: block;
  margin: 0 auto 24px;
}

.cta-section .primary-cta {
  display: inline-block;
  margin: 0 auto;
}


.cta-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #e8eef3;
  margin-bottom: 28px;
  letter-spacing: .3px;
}

/* Primary CTA (as already supplied) */
.cta-envato.primary-cta {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 14px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  color: #051015;
  background: linear-gradient(90deg, #00e0ff, #00b6d8);
  transition: all .35s cubic-bezier(.25,.46,.45,1);
  box-shadow: 0 0 0 rgba(0,240,255,0.0);
}

.cta-envato.primary-cta:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,240,255,0.20);
}





