/* =============================================
   Performance Optimizations (Added for Speed)
   ============================================= */
   
/* Enable hardware acceleration for smoother animations */
* {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Optimize will-change for animated elements */
.hero-logo::before,
.divider-logo::before,
.concept-item,
.floating-coin,
.status-badge,
.main-cta {
    will-change: transform, opacity;
}

/* Reduce animation complexity on lower-end devices */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.1s !important;
        transition-duration: 0.1s !important;
    }
    
    /* Disable resource-heavy animations */
    .hero-logo::before,
    .divider-logo::before,
    .cta-logo::before,
    body::before,
    body::after,
    .neural-overlay {
        animation: none !important;
        display: none !important;
    }
}

/* Optimize images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* End Performance Optimizations --------------------------------- */

/* =============================================
   Spacing & Layout Cleanup Overrides (June 2025)
   ---------------------------------------------
   This block introduces global spacing variables
   and unifies vertical rhythm across the site
   without touching the original styles above.
   ============================================= */
:root {
    /* Master vertical spacing units */
    --space-section-desktop: 6rem; /* 96px */
    --space-section-mobile: 4rem;  /* 64px */
    --space-inline: 2rem;          /* Generic horizontal padding */
}

/* Unified section padding */
.content-section,
.cta-section,
#hero {
    padding-top: var(--space-section-desktop);
    padding-bottom: var(--space-section-desktop);
    padding-left: var(--space-inline);
    padding-right: var(--space-inline);
}

/* Ensure hero looks tighter on first view */
#hero {
    padding-top: calc(var(--space-section-desktop) + 2rem);
}

/* Consistent margin around the decorative divider */
.section-divider {
    margin-top: var(--space-section-desktop);
    margin-bottom: var(--space-section-desktop);
}

/* Harmonise heading spacing inside any general section */
.content-section h2,
.cta-section h2,
#hero .title-group {
    margin-top: 0;
    margin-bottom: 2.5rem; /* Same rhythm for headings */
}

/* Text paragraph tweaks for better readability */
.content-section p,
.cta-section p,
#hero .text-panel p {
    margin-bottom: 1.5rem;
}

/* Divider visuals refined: thinner lines on mobile */
.divider-line {
    height: 1px;
}

@media (max-width: 768px) {
    .content-section,
    .cta-section,
    #hero {
        padding-top: var(--space-section-mobile);
        padding-bottom: var(--space-section-mobile);
    }
    .section-divider {
        margin-top: var(--space-section-mobile);
        margin-bottom: var(--space-section-mobile);
    }
}

/* End Spacing & Layout Cleanup --------------------------------- */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1C2541; /* Darker shade from initial contrast improvement */
    color: #F0F0F0; /* Main Text Color: Light Grey/White */
    line-height: 1.8; /* Slightly increased line height for readability */
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
    position: relative;
}

/* Neural Network Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: #1C2541;
    opacity: 0.8;
    pointer-events: none;
    background-image: 
        radial-gradient(rgba(137, 166, 212, 0.3) 2px, transparent 2px),
        radial-gradient(rgba(70, 170, 225, 0.2) 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9;
    background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px
        );
    animation: neural-pulse 8s infinite ease-in-out;
    pointer-events: none;
}

/* Neural network node connections */
.neural-connections {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -8;
    pointer-events: none;
    background-image: 
        linear-gradient(90deg, transparent 95%, rgba(137, 166, 212, 0.1) 50%),
        linear-gradient(transparent 95%, rgba(70, 170, 225, 0.1) 50%);
    background-size: 30px 30px;
}

@keyframes neural-pulse {
    0%, 100% {
        opacity: 0.5;
        background-size: 100px 100px;
    }
    50% {
        opacity: 0.8;
        background-size: 120px 120px;
    }
}

/* Neural network animated connections */
@keyframes neural-flow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }
    100% {
        background-position: 100px 100px, 200px 200px, -100px 100px;
    }
}

body .neural-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -7;
    pointer-events: none;
    background-image: 
        linear-gradient(45deg, transparent 98%, rgba(0, 255, 255, 0.15) 99%),
        linear-gradient(-45deg, transparent 98%, rgba(137, 166, 212, 0.1) 99%),
        linear-gradient(135deg, transparent 98%, rgba(70, 170, 225, 0.05) 99%);
    background-size: 60px 60px, 50px 50px, 70px 70px;
    animation: neural-flow 30s infinite linear;
    opacity: 0.7;
}

header {
    background-color: rgba(28, 37, 65, 0.85); /* Slightly transparent version of primary background */
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(137, 166, 212, 0.4); /* Lighter Blue Accent Glow */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.logo img#logo-img {
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
    padding: 0; /* Removed padding since the logo already has the right shape */
    background: none; /* Removed background color since the logo has its own */
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.5)); /* Added cyan glow effect */
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #89A6D4; /* Lighter Blue Accent */
    text-shadow: 0 0 10px #89A6D4, 0 0 15px #89A6D4;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px; /* Increased spacing */
}

.nav-links a {
    color: #F0F0F0;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #89A6D4; /* Lighter Blue Accent */
    color: #FFFFFF; 
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.cta-button-nav {
    background-color: #89A6D4; /* Lighter Blue Accent */
    color: #FFFFFF; 
    padding: 0.6rem 1.2rem !important;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button-nav:hover {
    background-color: #6082B6 !important; /* Previous primary, now darker hover */
    color: #FFFFFF !important;
    transform: scale(1.05);
    box-shadow: 0 0 15px #89A6D4;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 2rem 6rem; /* Increased top and bottom padding */
    position: relative;
    background-color: #1C2541; /* Fallback, Vanta will overlay this */
    overflow: visible; /* Changed from hidden to allow glow to extend downwards */
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0; /* At the very bottom of the hero section */
    left: 0;
    width: 100%;
    height: 2px; /* Height of the line itself */
    background-color: rgba(70, 170, 225, 0.6); /* Slightly more opaque line */
    /* Initial box-shadow state */
    box-shadow: 0 3px 12px 1px rgba(70, 170, 225, 0.75),  
                0 12px 30px 8px rgba(70, 170, 225, 0.45), 
                0 25px 60px 15px rgba(70, 170, 225, 0.25);
    z-index: -1; /* Keep behind parent's content (like Vanta canvas) */
    animation: glow-pulse 3s ease-in-out infinite;
}

/* #particle-canvas div is no longer used for our custom particles 
   Vanta will attach to #hero or its own canvas. Styles for it can be removed or ignored. */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px; /* Increased max width for better use of space */
    width: 100%;
    background-color: rgba(28, 37, 65, 0.75);
    padding: 5rem 4rem 4rem; /* Increased top padding */
    border-radius: 20px; /* Slightly more rounded */
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.5); /* Enhanced shadow */
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px); /* Added backdrop blur for modern feel */
}

.hero-logo {
    margin: 0 auto 3rem; /* Increased bottom margin */
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(
        circle,
        rgba(0, 255, 255, 0.4) 0%,
        rgba(137, 166, 212, 0.2) 40%,
        rgba(28, 37, 65, 0) 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: hero-glow-pulse 5s ease-in-out infinite;
}

.hero-logo-img {
    height: 120px;
    border-radius: 50%;
    filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.7));
    position: relative;
    z-index: 1;
}

@keyframes hero-glow-pulse {
    0% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.4);
    }
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
}

.hero-content .title-group {
    margin-bottom: 4rem; /* Increased spacing after titles */
}

/* Enhanced styles for the text panel */
.hero-content .text-panel {
    background: rgba(70, 170, 225, 0.08); /* Slightly lighter background */
    border: 1px solid rgba(70, 170, 225, 0.25); /* More visible border */
    border-radius: 16px; /* More rounded corners */
    padding: 3rem 3rem; /* Increased padding for more breathing room */
    margin: 0 auto 4rem; /* Increased bottom margin */
    width: 100%;
    max-width: 950px; /* Slightly wider max width */
    backdrop-filter: blur(8px); /* Enhanced blur effect */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3), /* Deeper shadow */
        inset 0 0 60px rgba(70, 170, 225, 0.08); /* Subtle inner glow */
    position: relative;
}

/* Add a subtle animated border effect */
.hero-content .text-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(70, 170, 225, 0.3), rgba(137, 166, 212, 0.2), rgba(70, 170, 225, 0.3));
    border-radius: 16px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.6;
    animation: border-flow 8s linear infinite;
}

@keyframes border-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content .text-panel p {
    margin: 0;
    padding: 0;
    text-align: center;
}

.hero-content .text-panel p:first-child {
    font-size: 1.5rem; /* Slightly larger font */
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem; /* Increased spacing between paragraphs */
    font-weight: 300;
    letter-spacing: 0.03em; /* Slightly more letter spacing */
    line-height: 1.6; /* Better line height */
}

.hero-content .text-panel p:last-child {
    font-size: 1.3rem; /* Slightly larger font */
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.02em; /* Better letter spacing */
}

/* Update button spacing and styling */
.hero-content .cta-buttons {
    margin-top: 0; /* Remove extra margin since text panel now has bottom margin */
    display: flex;
    gap: 1.5rem; /* Increased gap between buttons */
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.hero-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.4rem; /* Slightly larger */
    margin: 0;
    color: #FFFFFF;
    text-shadow: 0 0 10px #89A6D4, 0 0 18px #89A6D4, 0 0 3px #FFFFFF;
    animation: pulse-glow 2s infinite alternate;
    line-height: 1.3; /* Improved line height */
}

/* Add specific styling for REALITY and VALUE */
.hero-content h2:first-of-type span {
    color: rgba(255, 215, 0, 0.85); /* Softer yellow with opacity */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 18px rgba(255, 215, 0, 0.4), 0 0 3px rgba(255, 255, 255, 0.5);
}

.hero-content h2:nth-of-type(2) span {
    color: rgba(0, 255, 0, 0.75); /* Softer green with opacity */
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5), 0 0 18px rgba(0, 255, 0, 0.3), 0 0 3px rgba(255, 255, 255, 0.5);
}

.hero-content h2 + h2 {
    margin-top: 0.8rem; /* Slightly more space between the two headings */
}

/* Improved button styles */
.cta-button, .cta-button-secondary {
    padding: 1rem 2.5rem; /* Increased padding */
    font-size: 1.1rem; /* Slightly larger font */
    border-radius: 30px; /* More rounded */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button {
    background: linear-gradient(135deg, #89A6D4 0%, #6082B6 100%);
    color: #FFFFFF;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: linear-gradient(135deg, #6082B6 0%, #89A6D4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(137, 166, 212, 0.4);
}

.cta-button-secondary {
    background: transparent;
    color: #89A6D4;
    border: 2px solid #89A6D4;
}

.cta-button-secondary:hover {
    background: rgba(137, 166, 212, 0.1);
    color: #AEC9E8;
    border-color: #AEC9E8;
    transform: translateY(-2px);
}

/* Responsive improvements */
@media (max-width: 768px) {
    #hero {
        padding: 8rem 1.5rem 4rem;
    }
    
    .hero-content {
        padding: 3rem 2rem 2.5rem;
        max-width: 95%;
    }
    
    .hero-content .text-panel {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content .text-panel p:first-child {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .text-panel p:last-child {
        font-size: 1.1rem;
    }
    
    .hero-content .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button, .cta-button-secondary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
}

/* Section Dividers */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    max-width: 900px;
    padding: 0 20px;
}

.divider-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(
        to var(--direction, right),
        transparent,
        rgba(137, 166, 212, 0.7) 50%,
        rgba(0, 255, 255, 0.4) 100%
    );
}

.divider-line:first-child {
    --direction: right;
}

.divider-line:last-child {
    --direction: left;
}

.divider-logo {
    margin: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(
        circle,
        rgba(0, 255, 255, 0.2) 0%,
        rgba(28, 37, 65, 0) 70%
    );
    border-radius: 50%;
    padding: 10px;
    position: relative;
    z-index: 1;
}

.divider-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(
        circle,
        rgba(0, 255, 255, 0.4) 0%,
        rgba(137, 166, 212, 0.2) 50%,
        rgba(28, 37, 65, 0) 80%
    );
    border-radius: 50%;
    z-index: -1;
    animation: fluid-pulse 4s ease-in-out infinite;
}

.divider-logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
    position: relative;
    z-index: 2;
}

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

/* General Content Sections */
.content-section {
    padding: 80px 4rem 80px;
    max-width: 1200px;
    margin: 0 auto; /* Changed from 50px auto to work with dividers */
    text-align: center;
    background: linear-gradient(to bottom, #1C2541 0%, #0A0F1A 100%);
    border-radius: 25px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(137, 166, 212, 0.2);
}

.content-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background-image: url('images/qfn_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.content-section:last-of-type {
    border-bottom: none;
    padding-bottom: 80px; /* Adjusted space at the very bottom */
    margin-bottom: 40px; /* Consistent bottom margin */
}

.content-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem; /* Slightly larger main heading */
    color: #AEC9E8; /* Brighter heading color */
    margin-bottom: 2.5rem; /* Increased space after heading */
    text-shadow: 0 0 12px #AEC9E8, 0 0 20px #AEC9E8; /* Enhanced glow */
    line-height: 1.4; /* Ensure multiline heading looks good */
}

.content-section h2 em {
    font-style: normal; /* Remove default italic */
    font-weight: 400; /* Lighter weight for the subtitle part */
    color: #89A6D4; /* Subtler color for subtitle part */
    display: block; /* Make it a new line */
    font-size: 2rem; /* Smaller font size for subtitle part */
    margin-top: 0.5rem;
}

.content-section p {
    font-size: 1.2rem; /* Standardized paragraph font size */
    color: #D0D0D0;
    margin-bottom: 1.75rem; /* Consistent paragraph spacing */
    max-width: 850px; /* Wider max-width for readability */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.content-section p strong {
    color: #F0F0F0; /* Brighter color for strong text */
    font-weight: 700;
}

.content-section p em {
    color: #AEC9E8;
    font-style: italic;
}

/* Specific adjustments for #concepts section paragraphs */
#concepts p {
    margin-bottom: 2rem; /* More space for intro paragraphs */
}

#concepts p:nth-of-type(2) { /* Second paragraph before grid */
    margin-bottom: 3rem; /* More space before grid */
    font-size: 1.25rem;
    color: #E0E0E0;
}

#concepts .final-summary {
    margin-top: 3rem; /* More space before the final paragraph */
    font-style: normal; /* Remove previous italic */
    font-size: 1.25rem; /* Slightly larger */
    color: #AEC9E8; /* Lighter blue for emphasis */
    padding: 1.5rem;
    background-color: rgba(58, 80, 107, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(137, 166, 212, 0.25);
    max-width: 900px;
}

#concepts .final-summary strong {
    color: #FFFFFF; /* White for strong in summary */
}

#concepts .final-summary em {
    color: #D0D0D0; /* Slightly less bright for em in summary */
    font-style: italic;
}

/* Yellow highlight style */
.highlight-yellow {
    color: rgba(255, 215, 0, 0.9); /* Slightly brighter and more opaque yellow */
    text-shadow:
        0 0 8px rgba(255, 215, 0, 0.7),
        0 0 15px rgba(255, 215, 0, 0.5),
        0 0 2px rgba(255, 255, 255, 0.5); /* Subtle white inner glow */
    font-weight: 600; /* Slightly bolder */
}

/* Ensure highlight works well within strong tags */
strong > .highlight-yellow {
    font-weight: 700; /* Inherit or match strong tag's boldness */
}

/* Adjustments for highlight within final summary paragraph */
#concepts .final-summary .highlight-yellow {
    color: rgba(255, 223, 50, 0.95); /* Slightly adjusted yellow for the panel background */
    text-shadow:
        0 0 8px rgba(255, 223, 50, 0.7),
        0 0 15px rgba(255, 223, 50, 0.5);
}

#concepts .final-summary strong > .highlight-yellow {
    color: rgba(255, 223, 50, 0.95); /* Ensure consistency in summary */
}

/* Concept Grid */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Slightly wider minmax */
    gap: 2.5rem; /* Adjusted gap */
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.concept-item {
    background-color: rgba(45, 58, 88, 0.7); /* Darker, more defined panel */
    padding: 2.5rem; /* More internal padding */
    border-radius: 20px; /* Softer corners */
    border: 1px solid rgba(137, 166, 212, 0.35); /* Stronger border */
    box-shadow: 0 8px 25px rgba(137, 166, 212, 0.1), inset 0 0 15px rgba(137, 166, 212, 0.1); /* Inner/outer shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation-fill-mode: forwards;
}

.concept-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 35px rgba(137, 166, 212, 0.2), inset 0 0 20px rgba(137, 166, 212, 0.15);
    border-color: rgba(137, 166, 212, 0.6);
}

/* Staggered animation for concept items */
.concept-item:nth-child(1) {
    animation-name: fadeInSlideUp;
    animation-duration: 0.6s;
    animation-delay: 0.2s; 
}
.concept-item:nth-child(2) {
    animation-name: fadeInSlideUp;
    animation-duration: 0.6s;
    animation-delay: 0.4s;
}
.concept-item:nth-child(3) {
    animation-name: fadeInSlideUp;
    animation-duration: 0.6s;
    animation-delay: 0.6s;
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.concept-item h3 {
    font-family: 'Orbitron', sans-serif;
    color: #AEC9E8; /* Brighter subheading */
    margin-bottom: 1.5rem; /* More space below card title */
    font-size: 1.75rem; /* Larger card title */
    text-shadow: 0 0 5px #AEC9E8;
}

.concept-item p {
    font-size: 1.1rem; /* Slightly larger text in cards */
    line-height: 1.7;
    color: #D0D0D0;
    margin-bottom: 0;
}

.concept-item p strong {
    color: #FFFFFF; /* White for strong in cards */
}

.concept-item p em {
    color: #AEC9E8;
}

/* Added styling for lists within concept items */
.concept-item ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.concept-item li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.65rem;
    color: #C0C0C0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.concept-item li::before {
    content: '🔹 ';
    position: absolute;
    left: 0;
    top: 0;
    color: #89A6D4;
    font-weight: bold;
}

/* Mechanics Section */
.fees-info {
    background-color: rgba(58, 80, 107, 0.4); /* Secondary Background, translucent */
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem auto;
    max-width: 600px;
    border: 1px solid rgba(137, 166, 212, 0.25);
}

.fees-info ul {
    list-style: none;
    padding: 0;
}

.fees-info li {
    margin-bottom: 0.5rem;
    color: #D0D0D0;
}

.fees-info li::before {
    content: '🔹 '; /* Blue diamond/bullet */
    color: #89A6D4; /* Lighter Blue Accent */
    font-weight: bold;
}

/* Roadmap Grid */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem; /* Slightly increased gap */
    margin-top: 3rem; /* More space above grids */
    text-align: left;
}

.roadmap-item {
    background-color: rgba(58, 80, 107, 0.55);
    padding: 2rem; /* Increased internal padding for cards */
    border-radius: 12px;
    border: 1px solid rgba(137, 166, 212, 0.3);
    position: relative;
}

.roadmap-item h3 {
    font-family: 'Orbitron', sans-serif;
    color: #89A6D4; /* Lighter Blue Accent */
    margin-bottom: 1.25rem; /* Space below card title */
    border-bottom: 1px solid rgba(137, 166, 212, 0.4);
    padding-bottom: 0.5rem;
}

.roadmap-item ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem; /* Space before list items */
}

.roadmap-item li {
    margin-bottom: 0.8rem; /* Spacing between list items */
    color: #C0C0C0;
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px; /* Adjusted for wider icon */
}

.roadmap-item li::before {
    content: '💠 '; /* Diamond/crystal icon */
    position: absolute;
    left: 0;
    top: 0;
    color: #89A6D4; /* Lighter Blue Accent */
}

/* CTA Section - Investment */
.cta-section {
    background: linear-gradient(135deg, #1C2541 0%, #0A0F1A 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-logo {
    margin: 1rem auto 2rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.cta-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(
        circle,
        rgba(0, 255, 255, 0.4) 0%,
        rgba(137, 166, 212, 0.2) 40%,
        rgba(28, 37, 65, 0) 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: cta-glow-pulse 6s ease-in-out infinite;
}

.cta-logo-img {
    height: 100px;
    border-radius: 50%;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
    position: relative;
    z-index: 1;
}

@keyframes cta-glow-pulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
}

.cta-section h2 {
    color: #AEC9E8;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px #AEC9E8, 0 0 20px #AEC9E8;
}

.cta-section p {
    margin-bottom: 2rem; /* More space before form */
}

.investment-form {
    max-width: 500px;
    margin: 1.5rem auto 0;
    background-color: rgba(28, 37, 65, 0.75);
    padding: 2.5rem; /* More padding in form box */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(137, 166, 212, 0.25);
}

.investment-form input[type="email"] {
    width: calc(100% - 22px); /* Full width minus padding and border */
    padding: 0.9rem 12px; /* Slightly taller input */
    margin-bottom: 1.5rem; /* More space below input */
    border-radius: 5px;
    border: 1px solid #89A6D4;
    background-color: #1C2541;
    color: #F0F0F0;
    font-size: 1rem;
}

.investment-form input[type="email"]::placeholder {
    color: #8892b0; /* Lighter placeholder for dark input */
}

#form-message {
    margin-top: 1rem;
    font-weight: bold;
    /* Color will be set by JS */
}

/* Footer */
footer {
    background-color: rgba(28, 37, 65, 0.95);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(137, 166, 212, 0.4);
    box-shadow: 0 -2px 10px rgba(137, 166, 212, 0.25);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.5));
}

.social-links a {
    color: #89A6D4;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.social-links a:hover {
    color: #AEC9E8; /* Even Lighter blue on hover */
    text-shadow: 0 0 5px #AEC9E8;
}

/* Keyframe Animations */
@keyframes pulse-glow {
    from {
        text-shadow: 0 0 8px #89A6D4, 0 0 12px #89A6D4, 0 0 2px #FFFFFF;
    }
    to {
        text-shadow: 0 0 12px #89A6D4, 0 0 20px #89A6D4, 0 0 4px #FFFFFF, 0 0 6px rgba(137, 166, 212, 0.5);
    }
}

/* New animation for the hero bottom glow */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 3px 12px 1px rgba(70, 170, 225, 0.75),  
                    0 12px 30px 8px rgba(70, 170, 225, 0.45), 
                    0 25px 60px 15px rgba(70, 170, 225, 0.25);
    }
    50% {
        box-shadow: 0 4px 16px 2px rgba(70, 170, 225, 0.85), /* Slightly expanded and brighter */
                    0 15px 38px 10px rgba(70, 170, 225, 0.55), 
                    0 30px 70px 18px rgba(70, 170, 225, 0.35);
    }
}

/* New animations for section backgrounds - Re-adding these */
@keyframes quantum-foam-bubble {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.7; transform: scale(1.1) rotate(5deg); }
}

@keyframes slow-pan-grid {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

@keyframes data-stream-flow {
    0% { background-position: 0 0; transform: skewX(0deg); opacity: 0.5; }
    50% { background-position: -80px 80px; transform: skewX(-1.5deg); opacity: 0.7; }
    100% { background-position: -160px 0px; transform: skewX(0deg); opacity: 0.5; }
}

/* Mobile Performance Optimizations - Reduce animations for better performance */
@media (max-width: 768px) {
    /* Disable heavy background animations on mobile */
    body::before,
    body::after,
    .neural-overlay,
    .neural-connections {
        display: none !important;
    }

    /* Simplify animations for mobile */
    .hero-logo::before,
    .divider-logo::before,
    .cta-logo::before {
        animation: none !important;
    }

    /* Reduce glow effects on mobile */
    .logo img#logo-img,
    .hero-logo-img,
    .divider-logo-img,
    .cta-logo-img,
    .footer-logo-img,
    .floating-coin {
        filter: none !important;
        box-shadow: none !important;
        animation: none !important;
    }

    /* Simplify text shadows on mobile */
    .logo h1,
    .hero-content h2,
    .content-section h2,
    .cta-section h2,
    .timeline-date,
    .roadmap-item h3,
    .concept-item h3 {
        text-shadow: none !important;
        animation: none !important;
    }

    /* Remove complex gradients and use solid colors on mobile */
    .hero-content {
        background-color: rgba(28, 37, 65, 0.9) !important;
        backdrop-filter: none !important;
    }

    .content-section {
        background: #1C2541 !important;
        box-shadow: none !important;
    }

    #vision.content-section {
        background: #1C2541 !important;
    }

    #vision.content-section::before,
    #vision.content-section::after {
        display: none !important;
    }

    .data-stream-bg::before {
        display: none !important;
    }

    /* Simplify borders and effects */
    .hero-content .text-panel::before {
        display: none !important;
    }

    .hero-content .text-panel {
        background: rgba(70, 170, 225, 0.1) !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }

    /* Remove hover effects on mobile */
    .concept-item:hover,
    .roadmap-item:hover,
    .timeline-item:hover,
    .floating-coin:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Simplify section dividers */
    .section-divider {
        margin: 20px 0 !important;
    }

    .divider-line {
        background: rgba(137, 166, 212, 0.3) !important;
    }

    /* Remove pulsing animations from hero bottom */
    #hero::after {
        animation: none !important;
        box-shadow: 0 2px 8px rgba(70, 170, 225, 0.3) !important;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Disable all background animations */
    body::before,
    body::after,
    .neural-overlay,
    .neural-connections {
        display: none !important;
    }
}

#vision {
    margin-top: 0; /* Updated from 60px to work with dividers */
}

/* Removed Animated particle background for the body (body::before, body::after) */

/* Ensure content within sections with new pseudo-element backgrounds is visible */
.content-section > *:not(style):not(script) {
    position: relative;
    z-index: 1; /* Ensure content is above the z-index 0 pseudo-elements */
}

/* Vision Section - Quantum/Neural Vibe */
#vision.content-section {
    background: #070B14 !important; /* Darker, almost black base, !important to override general .content-section */
    overflow: hidden; 
    border: 1px solid rgba(70, 170, 225, 0.1); /* Fainter, more techy border */
    /* Inherits padding, max-width, margin, text-align, border-radius, position, shadow from .content-section */
}

#vision.content-section::before,
#vision.content-section::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 24px; /* Match parent's border-radius, adjust if border is thick */
    z-index: 0; 
}

/* Layer 1: Abstract particles/energy for #vision */
#vision.content-section::before {
    background: radial-gradient(circle at 15% 25%, rgba(70, 170, 225, 0.25) 0%, transparent 35%),
                radial-gradient(circle at 85% 75%, rgba(137, 166, 212, 0.2) 0%, transparent 30%),
                radial-gradient(circle at 50% 50%, rgba(96, 130, 182, 0.15) 0%, transparent 25%);
    animation: quantum-foam-bubble 12s infinite ease-in-out alternate;
}

/* Layer 2: Faint, slow-moving grid lines for #vision */
#vision.content-section::after {
    background-image:
        linear-gradient(rgba(137, 166, 212, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(137, 166, 212, 0.05) 1px, transparent 1px);
    background-size: 100px 100px; /* Larger grid */
    animation: slow-pan-grid 45s linear infinite;
    opacity: 0.8;
}

/* New background style for other sections: Data Stream */
/* Apply by adding class="content-section data-stream-bg" to a section in your HTML */
.data-stream-bg { /* This class should be added ALONGSIDE .content-section */
    background: #0A0E1B !important; /* Dark base, !important to override .content-section gradient */
    overflow: hidden !important;
    border: 1px solid rgba(96, 130, 182, 0.1) !important; /* Different accent border */
}

.data-stream-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 24px; /* Match parent */
    z-index: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(35deg,
            rgba(70, 170, 225, 0.06), /* Slightly more visible */
            rgba(70, 170, 225, 0.06) 1px,
            transparent 1px,
            transparent 35px), /* Adjusted density */
        repeating-linear-gradient(-35deg,
            rgba(137, 166, 212, 0.04) 0px,
            rgba(137, 166, 212, 0.04) 1px,
            transparent 1px,
            transparent 35px);
    animation: data-stream-flow 20s linear infinite; /* Using updated keyframe */
}

/* The Why Section with Coin */
.vision-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.vision-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-text {
    flex: 1;
    text-align: left; /* Ensure text within this container is left-aligned */
}

.vision-text p {
    /* text-align: left; Re-evaluate if needed, parent now handles alignment */
}

.floating-coin {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
}

.floating-coin:hover {
    transform: scale(1.08) rotate(5deg);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    }
    to {
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.8), 0 0 40px rgba(0, 185, 255, 0.4);
    }
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .vision-container {
        flex-direction: column;
        /* text-align: center; Re-evaluate if needed for mobile */
    }
    
    .vision-image {
        margin-bottom: 2rem;
    }
    
    .floating-coin {
        width: 200px;
        height: 200px;
    }
}

/* Added to ensure paragraphs in #qkn are left-aligned */
#qkn p {
    text-align: left;
}

/* Ensure paragraphs in #vision .vision-text are left-aligned */
#vision .vision-text p {
    text-align: left;
}

/* Roadmap Timeline */
.roadmap-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
    padding: 0 2rem;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(137, 166, 212, 0.2),
        rgba(137, 166, 212, 0.6) 50%,
        rgba(137, 166, 212, 0.2)
    );
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: rgba(28, 37, 65, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(137, 166, 212, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(137, 166, 212, 0.3);
    border-color: rgba(137, 166, 212, 0.5);
}

.timeline-date {
    font-family: 'Orbitron', sans-serif;
    color: #89A6D4;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(137, 166, 212, 0.4);
}

.timeline-phase {
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Update existing roadmap styles */
.roadmap-grid {
    margin-bottom: 2rem;
}

.roadmap-item {
    background-color: rgba(58, 80, 107, 0.55);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(137, 166, 212, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(137, 166, 212, 0.2);
    border-color: rgba(137, 166, 212, 0.5);
}

.roadmap-item h3 {
    font-family: 'Orbitron', sans-serif;
    color: #89A6D4;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 0 0 8px rgba(137, 166, 212, 0.4);
    border-bottom: 1px solid rgba(137, 166, 212, 0.3);
    padding-bottom: 0.8rem;
}

.roadmap-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-item li {
    margin-bottom: 1rem;
    color: #D0D0D0;
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.8rem;
}

.roadmap-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #89A6D4;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.roadmap-item li:hover::before {
    transform: translateX(5px);
}

/* Responsive adjustments for roadmap */
@media (max-width: 768px) {
    .roadmap-timeline {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
    }

    .roadmap-timeline::before {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        background: linear-gradient(
            180deg,
            rgba(137, 166, 212, 0.2),
            rgba(137, 166, 212, 0.6) 50%,
            rgba(137, 166, 212, 0.2)
        );
    }

    .timeline-item {
        width: 100%;
        max-width: 280px;
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .roadmap-item {
        padding: 2rem 1.5rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #F0F0F0;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(28, 37, 65, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 15px;
        font-size: 1.1rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .logo img#logo-img {
        height: 35px;
    }

    #hero {
        padding: 7rem 1rem 3rem;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 2rem 1.2rem;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .hero-logo {
        margin-bottom: 2rem;
    }

    .hero-logo-img {
        height: 80px;
    }

    .hero-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .hero-content .title-group {
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .hero-content .text-panel {
        padding: 1.8rem 1.2rem;
        margin: 0 auto 2.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 12px;
        /* Remove fixed heights and let content determine size */
        height: auto;
        min-height: auto;
    }

    .hero-content .text-panel p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-content .text-panel p:first-child {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
        font-weight: 400;
    }

    .hero-content .text-panel p:last-child {
        font-size: 0.95rem;
        margin-bottom: 0;
        color: rgba(255, 255, 255, 0.85);
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-top: 0;
    }

    .cta-button, .cta-button-secondary {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 1rem;
        text-align: center;
        border-radius: 25px;
    }

    .concept-grid, .roadmap-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .concept-item, .roadmap-item {
        padding: 20px;
    }

    .vision-container {
        flex-direction: column;
        text-align: center;
    }

    .vision-image {
        margin-bottom: 30px;
    }

    .floating-coin {
        width: 150px;
        height: 150px;
    }

    .roadmap-timeline {
        flex-direction: column;
        padding: 20px 0;
    }

    .timeline-item {
        width: 100%;
        margin: 10px 0;
    }

    .investment-form {
        padding: 2rem 1.5rem;
        margin: 1rem auto 0;
        max-width: 100%;
    }

    .investment-form input[type="email"] {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
        box-sizing: border-box;
    }

    .investment-form button {
        width: 100%;
        margin-top: 15px;
        padding: 15px;
    }

    .section-divider {
        margin: 30px 0;
    }

    .divider-logo-img {
        width: 35px;
        height: 35px;
    }

    .content-section {
        padding: 60px 1.5rem;
        margin: 0 auto;
    }

    .content-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .content-section p {
        font-size: 1rem;
        line-height: 1.7;
        max-width: 100%;
        padding: 0 0.5rem;
    }
}

/* Additional breakpoint for very small devices (iPhone SE, etc.) */
@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-content h2 {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .hero-content .text-panel {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }

    .hero-content .text-panel p:first-child {
        font-size: 1rem;
    }

    .hero-content .text-panel p:last-child {
        font-size: 0.9rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .concept-item h3, .roadmap-item h3 {
        font-size: 1.2rem;
    }

    .nav-links {
        width: 100%;
        max-width: none;
        padding: 70px 15px 15px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .logo img#logo-img {
        height: 30px;
    }
}

/* iPhone specific optimizations */
@media (max-width: 414px) {
    #hero {
        padding: 6rem 0.8rem 2.5rem;
    }

    .hero-content {
        padding: 1.8rem 1rem;
    }

    .hero-content .text-panel {
        padding: 1.5rem 1rem;
        border-radius: 10px;
    }

    .cta-button, .cta-button-secondary {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) {
    .concept-item:hover,
    .roadmap-item:hover,
    .timeline-item:hover,
    .floating-coin:hover {
        transform: none;
    }

    .cta-button:active,
    .cta-button-secondary:active {
        transform: scale(0.98);
    }

    .nav-links a:active {
        background-color: #89A6D4;
    }
}

/* Mobile Hero Background - Clean and Simple */
.mobile-hero-bg {
    position: relative;
    overflow: hidden;
}

.mobile-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(137, 166, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(70, 170, 225, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #1C2541 0%, #0A0F1A 50%, #1C2541 100%);
    z-index: -1;
}

/* Ensure mobile hero content stays above background */
.mobile-hero-bg .hero-content {
    position: relative;
    z-index: 2;
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
    /* Ensure Vanta canvas doesn't interfere on mobile */
    #hero canvas {
        display: none !important;
    }
    
    /* Make sure mobile background takes precedence */
    .mobile-hero-bg {
        background: linear-gradient(135deg, #1C2541 0%, #0A0F1A 50%, #1C2541 100%) !important;
    }
    
    /* Simplify mobile hero section */
    #hero {
        background-attachment: scroll !important; /* Better performance than fixed */
    }
}

/* Presale Portal Styles */
.presale-portal {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0a0e1a 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
}

.presale-portal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    z-index: 1;
    animation: etherealFloat 20s ease-in-out infinite;
}

@keyframes etherealFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-10px) scale(1.02); opacity: 1; }
}

.presale-portal > * {
    position: relative;
    z-index: 2;
}

.presale-portal h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.3);
    letter-spacing: -0.02em;
}

.presale-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
}

.presale-status {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.status-badge {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    animation: statusPulse 3s ease-in-out infinite;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-badge::before {
    content: '🔴';
    animation: liveBlink 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5); }
}

@keyframes liveBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.exclusive-notice {
    color: #fbbf24;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
    letter-spacing: 0.3px;
}

/* Enhanced Presale Details */
.presale-details {
    display: grid;
    gap: 3rem;
    margin-bottom: 5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.presale-terms {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.presale-terms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    animation: borderShimmer 3s ease-in-out infinite;
}

@keyframes borderShimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.presale-terms h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.term-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.term-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
}

.term-label {
    color: #d1d5db;
    font-weight: 500;
    font-size: 1rem;
}

.term-value {
    color: #60a5fa;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
}

/* Enhanced Payment Section */
.payment-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(34, 197, 94, 0.03));
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.payment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    animation: borderShimmer 3s ease-in-out infinite;
}

.payment-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.payment-steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
}

.step-number {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    font-family: 'Orbitron', sans-serif;
}

.step-content h4 {
    color: #34d399;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.step-content p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 1.05rem;
}

.wallet-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wallet-address code {
    flex: 1;
    color: #60a5fa;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.95rem;
    word-break: break-all;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.copy-btn {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.highlight-pulse {
    animation: highlightPulse 3s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% { 
        box-shadow: 0 0 0 rgba(59, 130, 246, 0.4);
        border-color: rgba(59, 130, 246, 0.3);
    }
    50% { 
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
        border-color: rgba(59, 130, 246, 0.8);
    }
}

/* Enhanced Elite Benefits */
.elite-benefits {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(245, 158, 11, 0.03));
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.elite-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    animation: borderShimmer 3s ease-in-out infinite;
}

.elite-benefits h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.benefit-text h4 {
    color: #fbbf24;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.benefit-text p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Enhanced Quantum Section */
.quantum-section {
    margin: 5rem 0;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.quantum-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b5cf6, #a855f7, #8b5cf6, transparent);
    animation: quantumFlow 4s ease-in-out infinite;
}

@keyframes quantumFlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.quantum-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.quantum-explanation {
    text-align: center;
    margin-bottom: 3rem;
}

.quantum-explanation p {
    font-size: 1.2rem;
    color: #d1d5db;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.quantum-mechanics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.mechanism {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 18px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.mechanism::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent);
    animation: mechanismGlow 3s ease-in-out infinite;
}

@keyframes mechanismGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.mechanism:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.mechanism h4 {
    color: #a78bfa;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.mechanism p {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Enhanced Success Stories */
.success-stories {
    margin: 5rem 0;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.success-stories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #10b981, #34d399, #10b981, transparent);
    animation: successFlow 4s ease-in-out infinite;
}

@keyframes successFlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.success-stories h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.success-stories > p {
    font-size: 1.2rem;
    color: #d1d5db;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.success-item {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.success-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.6), transparent);
    animation: itemGlow 3s ease-in-out infinite;
}

@keyframes itemGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.success-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.success-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

.success-item h4 {
    color: #34d399;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.growth-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.stat {
    color: #60a5fa;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
}

.timeline {
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 500;
}

.success-item small {
    color: #fbbf24;
    font-style: italic;
    font-weight: 500;
    display: block;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 6px;
}

.quantum-advantage {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.1);
}

.quantum-advantage h4 {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.quantum-advantage p {
    font-size: 1.15rem;
    color: #d1d5db;
    line-height: 1.7;
}

/* Enhanced Vesting Section */
.vesting-section {
    margin: 5rem 0;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(109, 40, 217, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.vesting-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #7c3aed, #8b5cf6, #7c3aed, transparent);
    animation: vestingFlow 4s ease-in-out infinite;
}

@keyframes vestingFlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.vesting-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.vesting-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.vesting-timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.6), transparent);
    animation: timelineGlow 3s ease-in-out infinite;
}

@keyframes timelineGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.timeline-item.timeline-animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.4);
}

.timeline-date {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    min-width: 120px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.timeline-content h4 {
    color: #a78bfa;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.timeline-content p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 1.05rem;
}

.vesting-benefits {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    backdrop-filter: blur(10px);
    height: fit-content;
}

.vesting-benefits h4 {
    color: #a78bfa;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
}

.vesting-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vesting-benefits li {
    padding: 1rem 0;
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vesting-benefits li:last-child {
    border-bottom: none;
}

.vesting-benefits li::before {
    content: '✓';
    color: #34d399;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Enhanced Presale CTA */
.presale-cta {
    text-align: center;
    margin-top: 5rem;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.presale-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3b82f6, #60a5fa, #3b82f6, transparent);
    animation: ctaFlow 4s ease-in-out infinite;
}

@keyframes ctaFlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.urgency-notice h3 {
    color: #f59e0b;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
    letter-spacing: 0.3px;
}

.urgency-notice p {
    font-size: 1.2rem;
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.main-cta {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    position: relative;
    overflow: hidden;
}

.main-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.main-cta:hover::before {
    left: 100%;
}

.main-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #d97706, #b45309);
}

.safety-notice {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    font-size: 1rem;
    color: #fca5a5;
    line-height: 1.6;
    backdrop-filter: blur(10px);
    border-left: 4px solid #ef4444;
}

.safety-notice strong {
    color: #f87171;
    font-weight: 700;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .presale-portal {
        padding: 2rem 1rem;
    }
    
    .presale-portal h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .presale-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .presale-status {
        text-align: center;
        align-items: center;
    }
    
    .presale-terms,
    .payment-section,
    .elite-benefits,
    .quantum-section,
    .success-stories,
    .vesting-section,
    .presale-cta {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .terms-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .wallet-address {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefits-grid,
    .quantum-mechanics,
    .success-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vesting-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .timeline-date {
        min-width: auto;
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .main-cta {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}