/* weblix jo — About page */

/* ==========================================================================
   Hero
   ========================================================================== */
.about-hero {
    position: relative;
    background-color: var(--color-bg-dark);
    padding-top: 180px;
    padding-bottom: 120px;
    color: var(--color-text-light);
    overflow: hidden;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 0),
        linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 0),
        linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 0);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.about-hero-orb-1 {
    position: absolute;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(0, 98, 184, 0.14) 0%, transparent 70%);
    top: -160px;
    inset-inline-start: -160px;
    pointer-events: none;
    z-index: 1;
}

.about-hero-orb-2 {
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.08) 0%, transparent 70%);
    bottom: -120px;
    inset-inline-end: -120px;
    pointer-events: none;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    max-width: 820px;
    margin: 0 auto;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: var(--spacing-md);
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.pulse-dot-green::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #10b981;
    border-radius: 50%;
    animation: about-status-pulse 1.8s ease-in-out infinite;
}

@keyframes about-status-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.about-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    line-height: 1.25;
    color: #ffffff;
}

.about-hero-highlight {
    color: #38bdf8;
}

.about-hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #94a3b8;
    max-width: 640px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.8;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    position: relative;
    z-index: 4;
    margin-top: var(--spacing-sm);
}

.about-hero-actions .btn-outline {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.about-hero-actions .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

/* Wave sits between hero and next section (same pattern as contact page) */
.about-wave-divider {
    display: block;
    width: 100%;
    position: relative;
    height: 60px;
    margin-top: -60px;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
    background-color: var(--color-bg-dark);
    line-height: 0;
}

.about-wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
    vertical-align: bottom;
}

.about-story-section {
    position: relative;
    z-index: 1;
}

.about-story-section .about-content {
    align-items: flex-start;
}

.about-waves > use {
    animation: move-forever-about 22s cubic-bezier(.55, .5, .45, .5) infinite;
}

.about-waves > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.about-waves > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 11s;
}

.about-waves > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 14s;
}

.about-waves > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever-about {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* ==========================================================================
   Story (reuses about-grid from main.css)
   ========================================================================== */
.about-story-section .section-subtitle {
    color: var(--color-primary);
    background-color: rgba(0, 98, 184, 0.08);
}

.about-trust-card {
    background: #ffffff;
    border: 1px solid rgba(0, 98, 184, 0.08);
    border-radius: 24px;
    padding: var(--spacing-lg);
    box-shadow: 0 12px 40px rgba(0, 98, 184, 0.04);
}

.about-trust-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.about-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.about-trust-list li strong {
    display: block;
    color: var(--color-text-dark);
    font-weight: 800;
    margin-bottom: 2px;
}

.about-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   Pillars
   ========================================================================== */
.pillars-section {
    background-color: var(--color-bg-soft);
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.pillars-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    opacity: 0.7;
    pointer-events: none;
}

.pillars-section .container {
    position: relative;
    z-index: 1;
}

.pillars-section .section-subtitle {
    color: var(--color-primary);
    background-color: rgba(0, 98, 184, 0.08);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

.pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 98, 184, 0.15);
    box-shadow: 0 16px 32px rgba(0, 98, 184, 0.06);
}

.pillar-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.pillar-card:nth-child(2) .pillar-icon-wrap {
    background-color: rgba(255, 106, 0, 0.08);
    color: var(--color-accent);
}

.pillar-card:nth-child(3) .pillar-icon-wrap {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.pillar-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xs);
}

.pillar-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Timeline
   ========================================================================== */
.journey-section {
    background-color: #ffffff;
    padding: var(--spacing-xxl) 0;
}

.journey-section .section-subtitle {
    color: var(--color-accent);
    background-color: rgba(255, 106, 0, 0.08);
}

.journey-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding-inline-end: 2.5rem;
    border-inline-end: 2px dashed #cbd5e1;
}

html[lang="en"] .journey-list {
    padding-inline-end: 0;
    padding-inline-start: 2.5rem;
    border-inline-end: none;
    border-inline-start: 2px dashed #cbd5e1;
}

.milestone-item {
    position: relative;
}

.milestone-node {
    position: absolute;
    top: 1.35rem;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(0, 98, 184, 0.08);
}

html[lang="ar"] .milestone-node {
    inset-inline-end: -2.55rem;
}

html[lang="en"] .milestone-node {
    inset-inline-start: -2.55rem;
}

.milestone-card {
    background: var(--color-bg-soft);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.35rem 1.5rem;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.milestone-item:hover .milestone-card {
    border-color: rgba(0, 98, 184, 0.2);
    box-shadow: 0 10px 28px rgba(0, 98, 184, 0.05);
}

.milestone-item:hover .milestone-node {
    border-color: var(--color-accent);
}

.milestone-year {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 0.35rem;
    display: inline-block;
}

.milestone-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 0.35rem;
}

.milestone-desc {
    font-size: 0.94rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 640px) {
    .journey-list {
        padding-inline-end: 1.75rem;
    }

    html[lang="en"] .journey-list {
        padding-inline-start: 1.75rem;
    }

    html[lang="ar"] .milestone-node {
        inset-inline-end: -1.85rem;
    }

    html[lang="en"] .milestone-node {
        inset-inline-start: -1.85rem;
    }
}

/* ==========================================================================
   Performance / guarantee
   ========================================================================== */
.guarantee-section {
    background-color: var(--color-bg-soft);
    padding: var(--spacing-xxl) 0;
}

.guarantee-section .section-subtitle {
    color: var(--color-primary);
    background-color: rgba(0, 98, 184, 0.08);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

@media (max-width: 992px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
}

.guarantee-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guarantee-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: 1rem;
}

.guarantee-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.guarantee-metrics-showcase {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.03);
    margin-bottom: var(--spacing-md);
}

.performance-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.performance-header-title {
    font-weight: 800;
    color: var(--color-text-dark);
    font-size: 1.05rem;
}

.performance-status-pill {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.performance-status-pill span:first-child {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

.stat-bar-group {
    margin-bottom: var(--spacing-md);
}

.stat-bar-group:last-child {
    margin-bottom: 0;
}

.stat-bar-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.stat-bar-value {
    color: var(--color-primary);
}

.stat-bar-container {
    height: 8px;
    background-color: #f1f5f9;
    border-radius: 100px;
    overflow: hidden;
}

.stat-bar-progress {
    height: 100%;
    background: #10b981;
    border-radius: 100px;
}

.guarantee-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.guarantee-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.85rem 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.guarantee-chip svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .guarantee-chips {
        grid-template-columns: 1fr;
    }
}
