/*
Theme Name: Astrobility Main Site
Theme URI: https://astrobility.com
Author: IOMartinC
Description: The final, restored Golden Master theme for the Astrobility Main Site. v51.0 implements the correct, server-side architecture.
Version: 51.0.0
*/

/* === GLOBAL VARIABLES === */
:root {
    --deep-space: #0a0f1c;
    --cosmic-blue: #1e293b;
    --stellar-navy: #334155;
    --gold: #f59e0b;
    --amber: #fbbf24;
    --silver: #94a3b8;
    --pearl: #cbd5e1;
    --white: #f8fafc;
    --green: #10b981;
    --red: #ef4444;
    --purple: #8b5cf6;
    --accent: #667eea;
    --cosmic-gold: #FFD700;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-cosmic: 'Orbitron', monospace;
    
    /* Borders & Gradients */
    --radius-lg: 20px;
    --gradient-cosmic: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

/* === BASE & RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-primary); background: var(--deep-space); color: var(--white); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-sm); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-cosmic); color: var(--white); margin-bottom: var(--space-sm); }
h1 { font-size: 3rem; } h2 { font-size: 2.25rem; } h3 { font-size: 1.75rem; }
.gradient-text { background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.highlight { color: var(--gold); text-shadow: 0 0 20px rgba(245, 158, 11, 0.5); }

/* === BUTTONS & FORMS === */
.cosmic-button, .cta-button { background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%); color: var(--deep-space); border: none; padding: 1rem 2rem; border-radius: var(--radius-lg); font-family: var(--font-cosmic); font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block; text-align: center; }
.cosmic-button:hover, .cta-button:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); }
.cosmic-button.secondary, .cta-button.secondary { background: rgba(255, 255, 255, 0.1); color: var(--cosmic-gold); border: 2px solid var(--cosmic-gold); }
.cosmic-form-container { background: rgba(30, 41, 59, 0.8); backdrop-filter: blur(10px); border: 1px solid rgba(245, 158, 11, 0.2); border-radius: var(--radius-lg); padding: var(--space-xl); max-width: 700px; margin: 0 auto; }
.form-header { text-align: center; margin-bottom: var(--space-lg); }
.form-row { display: flex; gap: var(--space-md); margin-bottom: var(--space-md); }
.form-group { flex: 1; }
.form-group label { display: block; color: var(--silver); margin-bottom: 0.5rem; }
.form-input, .form-group input { width: 100%; padding: var(--space-sm); background: rgba(15, 23, 42, 0.8); border: 2px solid rgba(148, 163, 184, 0.3); border-radius: 8px; color: var(--white); font-size: 1rem; }
.form-input:focus, .form-group input:focus { outline: none; border-color: var(--gold); }
.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === HOMEPAGE & LAYOUT === */
.hero-section { text-align: center; color: var(--white); padding: var(--space-2xl) var(--space-md); }
.cosmic-title { font-size: 4rem; margin-bottom: var(--space-lg); line-height: 1.2; }
.hero-subtitle { font-size: 1.5rem; color: var(--silver); }
.hero-description { font-size: 1.1rem; color: var(--pearl); max-width: 600px; margin: 1rem auto 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: var(--space-xl); color: var(--gold); }
.product-card { background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: var(--radius-lg); padding: var(--space-lg); transition: all 0.3s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* === PROFILE PAGE === */
.cosmic-profile-page { padding: var(--space-xl) 0; }
.profile-header { background: rgba(30, 41, 59, 0.8); backdrop-filter: blur(10px); border: 1px solid rgba(245, 158, 11, 0.2); border-radius: var(--radius-lg); padding: var(--space-xl); margin-bottom: var(--space-xl); text-align: center; }
.profile-name { font-size: 2.5rem; color: var(--gold); }
.birth-details { color: var(--silver); }
.integrated-reading { background: rgba(30, 41, 59, 0.6); border: 1px solid var(--gold); border-radius: var(--radius-lg); padding: var(--space-xl); margin-bottom: var(--space-xl); }
.reading-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-lg); }
.reading-badge { background: var(--gold); color: var(--deep-space); padding: 0.25rem 0.75rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600; }
.reading-content { color: var(--pearl); line-height: 1.8; font-size: 1.1rem; }
.upgrade-options { margin-bottom: var(--space-xl); }
.upgrade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-lg); }
.upgrade-card { background: rgba(30, 41, 59, 0.6); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: var(--radius-lg); padding: var(--space-lg); }
.upgrade-card.available { border-color: var(--gold); }
.card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: var(--space-md); }
.card-icon { font-size: 2rem; }
.card-header h3 { flex: 1; margin: 0; font-size: 1.5rem; }