/* Dark Empires — About Us page */

body.about-page {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(1200px 700px at 10% -10%, rgba(99,102,241,0.08), transparent 60%),
        radial-gradient(900px 600px at 110% 5%, rgba(236,72,153,0.06), transparent 55%),
        var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease;
}

[data-theme="dark"] body.about-page {
    background:
        radial-gradient(1200px 700px at 10% -10%, rgba(99,102,241,0.15), transparent 60%),
        radial-gradient(900px 600px at 110% 5%, rgba(236,72,153,0.12), transparent 55%),
        #0f172a;
}

/* Container */
.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 20px;
    margin: 1.5rem 0;
    animation: fadeIn 0.6s ease-out;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(99,102,241,0.3);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

[data-theme="dark"] .about-hero {
    background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(139,92,246,0.2), rgba(15,23,42,0.4));
    border: 1px solid rgba(99, 102, 241, 0.35);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.4);
}

.about-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.about-hero p {
    font-size: 1rem;
    color: var(--subtext);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    margin: 2rem 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .section-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.25);
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.section-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.section-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

[data-theme="dark"] .section-card h2 {
    color: var(--text);
}

.section-card p {
    font-size: 1rem;
    color: var(--subtext);
    line-height: 1.8;
}

[data-theme="dark"] .section-card p {
    color: var(--subtext);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    padding: 1.75rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .service-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

[data-theme="dark"] .service-card h3 {
    color: var(--text);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--subtext);
    line-height: 1.7;
}

[data-theme="dark"] .service-card p {
    color: var(--subtext);
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--subtext);
}

[data-theme="dark"] .feature-item {
    color: var(--subtext);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(99,102,241,0.3);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

[data-theme="dark"] .cta-card {
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.cta-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: #fff;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (min-width: 768px) {
    .about-container {
        padding: 1.5rem;
    }

    .about-hero {
        padding: 4rem 2rem;
        margin: 2rem 0;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-card {
        padding: 2.5rem;
    }

    .section-card h2 {
        font-size: 1.75rem;
    }

    .cta-card {
        padding: 3rem;
    }

    .cta-card h2 {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .about-container {
        padding: 2rem;
    }

    .about-hero {
        padding: 5rem 3rem;
    }

    .about-hero h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
