/* =========================
   GENERAL LAYOUT
========================= */
body {
    background-color: #f8fafc;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   HERO SECTION
========================= */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    text-align: center;
    padding: 100px 20px 140px; /* Deep padding for card overlap */
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

/* =========================
   CONTENT WRAPPER & GRID
========================= */
.content-wrapper {
    max-width: 1100px;
    margin: -80px auto 80px; /* This creates the overlap */
    padding: 0 20px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.benefit-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #4a8ee7;
}

.benefit-item i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 10px;
}

.benefit-item p {
    color: #2b333d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================
   PRICING SECTION
========================= */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #001435;
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.price-card {
    background: #ffffff;
    padding: 30px 24px;
    border-radius: 20px;
    /* Subtle border for a "clean" feel */
    border: 1px solid #348cff; 
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    /* Soft shadow to create depth */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Featured Card: Stronger Blue identity */
.price-card.featured {
    border: 2px solid #2563eb;
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1);
    transform: scale(1.03);
    z-index: 5;
    background: #fdfdff; /* Very slight blue tint to the background */
}

/* Professional Badge styling */
.price-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Typography Hierarchy */
.price-card h3 {
    font-size: 1.2rem;
    color: #64748b; /* Lighter color for the label */
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 18px;
    text-decoration: underline;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a; /* Darkest color for the most important info */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.price span {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Features List */
.features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    text-align: left;
    flex-grow: 1;
}

.features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #1f2329;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.features li i {
    color: #10b981;
    margin-right: 12px;
    font-size: 1.1rem;
}

/* =========================
   BUTTON STYLES
========================= */
.btn-primary, .btn-outline {
    display: block;
    padding: 16px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border: 2px solid #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
}

/* =========================
   MOBILE RESPONSIVENESS ONLY
========================= */

@media (max-width: 768px) {

    .page-hero {
        padding: 40px 20px 60px;
    }
    /* Stack the Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 10px;
    }

    /* Stack the Pricing Grid */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    /* Fix Hero Typography for Mobile */
    .page-hero h1 {
        font-size: 2.1rem !important;
        padding: 0 10px;
        line-height: 1.2;
    }

    .page-hero p {
        font-size: 1.1rem !important;
        padding: 0 15px;
    }

    /* Adjust the Overlap for Small Screens */
    .content-wrapper {
        margin-top: -50px !important;
        padding: 0 15px !important;
    }

    /* Remove Scale from Featured Card on Mobile (Prevents clipping) */
    .price-card.featured {
        transform: scale(1) !important;
        margin: 10px 0;
    }

    /* Make Buttons Full Width for Easy Tapping */
    .btn-primary, .btn-outline {
        width: 100%;
        box-sizing: border-box;
        padding: 18px 20px !important; /* Larger hit area for thumbs */
    }

    /* Improve FAQ readability on small screens */
    #faq-section {
        margin-top: 30px !important;
        padding: 20px 15px !important;
    }

    #faq-section h2 {
        font-size: 1.5rem !important;
    }
}