/* ============================================================
   SHOPPI — ABOUT PAGE REDESIGN
   Modern, premium aesthetic with smooth animations
   ============================================================ */

/* — Google Font — */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* — Custom Properties — */
:root {
    --ab-primary: #FF4B6E;
    --ab-primary-hover: #E03058;
    --ab-gradient: linear-gradient(135deg, #FF4B6E 0%, #FF8E53 100%);
    --ab-dark: #0f0f1a;
    --ab-dark-2: #1a1a2e;
    --ab-dark-3: #16213e;
    --ab-bg-light: #f7f8fc;
    --ab-bg-white: #ffffff;
    --ab-text-dark: #1a1a2e;
    --ab-text-body: #4a4a6a;
    --ab-text-muted: #8b8ba7;
    --ab-text-white: #ffffff;
    --ab-border: rgba(0, 0, 0, 0.06);
    --ab-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --ab-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);
    --ab-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.14);
    --ab-radius: 20px;
    --ab-radius-sm: 12px;
    --ab-radius-xs: 8px;
    --ab-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ab-transition-fast: all 0.25s ease;
}

/* — Base Reset for About Page — */
.about-page * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
}

.about-page {
    overflow-x: hidden;
    color: var(--ab-text-body);
    line-height: 1.7;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4,
.about-page h5 {
    color: var(--ab-text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.about-page p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ab-text-body);
}

.about-page section {
    position: relative;
}

/* — Section title reusable — */
.ab-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.ab-section-title h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.ab-section-title p {
    font-size: 17px;
    color: var(--ab-text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.ab-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ab-badge-gradient {
    background: var(--ab-gradient);
    color: white;
}

.ab-badge-light {
    background: rgba(255, 75, 110, 0.08);
    color: var(--ab-primary);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.about-hero {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(150deg, #0f0f1a 0%, #1a1a2e 35%, #16213e 65%, #0f3460 100%);
    overflow: hidden;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 75, 110, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: ab-float 8s ease-in-out infinite;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 142, 83, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: ab-float 10s ease-in-out infinite reverse;
}

@keyframes ab-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -40px) scale(1.05);
    }
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero-badge {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.about-hero h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--ab-text-white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.about-hero h1 .ab-text-gradient {
    background: var(--ab-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}


/* ============================================================
   VISION SECTION
   ============================================================ */
.about-vision {
    padding: 100px 0;
    background: var(--ab-bg-white);
}

.about-vision-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-vision-img {
    flex: 0 0 340px;
    text-align: center;
}

.about-vision-img img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ab-radius);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.10));
}

.about-vision-text {
    flex: 1;
}

.about-vision-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-vision-text p {
    margin-bottom: 16px;
    font-size: 16px;
}


/* ============================================================
   STORY / FEATURES SECTION
   ============================================================ */
.about-story {
    padding: 90px 0;
    background: var(--ab-bg-light);
}

.about-story-card {
    background: var(--ab-bg-white);
    border-radius: var(--ab-radius);
    padding: 50px;
    box-shadow: var(--ab-shadow);
    border: 1px solid var(--ab-border);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.about-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ab-gradient);
}

.about-story-card p {
    font-size: 16px;
    margin-bottom: 16px;
}

.about-story-card p:last-child {
    margin-bottom: 0;
}

.about-story-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--ab-radius-sm);
    background: var(--ab-bg-light);
    transition: var(--ab-transition-fast);
}

.about-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--ab-shadow);
}

.about-feature-icon {
    flex: 0 0 48px;
    height: 48px;
    border-radius: var(--ab-radius-xs);
    background: var(--ab-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.about-feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    margin-top: 0;
}

.about-feature-item p {
    font-size: 14px;
    margin: 0;
    color: var(--ab-text-muted);
    line-height: 1.5;
}


/* ============================================================
   OFFICES SECTION
   ============================================================ */
.about-offices {
    padding: 100px 0;
    background: var(--ab-bg-white);
}

.about-offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-office-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--ab-radius);
    background: var(--ab-bg-white);
    border: 1px solid var(--ab-border);
    box-shadow: var(--ab-shadow);
    transition: var(--ab-transition);
    position: relative;
    overflow: hidden;
}

.about-office-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ab-shadow-hover);
}

.about-office-flag {
    font-size: 42px;
    margin-bottom: 16px;
    display: block;
}

.about-office-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.about-office-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ab-primary);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-office-card p {
    font-size: 14px;
    color: var(--ab-text-muted);
    line-height: 1.6;
    margin: 0;
}


/* ============================================================
   TEAM SECTION
   ============================================================ */
.about-team {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--ab-bg-light) 0%, var(--ab-bg-white) 100%);
}

.about-team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-team-member {
    text-align: center;
    max-width: 240px;
    transition: var(--ab-transition);
}

.about-team-member:hover {
    transform: translateY(-8px);
}

.about-team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    display: block;
}

.about-team-photo::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--ab-gradient);
    opacity: 0;
    transition: var(--ab-transition);
    z-index: 0;
}

.about-team-member:hover .about-team-photo::before {
    opacity: 1;
}

.about-team-photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 4px solid var(--ab-bg-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: var(--ab-transition);
}

.about-team-member h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-team-member .ab-role {
    font-size: 14px;
    color: var(--ab-primary);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.about-team-member .ab-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ab-text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: var(--ab-transition-fast);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid transparent;
}

.about-team-member .ab-linkedin:hover {
    color: #0A66C2;
    border-color: rgba(10, 102, 194, 0.15);
    background: rgba(10, 102, 194, 0.04);
}

.about-join-wrapper {
    text-align: center;
    margin-top: 50px;
}

.ab-btn-primary {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    background: var(--ab-gradient);
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--ab-transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 75, 110, 0.25);
}

.ab-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 75, 110, 0.35);
    color: white;
    text-decoration: none;
}

.ab-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: transparent;
    color: var(--ab-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--ab-primary);
    transition: var(--ab-transition);
    cursor: pointer;
}

.ab-btn-outline:hover {
    background: var(--ab-primary);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}


/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.about-partners {
    padding: 80px 0;
    background: var(--ab-bg-white);
    border-top: 1px solid var(--ab-border);
}

.about-partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: var(--ab-radius-sm);
    transition: var(--ab-transition);
    opacity: 0.5;
    filter: grayscale(100%);
}

.about-partner-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.about-partner-item img {
    height: 24px;
    width: auto;
    max-width: 120px;
}

.about-partner-item.oracle img {
    height: 28px;
}


/* ============================================================
   SUPPORT SECTION
   ============================================================ */
.about-support {
    padding: 100px 0;
    background: var(--ab-bg-light);
}

.about-support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.about-support-card {
    background: var(--ab-bg-white);
    border-radius: var(--ab-radius);
    padding: 40px 35px;
    text-align: center;
    box-shadow: var(--ab-shadow);
    border: 1px solid var(--ab-border);
    transition: var(--ab-transition);
}

.about-support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ab-shadow-hover);
}

.about-support-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 75, 110, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: var(--ab-primary);
}

.about-support-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-support-card p {
    font-size: 15px;
    color: var(--ab-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-support-card .ab-email-link {
    color: var(--ab-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--ab-transition-fast);
}

.about-support-card .ab-email-link:hover {
    color: var(--ab-primary-hover);
    text-decoration: underline;
}


/* ============================================================
   IMPRESSUM SECTION (DE only)
   ============================================================ */
.about-impressum {
    padding: 80px 0;
    background: var(--ab-bg-white);
    border-top: 1px solid var(--ab-border);
}

.about-impressum-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--ab-bg-light);
    border-radius: var(--ab-radius);
    padding: 40px 50px;
    border: 1px solid var(--ab-border);
}

.about-impressum-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.about-impressum-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
}

.about-impressum-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ab-text-body);
    margin-bottom: 12px;
}


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
/* — Scroll Animations (Reveal on Scroll) — */
.ab-fade-up {
    /* Safe default: visible if JS fails */
    opacity: 1;
    transform: translateY(0);
}

/* State when JS is initialized and waiting to reveal */
.ab-fade-up.ab-init {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Triggered by JS */
.ab-fade-up.ab-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.ab-delay-1 {
    transition-delay: 0.1s;
}

.ab-delay-2 {
    transition-delay: 0.2s;
}

.ab-delay-3 {
    transition-delay: 0.3s;
}

.ab-delay-4 {
    transition-delay: 0.4s;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .about-hero {
        padding: 90px 0 70px;
    }

    .about-hero h1 {
        font-size: 38px;
    }

    .about-hero-subtitle {
        font-size: 17px;
    }

    .about-vision-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .about-vision-img {
        flex: 0 0 auto;
    }

    .about-offices-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-story-features {
        grid-template-columns: 1fr;
    }

    .about-support-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-team-grid {
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .about-hero {
        padding: 70px 0 50px;
    }

    .about-hero h1 {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .about-hero-subtitle {
        font-size: 15px;
    }

    .ab-section-title h2 {
        font-size: 26px;
    }

    .about-vision {
        padding: 60px 0;
    }

    .about-story {
        padding: 60px 0;
    }

    .about-story-card {
        padding: 30px 24px;
    }

    .about-offices {
        padding: 60px 0;
    }

    .about-team {
        padding: 60px 0;
    }

    .about-team-member {
        max-width: 180px;
    }

    .about-team-photo,
    .about-team-photo img {
        width: 120px;
        height: 120px;
    }

    .about-partners {
        padding: 50px 0;
    }

    .about-partners-grid {
        gap: 24px;
    }

    .about-support {
        padding: 60px 0;
    }

    .about-impressum-card {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 26px;
    }

    .about-vision-text h2 {
        font-size: 24px;
    }

    .about-team-grid {
        flex-direction: column;
        align-items: center;
    }
}