/**
 * PressZone Theme - About Page Styles
 * 
 * @package PressZone
 */

/* ==========================================================================
   About Hero
   ========================================================================== */

.about-hero {
    background: linear-gradient(180deg, var(--pz-bg-primary) 0%, var(--pz-bg-secondary) 100%);
}

.about-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--pz-text-muted);
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border: 1px solid var(--pz-border-color);
    border-radius: 50px;
}

.about-title {
    color: var(--pz-text-primary);
    line-height: 1.2;
}

.about-hero-image .laptop-mockup {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.about-hero-image .laptop-screen {
    background: #0d1117;
    border-radius: 0.5rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.code-preview,
.terminal-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.code-header,
.terminal-header {
    display: flex;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #21262d;
}

.code-header .dot,
.terminal-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27ca40;
}

.code-content,
.terminal-content {
    flex: 1;
    padding: 1rem;
    background: repeating-linear-gradient(180deg,
            transparent,
            transparent 24px,
            rgba(255, 255, 255, 0.03) 24px,
            rgba(255, 255, 255, 0.03) 25px);
}

/* ==========================================================================
   About Trusted
   ========================================================================== */

.about-trusted {
    border-top: 1px solid var(--pz-border-color);
    border-bottom: 1px solid var(--pz-border-color);
}

/* ==========================================================================
   Feature Sections
   ========================================================================== */

.about-feature {
    position: relative;
}

.about-feature-alt {
    background: var(--pz-bg-secondary);
}

.feature-badge {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--pz-color-primary);
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
}

.feature-badge-green {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.feature-badge-purple {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.feature-title {
    color: var(--pz-text-primary);
}

.feature-list li {
    color: var(--pz-text-secondary);
}

.feature-image-wrapper {
    position: relative;
}

.code-block-preview {
    background: var(--pz-bg-card);
    border: 1px solid var(--pz-border-color);
    border-radius: 1rem;
    height: 300px;
    overflow: hidden;
}

.security-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    height: 300px;
}

.security-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border-radius: 2rem;
    font-size: 3rem;
    color: #fff;
}

/* ==========================================================================
   About Catalog
   ========================================================================== */

.about-catalog {
    background: var(--pz-bg-secondary);
}

/* ==========================================================================
   RTL Specific
   ========================================================================== */

[dir="rtl"] .about-hero,
.rtl .about-hero {
    text-align: right;
}

[dir="rtl"] .about-hero .row,
.rtl .about-hero .row {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-feature .row,
.rtl .about-feature .row {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-feature .order-lg-1,
.rtl .about-feature .order-lg-1 {
    order: 2 !important;
}

[dir="rtl"] .about-feature .order-lg-2,
.rtl .about-feature .order-lg-2 {
    order: 1 !important;
}

[dir="rtl"] .feature-list li,
.rtl .feature-list li {
    flex-direction: row-reverse;
}

[dir="rtl"] .feature-badge .me-2,
.rtl .feature-badge .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

/* ==========================================================================
   Light Mode
   ========================================================================== */

[data-bs-theme="light"] .about-hero,
body.pz-light .about-hero {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 50%, #ffffff 100%);
}

[data-bs-theme="light"] .about-hero-image .laptop-mockup,
body.pz-light .about-hero-image .laptop-mockup {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

[data-bs-theme="light"] .code-block-preview,
body.pz-light .code-block-preview {
    box-shadow: var(--pz-shadow-lg);
}