/* ============================================
   OVER ONS PAGE STYLES - WEBCAREX
   ============================================ */

.page-over-ons {
    padding-top: var(--header-height);
}

/* Hero Section */
.about-hero-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.05) 0%,
        rgba(123, 44, 191, 0.05) 100%
    );
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gradient-x-1-start) 20%,
        var(--gradient-x-1-mid) 50%,
        var(--gradient-x-2-start) 80%,
        transparent
    );
    opacity: 0.5;
}

.about-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.about-hero-title .text-gradient {
    background: linear-gradient(
        135deg,
        var(--gradient-x-1-start) 0%,
        var(--gradient-x-1-mid) 50%,
        var(--gradient-x-2-start) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(123, 44, 191, 0.3));
}

.about-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
    opacity: 0.95;
}

/* Content Section */
.about-content-section {
    padding: 5rem 0;
    background: var(--bg-section);
    position: relative;
}

.about-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gradient-x-1-start) 20%,
        var(--gradient-x-1-mid) 50%,
        var(--gradient-x-2-start) 80%,
        transparent
    );
    opacity: 0.5;
}

/* Row Layout */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-row:last-of-type {
    margin-bottom: 0;
}

/* Text Block */
.about-text-block {
    display: flex;
    flex-direction: column;
}

.about-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    margin-top: 0;
    color: var(--text-white);
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.about-section-title .text-gradient {
    background: linear-gradient(
        135deg,
        var(--gradient-x-1-start) 0%,
        var(--gradient-x-1-mid) 50%,
        var(--gradient-x-2-start) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(123, 44, 191, 0.3));
}

.about-text-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-top: 0;
}

.about-text-content p {
    margin-bottom: 1.5rem;
}

.about-text-content p:last-child {
    margin-bottom: 0;
}

.about-text-content strong {
    color: var(--text-white);
    font-weight: 600;
}

/* Image Block */
.about-image-block {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: var(--bg-darker);
    padding: 0.5rem;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.1) 0%,
        rgba(123, 44, 191, 0.1) 100%
    );
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.02);
}

/* Features Block */
.about-features-block {
    display: flex;
    align-items: center;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

.about-feature-item {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gradient-x-1-start) 20%,
        var(--gradient-x-1-mid) 50%,
        var(--gradient-x-2-start) 80%,
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(123, 44, 191, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.about-feature-item:hover::before {
    opacity: 1;
}

.about-feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(
        135deg,
        var(--gradient-x-1-start) 0%,
        var(--gradient-x-1-mid) 50%,
        var(--gradient-x-2-start) 100%
    );
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
}

.about-feature-icon svg {
    width: 28px;
    height: 28px;
}

.about-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.about-feature-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

/* CTA Section */
.about-cta-section {
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.1) 0%,
        rgba(123, 44, 191, 0.1) 100%
    );
    border: 2px solid;
    border-image: linear-gradient(
        135deg,
        var(--gradient-x-1-start) 0%,
        var(--gradient-x-1-mid) 50%,
        var(--gradient-x-2-start) 100%
    ) 1;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 40px rgba(123, 44, 191, 0.05);
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gradient-x-1-start) 20%,
        var(--gradient-x-1-mid) 50%,
        var(--gradient-x-2-start) 80%,
        transparent
    );
    opacity: 0.6;
}

.about-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-cta-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(
        135deg,
        var(--gradient-x-1-start) 0%,
        var(--gradient-x-1-mid) 50%,
        var(--gradient-x-2-start) 100%
    );
    color: var(--text-white);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
    position: relative;
    overflow: hidden;
}

.about-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.about-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.6);
}

.about-cta-button:hover::before {
    left: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Optimizations */
@media screen and (min-width: 969px) {
    .about-row {
        gap: 2.5rem;
    }
    
    .about-features-grid {
        gap: 0.875rem;
    }
    
    .about-feature-item {
        padding: 1.25rem;
    }
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .about-hero-section {
        padding: 4rem 0 3rem;
    }
    
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.25rem;
    }
    
    .about-content-section {
        padding: 3rem 0;
    }
    
    .about-row {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }
    
    .about-row-right {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .about-section-title {
        font-size: 2rem;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .about-hero-title {
        font-size: 2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content-section {
        padding: 2rem 0;
    }
    
    .about-row {
        gap: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .about-image-wrapper {
        border-radius: 16px;
        padding: 0.25rem;
    }
    
    .about-image {
        border-radius: 12px;
    }
    
    .about-section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .about-text-content {
        font-size: 1rem;
    }
    
    .about-feature-item {
        padding: 1.5rem;
    }
    
    .about-feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .about-feature-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .about-feature-title {
        font-size: 1.25rem;
    }
    
    .about-feature-text {
        font-size: 0.95rem;
    }
    
    .about-cta-section {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .about-cta-title {
        font-size: 1.5rem;
    }
    
    .about-cta-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .about-cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
