/*
            color palette: #0a0a0a, #1a1a2e, #00ffff, #ff00ff, #33FFFF, #3366FF, #3399FF, #6633FF, #9933FF, #CC33FF, #FF33FF, #FF3399, #FF3366


            rainbow-rings colors:
            Hue ° HSL (hsl(h,100%,60%))	Approx. hex
            180	hsl(180,100%,60%)	#33FFFF	
            195	hsl(195,100%,60%)	#33CCFF	
            210	hsl(210,100%,60%)	#3399FF	
            225	hsl(225,100%,60%)	#3366FF	
            240	hsl(240,100%,60%)	#3333FF	
            255	hsl(255,100%,60%)	#6633FF	
            270	hsl(270,100%,60%)	#9933FF	
            285	hsl(285,100%,60%)	#CC33FF	
            300	hsl(300,100%,60%)	#FF33FF	
            315	hsl(315,100%,60%)	#FF33CC	
            330	hsl(330,100%,60%)	#FF3399	
            345	hsl(345,100%,60%)	#FF3366	

            new color palette: #BCB9AC, #5F8396, #2F4A61, #6F6558, #242527
            new colors:
            180	hsl(180,100%,60%)	#BCB9AC	
            195	hsl(195,100%,60%)	#9AA5A4	
            210	hsl(210,100%,60%)	#78929C	
            225	hsl(225,100%,60%)	#5B7E91	
            240	hsl(240,100%,60%)	#49697E	
            255	hsl(255,100%,60%)	#38546B	
            270	hsl(270,100%,60%)	#3B4F5F	
            285	hsl(285,100%,60%)	#52595C	
            300	hsl(300,100%,60%)	#696359	
            315	hsl(315,100%,60%)	#5B544B	
            330	hsl(330,100%,60%)	#3F3C39	
            345	hsl(345,100%,60%)	#242527	
        */


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

body {
    background: linear-gradient(90deg, #1a1a2e, #242527);
    font-family: "Barlow Condensed", sans-serif;
    overflow-x: hidden;
}

.container {
    height: 500vh;
    position: relative;
}

.lens-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    perspective: 1000px;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.lens {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.rainbow-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
}

.ring-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: 300px 300px;
}

.center-icon {
    position: absolute;
    top: 260px;
    left: 260px;
    width: 80px;
    height: 80px;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 48px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.center-icon.changing {
    transform: scale(0.3) rotate(180deg);
    opacity: 0;
}

.text-content {
    position: relative;
    z-index: 5;
    padding: 100vh 50px;
    color: white;
    text-align: center;
}

.section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    padding: 60px 0;
    margin-bottom: 500px;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 0;
}

.section>* {
    position: relative;
    z-index: 1;
}

/*
        .section:last-child {
            background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
        }
            */

.section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
    background: linear-gradient(180deg, #5B7E91, #2F4A61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.section p {
    font-size: 2rem;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section ul,
ol {
    width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    list-style-type: none;
}

.lists-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.lists-container ul,
ol {
    width: 600px;
    margin: 0;
    flex-shrink: 0;
}

.section ul li,
ol li {
    font-size: 1.8rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-left: 25px;
}

.section ul li strong,
ol li strong {
    color: #5F8396;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.section ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #FF3366;
}

.glow {
    filter: drop-shadow(0 0 10px currentColor) brightness(1.5);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.brand {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(180deg, #5B7E91, #2F4A61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.hero-section {
    padding-top: 100px;
    text-align: center;
    margin-bottom: 20px;
}

.hero-section h2 {
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(180deg, #5B7E91, #2F4A61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    margin: 0;
    padding: 20px 0;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    line-height: 2;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

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

.cta-text-x {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 4rem;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    letter-spacing: 2px;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin: 2rem auto;
    display: block;
    width: max-content;
    transform: scale(1.05);
}

.cta-text:hover,
.cta-text-x:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px currentColor) brightness(1.5);
}

.cta-text,
.cta-text-x {
    will-change: transform, opacity;
}

.cta-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.05);
    z-index: 1001;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 4rem;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    letter-spacing: 2px;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cta-text a,
.cta-text-x a {
    color: white;
    text-decoration: none;
    background: linear-gradient(180deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    display: block;
}

/*
        .cta-text:hover {
            background-color: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.4);
            transform: translate(-50%, -50%) scale(1.05);
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
            filter: drop-shadow(0 0 10px currentColor) brightness(1.5);
        }
        */

.inline-icon {
    display: inline-block;
    vertical-align: middle;
    width: 1.2em;
    height: 1.2em;
    margin: 0 0.3em;
    color: #5F8396;
    stroke-width: 1.5;
}

.inline-icon svg {
    width: 100%;
    height: 100%;
}

/* Shrink the lens to 50 % whenever the viewport is < 400 px wide */
@media (max-width: 400px) {
    #hero {
        width: 320px;
        height: 320px;
    }

    .text-content {
        position: relative;
        z-index: 5;
        padding: 0;
        color: white;
        text-align: center;
    }

    .section {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .section h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        opacity: 0.8;
        background: linear-gradient(180deg, #5B7E91, #2F4A61);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    }

    .section p {
        font-size: 1.5rem;
        line-height: 1.5;
        max-width: 300px;
        margin: 0 auto;
        padding: 0 10px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .section ul,
    ol {
        max-width: 300px;
        margin: 0 auto;
        padding: 0 10px;
        list-style-type: none;
    }

    .section ul li,
    ol li {
        font-size: 1.5rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 15px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        position: relative;
        padding-left: 15px;
    }

    .section ul li strong,
    ol li strong {
        color: #5F8396;
        font-weight: 600;
        display: block;
        margin-bottom: 5px;
    }

    .section:last-child {
        margin-bottom: 500px;
    }

    .lists-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .lists-container ul,
    ol {
        width: 100%;
        max-width: 300px;
    }
}