﻿
:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #EFF6FF;
    --accent: #7C3AED;
    --accent-light: #F5F3FF;
    --bg: #ebf7ff;
    --card: #FFFFFF;
    --text: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --border: #E2E8F0;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.navbar-sticky.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border);
}

.navbar-brand img {
    height: 55px;
    transition: var(--transition);
}


/* ───────── HERO BASE ───────── */
.features-hero {
    position: relative;
    padding-top: 20px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 50%, #FFFFFF 100%);
    overflow: hidden;
}

    .features-hero .container {
        position: relative;
        z-index: 2;
    }

.backwrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.back-shapes {
    width: 100%;
    height: 100%;
    position: relative;
}

.floating {
    position: absolute;
    animation: floating 6s ease-in-out infinite;
    opacity: 0.35;
}

    .floating.circle {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #4f46e5;
    }

    .floating.square {
        width: 24px;
        height: 24px;
        background: #7c3aed;
        border-radius: 6px;
    }

    /* triangle */
    .floating.triangle {
        width: 0;
        height: 0;
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        border-bottom: 24px solid #2563eb;
    }

    /* cross */
    .floating.cross {
        width: 24px;
        height: 24px;
        position: relative;
    }

        .floating.cross::before,
        .floating.cross::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 3px;
            background: #ef4444;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
        }

        .floating.cross::after {
            transform: translateY(-50%) rotate(90deg);
        }

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-40px) rotate(180deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}


/* Section Layout */
.features-section {
    padding: 30px 0;
    position: relative;
}

@media (max-width: 768px) {
    .features-section {
        padding: 56px 0;
    }
}

.features-section-light {
    background: #F8FAFC;
}

.features-section-gradient {
    background: #F1F5F9;
}

/* Info Panels - Section Headers */
.features-info-panel {
    padding: 1.5rem;
    border-radius: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

    .features-info-panel:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-light);
    }

.features-eyebrow {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.features-info-panel h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .features-info-panel h2 {
        font-size: 2rem;
    }
}

/* Feature Cards Container */
.features-card {
    background: var(--card);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.features-card-body {
    padding: 1.5rem;
}

/* Feature Tiles */
.feature-title {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.875rem 1rem;
    height: 100%;
    background: var(--card);
    transition: var(--transition);
}

    .feature-title:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        border-color: var(--primary);
        background: linear-gradient(135deg, var(--card) 0%, var(--primary-light) 100%);
    }

.feature-title {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.875rem 1.25rem;
    background: var(--card);
    transition: var(--transition);
}

    .feature-title:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        border-color: var(--primary);
        background: linear-gradient(135deg, var(--card) 0%, var(--primary-light) 100%);
    }

.feature-premium-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

    .feature-premium-title h6 {
        margin: 0;
        font-weight: 600;
        color: var(--text);
        font-size: 1.1rem;
    }

.feature-note {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-icon-md {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    stroke-width: 1.8px;
}

.features-cta {
    margin: 40px 0 60px;
}

.cta-card {
    background: #15599B;
    border-radius: 12px;
    padding: 2rem 1rem;
    position: relative;
}

.cta-card::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    left: -100px;
    top: 50px;
}

.cta-card::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    right: -110px;
    top: -80px;
}

.features-card-body .row :is(.col-xs-12, .col-sm-6, .col-lg-4):nth-child(1) .feature-title {
    transition-delay: 0s;
}

.features-card-body .row :is(.col-xs-12, .col-sm-6, .col-lg-4):nth-child(2) .feature-title {
    transition-delay: 0.03s;
}

.features-card-body .row :is(.col-xs-12, .col-sm-6, .col-lg-4):nth-child(3) .feature-title {
    transition-delay: 0.06s;
}

.features-card-body .row :is(.col-xs-12, .col-sm-6, .col-lg-4):nth-child(4) .feature-title {
    transition-delay: 0.09s;
}

.features-card-body .row :is(.col-xs-12, .col-sm-6, .col-lg-4):nth-child(5) .feature-title {
    transition-delay: 0.12s;
}

.features-card-body .row :is(.col-xs-12, .col-sm-6, .col-lg-4):nth-child(6) .feature-title {
    transition-delay: 0.15s;
}

.features-card,
.features-info-panel,
.feature-title {
    background: #f7f7ff;
    background: linear-gradient(90deg, rgba(247, 247, 255, 1) 0%, rgba(235, 246, 255, 1) 100%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(44,74,137,.08);
    box-shadow: 0 10px 30px rgba(44,74,137,.06), 0 1px 2px rgba(44,74,137,.03);
    backdrop-filter: blur(20px);
}

    .feature-title:hover {
        border-color: rgba(44, 74, 137, 0.15);
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05), 0 16px 40px rgba(44, 74, 137, 0.08);
    }



/* Responsive */
@media (max-width: 991px) {
    .features-hero-title {
        font-size: 2.5rem;
    }

    .features-info-panel h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .features-hero {
        padding: 60px 0 50px;
    }

    .features-hero-title {
        font-size: 2rem;
    }

    .features-section {
        padding: 50px 0;
    }

    .features-card-body {
        padding: 1.25rem;
    }

    .feature-title {
        padding: 0.75rem;
    }

    .feature-premium-title h6 {
        font-size: 1rem;
    }

    .feature-icon-md {
        width: 20px;
        height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-feature, .features-card, .feature-title, .features-info-panel {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* ── Features Hero Section ── */
.features-hero {
    position: relative;
    padding: 0rem 0 4rem 0;
    background: radial-gradient(circle at 50% -20%, rgba(44, 74, 137, 0.07) 0%, rgba(248, 250, 252, 0) 60%), #f8fafc;
    overflow: hidden;
}

    .features-hero::before,
    .features-hero::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        z-index: 1;
        opacity: 0.6;
        animation: insHeroFloat 12s infinite alternate ease-in-out;
    }

    .features-hero::before {
        width: 300px;
        height: 300px;
        background: rgba(44, 74, 137, 0.06);
        top: 10%;
        left: -10%;
    }

    .features-hero::after {
        width: 250px;
        height: 250px;
        background: rgba(170, 18, 45, 0.04);
        bottom: -5%;
        right: -5%;
        animation-delay: -4s;
    }

    .features-hero .container {
        opacity: 0;
        transform: translateY(30px);
        animation: insHeroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: 0.1s;
    }

/* High-End Micro-glowing Badges */
.features-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(44, 74, 137, 0.12);
    box-shadow: 0 4px 12px rgba(44, 74, 137, 0.03);
    padding: 0.5rem 1.15rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2C4A89;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

    /* Ambient shimmer animation moving across the badge */
    .features-hero-badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, transparent, rgba(44, 74, 137, 0.08), transparent);
        transform: skewX(-25deg);
        animation: insBadgeShimmer 4s infinite linear;
    }

    .features-hero-badge svg {
        color: #AA122D;
        animation: insStarSpin 6s infinite linear;
    }

/* Typography Engineering */
.features-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

@media (max-width: 992px) {
    .features-hero-title {
        font-size: 2.75rem;
    }

    .features-hero {
        padding: 3rem 0 2rem 0;
    }
}

@media (max-width: 576px) {
    .features-hero-title {
        font-size: 2.25rem;
    }
}

.features-hero .lead {
    color: #4b5563 !important;
    line-height: 1.65;
    font-weight: 400;
}

/* ── Animation Physics Keys ── */
@keyframes insHeroReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes insHeroFloat {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(25px) scale(1.1);
    }
}

@keyframes insBadgeShimmer {
    0% {
        left: -100%;
    }

    30% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

@keyframes insStarSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ── Modern Two-Tone Text Gradient ── */
.features-hero-title .text-gradient {
    background: linear-gradient(135deg, #2C4A89 0%, #AA122D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

    .features-hero-title .text-gradient::selection {
        -webkit-text-fill-color: #ffffff;
        background: #2C4A89;
    }


.back-shapes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.floating {
    opacity: 0.35;
    transform-origin: center;
    will-change: transform;
}

.gutter-premium > .col-xs-12, .col-sm-6, .col-lg-4, .col-xs-12 col-sm-6 col-lg-4 {
    margin: 5px 0px;
}



