/* Pythia Page Specific Styles */

.pythia-page {
    background-color: var(--section-dark);
}

/* Main Content */
.main-content {
    position: relative;
    min-height: 100vh;
}

/* Network Graphics */
.network-graphic {
    position: absolute;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.network-left {
    left: 0;
    top: 20%;
    width: 532px;
    height: auto;
}

.network-right {
    right: 0;
    top: 0;
    width: 483px;
    height: auto;
}


/* Hero Section */
.pythia-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 0 100px;
    background-color: transparent;
    overflow: visible;
    margin-top: 80px;
    padding-top: 40px;
    min-height: 600px;
}

.pythia-hero .container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.pythia-hero .page-title {
    font-family: var(--font-inter);
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-teal);
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
    letter-spacing: 2px;
}

.hero-card {
    display: grid;
    grid-template-columns: 45% 55%;
    background-color: var(--light-beige);
    border-radius: 50px;
    border: 1px solid var(--text-gray);
    border-right: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    min-height: 350px;
    max-height: 400px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: stretch;
    padding: 0;
    justify-self: center;
}

.hero-card-content {
    padding: 36px 40px 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding-bottom: 36px;
}

.hero-card-content h1 {
    font-family: var(--font-inter);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.hero-card-content p {
    font-family: var(--font-inter);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 27px;
    margin: 0;
}

.hero-card-content .btn-primary {
    background-color: #000000;
    color: #ffffff;
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 400;
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 100px;
    margin-bottom: 28px;
    display: inline-block;
    text-decoration: none;
}

.hero-card-content .btn-primary:hover {
    background-color: #333333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-card-visual {
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

.hero-visual-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    filter: brightness(1.1) contrast(1.1);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.1);
}

/* Pythia Description */
.pythia-description {
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 200px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
    background-color: transparent;
}

.pythia-description .section-heading {
    font-family: var(--font-inter);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 34px;
}

.pythia-description .description-text {
    font-family: var(--font-inter);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.2;
    letter-spacing: -0.48px;
    max-width: 1000px;
    margin: 0 auto;
}

/* How It Works Section */
.how-it-works-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 73px 120px;
    position: relative;
    z-index: 1;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

.how-it-works-section .network-right {
    right: -73px;
    top: 0;
    z-index: -1;
}

.how-it-works-section .section-heading {
    font-family: var(--font-inter);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-teal);
    text-align: center;
    margin-bottom: 80px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Remove margin-top from decision card to make flow horizontal */
.process-card.decision-card {
    margin-top: 0;
    align-self: center;
}

.process-card:not(.decision-card) {
    align-self: center;
}

.process-card {
    background-color: var(--light-beige);
    border-radius: 50px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    min-height: 240px;
    justify-content: center;
}

.process-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon img {
    width: 100%;
    height: 100%;
}

.process-content h3 {
    font-family: var(--font-inter);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: -0.24px;
}

.process-content p {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.5;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.flow-arrow.arrow-1 {
    align-items: center;
    justify-content: center;
}

.flow-arrow.arrow-2 {
    align-items: center;
    justify-content: center;
    padding-top: 0;
    margin-top: 0;
    align-self: center;
}

.flow-arrow svg {
    display: block;
}

.flow-arrow.arrow-1 svg {
    margin: 0 auto;
}

.flow-arrow.arrow-2 svg {
    margin: 0 auto;
    align-self: center;
}

/* Responsive Design */
@media (min-width: 1600px) {
    .hero-card {
        max-width: 1400px;
        min-height: 400px;
        max-height: 450px;
    }
    
    .hero-card-content h1 {
        font-size: 52px;
    }
    
    .hero-card-content p {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
        gap: 20px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .network-left {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-card-content {
        padding: 40px 30px;
    }
    
    .hero-card-content h1 {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .hero-card-content p {
        font-size: 16px;
    }
    
    .hero-card-visual {
        min-height: 300px;
    }

    .pythia-description {
        padding: 60px 20px;
    }

    .how-it-works-section .section-heading,
    .pythia-description .section-heading {
        font-size: 36px;
    }

    .pythia-description .description-text {
        font-size: 18px;
    }

    .how-it-works-section {
        padding: 60px 20px;
    }
    
    .network-left {
        display: none;
    }
}

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

    .how-it-works-section .section-heading,
    .pythia-description .section-heading {
        font-size: 28px;
    }
}
