/* About Page Specific Styles */

/* What is Majen Section */
.what-is-majen {
    padding: 140px 0 80px;
    background-color: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.intro-content {
    text-align: left;
}

.intro-content h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -0.41px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.intro-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.intro-image {
    border-radius: 20px;
    overflow: hidden;
}

.intro-image .image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 20px;
}

.purple-bg {
    background: linear-gradient(135deg, #c5cae9 0%, #e8eaf6 50%, #d1c4e9 100%);
}

/* Platform Section */
.platform-section {
    padding: 80px 0;
    background-color: var(--white);
}

.platform-tagline {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.5;
    color: var(--text-dark);
}

.phone-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
}

.phone-mockup-about {
    text-align: center;
}

.phone-mockup-about .phone-frame {
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 240px;
}

.phone-mockup-about .phone-frame.featured {
    width: 280px;
    border: 3px solid var(--primary-color);
    background: var(--white);
}

.phone-mockup-about .phone-screen {
    background-color: var(--white);
    border-radius: 32px;
    height: 480px;
    overflow: hidden;
}

.phone-mockup-about .phone-screen.screenshot {
    padding: 0;
}

.phone-mockup-about .phone-screen.screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.phone-mockup-about.center .phone-screen {
    height: 540px;
}

.screen-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
}

.client-screen {
    background: linear-gradient(180deg, #f0f4ff 0%, #e8ecf8 100%);
}

.designer-screen {
    background: linear-gradient(180deg, #f5f0ff 0%, #ece4f8 100%);
}

/* Real screenshot images in phone screens */
.screen-placeholder img,
.phone-screen > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Intro section real image */
.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.phone-label {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
}

/* Onboarding Screen */
.onboarding-screen {
    padding: 40px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-small {
    margin-bottom: 16px;
}

.logo-img-small {
    height: 28px;
    width: auto;
}

.welcome-text {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.onboarding-screen .app-name {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.onboarding-screen .subtitle {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.5;
}

.account-options {
    width: 100%;
    text-align: left;
}

.option {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    padding: 8px 0;
}

.option-icon {
    font-size: 16px;
}

.option strong {
    font-size: 12px;
    display: block;
    margin-bottom: 2px;
}

.option p {
    font-size: 10px;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

.btn-option {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 16px;
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

.btn-option.light {
    background: var(--white);
    color: var(--text-dark);
}

.btn-option.dark {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Mission Banner */
.mission-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 40px;
    text-align: center;
    margin: 60px 10px;
    border-radius: 20px;
}

.mission-banner p {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

/* For Designers About Section */
.for-designers-about {
    padding: 100px 0;
}

.designers-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.phone-stack {
    display: flex;
    position: relative;
    height: 460px;
}

.phone-frame.stacked {
    position: absolute;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 24px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    width: 190px;
}

.phone-frame.stacked .phone-screen {
    background-color: var(--white);
    border-radius: 20px;
    height: 380px;
    overflow: hidden;
}

.phone-frame.stacked .phone-screen {
    padding: 0;
}

.phone-frame.stacked .phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.phone-frame.stacked.left {
    left: 0;
    top: 0;
    z-index: 3;
}

.phone-frame.stacked.center-phone {
    left: 165px;
    top: 30px;
    z-index: 2;
    width: 190px;
}

.phone-frame.stacked.center-phone .phone-screen {
    height: 380px;
}

.phone-frame.stacked.right {
    left: 330px;
    top: 60px;
    z-index: 1;
}

.designers-content h2,
.clients-content h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -0.41px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.designers-content p,
.clients-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

/* For Clients About Section */
.for-clients-about {
    padding: 100px 0;
}

.clients-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.phone-cluster {
    display: flex;
    position: relative;
    height: 460px;
}

.phone-frame.cluster-phone {
    position: absolute;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 24px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    width: 190px;
}

.phone-frame.cluster-phone .phone-screen {
    background-color: var(--white);
    border-radius: 20px;
    height: 380px;
    overflow: hidden;
}

.phone-frame.cluster-phone .phone-screen {
    padding: 0;
}

.phone-frame.cluster-phone .phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.phone-frame.cluster-phone.one {
    left: 0;
    top: 60px;
    z-index: 1;
}

.phone-frame.cluster-phone.two {
    left: 165px;
    top: 30px;
    z-index: 2;
}

.phone-frame.cluster-phone.three {
    left: 330px;
    top: 0;
    z-index: 3;
}

/* Responsive */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image {
        order: 1;
    }

    .phone-showcase {
        flex-wrap: nowrap;
    }

    .designers-layout,
    .clients-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .designers-layout .designers-content {
        order: -1;
    }

    .phone-stack,
    .phone-cluster {
        height: 400px;
    }

    .about-partners .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .what-is-majen {
        padding: 120px 0 60px;
    }

    .intro-content h1 {
        font-size: 36px;
    }

    .platform-tagline {
        font-size: 22px;
    }

    .mission-banner p {
        font-size: 22px;
    }

    .designers-content h2,
    .clients-content h2 {
        font-size: 32px;
    }

    .phone-showcase {
        flex-direction: row;
        align-items: flex-end;
        gap: 12px;
    }

    .phone-mockup-about .phone-frame {
        width: 120px;
        border-radius: 20px;
        padding: 4px;
    }

    .phone-mockup-about .phone-frame.featured {
        width: 140px;
        border-radius: 20px;
        padding: 4px;
    }

    .phone-mockup-about .phone-screen {
        height: 240px;
        border-radius: 16px;
    }

    .phone-mockup-about.center .phone-screen {
        height: 280px;
    }

    .phone-stack {
        height: 340px;
    }

    .phone-frame.stacked {
        width: 140px;
    }

    .phone-frame.stacked .phone-screen {
        height: 280px;
    }

    .phone-frame.stacked.left {
        top: 0;
    }

    .phone-frame.stacked.center-phone {
        left: 120px;
        top: 25px;
        width: 140px;
    }

    .phone-frame.stacked.center-phone .phone-screen {
        height: 280px;
    }

    .phone-frame.stacked.right {
        left: 240px;
        top: 50px;
    }

    .phone-cluster {
        height: 340px;
    }

    .phone-frame.cluster-phone {
        width: 140px !important;
    }

    .phone-frame.cluster-phone .phone-screen {
        height: 280px !important;
    }

    .phone-frame.cluster-phone.one {
        top: 50px;
    }

    .phone-frame.cluster-phone.two {
        left: 120px;
        top: 25px;
    }

    .phone-frame.cluster-phone.three {
        left: 240px;
        top: 0;
    }
}

@media (max-width: 480px) {
    .intro-content h1 {
        font-size: 28px;
    }

    .intro-image .image-placeholder {
        height: 280px;
    }

    .platform-tagline {
        font-size: 18px;
    }

    .mission-banner {
        margin: 40px 0;
    }

    .mission-banner p {
        font-size: 18px;
    }
}

/* About Page - Empowering Partners Section */
.about-partners {
    margin: 0;
    padding: 80px 0;
    border-radius: 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.about-partners .tag-label {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    margin-bottom: 24px;
}

.about-partners .tag-label-btn {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.about-partners .tag-label-btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.about-partners h2 {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
    margin-bottom: 60px;
}

.about-partners .benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: left;
}

.about-partners .benefit-card h3 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--white);
}

.about-partners .benefit-card p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}

/* Mobile benefits list */
.benefits-list {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.benefit-item {
    margin-bottom: 30px;
}

.benefit-item h3 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--white);
}

.benefit-item p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* About Page - How It Works Section */
.about-how-it-works {
    padding: 80px 0 160px;
    background-color: var(--white);
    border-radius: 0 0 80px 80px;
    position: relative;
    z-index: 2;
}

/* About Page - CTA Section */
.about-cta {
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

.about-cta .cta-subtitle {
    font-size: 14px;
    max-width: 300px;
    margin: 0 auto 24px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .about-partners {
        margin: 0;
        padding: 60px 20px;
    }

    .about-partners h2 {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .about-partners .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-partners .benefit-card {
        text-align: center;
    }

    .about-how-it-works {
        padding: 60px 0;
    }

    .about-how-it-works h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .about-how-it-works .steps-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .about-how-it-works .step-image {
        height: 220px;
    }

    .about-cta {
        height: auto;
        min-height: 400px;
        padding: 60px 20px;
    }

    .about-cta .cta-content h2 {
        font-size: 28px;
    }
}
