/* Quantum Harmonic Resonance Framework (QHRF) Website Styles
   Advanced, Professional, Interactive, Animated, Futuristic Design
*/

/* Holographic Atom Container Styles */
.holographic-atom-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: transparent;
    perspective: 1000px;
    z-index: 1;
}
canvas { width: 512px; height: 512px; }
/* Holographic Atom Effect */
.holographic-atom-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 255, 255, 0.2) 50%, rgba(0, 255, 255, 0.1) 100%);
    opacity: 0.3;
    pointer-events: none;
    animation: hologramGlow 5s infinite;
}

@keyframes hologramGlow {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

/* Holographic Grid Effect */
.holographic-atom-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.05) 0%, rgba(0, 255, 255, 0.1) 50%, rgba(0, 255, 255, 0.05) 100%);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
    animation: hologramGrid 10s infinite;
}

@keyframes hologramGrid {
    0% { opacity: 0.1; }
    50% { opacity: 0.3; }
    100% { opacity: 0.1; }
}



/* ===== Base Styles ===== */
:root {
    /* Primary Colors */
    --primary-dark: #0a0a1a;
    --primary-light: #00f5ff;
    --primary-accent: #ff00ff;
    --secondary-accent: #00ff9d;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00f5ff, #0080ff);
    --gradient-secondary: linear-gradient(135deg, #ff00ff, #00ff9d);
    --gradient-background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #16213e 100%);
    
    /* Typography */
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --font-text: 'Roboto', sans-serif;
    
    /* Animations */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-small: 0 5px 15px rgba(0, 245, 255, 0.2);
    --shadow-medium: 0 10px 25px rgba(0, 245, 255, 0.3);
    --shadow-large: 0 20px 50px rgba(0, 245, 255, 0.4);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-text);
    background: var(--gradient-background);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Prevent scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

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

a:hover {
    color: var(--primary-accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

/* ===== Epic Sci-Fi Deep Space Tech Background ===== */
.deep-space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: var(--primary-dark);
}

/* Advanced sci-fi quantum aurora effect - creates an epic atmosphere over the Vanta background */
.aurora-effect {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 245, 255, 0.2) 0%, transparent 75%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 0, 255, 0.2) 0%, transparent 75%),
        radial-gradient(ellipse at 40% 60%, rgba(0, 255, 157, 0.15) 0%, transparent 85%),
        radial-gradient(ellipse at 60% 30%, rgba(0, 128, 255, 0.15) 0%, transparent 85%),
        radial-gradient(ellipse at 50% 50%, rgba(240, 248, 255, 0.1) 0%, transparent 90%);
    filter: blur(45px);
    animation: quantumAuroraFlow 40s infinite alternate;
    mix-blend-mode: screen;
    opacity: 0.85;
}

/* Advanced quantum particle field */
.aurora-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Bright stars */
        radial-gradient(1px 1px at 25% 15%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 35%, rgba(0, 245, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 55%, rgba(255, 0, 255, 0.9) 0%, transparent 100%),
        /* Medium stars */
        radial-gradient(2px 2px at 15% 65%, rgba(0, 255, 157, 0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 35% 85%, rgba(240, 248, 255, 0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 65% 10%, rgba(0, 128, 255, 0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 85% 45%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        /* Larger quantum particles */
        radial-gradient(3px 3px at 10% 20%, rgba(0, 245, 255, 0.6) 0%, transparent 100%),
        radial-gradient(3px 3px at 40% 70%, rgba(255, 0, 255, 0.6) 0%, transparent 100%),
        radial-gradient(3px 3px at 70% 25%, rgba(0, 255, 157, 0.6) 0%, transparent 100%),
        /* Distant galaxy clusters */
        radial-gradient(4px 4px at 5% 80%, rgba(240, 248, 255, 0.4) 0%, transparent 100%),
        radial-gradient(4px 4px at 95% 15%, rgba(199, 21, 133, 0.4) 0%, transparent 100%);
    opacity: 0.5;
    animation: quantumParticleField 20s infinite linear;
    mix-blend-mode: screen;
}

/* Quantum energy beams */
.aurora-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Primary energy beams */
        linear-gradient(45deg, transparent 0%, rgba(0, 245, 255, 0.08) 25%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(255, 0, 255, 0.08) 25%, transparent 50%),
        linear-gradient(225deg, transparent 0%, rgba(0, 255, 157, 0.08) 25%, transparent 50%),
        linear-gradient(315deg, transparent 0%, rgba(0, 128, 255, 0.08) 25%, transparent 50%),
        /* Secondary energy beams */
        linear-gradient(90deg, transparent 0%, rgba(240, 248, 255, 0.05) 15%, transparent 30%),
        linear-gradient(180deg, transparent 0%, rgba(199, 21, 133, 0.05) 15%, transparent 30%),
        linear-gradient(270deg, transparent 0%, rgba(26, 26, 58, 0.05) 15%, transparent 30%),
        linear-gradient(0deg, transparent 0%, rgba(22, 33, 62, 0.05) 15%, transparent 30%);
    animation: quantumEnergyBeams 35s infinite linear;
    mix-blend-mode: screen;
    filter: blur(3px);
}



@keyframes quantumAuroraFlow {
    0% {
        opacity: 0.7;
        background-position: 0% 0%;
        transform: scale(1);
        filter: blur(45px) hue-rotate(0deg);
    }
    20% {
        background-position: 20% 5%;
        filter: blur(50px) hue-rotate(30deg);
    }
    40% {
        opacity: 0.85;
        background-position: 10% 20%;
        transform: scale(1.1);
        filter: blur(55px) hue-rotate(60deg);
    }
    60% {
        background-position: -15% 10%;
        filter: blur(60px) hue-rotate(90deg);
        transform: scale(1.15);
    }
    80% {
        opacity: 0.9;
        background-position: -5% -10%;
        filter: blur(50px) hue-rotate(30deg);
        transform: scale(1.05);
    }
    100% {
        opacity: 0.7;
        background-position: 0% 0%;
        transform: scale(1);
        filter: blur(45px) hue-rotate(0deg);
    }
}

/* Quantum Flow Animation Styles */
.quantum-flow-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(10, 10, 26, 0.4);
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 245, 255, 0.2);
    animation: glow 4s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 25px rgba(0, 245, 255, 0.7), 0 0 40px rgba(255, 0, 255, 0.4);
    }
}

.quantum-flow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@keyframes quantumParticleField {
    0% {
        opacity: 0.4;
        transform: translateZ(0) rotate(0deg);
    }
    25% {
        opacity: 0.6;
        transform: translate3d(10px, -10px, 0) rotate(0.5deg);
    }
    50% {
        opacity: 0.5;
        transform: translate3d(-5px, -15px, 0) rotate(1deg);
    }
    75% {
        opacity: 0.7;
        transform: translate3d(-15px, 5px, 0) rotate(0.5deg);
    }
    100% {
        opacity: 0.4;
        transform: translateZ(0) rotate(0deg);
    }
}

@keyframes quantumEnergyBeams {
    0% {
        transform: rotate(0deg) scale(1.3);
        opacity: 0.6;
        background-position: 0% 0%;
    }
    33% {
        transform: rotate(120deg) scale(1.6);
        opacity: 0.8;
        background-position: 10% 20%;
    }
    66% {
        transform: rotate(240deg) scale(1.4);
        opacity: 0.7;
        background-position: -10% 10%;
    }
    100% {
        transform: rotate(360deg) scale(1.3);
        opacity: 0.6;
        background-position: 0% 0%;
    }
}

@keyframes dustMove {
    0% {
        transform: translate(-10%, -10%) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translate(10%, 10%) rotate(360deg);
        opacity: 0.5;
    }
}

/* Epic Sci-Fi Aurora effect */
.aurora-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.6;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 245, 255, 0.15) 20%, 
        rgba(255, 0, 255, 0.15) 50%, 
        rgba(0, 255, 157, 0.15) 80%, 
        transparent 100%);
    filter: blur(60px);
    transform: skewY(-5deg) translateY(-50%);
    animation: auroraWave 15s infinite alternate;
}

/* Secondary aurora layer for depth */
.aurora-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: linear-gradient(120deg, 
        transparent 0%, 
        rgba(255, 100, 0, 0.1) 15%, 
        rgba(0, 100, 255, 0.1) 45%, 
        rgba(255, 0, 255, 0.1) 75%, 
        transparent 100%);
    filter: blur(80px);
    transform: skewY(10deg);
    animation: secondaryAurora 20s infinite alternate-reverse;
    opacity: 0.4;
}

@keyframes auroraWave {
    0% {
        opacity: 0.4;
        transform: skewY(-5deg) translateY(-50%);
        filter: blur(60px) hue-rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: skewY(-8deg) translateY(-45%);
        filter: blur(80px) hue-rotate(60deg);
    }
    100% {
        opacity: 0.4;
        transform: skewY(-5deg) translateY(-50%);
        filter: blur(60px) hue-rotate(0deg);
    }
}

@keyframes secondaryAurora {
    0% {
        opacity: 0.3;
        transform: skewY(10deg) translateY(5%);
        filter: blur(80px) hue-rotate(0deg);
    }
    50% {
        opacity: 0.5;
        transform: skewY(15deg) translateY(0%);
        filter: blur(100px) hue-rotate(-30deg);
    }
    100% {
        opacity: 0.3;
        transform: skewY(10deg) translateY(5%);
        filter: blur(80px) hue-rotate(0deg);
    }
}

/* Particle styles */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Different particle sizes */
.particle-small {
    filter: blur(1px);
}

.particle-medium {
    filter: blur(2px);
}

.particle-large {
    filter: blur(3px);
}

/* Particle animations */
@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-30px) translateX(-10px);
    }
    75% {
        transform: translateY(-10px) translateX(-20px);
    }
    100% {
        transform: translateY(-25px) translateX(15px);
    }
}

@keyframes particlePulse {
    0% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

/* Energy streams */
.energy-stream {
    position: absolute;
    width: 100%;
    height: 2px;
    left: -100%;
    pointer-events: none;
    z-index: 1;
    animation: streamFlow 15s linear infinite;
}

@keyframes streamFlow {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Digital elements */
.digital-element {
    position: absolute;
    font-family: var(--font-primary);
    pointer-events: none;
    z-index: 1;
    animation: digitalFloat 20s ease-in-out infinite alternate;
}

@keyframes digitalFloat {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-30px) rotate(5deg) scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: translateY(-15px) rotate(-5deg) scale(0.9);
        opacity: 0.2;
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    transition: var(--transition-medium);
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-small);
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
}

/* Cosmic Animation Container */
.planet-atom-container {
    position: absolute;
    top: 80px; /* Position right below the navbar */
    right: 0;
    width: 600px;
    height: 600px;
    z-index: 10;
}

#planetAtomCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* 3D Quantum Atom Container */
.quantum-atom-container {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
    background: rgba(10, 10, 26, 0.2);
    backdrop-filter: blur(5px);
    z-index: 20;
}

.quantum-atom-container canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-light), var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.logo-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.3);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.3; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 30px;
    height: 3px;
    background: var(--primary-light);
    transition: var(--transition-fast);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    box-shadow: var(--shadow-small);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: var(--shadow-small);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary-light), var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Hero Section ===== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 10px rgba(0, 245, 255, 0.3); }
    100% { text-shadow: 0 0 30px rgba(0, 245, 255, 0.7); }
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s 0.5s forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s 0.8s forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 1s 1.1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    position: relative;
    width: 500px;
    height: 500px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s 1.4s forwards;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quantum-hologram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

#hologramCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hologram-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.3) 0%, transparent 70%);
    filter: blur(15px);
    animation: hologramPulse 3s infinite alternate;
    z-index: 1;
}

@keyframes hologramPulse {
    0% { opacity: 0.5; width: 240px; height: 240px; }
    50% { opacity: 0.8; width: 260px; height: 260px; }
    100% { opacity: 0.5; width: 240px; height: 240px; }
}

.hologram-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    animation: hologramRotate 20s linear infinite;
}

@keyframes hologramRotate {
    0% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

.hologram-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: 0 0 15px var(--primary-light);
    opacity: 0.7;
}

.ring-1 {
    width: 150px;
    height: 150px;
    border-top: 2px solid var(--primary-light);
    border-bottom: 2px solid var(--primary-accent);
    animation: ringPulse 4s infinite alternate;
}

.ring-2 {
    width: 220px;
    height: 220px;
    border-left: 2px solid var(--primary-accent);
    border-right: 2px solid var(--primary-light);
    animation: ringPulse 4s 1s infinite alternate;
}

.ring-3 {
    width: 290px;
    height: 290px;
    border-top: 2px solid var(--secondary-accent);
    border-bottom: 2px solid var(--primary-light);
    animation: ringPulse 4s 2s infinite alternate;
}

@keyframes ringPulse {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
}

.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.data-particles::before,
.data-particles::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--primary-light) 1px, transparent 1px),
                      radial-gradient(circle, var(--primary-accent) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    animation: particleFloat 10s linear infinite;
    opacity: 0.3;
}

.data-particles::after {
    background-image: radial-gradient(circle, var(--secondary-accent) 1px, transparent 1px),
                      radial-gradient(circle, var(--primary-light) 1px, transparent 1px);
    animation-direction: reverse;
    animation-duration: 15s;
}

@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-40px); }
}

.hologram-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(0, 245, 255, 0.2), rgba(10, 10, 26, 0.8));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
    z-index: 0;
}

.base-light {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--primary-light), transparent 70%);
    border-radius: 50%;
    filter: blur(5px);
    animation: baseLight 2s infinite alternate;
}

@keyframes baseLight {
    0% { opacity: 0.7; width: 35px; height: 35px; }
    100% { opacity: 1; width: 45px; height: 45px; }
}

/* ===== About Section ===== */
.about-section {
    background: linear-gradient(rgba(10, 10, 26, 0.8), rgba(10, 10, 26, 0.9)), url('../images/quantum-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

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

.about-text {
    flex: 1;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.about-stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    background: linear-gradient(45deg, var(--primary-light), var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-visual {
    flex: 1;
    position: relative;
    height: 400px;
}

.quantum-wave {
    width: 100%;
    height: 100%;
    position: relative;
}

.quantum-wave canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* ===== Features Section ===== */
.features-section {
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.9), rgba(26, 26, 58, 0.9));
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    transform: rotate(45deg);
    z-index: -1;
    transition: var(--transition-slow);
}

.feature-card:hover::before {
    animation: featureScan 1.5s forwards;
}

@keyframes featureScan {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    transition: var(--transition-medium);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--primary-accent);
}

.feature-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ===== Applications Section ===== */
.applications-section {
    background: linear-gradient(rgba(10, 10, 26, 0.9), rgba(10, 10, 26, 0.95)), url('../images/tech-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.applications-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.application-slide {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
}

.application-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.application-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.application-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-medium);
}

.application-slide:hover .application-image img {
    transform: scale(1.05);
}

.application-content {
    flex: 1;
}

.application-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.application-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: var(--primary-light);
    box-shadow: 0 0 10px var(--primary-light);
}

/* ===== Research Section ===== */
.research-section {
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.9), rgba(22, 33, 62, 0.9));
}

.research-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
}

.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.research-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.research-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
}

.research-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-small);
}

.research-date {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.research-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.research-authors {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    font-style: italic;
}

.research-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.research-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-light);
    font-family: var(--font-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}

.research-link:hover {
    color: var(--primary-accent);
}

/* ===== Contact Section ===== */
.contact-section {
    background: linear-gradient(rgba(10, 10, 26, 0.9), rgba(10, 10, 26, 0.95)), url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
}

.contact-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    flex-shrink: 0;
}

.contact-text h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.contact-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-family: var(--font-text);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.form-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.form-group input:focus ~ .form-highlight,
.form-group textarea:focus ~ .form-highlight {
    width: 100%;
}

.form-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
    background: rgba(10, 10, 26, 0.95);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo .logo-text {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links-column {
    min-width: 150px;
}

.footer-links-column h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    position: relative;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links-column a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links-column a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Experimental Results Styles ===== */
.verified-experiment {
    position: relative;
    border-left: 3px solid var(--primary-light);
}

.verified-experiment .research-date {
    color: var(--secondary-accent);
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-experiment .research-date i {
    color: var(--secondary-accent);
}

.verified-experiment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 157, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.verified-experiment:hover::before {
    opacity: 1;
}

.experimental-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-visual {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 0 30px;
    }
    
    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 80px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        width: 350px;
        height: 350px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-visual {
        height: 300px;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition-medium);
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border-bottom: 1px solid rgba(0, 245, 255, 0.2);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-link {
        padding: 12px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .application-slide {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Improve hologram display on mobile */
    .quantum-hologram {
        width: 300px;
        height: 300px;
    }
    
    /* Improve contact form on mobile */
    .contact-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .tabs-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* ===== Quantum Resonance Hologram Styles ===== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 500px;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
    animation: pulse 3s infinite ease-in-out;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--primary-accent);
}

.hero-description {
    font-family: var(--font-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.quantum-resonance-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
    animation: glow-border 4s infinite alternate;
}

.quantum-resonance-container canvas {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}


.xs-font1{
    font-size: 40px;
}

.xs-txt-center{
    text-align: center;
}

@keyframes glow-border {
    0% {
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}
