:root {
    --primary-color: #7B68EE;
    --bg-color: #0A0A0F;
    --text-color: #ffffff;
    --accent-color: #483D8B;
    --glow-color: rgba(123, 104, 238, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.cursor-follower {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}

nav {
    position: fixed;
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 5rem;
    color: var(--primary-color);
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo::before {
    content: '⇴';
    position: absolute;
    animation: rotateLogo 8s ease-in-out infinite;
}

.logo::after {
    content: '✧';
    position: absolute;
    opacity: 0.5;
    animation: mysticalGlow 3s ease-in-out infinite;
}

@keyframes rotateLogo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes mysticalGlow {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(0.9) rotate(0deg); 
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.1) rotate(180deg); 
    }
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('nature-pattern.jpg') center/cover;
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.8;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.principle {
    padding: 2rem 1.5rem;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
    background: linear-gradient(45deg, rgba(10, 10, 15, 0.9), rgba(72, 61, 139, 0.2));
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: 300px;
    max-width: 100%;
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.1);
}

.principle:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 30px rgba(123, 104, 238, 0.2);
}

.principle h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
    padding: 0 0.5rem;
}

.principle p {
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.8;
}

.principle-icon {
    width: 60px;
    height: 60px;
    position: relative;
    margin-bottom: 1rem;
}

.principle-icon::before,
.principle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
}

/* Custom icons for each principle */
.principle:nth-child(1) .principle-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff95' stroke-width='1'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a15 15 0 000 20'/%3E%3C/svg%3E");
}

.principle:nth-child(1) .principle-icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff95' stroke-width='1'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E");
    opacity: 0;
}

.principle:nth-child(2) .principle-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff95' stroke-width='1'%3E%3Cpolygon points='12 2 2 7 12 12 22 7'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E");
}

.principle:nth-child(2) .principle-icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff95' stroke-width='1'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
    opacity: 0;
}

.principle:nth-child(3) .principle-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff95' stroke-width='1'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cline x1='9' y1='9' x2='9.01' y2='9'/%3E%3Cline x1='15' y1='9' x2='15.01' y2='9'/%3E%3C/svg%3E");
}

.principle:nth-child(3) .principle-icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff95' stroke-width='1'%3E%3Cpath d='M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
    opacity: 0;
}

.principle:nth-child(4) .principle-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff95' stroke-width='1'%3E%3Cpath d='M18.364 5.636L5.636 18.364M5.636 5.636l12.728 12.728'/%3E%3C/svg%3E");
}

.principle:nth-child(4) .principle-icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff95' stroke-width='1'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v8M8 12h8M8 16h8'/%3E%3C/svg%3E");
    opacity: 0;
}

.cta-button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--glow-color);
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--accent-color);
}

.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.mystical-text {
    position: relative;
    animation: mysticalPulse 4s ease-in-out infinite;
    text-shadow: 
        0 0 10px var(--glow-color),
        0 0 20px var(--glow-color),
        0 0 30px var(--glow-color),
        0 0 40px var(--primary-color);
}

@keyframes mysticalPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.sacred-geometry {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(30deg, transparent 49.5%, var(--primary-color) 49.5%, var(--primary-color) 50.5%, transparent 50.5%),
        linear-gradient(-30deg, transparent 49.5%, var(--primary-color) 49.5%, var(--primary-color) 50.5%, transparent 50.5%);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: sacredRotate 30s linear infinite;
}

@keyframes sacredRotate {
    0% { transform: perspective(1000px) rotate(0deg) scale(1); }
    50% { transform: perspective(1000px) rotate(180deg) scale(1.5); }
    100% { transform: perspective(1000px) rotate(360deg) scale(1); }
}

.manifesto {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-color);
    backdrop-filter: blur(5px);
}

.typing-text {
    overflow: hidden;
    margin: 0 auto;
    letter-spacing: 0.15em;
    line-height: 1.6;
    word-wrap: break-word;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    text-align: center;
    animation: bounce 2s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin: 1rem auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.cult-description {
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.9;
}

.cult-description p {
    margin: 0.5rem 0;
    font-style: italic;
}

#initiation {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

#initiation p {
    margin: 1rem 0 2rem 0;
    font-size: 1.2rem;
}

/* Add these styles */
.applications-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.application-category {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-color);
    padding: 2rem;
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}

.application-category:hover {
    transform: translateY(-10px);
}

.application-category h3 {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.application-category ul {
    list-style: none;
}

.application-category li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.application-category li::before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    transition: transform 0.3s;
}

.application-category li:hover::before {
    transform: translateX(5px);
}

/* Add a media query for mobile devices */
@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}