/* ===================================
   ABOUT PAGE
=================================== */

.about-page {
    background: var(--tc-bg);
    color: var(--tc-text);
    padding: 60px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* HERO */

.about-hero {
    text-align: center;
    margin-bottom: 50px;
}

.about-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--tc-primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-hero h1 {
    font-size: 3rem;
    color: var(--tc-text);
    margin-bottom: 15px;
}

.about-hero p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--tc-text-muted);
}

/* CARDS */

.about-card {
    background: var(--tc-surface);
    border: 1px solid var(--tc-border);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;

    box-shadow: var(--tc-shadow-lg);

    transition:
        transform .3s ease,
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.about-card:hover {
    transform: translateY(-4px);
}

.about-card h2 {
    color: var(--tc-text);
    margin-bottom: 15px;
}

.about-card p {
    color: var(--tc-text-secondary);
    line-height: 1.8;
}

/* FEATURES */

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
    margin-top: 25px;
}

.about-feature {
    background: linear-gradient(
        135deg,
        #eff6ff,
        #f8fafc
    );

    padding: 25px;
    border-radius: 16px;

    border: 1px solid var(--tc-border);

    transition:
        transform .3s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
}

.about-feature h3 {
    color: var(--tc-primary);
    margin-bottom: 10px;
}

.about-feature p {
    color: var(--tc-text-muted);
}

/* CTA */

.about-cta {
    text-align: center;
    padding: 60px 30px;
    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );

    color: white;
}

.about-cta h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.about-cta p {
    opacity: .95;
    margin-bottom: 25px;
}

.about-btn {
    display: inline-block;

    padding: 14px 28px;

    background: white;
    color: #2563eb;

    text-decoration: none;
    font-weight: 700;

    border-radius: 999px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.about-btn:hover {
    transform: translateY(-3px);
}

/* ===================================
   DARK THEME
=================================== */

html[data-theme="dark"] .about-page {
    background: var(--tc-bg);
}

html[data-theme="dark"] .about-badge {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

html[data-theme="dark"] .about-card {
    background: var(--tc-surface);
    border-color: var(--tc-border);
    box-shadow: var(--tc-shadow-lg);
}

html[data-theme="dark"] .about-feature {
    background:
        linear-gradient(
            135deg,
            #172554,
            #1e293b
        );

    border-color: var(--tc-border);
}

html[data-theme="dark"] .about-feature h3 {
    color: #60a5fa;
}

html[data-theme="dark"] .about-feature p {
    color: var(--tc-text-muted);
}

html[data-theme="dark"] .about-cta {
    background:
        linear-gradient(
            135deg,
            #172554,
            #1e3a8a
        );
}

/* MOBILE */

@media (max-width:768px){

    .about-page{
        padding:40px 15px;
    }

    .about-card{
        padding:25px;
    }

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

    .about-cta{
        padding:40px 20px;
    }
}