:root {
    --deep-space: #0a0614;
    --mystic-purple: #9b6bff;
    --ethereal-blue: #4FA4B8;
    --star-white: #f0f0ff;
    --cosmic-accent: #ff3d87;
    --card-bg: rgba(155, 107, 255, 0.05);
    --glass-effect: rgba(240, 240, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--deep-space);
    color: var(--star-white);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
header {
    position: fixed;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(to bottom, rgba(10, 6, 20, 0.9) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    gap: 2rem;
}

.mystic-symbol {
    font-size: 3.5rem;
    color: var(--mystic-purple);
    text-shadow: 0 0 15px var(--mystic-purple);
}

nav a {
    color: var(--star-white);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--cosmic-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.sacred-geometry {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(30deg, transparent 49.5%, var(--glass-effect) 49.5%, transparent 50.5%),
        linear-gradient(-30deg, transparent 49.5%, var(--glass-effect) 49.5%, transparent 50.5%);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: rotate 60s linear infinite;
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--mystic-purple), var(--ethereal-blue));
    -webkit-background-clip: text;
    color: transparent;
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--cosmic-accent);
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

/* Cards and Grids */
.belief-cards, .level-grid, .research-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.card, .level, .research-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-effect);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover, .level:hover, .research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(155, 107, 255, 0.1);
}

/* Practice Wheel */
.practice-wheel {
    width: min(600px, 90vw);
    height: min(600px, 90vw);
    margin: 4rem auto;
    position: relative;
    border: 1px solid var(--glass-effect);
    border-radius: 50%;
    animation: rotateWheel 60s linear infinite;
}

/* Animations */
@keyframes rotate {
    to { transform: rotate(360deg); }
}

@keyframes rotateWheel {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .belief-cards, .level-grid, .research-areas {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
}

/* Section Styles */
section {
    padding: 6rem 2rem;
}

h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    color: var(--star-white);
}

/* Footer */
footer {
    background: linear-gradient(to top, var(--deep-space) 0%, transparent 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.card-symbol {
    font-size: 4rem;
    color: var(--mystic-purple);
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    text-shadow: 0 0 15px var(--mystic-purple);
}

/* Add hover effect to symbols */
.card:hover .card-symbol {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.practice-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-effect);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.practice-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--glass-effect), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.practice-item:hover::before {
    transform: translateX(100%);
}

.practice-symbol {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--mystic-purple);
}

.practice-text {
    font-size: 1.2rem;
    color: var(--star-white);
}

.cult-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--mystic-purple);
    color: var(--star-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-effect);
}

.cult-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--mystic-purple);
}

/* Practices Roadmap */
.practices-roadmap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Central line */
.practices-roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--mystic-purple),
        var(--ethereal-blue),
        transparent
    );
    transform: translateX(-50%);
}

.practice-node {
    position: relative;
    margin: 4rem 0;
    width: 100%;
}

/* Glowing dots at each node */
.practice-node::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--mystic-purple);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--mystic-purple);
    z-index: 1;
}

.node-content {
    width: 45%;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-effect);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Position content alternately left and right */
.node-content.left {
    margin-right: auto;
}

.node-content.right {
    margin-left: auto;
}

/* Connecting lines from central line to content */
.node-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: var(--mystic-purple);
}

.node-content.left::before {
    right: -50px;
}

.node-content.right::before {
    left: -50px;
}

.practice-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: pulseGlow 2s infinite;
}

.node-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(155, 107, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

/* Add these styles for the animated icons */
.card-symbol {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.card-symbol svg {
    width: 100%;
    height: 100%;
}

.card-symbol svg path {
    stroke: var(--mystic-purple);
    stroke-width: 2;
    fill: none;
}

.practice-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.practice-icon canvas {
    width: 100%;
    height: 100%;
}