/* ============================================
   BiteOut Sub-Pages Styles
   (prices, partner, careers, boost, privacy, terms, deleteaccount)
   ============================================ */

/* --- Shared Page Styles --- */
.page-hero {
    padding: 6rem 0 4rem;
    background-color: var(--dark-bg);
}

.page-hero__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.page-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-hero__title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0;
}

.page-hero__title .highlight {
    color: var(--primary-green);
}

.page-hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-hero__image {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.page-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, #45d97f 100%);
    border-radius: 50px;
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(83, 242, 147, 0.3);
}

.cta-button:hover {
    box-shadow: 0 6px 30px rgba(83, 242, 147, 0.5);
    transform: translateY(-2px);
    color: var(--dark-bg);
}

/* Section shared */
.page-section {
    padding: 5rem 0;
    background-color: var(--dark-bg);
}

.page-section--alt {
    background-color: #0d0d0d;
}

.page-section__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-section__title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 3rem 0;
    text-align: center;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card__icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.5rem;
}

.card__icon svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: var(--dark-bg);
}

.card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.card__description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.card__type {
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: 500;
}

/* Contained variant for content-heavy cards (marketing section) */
.card--contained {
    background-color: #141414;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.card--contained .card__title {
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-green);
    margin-bottom: 0.5rem;
}

/* --- Pricing Page --- */
.pricing__plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.pricing__card {
    background-color: #141414;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.pricing__card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-green);
}

.pricing__card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.pricing__badge {
    background-color: var(--primary-green);
    color: var(--dark-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing__price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
}

.pricing__billing {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 2rem;
}

.pricing__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: left;
}

.pricing__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing__checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background-color: var(--primary-green);
    color: var(--dark-bg);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* CTA Banner */
.cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(83, 242, 147, 0.1) 0%, rgba(83, 242, 147, 0.05) 100%);
    text-align: center;
}

.cta-banner__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-banner__title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.cta-banner__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 2rem;
}

/* --- Partner Page Logo Carousel --- */
.logo-carousel-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.logo-carousel-section .many-more-wrap {
    text-align: center;
    margin-top: 0.75rem;
}

.logo-carousel-section .many-more-pill {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- Marketing Grid --- */
.marketing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.marketing-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.marketing-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.85rem;
}

/* --- Role Cards --- */
.role-card {
    background-color: var(--dark-bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.role-card details {
    margin-top: 1rem;
}

.role-card summary {
    color: var(--primary-green);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.role-card details ul {
    margin: 0.75rem 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.role-card details li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.role-card__apply {
    margin-top: 1.5rem;
}

.apply-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--primary-green);
    color: var(--dark-bg);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.apply-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(83, 242, 147, 0.3);
    color: var(--dark-bg);
}

/* --- Process Steps --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-card {
    text-align: center;
}

.process-card__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.process-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.process-card__description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Benefits List --- */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-list li {
    padding: 1rem 1.5rem;
    background-color: var(--dark-bg-card);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefits-list li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: 700;
    flex-shrink: 0;
}

/* Ordered process list */
.process-list {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-list li {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.process-list li::marker {
    color: var(--primary-green);
    font-weight: 700;
}

/* --- Legal Pages (Privacy, Terms) --- */
.legal-page {
    padding: 4rem 0;
    background-color: var(--dark-bg);
}

.legal-page__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-page__header {
    margin-bottom: 3rem;
}

.legal-page__title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.legal-page__date {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.legal-page__company-info {
    margin-bottom: 1.5rem;
}

.legal-page__company-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-page__company-info a {
    color: var(--primary-green);
}

.legal-page__intro {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.legal-page__content section {
    margin-bottom: 2.5rem;
}

.legal-page__content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.legal-page__content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.legal-page__content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.25rem 0 0.5rem;
}

.legal-page__content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-page__content ul,
.legal-page__content ol {
    margin: 0.75rem 0 0.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-page__content li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-page__content a {
    color: var(--primary-green);
}

.legal-page__contact {
    background-color: var(--dark-bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-page__contact p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-page__contact a {
    color: var(--primary-green);
}

/* Terms Toggle */
.terms-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 3rem;
    background-color: var(--dark-bg-card);
    border-radius: 50px;
    padding: 4px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.terms-toggle__btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.terms-toggle__btn--active {
    background-color: var(--primary-green);
    color: var(--dark-bg);
}

/* Terms Panels */
.terms-panel { display: none; }
.terms-panel--active { display: block; }

.legal-page__main-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2rem;
}

.legal-page__info {
    margin-bottom: 1.5rem;
}

.legal-page__info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-page__info a {
    color: var(--primary-green);
}

.legal-highlight {
    background-color: rgba(83, 242, 147, 0.08);
    border-left: 3px solid var(--primary-green);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0;
}

.legal-highlight p {
    margin: 0;
}

.legal-contact {
    background-color: var(--dark-bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-contact p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-contact a {
    color: var(--primary-green);
}

.legal-footer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-footer a {
    color: var(--primary-green);
}

/* Boost Process Steps */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--dark-bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.process-step__number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.process-step p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.35rem 0 0;
}

.process-steps--vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Delete Account */
.delete-page {
    padding: 4rem 0;
    background-color: var(--dark-bg);
    min-height: 80vh;
}

.delete-page__container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.delete-page__title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 2rem;
    text-align: center;
}

.delete-page__embed {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 16px;
    background-color: var(--dark-bg-card);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .page-hero__container { grid-template-columns: 1fr; gap: 3rem; }
    .page-hero__title { font-size: 2.5rem; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing__plans { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .page-hero { padding: 3rem 0 2rem; }
    .page-hero__container { padding: 0 1rem; }
    .page-hero__title { font-size: 2rem; }
    .page-hero__image { height: 250px; }
    .card-grid { grid-template-columns: 1fr; }
    .card-grid--2col { grid-template-columns: 1fr; }
    .page-section { padding: 3rem 0; }
    .page-section__container { padding: 0 1rem; }
    .page-section__title { font-size: 1.75rem; margin-bottom: 2rem; }
    .cta-banner__title { font-size: 1.5rem; }
    .cta-button { align-self: stretch; text-align: center; }
    .process-steps { grid-template-columns: 1fr; }
    .legal-page__container { padding: 0 1rem; }
    .legal-page__title { font-size: 1.75rem; }
    .pricing__price { font-size: 2.5rem; }
}
