* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #fffbf0 0%, #fff4e6 100%);
    color: #5c4033;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Card Styling */
.main-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.15);
    overflow: hidden;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    border: 1px solid #eee;
}

.left-section {
    background: white;
    padding: 40px 30px;
    border-right: 1px solid #e5e5e5;
}

.right-section {
    padding: 60px 40px;
    background: #fffcf5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #fdf2e9;
}

/* Deity Header Styling */
.deity-header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDeity 1.2s ease-out;
}

.deity-img {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(255, 140, 0, 0.2));
}

@keyframes fadeInDeity {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1a1a1a;
    line-height: 1.2;
    text-align: center;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.astroleaf-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #fff 0%, #fbede0 100%);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.astroleaf-logo .leaf {
    font-size: 28px;
}

.astroleaf-logo .brand-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #4a3728;
    letter-spacing: -0.5px;
    font-family: 'Playfair Display', serif;
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

label .required {
    color: #ff8c00;
    margin-left: 2px;
}

input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #fff;
}

input:focus {
    border-color: #ff8c00;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

.submit-button {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.25);
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.35);
}

/* Results Section */
.results {
    display: none;
    margin-top: 40px;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results.active {
    display: block;
}

.info-section,
.core-grid-section,
.mahadasha-timeline-section,
.antardasha-timeline-section,
.pratantardasha-timeline-section,
.daily-dasha-timeline-section,
.daily-analysis-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 35px;
    box-shadow: 0 4px 25px rgba(255, 140, 0, 0.1);
    border: 2px solid #fde68a;
}

/* Update Animation */
@keyframes fadeUpUpdate {
    from {
        opacity: 0.4;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-update {
    animation: fadeUpUpdate 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff8c00;
    border-radius: 2px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f8f8f8;
}

.info-label {
    font-weight: 500;
    color: #777;
}

.info-value {
    font-weight: 700;
    color: #1a1a1a;
}

/* Grid Styling */
.numerology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    border: 3px solid #1a1a1a;
    margin: 0 auto 20px;
    max-width: 320px;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.grid-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    min-height: 90px;
    flex-wrap: wrap;
    padding: 10px;
    gap: 6px;
    align-content: center;
    font-weight: 800;
    font-size: 22px;
    color: #333;
}

/* Dasha Indicators */
.grid-cell span.mahadasha {
    background: #22c55e;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.6em;
}

.grid-cell span.antardasha {
    background: #3b82f6;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.6em;
}

.grid-cell span.pratantardasha {
    background: #9c27b0;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.6em;
}

.grid-cell span.dailydasha {
    background: #ff5722;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.6em;
}

/* Pratantardasha Table */
.pratantrdasha-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    font-size: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #ffffff;
}

.pratantrdasha-table th,
.pratantrdasha-table td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pratantrdasha-table th {
    background: #fcfcfc;
    font-weight: 600;
    color: #666;
}

.highlight-row {
    background: #fff9e6 !important;
    font-weight: 800;
    color: #b45309;
}

.daily-dasha-box {
    background: #f0f7ff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #dbeafe;
}

.daily-dasha-box h3 {
    margin-bottom: 15px;
    color: #1e40af;
}

/* Brand Logo */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.official-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(255, 140, 0, 0.2));
    transition: transform 0.3s ease;
}

.official-logo:hover {
    transform: scale(1.02);
}

/* Prediction Cards */
.prediction-item {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prediction-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.prediction-item strong {
    display: block;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
}

.prediction-item p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Yoga Container */
.yoga-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.yoga-item {
    background: linear-gradient(135deg, #fff9f0 0%, #fffcf5 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ffedd5;
    text-align: center;
}

.yoga-item h4 {
    color: #9a3412;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.yoga-item p {
    color: #c2410c;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Global Polish */
* {
    text-decoration: none !important;
}

a,
button,
input {
    text-decoration: none;
}



.om-symbol {
    font-family: 'Yatra One', cursive;
    /* Specialized Hindi font */
    font-size: 2.2rem;
    /* Larger for readability */
    color: #ff8c00;
    font-weight: 400;
    /* Yatra One is inherently bold */
    opacity: 1;
    /* Crisp visibility */
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(255, 140, 0, 0.15);
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .main-card {
        grid-template-columns: 1fr;
    }

    .left-section {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 40px 20px;
    }

    .right-section {
        padding: 40px 20px;
    }

    .info-section,
    .core-grid-section,
    .daily-dasha-section,
    .daily-analysis-section {
        padding: 25px 20px;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* --- Consult Another Date Button --- */
.consult-btn-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed #e0e0e0;
}

.consult-btn {
    background: #ff8c00;
    /* Solid Orange */
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    border-radius: 6px;
    /* Square/Rectangular look */
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.consult-btn .icon {
    font-size: 1.4rem;
    font-weight: normal;
    transition: transform 0.5s ease;
}

.consult-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
    background: #e67e00;
    /* Darker Solid Orange on Hover */
}

.consult-btn:hover .icon {
    transform: rotate(180deg);
}

.consult-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.loader-content {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffedd5;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff8c00;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 1.2rem;
    color: #4a3728;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Date Navigation --- */
.date-nav-btn {
    background: #ff8c00;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    /* Ensure centering */
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.date-nav-btn:hover {
    background: #e67e00;
}

/* --- Upgrade Modal --- */
.upgrade-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s ease;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #fffbf0;
    border-radius: 16px 16px 0 0;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    color: #d35400;
    font-size: 1.5rem;
}

.modal-header h2::after {
    display: none;
}

/* Remove existing underline style from h2 */

.modal-body {
    padding: 30px 25px;
    text-align: center;
}

.modal-body p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.upgrade-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
}


/* --- Credit Display --- */
.credit-display {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
    color: #ffd700;
    /* Gold */
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    border: 1px solid #ffd700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Playfair Display", serif;
}

.credit-display.premium {
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
    color: #000;
    border: 1px solid #fff;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}


/* --- Core Grid Wrapper --- */
.core-grid-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}



/* --- Feedback Section --- */
.feedback-section {
    margin-top: 40px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
    border: 1px dashed #cbd5e1;
}

.feedback-section h3 {
    color: #334155;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.feedback-section p {
    color: #64748b;
    margin-bottom: 20px;
}

.feedback-btn {
    display: inline-block;
    background: #3b82f6;
    color: white !important;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.feedback-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Results Section Container */
.results {
    position: relative;
    /* Ensure absolute children are positioned relative to this */
    padding-top: 60px;
    /* Add space for the absolute button */
}

/* --- Floating Help & Support Button --- */
.help-support-btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: rgba(30, 58, 138, 0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.70rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.help-support-btn:hover {
    background-color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.help-support-btn::before {
    content: "🎧";
    /* Headset Icon */
    font-size: 1.2rem;
    filter: brightness(0) invert(1);
    /* Ensure icon is white if it's an image, though emoji handles itself */
}

@media (max-width: 600px) {
    .help-support-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* --- Go Back Button --- */
.go-back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    border: 2px solid #ff8c00;
    /* Theme orange */
    color: #ff8c00;
    padding: 8px 20px;
    border-radius: 25px;
    /* Pill shape */
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(255, 140, 0, 0.1);
    font-family: 'Playfair Display', serif;
}

.go-back-btn:hover {
    background: #ff8c00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.2);
}

@media (max-width: 900px) {
    .go-back-btn {
        top: 15px;
        left: 15px;
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}

/* --- Consult Another Date Button Wrapper --- */
.consult-btn-wrapper {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 60px;
    padding-top: 30px;
    border-top: 1px dashed #e0e0e0;
}

/* --- SEO Content Section --- */
.seo-content-section {
    background: #fff;
    margin-top: 50px;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    color: #444;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    margin-top: 40px;
    text-align: center;
}

.seo-content-section h2:first-of-type {
    margin-top: 0;
}

.seo-content-section h3 {
    font-size: 1.5rem;
    color: #d35400;
    margin-bottom: 20px;
    margin-top: 30px;
    border-left: 4px solid #ff8c00;
    padding-left: 15px;
}

.seo-content-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-item {
    background: #fffbf0;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #ffeeba;
}

.feature-item h4 {
    color: #b45309;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-item p {
    font-size: 1rem;
    margin-bottom: 0;
    text-align: left;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.benefits-list li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

/* FAQ Styles */
.faq-container {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-question {
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: #555;
    display: none;
    /* Initially hidden if using accordion JS, but for now just show or simple */
    /* Wait, I should make them visible or add simple JS. User asked for content, not interactive FAQ, but interactive is better. */
    /* Let's make them visible by default for SEO purposes unless I add JS. */
    display: block;
}

@media (max-width: 768px) {
    .seo-content-section {
        padding: 40px 20px;
    }

    .seo-content-section h2 {
        font-size: 1.6rem;
    }

    .seo-content-section p {
        text-align: left;
    }
}