.features-hero {
background: linear-gradient(rgba(60, 109, 112, 0.7), rgba(0,0,0,0.7)), url('/static/img/feature.jpg') no-repeat center center ;
    background-size: cover;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
}

.d-flex::before {
    background-color: #d3a079;
    color: #fff;
}

.d-flex .btn.active{
    color: #21011f !important;
    text-decoration: none;
}
.d-flex .btn:hover{
    color:  #0d0014!important;
    text-decoration: none;
}



/* --- Premium Features Section --- */
.premium-features-section {
    background: linear-gradient(120deg, #eff4fa 60%, #c3f3fc 100%);
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 149, 255, 0.08);
    padding: 60px 0 40px 0;
    margin-bottom: 40px;
}

.premium-features-section h2,
.premium-features-section .lead {
    color: #000000;
}
.feature-grid-item:hover .feature-icon{
    transform: scale(1.1);
     transition:
        background 0.3s,
        transform 0.3s,
        box-shadow 0.3s;
}

.feature-card{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 30px;
    line-height: 1.6;
    background:#ffffff;
    box-shadow: 0 8px 32px rgba(173, 200, 207, 0.1), 0 2px 8px rgba(133, 183, 184, 0.06);
    margin: 0 auto 32px auto;
    border: none;
    overflow: visible;
    transition:
        box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        background 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    user-select: none;
}
 .feature-card .card-body {
    position: relative;
    padding: 32px 24px;
    text-align: center;
    background: #ffffff;
    border: 3px solid #197d5d;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition:
        background 0.3s,
        transform 0.3s,
        box-shadow 0.3s;
 }

/* Gradient icon style for feature card icons */
.feature-card .feature-icon {
    background: linear-gradient(135deg, var(--primary-color, #99ecff), var(--secondary-color, #9ae6ff));
    color: #fff;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 16px rgba(127,0,255,0.13);
    transition:
        background 0.3s,
        transform 0.3s,
        box-shadow 0.3s;
}

.feature-card h4 {
    color: #000000;
    font-weight: 800;
    margin-bottom: 0.7rem;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    justify-self: center;
    align-self: center;
}

.feature-card p {
    color: #555;
    font-size: 1.08rem;
    margin-bottom: 0;
    line-height: 1.7;
    transition: color 0.3s;
}

.feature-card .link {
    color: #fea000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    transition: color 0.3s;
}

.feature-card .link:hover {
    color: #56666d;
    text-decoration: underline;
}


.feature-card:hover .card-body {
    background: linear-gradient(135deg,  #edefee, #ffffff);
    border-radius: 30px;
    box-shadow: 0 8px 32px #c3eff8 100%;
    transform: scale(1.05);
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #07413b, #045660);
    box-shadow: 0 8px 32px rgba(0, 110, 255, 0.2);
    transform: scale(1.05);
}

.feature-card:hover .card-body::before {
    background: #c3eefc;
    opacity: 0.95;
    top: 0;    
    width: 100%;
    height: 100%;
   filter: blur(2.5px);
}

.feature-card:hover h4 {
    color: #007b58;
}

/* --- Responsive for grid --- */
@media (max-width: 991px) {
    .feature-card {
        width: 100%;
        min-height: 0;
    }
    .feature-card .card-body {
        padding: 24px 16px;
        min-height: 0;
    }
}

/* --- Modern Comparison Section --- */
.comparison-section {
    background: #f9fafb;
    border-radius: 28px;
    padding: 80px 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    font-family: 'Inter', sans-serif;
}

/* --- Modern Comparison Table: FoundrFuse Theme --- */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(120deg, #f8fafc 60%, #c3eafc 100%);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 35px rgba(0, 183, 255, 0.08);
    margin-bottom: 32px;
    font-family: 'Inter', sans-serif;
}

.comparison-table thead th {
    background: linear-gradient(90deg, #e6f6fa 0%, #d5f0f2 100%);
    color: #070345;
    font-size: 1.08rem;
    font-weight: 800;
    padding: 1.2rem;
    border-bottom: 2px solid #c3defc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table td, .comparison-table th {
    padding: 1.2rem;
    text-align: center;
    font-size: 1.05rem;
    color: #000000;
    border-bottom: 1px solid #e9f3fe;
    background: transparent;
    transition: background 0.2s;
}

.comparison-table tbody tr {
    transition: background 0.2s;
}

.comparison-table tbody tr:hover {
    background: linear-gradient(90deg, #e8f9ff 0%, #c3defc 100%);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 700;
    color: #070345;
    background: #f5faff;
    border-right: 1px solid #c3f8fc;
    border-radius: 0 0 0 18px;
}

.comparison-table th:first-child {
    border-radius: 18px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 18px 0 0;
}

.comparison-table tr:last-child td:first-child {
    border-radius: 0 0 0 18px;
}
.comparison-table tr:last-child td:last-child {
    border-radius: 0 0 18px 0;
}

.comparison-table .highlight-col, 
.comparison-table th.highlight-col {
    background: linear-gradient(135deg, #c3f6fc 0%, #588997 100%) !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 0 0 2px #c3defc inset;
    border-radius: 12px;
    border: none;
}

.comparison-table i {
    font-size: 1.3rem;
    opacity: 0.92;
}

.comparison-table i.fa-check-square{
    color: #22c55e;
    filter: drop-shadow(0 0 2px #bbf7d0);
}
.comparison-table i.fa-times-square {
    color: #ef4444;
    filter: drop-shadow(0 0 2px #fecaca);
}
.comparison-table i.fa-minus-square {
    color: #fbbf24;
    filter: drop-shadow(0 0 2px #fef08a);
}

/* --- Responsive: Card Style for Mobile --- */
@media (width>=320px) and (width<=900px) {
    .comparison-table {
        display: flex;
    }

    .comparison-cards {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .comparison-card {
        background: linear-gradient(120deg, #f8fafc 60%, #c3edfc 100%);
        padding: 1.5rem;
        border-radius: 18px;
        box-shadow: 0 8px 24px rgba(0, 115, 255, 0.08);
        border: 1px solid #c3e2fc;
        transition: all 0.3s ease;
    }

    .comparison-card h4 {
        color: #9dc2c3;
        margin-bottom: 1rem;
        font-size: 1.1rem;
        font-weight: 800;
    }

    .comparison-card .item {
        display: flex;
        justify-content: space-between;
        padding: 0.4rem 0;
        border-bottom: 1px dashed #c3dffc;
        font-size: 1rem;
        color: #000000;
    }

    .comparison-card .item:last-child {
        border-bottom: none;
    }

    .comparison-card .item i {
        font-size: 1.2rem;
    }
}



.btn-gradient, .btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  border: none;
  text-decoration: none;
}
.btn-gradient:hover, .btn-primary:hover {
    color: #000000 !important;
    text-decoration: none !important;
}

.features-hero-bg-animated {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.features-hero-bg-animated .shape {
    position: absolute;
    border-radius: 20px;
    opacity: 0.5;
    transition: all 1s cubic-bezier(.4,2,.6,1);
    filter: blur(0.5px);
}

.features-hero-bg-animated .shape1 {
    width: 96px; height: 96px;
    background: transparent;
    box-shadow: 0 0 40px 10px #7dfff0;
    top: -48px; left: -48px;
    animation: float1 5s ease-in-out infinite alternate;
}

.features-hero-bg-animated .shape3 {
    width: 96px; height: 96px;
    background: transparent;
    box-shadow: 0 0 40px 10px #0ea5e9;
    top: 40%; left: 80%;
    animation: float3 6s ease-in-out infinite alternate;
}


.features-hero-bg-animated .shape6 {
    width: 256px; height: 256px;
    background: transparent;
    box-shadow: 0 0 120px 30px #0ea5e9;
    top: -80px; left: 20%;
    animation: float6 6s ease-in-out infinite alternate;
}
.features-hero-bg-animated .shape7 {
    width: 16px; height: 16px;
    background: transparent;
    box-shadow: 0 0 20px 5px #38bdf8;
    top: 80%; left: 20%;
    animation: float7 3s ease-in-out infinite alternate;
}

/* New shapes added */
.features-hero-bg-animated .shape8 {
    width: 64px; height: 64px;
    background: transparent;
    box-shadow: 0 0 40px 10px #01d5e4;
    bottom: 240px; right: 60px;
    animation: float8 3.5s ease-in-out infinite alternate;
}

/* Pink circle, mid right */
.features-hero-bg-animated .shape9 {
    width: 80px; height: 80px;
    background: transparent;
    box-shadow: 0 0 50px 12px #2ca6ad;
    top: 70%; right: 20%;
    animation: float9 4.5s ease-in-out infinite alternate;
}

/* Blue circle, bottom left */
.features-hero-bg-animated .shape10 {
    width: 48px; height: 48px;
    background: transparent;
    box-shadow: 0 0 30px 8px #38bdf8;
    bottom: 260px; left: 70px;
    animation: float10 2.5s ease-in-out infinite alternate;
}
/* Orange circle, bottom center */
.features-hero-bg-animated .shape13 {
    width: 72px; height: 72px;
    background: transparent;
    box-shadow: 0 0 44px 12px #63fcdb;
    bottom: 30px; left: 48%;
    animation: float13 2.8s ease-in-out infinite alternate;
}

/* Cyan circle, top center */
.features-hero-bg-animated .shape14 {
    width: 40px; height: 40px;
    background: transparent;
    box-shadow: 0 0 24px 7px #22d3ee;
    top: 10px; left: 48%;
    animation: float14 1.8s ease-in-out infinite alternate;
}

/* Animations for new shapes */
@keyframes float1 {
    from { transform: translateX(0) scale(1);}
    to   { transform: translateX(20px) scale(1.05);}
}

@keyframes float3 {
    from { transform: translate(0,0) scale(1);}
    to   { transform: translate(-10px, -10px) scale(1.08);}
}

@keyframes float5 {
    from { transform: translateX(0) scale(1);}
    to   { transform: translateX(-25px) scale(1.07);}
}

@keyframes float6 {
    from { transform: translate(0,0) scale(1);}
    to   { transform: translate(15px, 15px) scale(1.1);}
}

@keyframes float7 {
    from { transform: translateY(0) scale(1);}
    to   { transform: translateY(-20px) scale(1.13);}
}

@keyframes float8 {
    from { transform: translateY(0) scale(1);}
    to   { transform: translateY(-22px) scale(1.08);}
}

@keyframes float9 {
    from { transform: translate(0,0) scale(1);}
    to   { transform: translate(-18px, 18px) scale(1.1);}
}

@keyframes float10 {
    from { transform: translateY(0) scale(1);}
    to   { transform: translateY(18px) scale(1.13);}
}

@keyframes float11 {
    from { transform: translate(0,0) scale(1);}
    to   { transform: translate(24px, 18px) scale(1.07);}
}

@keyframes float12 {
    from { transform: translateY(0) scale(1);}
    to   { transform: translateY(-16px) scale(1.12);}
}

@keyframes float13 {
    from { transform: translateX(0) scale(1);}
    to   { transform: translateX(-20px) scale(1.09);}
}

@keyframes float14 {
    from { transform: translateY(0) scale(1);}
    to   { transform: translateY(16px) scale(1.15);}
}
@media screen and (width>=320px) and (width<=768px) 
{    .features-hero-bg-animated .shape3,
    .features-hero-bg-animated .shape6,
      .features-hero-bg-animated .shape1,
    .features-hero-bg-animated .shape10,
    .features-hero-bg-animated .shape13,
    .features-hero-bg-animated .shape14,.features-hero-bg-animated .shape7 {
        width: 64px;
        height: 64px;
    }
     
    .features-hero-bg-animated .shape8, .features-hero-bg-animated .shape9{
        display: none;
        box-shadow: none;
    }
    .d-flex{
        display: flex;
        flex-direction: column;
    }
    
}

/* Animated scroll-up effect */
.animated-scroll-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}

.animated-scroll-up.visible {
  opacity: 1;
  transform: translateY(0);
}

