/* ============================================================================
   PostFoundry Homepage Styles

   Main landing page for postfoundry.co with 9-section layout:
   1. Hero Section
   2. Agitation/Pain Points
   3. Solution Introduction
   4. Features Showcase
   5. Social Proof
   6. How It Works
   7. Pricing Preview
   8. Final CTA
   9. FAQ

   Color Scheme: Light Sky Blue theme (inherited from main style.css)
   ============================================================================ */

/* ============================================================================
   1. HERO SECTION
   ============================================================================ */

.hero-section {
    background: linear-gradient(135deg, var(--sky-blue-50) 0%, var(--sky-blue-100) 100%);
    padding: 80px 0;
    border-bottom: 2px solid var(--sky-blue-200);
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--sky-blue-800);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .subheadline {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-hero-primary {
    background-color: var(--sky-blue-500);
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary:hover {
    background-color: var(--sky-blue-600);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
    color: white;
    text-decoration: none;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-badge i {
    color: var(--sky-blue-500);
}

/* ============================================================================
   2. AGITATION SECTION (Pain Points)
   ============================================================================ */

.agitation-section {
    padding: 80px 0;
    background-color: white;
}

.agitation-section h2 {
    font-size: 2.2rem;
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.pain-point-card {
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--sky-blue-100);
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.pain-point-card:hover {
    border-color: var(--sky-blue-300);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.1);
    transform: translateY(-4px);
}

.pain-point-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pain-point-card h4 {
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 15px;
}

.pain-point-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.closing-statement {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--sky-blue-800);
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, var(--sky-blue-50) 0%, var(--sky-blue-100) 100%);
    border-radius: 12px;
}

/* ============================================================================
   3. SOLUTION SECTION
   ============================================================================ */

.solution-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--sky-blue-50) 0%, white 100%);
}

.solution-section h2 {
    font-size: 2.2rem;
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.solution-subheadline {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.solution-demo-box {
    background: linear-gradient(135deg, var(--sky-blue-100) 0%, var(--sky-blue-50) 100%);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

/* ============================================================================
   4. FEATURES SECTION
   ============================================================================ */

.features-section {
    padding: 80px 0;
    background-color: white;
}

.features-section h2 {
    font-size: 2.2rem;
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.feature-card {
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--sky-blue-100);
    transition: all 0.3s ease;
    height: 100%;
    background-color: #fafafa;
}

.feature-card:hover {
    border-color: var(--sky-blue-400);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.15);
    transform: translateY(-8px);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--sky-blue-500);
    margin-bottom: 15px;
}

.feature-card h4 {
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================================================
   5. SOCIAL PROOF SECTION
   ============================================================================ */

.social-proof-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--sky-blue-50) 0%, var(--sky-blue-100) 100%);
}

.social-proof-section h2 {
    font-size: 2.2rem;
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.testimonial-card {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--sky-blue-100);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
    transform: translateY(-4px);
}

.testimonial-card p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--sky-blue-800);
    margin-bottom: 8px;
}

.testimonial-role {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sky-blue-600);
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* ============================================================================
   6. HOW IT WORKS SECTION
   ============================================================================ */

.how-it-works-section {
    padding: 80px 0;
    background-color: white;
}

.how-it-works-section h2 {
    font-size: 2.2rem;
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.step-card {
    text-align: center;
    padding: 40px;
    position: relative;
}

.step-number {
    background-color: var(--sky-blue-500);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h4 {
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 15px;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

.step-arrow {
    text-align: center;
    color: var(--sky-blue-400);
    font-size: 1.5rem;
    margin: 0;
}

.time-indicator {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sky-blue-600);
    margin-top: 40px;
}

/* ============================================================================
   7. PRICING SECTION
   ============================================================================ */

.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--sky-blue-50) 0%, white 100%);
}

.pricing-section h2 {
    font-size: 2.2rem;
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.pricing-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--sky-blue-100);
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.2);
}

.pricing-card.featured {
    border-color: var(--sky-blue-400);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
}

.pricing-header {
    background-color: var(--sky-blue-100);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid var(--sky-blue-200);
}

.pricing-header h5 {
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 0;
}

.popular-badge {
    background-color: var(--sky-blue-500);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

.pricing-featured-header {
    background: linear-gradient(135deg, var(--sky-blue-600) 0%, var(--sky-blue-700) 100%);
    color: white;
}

.pricing-featured-header h5 {
    color: white;
}

.pricing-body {
    padding: 30px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sky-blue-600);
    margin-bottom: 5px;
}

.pricing-featured .pricing-price {
    color: var(--sky-blue-500);
}

.pricing-period {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 20px 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid var(--sky-blue-100);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features strong {
    color: var(--sky-blue-700);
}

.pricing-cta {
    margin-top: auto;
    padding-top: 20px;
}

.pricing-subtext {
    color: #999;
    font-size: 0.85rem;
    margin-top: 20px;
}

/* ============================================================================
   8. FINAL CTA SECTION
   ============================================================================ */

.final-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--sky-blue-600) 0%, var(--sky-blue-700) 100%);
    color: white;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.final-cta-subheadline {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.final-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background-color: white;
    color: var(--sky-blue-600);
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    min-width: 200px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-primary:hover {
    background-color: var(--sky-blue-50);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--sky-blue-700);
    text-decoration: none;
}

.btn-cta-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 700;
    padding: 12px 38px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    min-width: 200px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

.trust-signals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.trust-signal {
    color: white;
    font-size: 0.95rem;
}

.trust-signal i {
    color: white;
    margin-right: 8px;
}

/* ============================================================================
   9. FAQ SECTION
   ============================================================================ */

.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-section h2 {
    font-size: 2.2rem;
    color: var(--sky-blue-800);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.accordion {
    border: 2px solid var(--sky-blue-100);
    border-radius: 12px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 2px solid var(--sky-blue-100);
    background-color: white;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background-color: white;
    color: var(--sky-blue-800);
    font-weight: 600;
    padding: 20px;
    border: none;
    text-align: left;
}

.accordion-button:not(.collapsed) {
    background-color: var(--sky-blue-50);
    color: var(--sky-blue-800);
    box-shadow: none;
}

.accordion-button:hover {
    background-color: var(--sky-blue-50);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230369a1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px;
    color: #666;
    line-height: 1.6;
    background-color: white;
}

/* ============================================================================
   RESPONSIVE DESIGN - Mobile & Tablet
   ============================================================================ */

@media (max-width: 768px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subheadline {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary {
        width: 100%;
        max-width: 300px;
    }

    /* All Section Headings */
    .agitation-section h2,
    .solution-section h2,
    .features-section h2,
    .social-proof-section h2,
    .how-it-works-section h2,
    .pricing-section h2,
    .final-cta-section h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }

    /* How It Works */
    .step-arrow {
        display: none;
    }

    /* Final CTA */
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }

    /* Stats Bar */
    .stats-bar {
        grid-template-columns: 1fr;
    }

    /* Padding Adjustments */
    .hero-section,
    .agitation-section,
    .solution-section,
    .features-section,
    .social-proof-section,
    .how-it-works-section,
    .pricing-section,
    .final-cta-section,
    .faq-section {
        padding: 50px 0;
    }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

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

.text-muted {
    color: #999;
}
