/* --------------  FEATURES BAND ------------- */
.features-band {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    padding: 80px 0 120px;
    text-align: center;
    color: #ffffff;
    /* curved bottom using clip-path (better than giant border-radius) */
    clip-path: ellipse(120% 75% at 50% 25%);
}

.features-wrapper {
    max-width: 1100px;
    margin: 0 auto 60px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 40px 30px;
    width: 280px;
    color: #2f00ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 100;
    transform: translateY(40px);
    animation: featureFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes featureFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger effect for each card */
.features-wrapper .feature-card:nth-child(1) {
    animation-delay: 0.1s;
}
.features-wrapper .feature-card:nth-child(2) {
    animation-delay: 0.3s;
}
.features-wrapper .feature-card:nth-child(3) {
    animation-delay: 0.5s;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: black;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #ffffff;
}

/* tagline */
.features-tagline {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
     color: #00ff2f;  /* ✅ Explicit green */
}

/* --------------  VIDEO SECTION ------------- */
.features-video {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px auto 0 auto;
    max-width: 100%;
    width: 100%;
      background: url('../img/abstract_lines_transparent busy (white).png') center / cover no-repeat;
}

.features-video video {
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 52, 255, 0.12), 0 1.5px 8px rgba(0,0,0,0.08);
    max-width: 90vw;
    width: 1000px;
    background: #000;
}

/* ----------  RESPONSIVE  ---------- */
@media (max-width: 768px) {
    .feature-card {
        width: 90%;
    }

    .features-band {
        position: relative;
        background: linear-gradient(135deg, #0015ff 0%, #0056ff 100%);
        padding: 100px 0 140px;
        text-align: center;
        color: #fff;
        /* Deeper curve using ellipse and lower vertical anchor */
        clip-path: ellipse(135% 55% at 50% 40%);
    }

}

/* ---------------- DARK MODE OVERRIDES ----------------- */
body.dark-mode .features-band {
    background:#000000;
    color: #ffffff;
}

body.dark-mode .feature-card {
    background: rgba(30, 36, 56, 0.85);
    border: 1px solid rgba(68, 170, 255, 0.15);
    color: #ffffff;
}

body.dark-mode .feature-card h3 {
    color: white;
}

body.dark-mode .feature-card p {
    color: #ffffff;
}

body.dark-mode .features-tagline {
    color: #00ff2f;  /* ✅ Green retained in dark mode */
}

body.dark-mode .features-video video {
    background: rgba(68, 170, 255, 0.15);
    box-shadow: 0 8px 32px rgba(68, 170, 255, 0.12), 0 1.5px 8px rgba(0,0,0,0.18);
}

/* Responsive dark mode for features-band */
@media (max-width: 768px) {
    body.dark-mode .features-band {
        background: linear-gradient(135deg, #181c2a 0%, #223 100%);
          color: inherit;  /* ✅ Inherit from .features-tagline */
        clip-path: ellipse(135% 55% at 50% 40%);
    }
}
