.astro-calculator-wrapper {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    font-family: 'Inter', sans-serif; /* Standard premium web font */
}

.calc-title {
    text-align: center;
    color: #1a365d;
    margin-bottom: 8px;
}

.calc-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 24px;
    font-size: 0.95em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #334155;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.calc-button {
    width: 100%;
    padding: 14px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calc-button:hover {
    background-color: #1d4ed8;
}

/* Results Section */
.results-hidden {
    display: none;
}

.results-visible {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    animation: fadeIn 0.5s ease-in-out;
}

.result-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 10px;
    width: 30%;
    text-align: center;
}

.result-card h3 {
    font-size: 0.9em;
    color: #475569;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.number-display {
    font-size: 2.5em;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 5px;
}

.result-label {
    font-size: 0.8em;
    color: #64748b;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .results-visible {
        flex-direction: column;
        gap: 15px;
    }
    .result-card {
        width: 100%;
        box-sizing: border-box;
    }
}
/* Dynamic Readings Section */
.readings-hidden {
    display: none;
}

.readings-visible {
    display: block;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    animation: fadeIn 0.8s ease-in-out;
    text-align: left;
}

.reading-section {
    margin-bottom: 25px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.reading-section h4 {
    color: #1a365d;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.reading-section p {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95em;
    margin: 0;
}
/* =========================================
   ASTROPRASUN FUNNEL & TOOLS SECTION STYLES
   ========================================= */

.ap-funnel-wrapper {
    max-width: 900px;
    margin: 60px auto;
    font-family: 'Inter', sans-serif;
    color: #334155;
}

/* Badges */
.ap-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-gold {
    background: #fef08a;
    color: #854d0e;
}

/* Buttons */
.ap-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.ap-btn-gold {
    background: #eab308;
    color: #ffffff !important;
}

.ap-btn-gold:hover {
    background: #ca8a04;
    transform: translateY(-2px);
}

/* Funnel Cards Common Layout */
.ap-funnel-card {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.promo-content {
    flex: 1;
    padding: 40px;
}

.promo-content h2 {
    margin-top: 0;
    color: #1e293b;
    font-size: 1.8em;
    margin-bottom: 15px;
}

/* --- App Promo Specific --- */
.app-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}

.app-features li {
    margin-bottom: 10px;
    font-size: 0.95em;
}

/* Google Play Button Styling */
.play-btn-wrapper {
    text-align: center;
    margin-top: 25px;
}

.play-store-badge {
    width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.play-store-badge:hover {
    transform: scale(1.05);
}

/* App Screenshot Image Styling */
.app-image-container {
    background: #f8fafc;
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-left: 1px solid #e2e8f0;
}

.app-screenshot-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* --- Expert Promo Specific --- */
.expert-promo {
    background: #fffaf0; 
    border-color: #faebd7;
    align-items: center; /* Centers the text block with the image vertically */
}

/* Profile Photo Styling */
.expert-image {
    width: 35%;
    padding: 20px;
}

.prosun-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain; /* Prevents the image from stretching out of proportion */
}

.expert-stats {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.stat-item {
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.85em;
    border: 1px solid #fde68a;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.stat-item strong {
    display: block;
    color: #b45309;
    font-size: 1.2em;
}

.expert-quote {
    font-style: italic;
    border-left: 4px solid #eab308;
    padding-left: 15px;
    color: #475569;
    margin: 0 0 25px 0;
}

/* --- Tools Grid Section --- */
.ap-tools-section {
    text-align: center;
    padding-top: 20px;
}

.ap-tools-section h3 {
    font-size: 1.8em;
    color: #1e293b;
    margin-bottom: 5px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tool-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #2563eb;
}

.tool-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.tool-card h4 {
    margin: 0 0 10px 0;
    color: #1e293b;
}

.tool-card p {
    font-size: 0.85em;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* --- Responsive Design for Mobiles --- */
@media (max-width: 768px) {
    .ap-funnel-card {
        flex-direction: column;
    }
    
    .app-image-container, .expert-image {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 20px;
    }
    
    .expert-image {
        padding: 0;
    }

    .prosun-photo {
        border-radius: 16px 16px 0 0;
        max-height: 350px;
        object-fit: cover;
        object-position: top;
    }

    .app-screenshot-img {
        max-width: 200px;
    }

    .expert-stats {
        flex-direction: column;
    }
}
/* =========================================
   PREMIUM FAQ STYLING
   ========================================= */

.ap-premium-faq {
    max-width: 900px;
    margin: 50px auto;
    font-family: 'Inter', sans-serif;
}

/* The Main FAQ Heading */
.ap-premium-faq h2 {
    text-align: center;
    color: #1e293b !important;
    font-size: 2.2em !important;
    font-family: 'Inter', sans-serif !important;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Individual FAQ Question/Answer Cards */
.ap-premium-faq .rank-math-list-item,
.ap-premium-faq .schema-faq-section,
.ap-premium-faq > div {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.ap-premium-faq .rank-math-list-item:hover,
.ap-premium-faq .schema-faq-section:hover,
.ap-premium-faq > div:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* The Question Text */
.ap-premium-faq h3 {
    color: #2563eb !important; /* Beautiful premium blue */
    font-size: 1.3em !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    line-height: 1.4;
    border: none !important;
}

/* The Answer Text */
.ap-premium-faq p {
    color: #475569 !important;
    font-size: 1em !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    font-family: 'Inter', sans-serif !important;
}