/* Pricing Page Styles */

/* Page Hero */
.page-hero {
    height: auto;
    min-height: auto;
    padding-top: calc(var(--header-height, 100px) + 40px);
    padding-bottom: 60px;
    align-items: flex-start;
}

.page-hero--pricing {
    min-height: auto;
    padding-bottom: 80px;
}

.pricing-hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 30px;
}

.pricing-hero-text {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Sections */
.pricing-section {
    padding: 80px 0;
}

.pricing-section--intro {
    padding-bottom: 100px;
}

.pricing-section--faq {
    padding: 0 0 100px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}



/* Split Layout */
.pricing-split-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-split-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-details {
    padding: 60px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-right: 1px solid var(--glass-border);
    position: relative;
}

.pricing-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.pricing-desc {
    margin-bottom: 30px;
}

.price-display {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin: 30px 0;
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.price-display .currency {
    font-size: 2rem;
    margin-right: 5px;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-display .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 5px;
}

.pricing-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.pricing-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.value-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stack-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.stack-item i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.pricing-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-note-text {
    font-size: 0.9rem;
}

.pricing-form-container {
    padding: 60px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-form-title {
    margin-bottom: 20px;
    color: #fff;
}

.pricing-form-btn {
    width: 100%;
    margin-top: 10px;
}

.pricing-form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- REDESIGNED FLAT FEE SECTION --- */
.flat-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.flat-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* .pricing-section-title{
    font-size: 2.5rem !important;
    line-height: 3rem !important;
} */

.flat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, rgba(10, 10, 12, 0.8) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 40px 36px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.flat-card:hover {
    transform: translateY(-5px);
}

.flat-card--trap {
    border-color: rgba(255, 59, 48, 0.2);
}

.flat-card--trap:hover {
    box-shadow: 0 20px 50px -20px rgba(255, 59, 48, 0.1);
}

.flat-card--solution {
    border-color: rgba(40, 243, 106, 0.3);
    background: linear-gradient(145deg, rgba(40, 243, 106, 0.05) 0%, rgba(10, 10, 12, 0.9) 100%);
}

.flat-card--solution:hover {
    box-shadow: 0 20px 50px -20px rgba(40, 243, 106, 0.15);
}

.flat-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.flat-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.flat-icon-box--bad {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.flat-icon-box--good {
    background: rgba(40, 243, 106, 0.1);
    color: var(--accent-primary);
}

.flat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 50px;
}

.flat-label--bad {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.flat-label--good {
    background: rgba(40, 243, 106, 0.1);
    color: var(--accent-primary);
}

.flat-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.flat-visual {
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 0 20px;
}

.visual-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    bottom: 20px;
    left: 0;
}

.visual-line {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 4px;
}

.flat-visual--bad .visual-line {
    background: linear-gradient(90deg, #ff3b30, #ff6b6b);
    transform-origin: left bottom;
    transform: rotate(-15deg) translateY(-20px);
    width: 120%;
}

.flat-visual--good .visual-line {
    background: var(--accent-primary);
}

.visual-text {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.flat-list {
    list-style: none;
}

.flat-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.flat-card--trap .flat-list li i {
    color: #ff3b30;
}

.flat-card--solution .flat-list li i {
    color: var(--accent-primary);
}

/* --- REDESIGNED STACK SECTION --- */
.stack-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stack-grid-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px !important;
}

.bento-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(10, 10, 12, 0.8) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bento-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.bento-card--main {
    grid-column: span 2;
    background: linear-gradient(145deg, rgba(40, 243, 106, 0.05) 0%, rgba(10, 10, 12, 0.8) 100%);
    border-color: rgba(40, 243, 106, 0.2);
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: rgba(40, 243, 106, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.bento-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.bento-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Niche Cards */
.pricing-niche-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Who It's For Card */
.pricing-who-card {
    width: 100% !important;
    max-width: 1200px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, rgba(10, 10, 12, 0.6) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
}

.pricing-who-content {
    flex: 1;
}

.pricing-who-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.pricing-who-desc {
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.6;
}

/* Protocol */
.pricing-protocol-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* REDESIGNED FAQ */
.faq-layout {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pricing-faq-redesign {
    padding-bottom: 120px;
}

/* Responsive - Pricing */
@media (max-width: 1024px) {
    .flat-comparison-grid {
        grid-template-columns: 1fr;
    }

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

    .bento-card--main {
        grid-column: span 2;
    }

    .pricing-split-wrapper {
        grid-template-columns: 1fr;
    }

    .pricing-details {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 40px;
    }

    .pricing-form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    body{
        padding: 0 10px;
    }
    .stack-grid-bento {
        grid-template-columns: 1fr;
    }

    .bento-card--main {
        grid-column: span 1;
    }

    .pricing-who-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .page-hero {
        padding-top: calc(var(--header-height, 100px) + 30px);
        padding-bottom: 40px;
    }

    .page-hero--pricing {
        padding-bottom: 60px;
    }

    .price-display {
        font-size: 3.2rem;
    }

    .pricing-details, .pricing-form-container {
        padding: 30px 20px;
    }

    .flat-card, .bento-card {
        padding: 24px;
    }

    .pricing-hero-title {
        font-size: 2.5rem;
    }
}