/* Base Styles */
:root {
    --primary-color: #8a2be2;
    --secondary-color: #00bfff;
    --accent-color: #ff1493;
    --dark-bg: #0a0a1a;
    --light-text: #f0f8ff;
    --card-bg: rgba(20, 20, 40, 0.7);
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border: none;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(138, 43, 226, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.divider {
    width: 80px;
    margin: 0 auto;
    position: relative;
    height: 4px;
}

.divider span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    position: relative;
}

.divider span:before, .divider span:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    top: 50%;
    transform: translateY(-50%);
}

.divider span:before {
    left: -15px;
}

.divider span:after {
    right: -15px;
}

/* Background Effects */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.stars {
    background: #000 url('https://i.imgur.com/YKY28eT.png') repeat top center;
}

.twinkling {
    background: transparent url('https://i.imgur.com/XYMF4ca.png') repeat top center;
    animation: move-twink-back 200s linear infinite;
}

@keyframes move-twink-back {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 26, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
}

.main-nav {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.main-nav a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.sacred-geometry {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

.geometry-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('https://i.imgur.com/JQpxPtD.png') no-repeat center center;
    background-size: contain;
    animation: rotate 120s linear infinite;
}

@keyframes rotate {
    from {transform: translate(-50%, -50%) rotate(0deg);}
    to {transform: translate(-50%, -50%) rotate(360deg);}
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quantum-sphere {
    position: relative;
    width: 300px;
    height: 300px;
}

.sphere-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 30% 30%, var(--primary-color), var(--dark-bg));
    border-radius: 50%;
    box-shadow: 0 0 30px var(--primary-color);
    animation: pulse 4s ease-in-out infinite alternate;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.orbit-1 {
    width: 150px;
    height: 150px;
    animation: rotate-orbit 15s linear infinite;
}

.orbit-2 {
    width: 200px;
    height: 200px;
    animation: rotate-orbit 25s linear infinite reverse;
}

.orbit-3 {
    width: 250px;
    height: 250px;
    animation: rotate-orbit 35s linear infinite;
}

.particle {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.particle-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit-particle-1 15s linear infinite;
}

.particle-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    animation: orbit-particle-2 25s linear infinite reverse;
}

.particle-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit-particle-3 35s linear infinite;
}

@keyframes pulse {
    0% {transform: translate(-50%, -50%) scale(1); opacity: 0.8;}
    100% {transform: translate(-50%, -50%) scale(1.1); opacity: 1;}
}

@keyframes rotate-orbit {
    from {transform: translate(-50%, -50%) rotate(0deg);}
    to {transform: translate(-50%, -50%) rotate(360deg);}
}

@keyframes orbit-particle-1 {
    0% {top: 0; left: 50%; transform: translateX(-50%);}
    25% {top: 50%; left: 100%; transform: translate(-50%, -50%);}
    50% {top: 100%; left: 50%; transform: translate(-50%, -50%);}
    75% {top: 50%; left: 0; transform: translate(0, -50%);}
    100% {top: 0; left: 50%; transform: translateX(-50%);}
}

@keyframes orbit-particle-2 {
    0% {top: 50%; right: 0; transform: translateY(-50%);}
    25% {top: 0; right: 50%; transform: translateX(50%);}
    50% {top: 50%; right: 100%; transform: translate(50%, -50%);}
    75% {top: 100%; right: 50%; transform: translate(50%, -50%);}
    100% {top: 50%; right: 0; transform: translateY(-50%);}
}

@keyframes orbit-particle-3 {
    0% {bottom: 0; left: 50%; transform: translateX(-50%);}
    25% {bottom: 50%; left: 0; transform: translateY(50%);}
    50% {bottom: 100%; left: 50%; transform: translate(-50%, 50%);}
    75% {bottom: 50%; left: 100%; transform: translate(-50%, 50%);}
    100% {bottom: 0; left: 50%; transform: translateX(-50%);}
}

/* Quantum Blueprint Section */
.quantum-blueprint {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--dark-bg), rgba(20, 20, 40, 0.9));
    position: relative;
}

.blueprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.blueprint-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.blueprint-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.blueprint-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.blueprint-card:hover:before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.blueprint-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Possibilities Section */
.possibilities {
    padding: 100px 0;
    position: relative;
}

.possibilities-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.possibility-item {
    padding: 20px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.possibility-item:hover {
    transform: translateX(10px);
    border-left-color: var(--secondary-color);
}

.possibility-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Journey Section */
.journey {
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(20, 20, 40, 0.9), var(--dark-bg));
    position: relative;
}

.journey-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}

.journey-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.journey-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
    position: relative;
}

.journey-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.journey-cta {
    text-align: center;
    margin-top: 30px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    position: relative;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background: var(--card-bg);
    transition: var(--transition);
    min-width: 150px;
}

.contact-link:hover {
    transform: translateY(-10px);
    background: rgba(40, 40, 80, 0.7);
}

.contact-link i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Footer */
footer {
    padding: 50px 0 20px;
    background: rgba(5, 5, 15, 0.9);
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .journey-steps:before {
        display: none;
    }
    
    .journey-step {
        margin-bottom: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 26, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .blueprint-grid, .possibilities-content {
        grid-template-columns: 1fr;
    }
    
    .journey-steps {
        flex-direction: column;
    }
    
    .journey-step {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 100%;
    }
}
