/* ===== FEATURE SUBPAGES SHARED STYLES ===== */

/* Hero Section */
.feature-hero {
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 40%, #2563eb 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(99,180,255,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(139,92,246,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.feature-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.feature-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}

.feature-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.feature-hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Feature Blocks Section */
.feature-blocks {
    padding: 80px 0;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-block-visual {
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 32px;
    font-size: 4rem;
    color: #fff;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 136, 255, 0.2);
}

.feature-icon-large.gradient-blue {
    background: linear-gradient(135deg, #0088ff 0%, #2563eb 100%);
}

.feature-icon-large.gradient-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

.feature-icon-large.gradient-teal {
    background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);
}

.feature-icon-large.gradient-pink {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.feature-icon-large.gradient-orange {
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
}

.feature-icon-large.gradient-indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%);
}

.feature-block-text {
    flex: 1;
}

.feature-block-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 136, 255, 0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 99px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-block-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-block-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.feature-block-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-block-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

.feature-block-list li i {
    color: #0088ff;
    font-size: 0.85rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* CTA Section */
.feature-cta {
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 40%, #2563eb 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at 60% 40%, rgba(99,180,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.feature-cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.feature-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.feature-cta-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: #fff;
    color: #1e3a5f;
    border: none;
    border-radius: 99px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.25s;
}

.feature-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Highlight stat in feature blocks */
.feature-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(0,136,255,0.08), rgba(37,99,235,0.08));
    border-radius: 12px;
    margin-top: 0.5rem;
    border: 1px solid rgba(0,136,255,0.12);
}

.feature-stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.feature-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Features dropdown in header for subpages */
.features-dropdown {
    position: relative;
}

.features-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.features-dropdown-toggle:hover {
    color: var(--primary);
}

.features-dropdown-toggle i.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.features-dropdown:hover .features-dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.features-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    padding: 12px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
    border: 1px solid #e2e8f0;
}

.features-dropdown:hover .features-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.features-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.features-dropdown-menu a:hover {
    background: rgba(0, 136, 255, 0.06);
    color: var(--primary);
}

.features-dropdown-menu a i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .feature-hero {
        padding: 70px 0 50px;
    }

    .feature-hero-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .feature-hero-title {
        font-size: 1.8rem;
    }

    .feature-hero-sub {
        font-size: 1rem;
    }

    .feature-blocks {
        padding: 50px 0;
    }

    .feature-block {
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
        margin-bottom: 60px;
    }

    .feature-block-visual {
        flex: none;
    }

    .feature-icon-large {
        width: 140px;
        height: 140px;
        font-size: 3rem;
        border-radius: 24px;
    }

    .feature-block-title {
        font-size: 1.4rem;
    }

    .feature-block-desc {
        font-size: 0.95rem;
    }

    .feature-block-list {
        align-items: center;
    }

    .feature-block-list li {
        justify-content: center;
    }

    .feature-cta {
        padding: 60px 0;
    }

    .feature-cta-title {
        font-size: 1.6rem;
    }

    .feature-cta-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .features-dropdown-menu {
        left: 0;
        transform: none;
        min-width: 240px;
    }
}

@media (max-width: 480px) {
    .feature-hero-title {
        font-size: 1.5rem;
    }

    .feature-icon-large {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    .feature-cta-title {
        font-size: 1.35rem;
    }
}
