:root {
    --primary-bg: #0f0c29;
    --secondary-bg: #302b63;
    --accent-gold: #D4AF37;
    --accent-purple: #a445b2;
    --text-white: #ffffff;
    --text-muted: #d1d1d1;
    --glass-bg: rgba(255, 255, 255, 0.05);
    /* Lighter glass */
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-serif: 'Cormorant Garamond', serif;
    --font-heading: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --celestial-gradient: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Effect */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.png') no-repeat center center/cover;
    z-index: -1;
    opacity: 0.6;
}

/* Navigation */
nav {
    padding: 1.5rem 0;
    background: transparent;
    position: absolute;
    width: 100%;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(45deg, var(--accent-gold), #b8860b);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 1rem auto;
}

/* Featured Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
}

.card i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background: var(--secondary-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    max-height: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    background: linear-gradient(to bottom, transparent, rgba(15, 12, 41, 0.8));
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.footer-brand p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-muted);
}

.footer-links h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.disclaimer {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
}

.disclaimer strong {
    color: var(--accent-gold);
}

/* Quiz Styles */
.quiz-container {
    max-width: 700px;
    margin: 10rem auto 4rem;
    padding: 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.progress-container {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 8px;
    background: var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gold);
    width: 0%;
    transition: width 0.5s ease;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-step h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.12);
}

.date-selection-grid {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.date-selection-grid select {
    flex: 1;
    cursor: pointer;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    /* Re-asserting glass for selects */
}

/* Custom dropdown arrow for better aesthetic */
.date-selection-grid select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.quiz-nav {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.quiz-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.quiz-btn-next {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

.quiz-btn-prev {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
}

.quiz-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Pillar Grid Styles */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.pillar-card.selected {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.pillar-card i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: block;
}

.pillar-card span {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

.results-gate-text {
    text-align: center;
    margin-bottom: 2rem;
}

/* Horizontal Pillar Styles */
.pillar-horizontal-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.pillar-horizontal-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.pillar-horizontal-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pillar-horizontal-card.selected {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.15);
}

.pillar-horizontal-card i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 30px;
    text-align: center;
}

.pillar-horizontal-card span {
    font-size: 1rem;
    font-weight: 600;
}

.success-message {
    text-align: center;
    padding: 3rem 1rem;
    animation: fadeIn 0.8s ease;
}

.success-message i {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    display: block;
}

.success-message h2 {
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .pillar-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 0 1rem;
    }

    .quiz-container {
        padding: 2rem 1.5rem;
        margin-top: 8rem;
    }
}