/* apropos.css */
body {
    font-family: 'Outfit', sans-serif;
    color: #1e293b;
    background: #fdfdfe;
}

.ap-accent {
    color: #6d28d9;
}
.text-purple {
    color: #6d28d9 !important;
}

/* Hero Section */
.ap-hero-section {
    padding: 10rem 0 2rem;
    background-color: transparent;
    background-image: radial-gradient(circle at 1px 1px, rgba(109, 40, 217, 0.35) 1px, transparent 0);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}
.ap-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -1px;
}
.ap-hero-sub {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
}
.ap-hero-mockup-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}
.ap-mockup-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}
.ap-mockup-dash {
    position: absolute;
    top: 20px;
    left: 0;
    width: 380px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(109, 40, 217, 0.1);
    z-index: 1;
}
.ap-mockup-mobile {
    position: absolute;
    top: 100px;
    right: 0;
    width: 250px;
    z-index: 2;
}
.ap-mockup-chart-icon {
    position: absolute;
    bottom: 20px;
    right: 50px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6d28d9;
    z-index: 3;
}

/* History */
.ap-timeline-line {
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}
@media (max-width: 767px) {
    .ap-timeline-line { display: none; }
}

/* Values */
.ap-value-card-col {
    transition: transform 0.3s;
}
.ap-value-card-col:hover {
    transform: translateY(-5px);
}

/* Buttons */
.ap-btn-cta-primary {
    background: #6d28d9;
    color: white;
    transition: all 0.2s;
}
.ap-btn-cta-primary:hover {
    background: #5b21b6;
    color: white;
}
.ap-btn-cta-outline {
    background: transparent;
    color: white;
    transition: all 0.2s;
}
.ap-btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

@media (max-width: 991px) {
    .ap-hero-title { font-size: 2.5rem; }
    .ap-hero-mockup-wrapper { height: 400px; margin-top: 3rem; transform: scale(0.8); transform-origin: left center; }
}
@media (min-width: 992px) {
    .ap-value-card-col {
        width: 20% !important;
    }
}
@media (max-width: 767px) {
    .ap-hero-section {
        padding-top: 8rem;
    }
    .ap-hero-title {
        font-size: 2.2rem;
    }
    .ap-hero-mockup-wrapper { 
        transform: scale(0.65); 
        transform-origin: center center; 
        height: 300px; 
        margin-left: -2rem;
    }
    .hero-cta-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .hero-cta-group .hero-btn {
        margin-left: 0 !important;
        width: 100%;
        justify-content: center;
    }
    .ap-cta-box {
        padding: 2rem !important;
    }
}
@media (max-width: 480px) {
    .ap-hero-mockup-wrapper {
        transform: scale(0.5);
        margin-left: -4rem;
    }
    .ap-cta-box {
        padding: 1.5rem !important;
    }
    .ap-cta-title {
        font-size: 1.5rem !important;
    }
}

/* Zigzag Layout - History */
.timeline-zigzag {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-zigzag::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 3rem;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #6d28d9;
    border: 4px solid #fff;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.1);
}

.timeline-item.right::after {
    left: -8px;
    right: auto;
}

/* Zigzag Layout - Values */
.values-zigzag {
    position: relative;
}

.value-item {
    width: 100%;
}

.value-item.left {
    padding-right: 15%;
}

.value-item.right {
    padding-left: 15%;
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.left {
    transform: translateX(-50px);
}

.reveal-on-scroll.right {
    transform: translateX(50px);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-zigzag::before {
        left: 24px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
    }
    
    .timeline-item.left, .timeline-item.right {
        left: 0;
    }
    
    .timeline-item::after, .timeline-item.right::after {
        left: 16px;
        right: auto;
    }
    
    .timeline-content.text-end, .timeline-content.text-start {
        text-align: left !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    
    .ap-timeline-icon.ms-auto, .ap-timeline-icon.me-auto {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    
    .value-item.left, .value-item.right {
        padding: 0;
    }
    
    .value-content {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }
    .value-content .v-icon-box {
        margin-bottom: 1rem;
    }
    .reveal-on-scroll.left, .reveal-on-scroll.right {
        transform: translateY(30px);
    }
}

/* Mission Image Responsive Height */
.mission-img {
    height: 450px;
}
@media (max-width: 768px) {
    .mission-img {
        height: 250px;
    }
}
