/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/
Description: Astra Child Theme for Mystic Insights Pro
Version: 1.0.0
Text Domain: astra-child
*/

/* ==================== USER PROFILE HEADER STYLES ==================== */

.mystic-header-user-area {
    margin-left: auto;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.mystic-user-profile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(124, 107, 175, 0.1);
    border-radius: 25px;
    color: #3a2e5a;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 107, 175, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mystic-user-profile-header:hover {
    background: rgba(124, 107, 175, 0.2);
    transform: translateY(-1px);
}

.mystic-user-avatar img {
    border-radius: 50%;
    width: 32px !important;
    height: 32px !important;
    border: 2px solid #7e6baf;
}

.mystic-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #3a2e5a;
}

.mystic-login-btn {
    padding: 8px 20px;
    background: #7e57c2;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mystic-login-btn:hover {
    background: #6a4aaa;
    transform: translateY(-1px);
    color: white;
}

/* Make it responsive */
@media (max-width: 768px) {
    .mystic-user-name {
        display: none;
    }
    
    .mystic-user-profile-header {
        padding: 6px 10px;
    }
    
    .mystic-header-user-area {
        padding: 0 10px;
    }
}

/* ==================== EXISTING MYSTIC INSIGHTS STYLES ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-primary: #f8f5ff;
    --bg-secondary: #f0ebff;
    --bg-card: #ffffff;
    --text-primary: #3a2e5a;
    --text-secondary: #5a4a7a;
    --accent: #9c89cc;
    --accent-light: #c5b6e2;
    --accent-dark: #7b6ca3;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 16px;
}

.mystic-home-container {
    background: linear-gradient(135deg, #f8f5ff 0%, #f0ebff 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Guest State - Minimal Design */
.guest-view {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2.8rem;
    color: var(--accent);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-content {
    max-width: 600px;
    margin: 0 auto 50px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Google Login Section */
.google-login-section {
    margin: 30px 0;
}

.google-login-section h3 {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Style Nextend Social Login buttons */
.nsl-container {
    display: flex;
    justify-content: center;
}

.nsl-container .nsl-button {
    background: white !important;
    color: #3a2e5a !important;
    border: 2px solid #c5b6e2 !important;
    padding: 16px 32px !important;
    border-radius: 16px !important;
    font-size: 1.1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    min-width: 250px !important;
    justify-content: center !important;
}

.nsl-container .nsl-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    border-color: #9c89cc !important;
}

/* Fallback login */
.fallback-login {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--accent-light);
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fallback-login:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.mystic-decoration {
    margin-top: 60px;
    opacity: 0.7;
}

.mystic-decoration .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    margin: 0 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Logged In State - Full Experience */
.welcome-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.welcome-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.welcome-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--accent-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--accent-light);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 30px;
}

.card-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.card-body {
    padding: 30px;
}

.card-body p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.features {
    list-style-type: none;
    margin: 25px 0;
}

.features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-secondary);
    position: relative;
    padding-left: 35px;
    color: var(--text-secondary);
}

.features li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.features li:last-child {
    border-bottom: none;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(156, 137, 204, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 137, 204, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .welcome-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ==================== MYSTIC INSIGHTS LIFE SPHERE & QUESTION PAGES ==================== */
/* These styles only affect the specific Life Sphere and Question pages */

/* Life Sphere Selection Grid */
.sphere-selection-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 12px !important;
    margin: 2rem 0 !important;
    padding: 0 1rem !important;
}

.sphere-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem 0.8rem !important;
    background: linear-gradient(135deg, #7e57c2, #5e35b1) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(126, 87, 194, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    min-height: 60px !important;
    line-height: 1.3 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.sphere-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(126, 87, 194, 0.4) !important;
    background: linear-gradient(135deg, #8e67d2, #6e45c1) !important;
}

/* Question Selection Grid */
.question-list-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 12px !important;
    margin: 2rem 0 !important;
    padding: 0 1rem !important;
}

.question-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem 0.8rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #3a2e5a !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
    border: 2px solid #e0e0e0 !important;
    min-height: 60px !important;
    line-height: 1.3 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.question-button:hover {
    background: rgba(126, 87, 194, 0.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(126, 87, 194, 0.2) !important;
    border-color: #7e57c2 !important;
}

/* Navigation Buttons for these pages */
.back-button,
.back-home-button {
    display: inline-block !important;
    padding: 0.7rem 1.2rem !important;
    margin: 0.5rem !important;
    background: rgba(126, 87, 194, 0.1) !important;
    color: #7e57c2 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(126, 87, 194, 0.2) !important;
    font-size: 0.85rem !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 500 !important;
}

.back-button:hover,
.back-home-button:hover {
    background: rgba(126, 87, 194, 0.2) !important;
    transform: translateY(-1px) !important;
    border-color: #7e57c2 !important;
}

/* Selected Sphere Display */
.current-selection {
    background: rgba(126, 87, 194, 0.1) !important;
    padding: 0.8rem !important;
    border-radius: 8px !important;
    margin: 1rem 0 !important;
    text-align: center !important;
    border: 2px solid rgba(126, 87, 194, 0.2) !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.selected-sphere-name {
    color: #7e57c2 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

/* Page Titles */
.page-title {
    text-align: center !important;
    color: #3a2e5a !important;
    margin-bottom: 1.5rem !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 600 !important;
}

/* Responsive Design for these specific pages */
@media (max-width: 768px) {
    .sphere-selection-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .sphere-button {
        min-height: 55px !important;
        font-size: 0.9rem !important;
        padding: 0.8rem 0.5rem !important;
    }
    
    .question-list-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .sphere-selection-grid {
        grid-template-columns: 1fr !important;
    }
    
    .sphere-button,
    .question-button {
        padding: 0.8rem !important;
        font-size: 0.9rem !important;
    }
}

/* Support Page Styles */
.support-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.support-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 50px;
}

.support-hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Vision Section */
.vision-section {
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 50px;
}

.vision-section h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2.2em;
}

.vision-section p {
    font-size: 1.1em;
    color: #666;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Costs Grid */
.costs-section {
    margin-bottom: 60px;
}

.costs-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.2em;
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cost-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.cost-item:hover {
    transform: translateY(-5px);
}

.cost-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.cost-item h3 {
    color: #333;
    margin-bottom: 15px;
}

.cost-item p {
    color: #666;
    line-height: 1.5;
}

/* Support Tiers */
.support-options-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 50px 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.support-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.tier {
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tier:hover {
    transform: translateY(-5px);
}

.tier h3 {
    color: #333;
    margin-bottom: 15px;
}

.amount {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    margin: 15px 0;
}

.custom-amount {
    margin-top: 40px;
    padding: 20px;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 60px;
}

.payment-method {
    background: white;
    padding: 30px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.upi-id {
    font-size: 1.5em;
    font-weight: bold;
    color: #667eea;
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    display: inline-block;
}

.qr-placeholder {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

.bank-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 15px;
}

/* Impact Section */
.impact-section {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 15px;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.impact-stat {
    padding: 20px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1em;
    opacity: 0.9;
}

.gratitude {
    max-width: 600px;
    margin: 40px auto 0;
}

/* Responsive */
@media (max-width: 768px) {
    .support-hero h1 {
        font-size: 2em;
    }
    
    .cost-grid {
        grid-template-columns: 1fr;
    }
    
    .support-tiers {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
}
