/* DataNXT Website - Security Page Specific Styles (Original from main.css) */

.compliance {
    background: var(--white);
    padding: var(--space-6) 0;      /* 48px - consistent section spacing */
}

.compliance-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.compliance-item {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(23, 104, 212, 0.08);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.compliance-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.compliance-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(23, 104, 212, 0.2);
}

.compliance-item:hover::before {
    opacity: 1;
}

.compliance-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--royal-wave-blue) 0%, var(--deep-atlantic-blue) 100%);
    border-radius: 50%;
    margin-right: 2rem;
    flex-shrink: 0;
    position: relative;
    box-shadow: var(--shadow-medium);
}

.badge-icon {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.badge-type {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-top: 0.25rem;
    text-align: center;
}

.compliance-content {
    flex: 1;
}

.compliance-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-atlantic-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.compliance-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Security Section - ROW LAYOUT (matches compliance) */
.security-overview {
    background: var(--white);
    padding: var(--space-6) 0;      /* 48px - consistent section spacing */
}

.security-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.security-item {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(23, 104, 212, 0.08);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.security-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.security-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(23, 104, 212, 0.2);
}

.security-item:hover::before {
    opacity: 1;
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--royal-wave-blue) 0%, var(--deep-atlantic-blue) 100%);
    border-radius: 50%;
    margin-right: 2rem;
    flex-shrink: 0;
    position: relative;
    box-shadow: var(--shadow-medium);
}

.security-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.security-badge .badge-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.security-badge .badge-type {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
}

.security-content {
    flex: 1;
}

.security-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-atlantic-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.security-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Security Features Section - CARD GRID LAYOUT */
.security-features {
    background: linear-gradient(135deg, var(--mist-grey) 0%, #ffffff 100%);
    padding: var(--space-6) 0;      /* 48px - consistent section spacing */
    position: relative;
}

.security-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(14, 58, 116, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(45, 166, 110, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-3);        /* 24px - comfortable card padding */
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(23, 104, 212, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(23, 104, 212, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;                    /* Premium larger size matching other pages */
    height: 56px;
    background: linear-gradient(135deg, 
        var(--deep-atlantic-blue) 0%, 
        var(--royal-wave-blue) 100%);  /* Consistent DataNXT brand gradient */
    border-radius: 18px;            /* More elegant radius */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
    box-shadow: 
        0 8px 24px rgba(14, 58, 116, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);  /* Premium depth */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 32px rgba(14, 58, 116, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
    transform: translateX(100%);
}

.feature-icon svg {
    width: 28px;                    /* Slightly larger for better visibility */
    height: 28px;
    color: var(--white);
    stroke-width: 1.8px;            /* Thicker strokes for clarity */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));  /* Subtle icon shadow */
    z-index: 2;
    position: relative;
}

.feature-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-title {
    font-size: 1.4rem;
    color: var(--deep-atlantic-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 2rem;
    flex: 1;
}

.feature-benefits {
    list-style: none;
    text-align: left;
    margin-top: auto;
}

.feature-benefits li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--verdant-rise-green);
    font-weight: bold;
}

/* FAQ Section - Clean & Subtle Design */
.faq {
    background: var(--mist-grey);
    padding: var(--space-6) 0;      /* 48px - consistent section spacing */
}

.faq .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq .section-title {
    color: var(--deep-atlantic-blue);
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq .section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(14, 58, 116, 0.06);
    border: 1px solid rgba(23, 104, 212, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(14, 58, 116, 0.12);
    border-color: rgba(23, 104, 212, 0.15);
}

.faq-item.active {
    border-color: var(--royal-wave-blue);
    box-shadow: 0 4px 20px rgba(23, 104, 212, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: rgba(23, 104, 212, 0.02);
}

.faq-item.active .faq-question {
    background: rgba(23, 104, 212, 0.04);
    border-bottom: 1px solid rgba(23, 104, 212, 0.1);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--deep-atlantic-blue);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(23, 104, 212, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--royal-wave-blue);
}

.faq-item.active .faq-toggle {
    background: var(--royal-wave-blue);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding: 1rem 2rem 1.5rem;
    max-height: 200px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* Responsive Design for Security Page */
@media (max-width: 768px) {
    .compliance-grid,
    .security-grid {
        gap: 1.5rem;
    }

    .compliance-item,
    .security-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .compliance-badge,
    .security-badge {
        margin-right: 0;
        margin-bottom: 1.5rem;
        min-width: 100px;
        height: 100px;
    }

    .compliance-title,
    .security-title {
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .faq .section-title {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0.75rem;
    }
    
    .faq-toggle {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }



    .faq-item.active .faq-answer {
        padding: 0.75rem 1.5rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .compliance-item,
    .security-item {
        padding: 1.5rem 1rem;
    }

    .compliance-badge,
    .security-badge {
        min-width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .badge-icon {
        font-size: 1rem;
    }

    .security-badge .badge-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-title {
        font-size: 1.125rem;
    }

    .faq {
        padding: 4rem 0;
    }

    .faq .section-title {
        font-size: 1.75rem;
    }

    .faq .section-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
        padding-right: 0.5rem;
    }

    .faq-toggle {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }



    .faq-item.active .faq-answer {
        padding: 0.75rem 1.25rem 1rem;
        font-size: 0.85rem;
    }
}