/* ===== FEATURES PAGE - SAME THEME AS ABOUT ===== */

/* Hero Section */
.features-hero {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.features-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: float 20s infinite ease-in-out;
}

.features-hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #764ba215, #667eea15);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, 30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

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

.features-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-hero p {
    font-size: 18px;
    color: #5b6778;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Grid */
.features-grid-section {
    padding: 60px 24px;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(37,99,235,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 13px;
    color: #5b6778;
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose-section {
    padding: 60px 24px;
    background: #f8fafc;
    text-align: center;
}

.why-choose-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 40px;
}

.why-choose-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
}

.why-card i {
    font-size: 40px;
    color: #2563eb;
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 12px;
    color: #5b6778;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 32px;
    }
    
    .features-hero p {
        font-size: 16px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* Features Page - Compact */
.features-hero {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    padding: 40px 20px;
    text-align: center;
}

.features-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-hero p {
    font-size: 16px;
    color: #5b6778;
}

.features-grid-section {
    padding: 40px 20px;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: #2563eb;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 12px;
    color: #5b6778;
    line-height: 1.4;
}

.why-choose-section {
    padding: 40px 20px;
    background: #f8fafc;
    text-align: center;
}

.why-choose-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

.why-choose-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.why-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.why-card i {
    font-size: 24px;
    color: #2563eb;
    margin-bottom: 8px;
}

.why-card h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.why-card p {
    font-size: 11px;
    color: #5b6778;
}

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-hero h1 {
        font-size: 24px;
    }
}