/* Global Styles */
:root {
    --primary: #000000;    /* Pure black - main brand color */
    --secondary: #1A1A1A;  /* Dark gray - for depth */
    --accent: #C0C0C0;     /* Silver - for highlights and CTAs */
    --background: #0A0A0A; /* Near black - for main background */
    --text: #FFFFFF;       /* White - for primary text */
    --text-secondary: #A0A0A0; /* Light silver - for secondary text */
}

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

/* Consistent Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    transition: all 0.3s ease;
}

.main-nav:hover {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
}

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

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

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

.login {
    background: linear-gradient(90deg, var(--accent) 0%, #D0D0D0 100%);
    color: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.login:hover {
    background: linear-gradient(90deg, #D0D0D0 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero-bg {
    min-height: 100vh;
    background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 100%);
    position: relative;
    overflow: hidden;
}

/* Remove laminar flow animation */
.hero-bg::before,
.hero-bg::after {
    display: none;
}

/* Remove hero pulse animation */
@keyframes heroPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Remove gradient shift animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 0% 50%; }
    100% { background-position: 0% 50%; }
}

/* Keep only essential transitions */
.hero-content h1,
.hero-content .subheadline,
.cta-buttons a {
    transition: transform 0.3s ease;
}

/* Remove parallax effects from hero */
.hero-bg .parallax-bg,
.hero-bg .parallax-layer {
    display: none;
}

/* Remove turbulence animations */
.hero-bg .turbulence-bg {
    display: none;
}

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

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

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

.primary-btn, .secondary-btn {
    font-family: var(--font-primary);
    padding: 1.2rem 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    outline: none;
}

.primary-btn {
    background: linear-gradient(90deg, #e0e0e0 0%, #b0b0b0 100%);
    color: #232526;
    box-shadow: 0 2px 12px rgba(192,192,192,0.15);
}

.primary-btn:hover {
    background: linear-gradient(90deg, #fff 0%, #c0c0c0 100%);
    color: #000;
}

.secondary-btn {
    background: transparent;
    color: #c0c0c0;
    border: 2px solid #c0c0c0;
}

.secondary-btn:hover {
    background: #232526;
    color: #fff;
    border-color: #fff;
}

.metrics-ticker {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #c0c0c0;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.metric-label {
    color: #a0a0a0;
    font-size: 1rem;
}

/* Problem & Solution Section */
.problem-solution {
    padding: 4rem 0;
}

.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tech-stack-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.tech-stack-section .tile {
    margin-bottom: 0;
}

.architecture-diagram {
    margin-top: 0;
    height: 100%;
}

.diagram-container {
    height: 100%;
    position: relative;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(192, 192, 192, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    overflow: visible;
    transition: all 0.3s ease;
    padding: 2rem;
}

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

.folder-container {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

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

.folder-item .layer-content {
    background: transparent;
    border: none;
    padding: 1rem;
    text-align: center;
}

.folder-item .layer-content h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.folder-item .layer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.diagram-layer {
    position: absolute;
    width: calc(100% - 4rem);
    height: calc(100% - 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.diagram-layer:not(.active) {
    transform: translateY(calc(var(--stack-offset) * 1px));
    opacity: 0.85;
    pointer-events: none;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    padding: 1rem;
    height: 60px;
    overflow: hidden;
}

.diagram-layer:not(.active):hover {
    transform: translateY(calc(var(--stack-offset) * 1px - 10px));
    opacity: 0.95;
    pointer-events: auto;
    background: rgba(26, 26, 26, 0.9);
}

.diagram-layer.active {
    transform: translateY(0);
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
    height: calc(100% - 4rem);
}

.layer-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(192, 192, 192, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.diagram-layer:not(.active) .layer-content {
    background: transparent;
    border: none;
    padding: 0;
}

.diagram-layer:not(.active) .layer-content p {
    display: none;
}

.diagram-layer:not(.active) .layer-content h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
}

.layer-content:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.layer-content h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.layer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Layer Navigation */
.layer-nav {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 3;
}

.layer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(192, 192, 192, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.layer-dot:hover,
.layer-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Connecting Line */
.diagram-container::before {
    content: '';
    position: absolute;
    right: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.3;
    z-index: 1;
}

/* Layer Transitions */
@keyframes layerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes layerFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .split-screen,
    .tech-stack-section {
        grid-template-columns: 1fr;
    }
    
    .architecture-diagram {
        margin-top: 2rem;
    }
    .folder-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .folder-grid {
        grid-template-columns: 1fr;
    }
    
    .folder-container {
        height: 400px;
    }
}

/* About & Technology Section */
.about-tech-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem 0;
    background: var(--background);
    min-height: 600px;
}

.parallax-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.parallax-layer {
    position: absolute;
    left: 0; right: 0;
    width: 100vw;
    min-width: 100%;
    height: 320px;
    will-change: transform;
}
.layer1 {
    top: 0;
    filter: url(#turbulence-filter);
    opacity: 0.8;
    animation: turbulenceMove 12s ease-in-out infinite alternate;
}
.layer2 {
    top: 60px;
    opacity: 0.5;
    animation: parallaxMove 18s linear infinite alternate;
}
@keyframes turbulenceMove {
    0% { transform: translateY(0) scaleX(1); }
    100% { transform: translateY(20px) scaleX(1.03); }
}
@keyframes parallaxMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(30px); }
}

.about-tech-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    background: rgba(26,26,26,0.85);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
    backdrop-filter: blur(2px);
}
.about-tech-content .about, .about-tech-content .technology {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 260px;
    flex: 1 1 0;
}
.about-tech-content h2 {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    letter-spacing: 0.01em;
}
.about-tech-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tech-list li {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
    font-family: 'Space Grotesk', sans-serif;
    color: #C0C0C0;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
    letter-spacing: 0.02em;
    position: relative;
}
.tech-list li .revealed {
    color: #E0E0E0;
    text-shadow: 0 0 15px rgba(224, 224, 224, 0.5);
}
.tech-list li .encrypted {
    color: #808080;
    text-shadow: 0 0 8px rgba(128, 128, 128, 0.2);
}
.tech-list li strong {
    color: #FFFFFF;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    letter-spacing: 0.03em;
    position: relative;
}
.tech-list li:hover {
    transform: translateX(10px);
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}
.tech-list li:hover strong {
    color: #00BFFF;
    text-shadow: 0 0 25px rgba(0, 191, 255, 0.7);
}

/* Add a subtle glow effect to the entire list */
.tech-list {
    position: relative;
}

.tech-list::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle at center, rgba(192, 192, 192, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.tech-list li .tech-icon {
    font-size: 1.5rem;
    margin-right: 0.3rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(192,192,192,0.12));
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(.4,0,.2,1), transform 0.9s cubic-bezier(.4,0,.2,1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced text section animations with lazy loading */
.text-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.text-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section fade-in for lazy loading */
.section-fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1);
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Remove parallax effects */
.parallax-bg, .parallax-layer {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .about-tech-content {
        flex-direction: column;
        gap: 2.5rem;
        padding: 2rem 1rem;
    }
    .metrics-ticker {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .about-tech-section {
        padding: 4rem 0 2rem 0;
    }
    .about-tech-content {
        padding: 1.2rem 0.5rem;
        border-radius: 12px;
    }
    .about-tech-content h2 {
        font-size: 1.3rem;
    }
    .tech-list li {
        font-size: 0.98rem;
    }
    .metrics-ticker {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 4rem 0;
    background: var(--background);
    min-height: 480px;
    z-index: 1;
}
.about-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem 2rem;
    background: rgba(26,26,26,0.92);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
    backdrop-filter: blur(2px);
    text-align: left;
}

/* Only parallax in About section */
#about-section .parallax-bg {
    z-index: 0;
}

/* Divider between sections */
.section-divider {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, transparent 0%, #c0c0c0 50%, transparent 100%);
    opacity: 0.12;
    margin: 0 auto;
    border: none;
}

/* Technology Section */
.technology-section {
    position: relative;
    background: var(--background);
    padding: 8rem 0 4rem 0;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.technology-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.technology-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem 2rem;
    background: rgba(26,26,26,0.92);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
    backdrop-filter: blur(2px);
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Enhanced turbulence animation for technology section */
.technology-section .parallax-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
    filter: url(#turbulence-filter);
    animation: enhancedTurbulence 5s ease-in-out infinite alternate;
}

.technology-section .parallax-layer {
    position: absolute;
    left: 0; right: 0;
    width: 100vw;
    min-width: 100%;
    height: 320px;
    will-change: transform;
    opacity: 0.7;
    filter: brightness(1.2) contrast(1.2);
}

.technology-section .layer1 {
    top: 0;
    filter: url(#turbulence-filter);
    opacity: 0.95;
    animation: turbulenceMove 7s ease-in-out infinite alternate;
}

.technology-section .layer2 {
    top: 60px;
    opacity: 0.7;
    animation: parallaxMove 10s linear infinite alternate;
}

@keyframes enhancedTurbulence {
    0% {
        transform: translateY(0) scale(1);
        filter: url(#turbulence-filter-1) brightness(1.2) contrast(1.2);
    }
    25% {
        transform: translateY(-18px) scale(1.04);
        filter: url(#turbulence-filter-2) brightness(1.2) contrast(1.2);
    }
    50% {
        transform: translateY(0) scale(1);
        filter: url(#turbulence-filter-3) brightness(1.2) contrast(1.2);
    }
    75% {
        transform: translateY(18px) scale(0.98);
        filter: url(#turbulence-filter-4) brightness(1.2) contrast(1.2);
    }
    100% {
        transform: translateY(0) scale(1);
        filter: url(#turbulence-filter-5) brightness(1.2) contrast(1.2);
    }
}

@keyframes turbulenceMove {
    0% { transform: translateY(0) scaleX(1); }
    100% { transform: translateY(32px) scaleX(1.06); }
}

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

.tech-list li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--item-index) * 0.1s);
}
.tech-list li.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .about-content, .technology-content {
        padding: 2rem 1rem;
        border-radius: 16px;
    }
    .about-section, .technology-section {
        padding: 4rem 0 2rem 0;
    }
    .section-divider {
        height: 36px;
    }
}
@media (max-width: 600px) {
    .about-content, .technology-content {
        padding: 1.2rem 0.5rem;
        border-radius: 10px;
    }
    .about-section, .technology-section {
        padding: 2.5rem 0 1.5rem 0;
    }
    .section-divider {
        height: 18px;
    }
}

/* Laminar Flow Animation in Hero */
.laminar-flow-bg {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    animation: flowAnimation 7s linear infinite;
    opacity: 0.8;
    filter: brightness(1.2) contrast(1.2);
}
.laminar-flow-svg {
    position: absolute;
    left: 0; top: 60%;
    width: 100vw;
    min-width: 100%;
    height: 320px;
    max-height: 40vh;
    transform: translateY(-50px);
    z-index: 1;
    filter: blur(0.5px) brightness(1.1);
}
.hero-gradient {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 50%,
        var(--background) 100%
    );
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    animation: gradientShift 8s ease infinite;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(192, 192, 192, 0.15) 0%,
        rgba(26, 26, 26, 0.08) 50%,
        transparent 100%
    );
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

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

/* Remove parallax effects */
.parallax-bg, .parallax-layer {
    display: none;
}

/* Enhanced laminar flow animation */
.laminar-flow-bg {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    animation: flowAnimation 7s linear infinite;
    opacity: 0.8;
    filter: brightness(1.2) contrast(1.2);
}

@keyframes flowAnimation {
    0% { transform: translateX(-100%) translateY(0) scaleY(1); }
    50% { transform: translateX(0) translateY(-10px) scaleY(1.05); }
    100% { transform: translateX(100%) translateY(0) scaleY(1); }
}

@media (max-width: 900px) {
    .laminar-flow-svg {
        height: 180px;
        max-height: 20vh;
    }
}
@media (max-width: 600px) {
    .laminar-flow-svg {
        height: 100px;
        max-height: 12vh;
    }
}

/* Parallax entrance animation */
.parallax-entrance {
    animation: parallaxFadeIn 1.1s cubic-bezier(.4,0,.2,1);
}
@keyframes parallaxFadeIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Social Media Section */
.social-media-section {
    padding: 8rem 0 4rem 0;
    text-align: center;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.social-media-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent) 50%, 
        transparent 100%
    );
    opacity: 0.2;
}

.social-media-section h2 {
    margin-top: 2rem;
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.social-media-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    opacity: 0.5;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.social-icon {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(145deg, 
        rgba(26, 26, 26, 0.9),
        rgba(40, 40, 40, 0.9)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--accent);
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(192, 192, 192, 0.15);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icon i {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease, color 0.4s ease;
    background: linear-gradient(145deg, 
        rgba(192, 192, 192, 0.9),
        rgba(255, 255, 255, 0.9)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.social-icon .social-label {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    color: var(--text);
    opacity: 0;
    transition: all 0.4s ease;
    white-space: nowrap;
    font-weight: 500;
}

/* Hover effects */
.social-icon:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.2);
    border-color: rgba(192, 192, 192, 0.3);
    background: linear-gradient(145deg, 
        rgba(40, 40, 40, 0.95),
        rgba(50, 50, 50, 0.95)
    );
}

.social-icon:hover i {
    transform: scale(1.2);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 1),
        rgba(192, 192, 192, 1)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.social-icon:hover .social-label {
    bottom: -30px;
    opacity: 1;
}

/* Platform-specific colors - now with metallic effect */
.social-icon.twitter:hover {
    background: linear-gradient(145deg, 
        rgba(29, 161, 242, 0.15),
        rgba(29, 161, 242, 0.25)
    );
    border-color: rgba(29, 161, 242, 0.4);
}

.social-icon.linkedin:hover {
    background: linear-gradient(145deg, 
        rgba(0, 119, 181, 0.15),
        rgba(0, 119, 181, 0.25)
    );
    border-color: rgba(0, 119, 181, 0.4);
}

.social-icon.telegram:hover {
    background: linear-gradient(145deg, 
        rgba(0, 136, 204, 0.15),
        rgba(0, 136, 204, 0.25)
    );
    border-color: rgba(0, 136, 204, 0.4);
}

.social-icon.discord:hover {
    background: linear-gradient(145deg, 
        rgba(114, 137, 218, 0.15),
        rgba(114, 137, 218, 0.25)
    );
    border-color: rgba(114, 137, 218, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-media-section {
        padding: 4rem 0 2rem 0;
    }
    
    .social-media-section h2 {
        font-size: 2.2rem;
        margin-top: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .social-icons {
        gap: 4rem;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .social-media-section {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    .social-media-section h2 {
        font-size: 1.8rem;
        margin-top: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .social-icons {
        gap: 3rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .social-icon .social-label {
        font-size: 0.85rem;
    }
}

.alt-bg {
    background: linear-gradient(120deg, #181a1b 0%, #232526 100%);
    padding: 5rem 0;
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.tile {
    background: rgba(40,40,40,0.85);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 2.5rem 2rem;
    min-width: 320px;
    max-width: 420px;
    margin: 1rem;
    backdrop-filter: blur(2px);
    transition: box-shadow 0.3s, transform 0.3s;
}
.tile:hover {
    box-shadow: 0 8px 32px rgba(192,192,192,0.18);
    transform: translateY(-6px) scale(1.03);
}

/* === Tokenomics Asset Tokenization Flow === */
.tokenomics-flow {
    position: relative;
    width: 100%;
    min-height: 420px;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    background: none;
}
.tokenomics-svg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 420px;
    pointer-events: none;
    z-index: 1;
}
.token-node {
    background: linear-gradient(135deg, #232526 60%, #C0C0C0 100%);
    box-shadow: 0 4px 24px 0 rgba(192,192,192,0.18), 0 1.5px 8px 0 rgba(0,0,0,0.12);
    border: 2.5px solid #C0C0C0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px #232526, 0 0 2px #fff;
    cursor: pointer;
    user-select: none;
    outline: none;
    transition: box-shadow 0.3s, border-color 0.3s, background 0.3s, transform 0.2s;
    transform-origin: center center;
    position: absolute;
    z-index: 2;
    width: 96px;
    height: 96px;
}
.token-node.active, .token-node:focus {
    box-shadow: 0 0 32px 8px #fff, 0 2px 24px 0 #C0C0C0;
    border-color: #fff;
    background: linear-gradient(135deg, #C0C0C0 60%, #232526 100%);
    color: #232526;
    transform: scale(1.08);
    z-index: 3;
}
.token-node .token-label {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    line-height: 1.1;
    padding: 0 0.2em;
    display: block;
}
.fade-in {
    opacity: 0;
    animation: fadeInToken 0.7s ease forwards;
}
@keyframes fadeInToken {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.slide-in {
    opacity: 0;
    animation: slideInToken 0.7s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes slideInToken {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.token-popup {
    position: absolute;
    top: 0;
    left: 110%;
    min-width: 220px;
    max-width: 320px;
    background: rgba(35,37,38,0.98);
    color: #C0C0C0;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1.5px 8px 0 rgba(192,192,192,0.10);
    padding: 1.2em 1.3em 1.2em 1.1em;
    z-index: 20;
    font-size: 1.04rem;
    text-align: left;
    pointer-events: auto;
    animation: fadeInToken 0.5s;
}
.token-popup::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 32px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid rgba(35,37,38,0.98);
}
@media (max-width: 700px) {
    .token-popup {
        left: 0;
        top: 110%;
        min-width: 180px;
        max-width: 95vw;
        font-size: 0.98rem;
        padding: 1em 1em 1em 0.9em;
    }
    .token-popup::before {
        left: 32px;
        top: -12px;
        border-top: none;
        border-bottom: 12px solid rgba(35,37,38,0.98);
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
    }
}

/* Final step node spacing tweaks */
.tokenomics-flow-step.final-layout .token-node {
    width: 80px;
    height: 80px;
    font-size: 0.98rem;
}
.tokenomics-flow-step.final-layout {
    min-height: 260px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .tokenomics-flow { max-width: 100%; min-height: 420px; }
    .token-node { width: 80px; height: 80px; font-size: 0.95rem; }
    .tokenomics-svg { height: 320px; }
}
@media (max-width: 600px) {
    .tokenomics-flow { min-height: 320px; }
    .token-node { width: 60px; height: 60px; font-size: 0.8rem; }
    .tokenomics-svg { height: 220px; }
}

.tokenomics-description {
    min-height: 60px;
    background: rgba(35,37,38,0.85);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(192,192,192,0.08);
    color: #C0C0C0;
    padding: 1.2rem 1.5rem;
    margin: 0 auto 0 auto;
    max-width: 600px;
    font-size: 1.08rem;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}

/* Ensure the flow is visually centered and not cut off */
.tokenomics-section .container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* === Professional Footer Styles === */
.site-footer {
    background: linear-gradient(120deg, #181a1b 0%, #232526 100%);
    border-top: 1.5px solid rgba(192, 192, 192, 0.1);
    box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.12);
    padding: 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem 2rem;
    align-items: flex-start;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    position: relative;
    padding-left: 1.2rem;
}
.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 1.5rem;
}
.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}
.footer-newsletter label {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.footer-newsletter input[type="email"] {
    padding: 0.8em 1.2em;
    border-radius: 8px;
    border: 1.5px solid rgba(192, 192, 192, 0.2);
    background: rgba(35, 37, 38, 0.95);
    color: var(--text);
    font-size: 1.05rem;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
}
.footer-newsletter input[type="email"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.1);
    outline: none;
}
.footer-newsletter button {
    padding: 0.8em 1.8em;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, var(--accent) 0%, #D0D0D0 100%);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}
.footer-newsletter button:hover {
    background: linear-gradient(90deg, #D0D0D0 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.footer-bottom {
    background: rgba(26, 26, 26, 0.98);
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.02rem;
    color: var(--text-secondary);
    max-width: 1200px;
    margin: 0 auto;
}
.footer-legal {
    color: var(--text-secondary);
    margin-left: 2rem;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}
.footer-legal::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.footer-legal:hover {
    color: var(--accent);
}
.footer-legal:hover::after {
    width: 100%;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.2rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .login {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    
    .login {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 1rem 1rem 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        margin: 0.5rem 0;
    }
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--background);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(192, 192, 192, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 2rem;
    }
}

/* Value Proposition Section */
.value-proposition {
    padding: 4rem 0;
    background: linear-gradient(180deg, #232526 0%, #1a1a1a 100%);
}

.value-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.value-section:last-child {
    margin-bottom: 0;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.value-card h3 {
    color: #C0C0C0;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.value-explanation {
    padding: 1rem 0;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.value-explanation.visible {
    opacity: 1;
    transform: translateX(0);
}

.value-explanation h4 {
    color: #C0C0C0;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
}

.value-explanation p {
    color: #A0A0A0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.value-explanation p:last-child {
    margin-bottom: 0;
}

.challenges-list, .solutions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.challenges-list li, .solutions-list li {
    color: #C0C0C0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.5;
}

.challenges-list li:before {
    content: "•";
    color: #ff4d4d;
    position: absolute;
    left: 0;
}

.solutions-list li:before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
}

/* Problem section specific styles */
.problem-section .value-card {
    border-left: 4px solid #ff4d4d;
}

/* Solution section specific styles */
.solution-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #232526 100%);
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #B8860B 50%, 
        transparent 100%
    );
    opacity: 0.2;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.solution-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid #FFD700;
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

/* Add styles for the animation container */
.solution-card .animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    z-index: 0;
}

/* Ensure the canvas takes up the full container */
.solution-card .animation-container canvas {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

.solution-card:hover .animation-container {
    opacity: 0.6;
}

/* Ensure content stays above animation */
.solution-card p {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}

/* Card CTA styling for buttons within solution cards */
.card-cta {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    text-align: center;
}

/* CTA container styling for proper alignment */
.cta-container {
    text-align: center;
    margin-top: 3rem;
    padding: 0 2rem;
}

/* Button styling within the solution grid */
.solution-content .primary-btn,
.solution-content .secondary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-height: 60px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .solution-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .solution-content .primary-btn,
    .solution-content .secondary-btn {
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .solution-content {
        padding: 0 0.5rem;
    }
}

.solution-explanation {
    padding: 1rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.solution-explanation.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Common styles for both sections */
.section-title {
    color: #C0C0C0;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
}

.problem-explanation h4,
.solution-explanation h4 {
    color: #C0C0C0;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
}

.problem-explanation p,
.solution-explanation p {
    color: #A0A0A0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.problem-explanation p:last-child,
.solution-explanation p:last-child {
    margin-bottom: 0;
}

.challenges-list, .solutions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.challenges-list li, .solutions-list li {
    color: #C0C0C0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.5;
}

.challenges-list li:before {
    content: "•";
    color: #ff4d4d;
    position: absolute;
    left: 0;
}

.solutions-list li:before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .problem-section,
    .solution-section {
        padding: 4rem 0;
    }
    
    .problem-content,
    .solution-content {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .problem-card,
    .solution-card {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .problem-card h3,
    .solution-card h3 {
        font-size: 1.5rem;
    }
    
    .problem-explanation h4,
    .solution-explanation h4 {
        font-size: 1.2rem;
    }
    
    .problem-explanation p,
    .solution-explanation p {
        font-size: 1rem;
    }
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 
        0 8px 15px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.2),
        0 0 50px rgba(255, 215, 0, 0.1),
        0 0 70px rgba(255, 215, 0, 0.05);
    background: rgba(255, 255, 255, 0.15);
}

.info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    transition: all 0.3s ease;
    pointer-events: none;
}

.info-card:hover::after {
    box-shadow: 
        0 0 20px 2px rgba(255, 215, 0, 0.2),
        0 0 40px 4px rgba(255, 215, 0, 0.1),
        0 0 60px 6px rgba(255, 215, 0, 0.05);
}

.info-card h2 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.info-card:hover h2 {
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.1);
}

.info-card p,
.info-card ul {
    position: relative;
    z-index: 1;
    color: #C0C0C0;
}

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

.info-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #409CFF;
}

/* Add specific styles for each card type */
.info-card:nth-child(1) { /* Current Challenges */
    border-left: 4px solid #ff4d4d;
}

.info-card:nth-child(2) { /* Riskify's Solution */
    border-left: 4px solid #4CAF50;
}

.info-card:nth-child(3) { /* Why Riskify */
    border-left: 4px solid #C0C0C0;
}

.info-card:nth-child(4) { /* How It Works */
    border-left: 4px solid #C0C0C0;
}

.section-title-left {
    color: #C0C0C0;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: left;
    font-family: 'Space Grotesk', sans-serif;
    padding-left: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-title-left {
        font-size: 2rem;
        padding-left: 1rem;
    }
}

/* Update all card hover effects to be consistent with metallic gold */
.info-card:hover,
.benefit-card:hover,
.problem-card:hover,
.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.25);
    border-color: #DAA520;
    background: linear-gradient(145deg, 
        rgba(40, 40, 40, 0.98),
        rgba(45, 45, 45, 0.98)
    );
}

/* Update card borders to use metallic gold */
.info-card:nth-child(1),
.info-card:nth-child(2),
.info-card:nth-child(3),
.info-card:nth-child(4),
.benefit-card,
.problem-card,
.solution-card {
    border-left: 4px solid #B8860B;
    background: linear-gradient(145deg, 
        rgba(35, 37, 38, 0.95),
        rgba(40, 40, 40, 0.95)
    );
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Update section dividers to use metallic gold */
.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #B8860B 50%, 
        transparent 100%
    );
    opacity: 0.2;
}

/* Update section title gold accents */
.section-title::after {
    background: linear-gradient(90deg, 
        transparent 0%, 
        #B8860B 50%, 
        transparent 100%
    );
} 

.tokenomics-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tokenomics-section .section-header {
    text-align: center;
    margin-bottom: 0;
    width: 100%;
}

.tokenomics-section .grid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.how-it-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.architecture-grid {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    height: auto;
    min-height: 600px;
    margin-top: 2rem;
    padding: 0;
}

.architecture-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1200px;
    transform-style: preserve-3d;
    margin: 0;
}

@media (max-width: 1200px) {
    .how-it-works {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .architecture-grid {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .architecture-carousel {
        width: 100%;
    }

    .architecture-card {
        width: 100%;
    }
}

/* Architecture Diagram Styles */
.architecture-diagram {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

.diagram-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(192, 192, 192, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    height: 100%;
}

/* Update the layout to be side by side */
.tech-stack-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
}

.tech-stack-section .info-card {
    margin: 0;
    width: 100%;
}

@media (max-width: 1200px) {
    .architecture-grid {
        padding: 0 1rem;
    }
    
    .architecture-carousel {
        width: 100%;
    }
    
    .architecture-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .architecture-grid {
        min-height: 500px;
    }
    
    .architecture-carousel {
        height: 400px;
    }
    
    .architecture-card {
        height: 400px;
    }
}

.architecture-card {
    position: absolute;
    width: 100%;
    height: 500px;
    left: 0;
    top: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease-out;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transform-origin: center center -200px;
    transform-style: preserve-3d;
    will-change: transform;
}

.architecture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(79, 172, 254, 0.5) 50%, 
        transparent 100%
    );
}

.architecture-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 242, 254, 0.5) 50%, 
        transparent 100%
    );
}

.architecture-card.cycling {
    animation: cardCycle 0.5s ease-out forwards;
}

.architecture-card.cycling-reverse {
    animation: cardCycleReverse 0.5s ease-out forwards;
}

@keyframes cardCycle {
    0% {
        transform: translateY(calc(var(--stack-offset) * 1px)) 
                   scale(calc(1 - var(--stack-offset) * 0.02)) 
                   rotateX(0deg);
    }
    100% {
        transform: translateY(calc(var(--stack-offset) * 1px)) 
                   scale(calc(1 - var(--stack-offset) * 0.02)) 
                   rotateX(180deg);
    }
}

@keyframes cardCycleReverse {
    0% {
        transform: translateY(calc(var(--stack-offset) * 1px)) 
                   scale(calc(1 - var(--stack-offset) * 0.02)) 
                   rotateX(0deg);
    }
    100% {
        transform: translateY(calc(var(--stack-offset) * 1px)) 
                   scale(calc(1 - var(--stack-offset) * 0.02)) 
                   rotateX(-180deg);
    }
}

.architecture-card:not(.cycling):not(.cycling-reverse) {
    transform: translateY(calc(var(--stack-offset) * 1px)) 
               scale(calc(1 - var(--stack-offset) * 0.02));
    opacity: calc(1 - var(--stack-offset) * 0.2);
    transition: all 0.4s ease-out;
}

.architecture-header,
.architecture-content {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.architecture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    backface-visibility: hidden;
}

.architecture-header::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(79, 172, 254, 0.3) 0%, 
        rgba(0, 242, 254, 0.3) 100%
    );
}

.architecture-header h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(90deg, #fff, #C0C0C0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.architecture-icon {
    font-size: 1.8rem;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.architecture-content {
    flex: 1;
    position: relative;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(79, 172, 254, 0.3) transparent;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.architecture-content::-webkit-scrollbar {
    width: 6px;
}

.architecture-content::-webkit-scrollbar-track {
    background: transparent;
}

.architecture-content::-webkit-scrollbar-thumb {
    background-color: rgba(79, 172, 254, 0.3);
    border-radius: 3px;
}

.architecture-content p {
    color: #C0C0C0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.architecture-features {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.architecture-features li {
    color: #C0C0C0;
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.architecture-features li:hover {
    color: #fff;
    transform: translateX(5px);
}

.architecture-features li:last-child {
    border-bottom: none;
}

.architecture-features li::before {
    content: "→";
    color: #4facfe;
    font-weight: bold;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

.architecture-features li:hover::before {
    transform: translateX(3px);
}

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.carousel-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(79, 172, 254, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-control.active {
    background: rgba(79, 172, 254, 0.5);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

.carousel-control:hover {
    background: rgba(79, 172, 254, 0.3);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .architecture-grid {
        height: 500px;
    }
    
    .architecture-carousel {
        width: 320px;
        height: 400px;
    }
    
    .architecture-card {
        width: 320px;
        height: 400px;
        padding: 1.5rem;
    }
    
    .architecture-header h3 {
        font-size: 1.2rem;
    }
    
    .architecture-content p {
        font-size: 1rem;
    }
} 

/* Market Challenges & Solution Section */
#market-challenges {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#market-challenges .container {
    max-width: 1200px;
    margin: 0 auto;
}

#market-challenges .split-screen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

#market-challenges .info-card {
    background: rgba(35, 37, 38, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(192, 192, 192, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 0;
    min-height: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#market-challenges .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#market-challenges .info-card h2 {
    color: #C0C0C0;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

#market-challenges .challenges-list,
#market-challenges .solutions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#market-challenges .challenges-list li,
#market-challenges .solutions-list li {
    color: #C0C0C0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.5;
}

#market-challenges .challenges-list li:before {
    content: "•";
    color: #ff4d4d;
    position: absolute;
    left: 0;
}

#market-challenges .solutions-list li:before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
}

/* Tech Stack Section */
.tech-stack-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.tech-stack-section .info-card {
    margin: 0;
}

@media (max-width: 1200px) {
    #market-challenges {
        padding: 5rem 1rem;
    }

    #market-challenges .split-screen {
        gap: 1.5rem;
    }

    .tech-stack-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #market-challenges .split-screen {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #market-challenges .info-card {
        min-height: auto;
    }
}

/* === Token Encoding Framework === */
.token-encoding-flow {
    position: relative;
    width: 100%;
    min-height: 420px;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    background: none;
}

.token-encoding-svg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 420px;
    pointer-events: none;
    z-index: 1;
}

/* SVG Path Styling */
.token-encoding-svg path {
    stroke: #C0C0C0;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(192,192,192,0.2));
    transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.token-encoding-svg path.active {
    stroke: #fff;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

/* Arrow Markers */
.token-encoding-svg marker {
    fill: #C0C0C0;
    stroke: none;
}

.token-encoding-svg marker.active {
    fill: #fff;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}

/* Ensure paths are behind nodes */
.token-encoding-svg path {
    z-index: 1;
}

.token-node {
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .token-encoding-svg path {
        stroke-width: 1.8;
    }
    
    .token-encoding-svg path.active {
        stroke-width: 2.2;
    }
}

@media (max-width: 600px) {
    .token-encoding-svg path {
        stroke-width: 1.5;
    }
    
    .token-encoding-svg path.active {
        stroke-width: 2;
    }
}

.token-node {
    background: linear-gradient(135deg, #232526 60%, #C0C0C0 100%);
    box-shadow: 0 4px 24px 0 rgba(192,192,192,0.18), 0 1.5px 8px 0 rgba(0,0,0,0.12);
    border: 2.5px solid #C0C0C0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px #232526, 0 0 2px #fff;
    cursor: pointer;
    user-select: none;
    outline: none;
    transition: box-shadow 0.3s, border-color 0.3s, background 0.3s, transform 0.2s;
    transform-origin: center center;
    position: absolute;
    z-index: 2;
    width: 96px;
    height: 96px;
}
.token-node.active, .token-node:focus {
    box-shadow: 0 0 32px 8px #fff, 0 2px 24px 0 #C0C0C0;
    border-color: #fff;
    background: linear-gradient(135deg, #C0C0C0 60%, #232526 100%);
    color: #232526;
    transform: scale(1.08);
    z-index: 3;
}
.token-node .token-label {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    line-height: 1.1;
    padding: 0 0.2em;
    display: block;
}
.fade-in {
    opacity: 0;
    animation: fadeInToken 0.7s ease forwards;
}
@keyframes fadeInToken {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.slide-in {
    opacity: 0;
    animation: slideInToken 0.7s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes slideInToken {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.token-popup {
    position: absolute;
    top: 0;
    left: 110%;
    min-width: 220px;
    max-width: 320px;
    background: rgba(35,37,38,0.98);
    color: #C0C0C0;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1.5px 8px 0 rgba(192,192,192,0.10);
    padding: 1.2em 1.3em 1.2em 1.1em;
    z-index: 20;
    font-size: 1.04rem;
    text-align: left;
    pointer-events: auto;
    animation: fadeInToken 0.5s;
}
.token-popup::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 32px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid rgba(35,37,38,0.98);
}
@media (max-width: 700px) {
    .token-popup {
        left: 0;
        top: 110%;
        min-width: 180px;
        max-width: 95vw;
        font-size: 0.98rem;
        padding: 1em 1em 1em 0.9em;
    }
    .token-popup::before {
        left: 32px;
        top: -12px;
        border-top: none;
        border-bottom: 12px solid rgba(35,37,38,0.98);
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
    }
}

/* Final step node spacing tweaks */
.token-encoding-flow-step.final-layout .token-node {
    width: 80px;
    height: 80px;
    font-size: 0.98rem;
}
.token-encoding-flow-step.final-layout {
    min-height: 260px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .token-encoding-flow { max-width: 100%; min-height: 420px; }
    .token-node { width: 80px; height: 80px; font-size: 0.95rem; }
    .token-encoding-svg { height: 320px; }
}
@media (max-width: 600px) {
    .token-encoding-flow { min-height: 320px; }
    .token-node { width: 60px; height: 60px; font-size: 0.8rem; }
    .token-encoding-svg { height: 220px; }
}

.token-encoding-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #C0C0C0;
    margin: 2rem auto 4rem;
    max-width: 1200px;
    width: 100%;
    text-align: left;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: decryptText 2s ease-out forwards;
}

.token-encoding-description strong {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin: 0 0.2em;
}

@media (max-width: 768px) {
    .token-encoding-description {
        width: 100%;
        padding: 1.5rem;
        text-align: left;
    }
}

.token-encoding-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

@keyframes decryptText {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.token-encoding-flow-step {
    margin-top: 2rem;
}

/* Text Reveal Effect Styles */
.tech-list li {
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.tech-list li .revealed {
    color: #E0E0E0;
    transition: color 0.4s ease;
}

.tech-list li .encrypted {
    color: #666666;
    transition: color 0.2s ease;
    font-weight: 500;
}

.tech-list li strong {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.4s ease;
}

.tech-list li:hover {
    transform: translateX(10px);
}

.tech-list li:hover strong {
    color: #4A90E2;
}

/* Timeline Slider Styles */
.timeline-slider {
    -webkit-appearance: none;
    width: 80%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    outline: none;
    margin: 20px auto;
    display: block;
    cursor: grab;
    touch-action: none;
    user-select: none;
    transition: height 0.2s ease;
}

.timeline-slider:active {
    cursor: grabbing;
    height: 8px;
}

.timeline-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #00f2ff;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    transition: all 0.15s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.timeline-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #00f2ff;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    transition: all 0.15s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.timeline-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.7);
    background: #00e6ff;
}

.timeline-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.7);
    background: #00e6ff;
}

.timeline-slider::-webkit-slider-thumb:active {
    transform: scale(0.95);
    cursor: grabbing;
    background: #00d9ff;
}

.timeline-slider::-moz-range-thumb:active {
    transform: scale(0.95);
    cursor: grabbing;
    background: #00d9ff;
}

.timeline-nav {
    position: relative;
    width: 100%;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-timeline {
    cursor: grab;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.roadmap-timeline:active {
    cursor: grabbing;
}
/* Base flow path styles */
.flow-path {
    transition: all 0.3s ease;
}

/* Hover pulsating effect */
.flow-path.hover-pulse {
    animation: hoverPulse 1.5s ease-in-out infinite;
}

/* Special arrows get more intense pulsing when hovered */
.special-arrow.hover-pulse {
    animation: intensePulse 1.2s ease-in-out infinite;
}

/* Regular arrows get gentle pulsing when hovered */
.regular-arrow.hover-pulse {
    animation: gentlePulse 1.8s ease-in-out infinite;
}

/* Keyframe animations for hover effects */
@keyframes hoverPulse {
    0%, 100% { 
        opacity: 0.8; 
        stroke-width: inherit;
        filter: drop-shadow(0 0 2px currentColor);
    }
    50% { 
        opacity: 1; 
        stroke-width: calc(inherit + 1);
        filter: drop-shadow(0 0 8px currentColor);
    }
}

@keyframes intensePulse {
    0%, 100% { 
        opacity: 0.9; 
        stroke-width: 3;
        filter: drop-shadow(0 0 4px #4A90E2);
    }
    50% { 
        opacity: 1; 
        stroke-width: 5;
        filter: drop-shadow(0 0 12px #4A90E2);
    }
}

@keyframes gentlePulse {
    0%, 100% { 
        opacity: 0.7; 
        stroke-width: 2;
        filter: drop-shadow(0 0 2px currentColor);
    }
    50% { 
        opacity: 1; 
        stroke-width: 3;
        filter: drop-shadow(0 0 6px currentColor);
    }
}

/* Alternative effects you can use */

/* Data flow effect on hover */
.flow-path.hover-pulse.data-flow {
    animation: dataFlowHover 1s linear infinite;
}

@keyframes dataFlowHover {
    0% { 
        stroke-dasharray: 8 4;
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
    100% { 
        stroke-dasharray: 8 4;
        stroke-dashoffset: -12;
        opacity: 1;
    }
}

/* Energy wave effect on hover */
.flow-path.hover-pulse.energy-wave {
    animation: energyWaveHover 1s ease-in-out infinite;
}

@keyframes energyWaveHover {
    0%, 100% { 
        opacity: 0.6;
        stroke-width: inherit;
        filter: drop-shadow(0 0 0px currentColor);
    }
    25% {
        opacity: 0.9;
        stroke-width: calc(inherit + 1.5);
        filter: drop-shadow(0 0 6px currentColor);
    }
    50% {
        opacity: 1;
        stroke-width: calc(inherit + 3);
        filter: drop-shadow(0 0 12px currentColor);
    }
    75% {
        opacity: 0.9;
        stroke-width: calc(inherit + 1.5);
        filter: drop-shadow(0 0 6px currentColor);
    }
}

/* Breathing effect on hover */
.flow-path.hover-pulse.breathing {
    animation: breathingHover 2s ease-in-out infinite;
}

@keyframes breathingHover {
    0%, 100% { 
        opacity: 0.7; 
        transform: scale(1);
        filter: drop-shadow(0 0 2px currentColor);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.05);
        filter: drop-shadow(0 0 8px currentColor);
    }
}

.framework-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #C0C0C0;
    margin: 2rem auto 4rem;
    max-width: 1200px;
    width: 100%;
    text-align: left;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: decryptText 2s ease-out forwards;
}

.framework-description strong {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin: 0 0.2em;
}

@media (max-width: 768px) {
    .framework-description {
        width: 100%;
        padding: 1.5rem;
        text-align: left;
    }
}

.framework-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

.token-encoding-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #C0C0C0;
    margin: 2rem auto 4rem;
    max-width: 1200px;
    width: 100%;
    text-align: left;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: decryptText 2s ease-out forwards;
}

.token-encoding-description strong {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin: 0 0.2em;
}

@media (max-width: 768px) {
    .token-encoding-description {
        width: 100%;
        padding: 1.5rem;
        text-align: left;
    }
}

.token-encoding-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

/* Section Transition Indicators */
.section-transition {
    position: relative;
    margin-top: -50px;
    padding-top: 50px;
    background: linear-gradient(to bottom, transparent, var(--background));
    z-index: 2;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.6;
}

.section-transition::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--accent);
    opacity: 0.6;
}

/* Enhanced section spacing */
.solution-section {
    position: relative;
    padding: 6rem 0 4rem;
    background: var(--background);
    margin-top: -50px;
    padding-top: 100px;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--background));
    pointer-events: none;
}

/* Subtle content peek effect */
.solution-section .container {
    position: relative;
    z-index: 2;
}

/* Mobile responsiveness for section transitions */
@media (max-width: 768px) {
    .section-transition {
        margin-top: -30px;
        padding-top: 30px;
    }
    
    .section-transition::before {
        height: 25px;
    }
    
    .section-transition::after {
        top: 12px;
        border-top-width: 5px;
    }
    
    .solution-section {
        margin-top: -30px;
        padding-top: 80px;
    }
    
    .solution-section::before {
        height: 80px;
    }
}

/* Progress Indicator */
.progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(192, 192, 192, 0.1);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-indicator.visible {
    opacity: 1;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #5A5ACF);
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Mobile responsiveness for progress indicator */
@media (max-width: 768px) {
    .progress-indicator {
        height: 2px;
    }
}

/* How It Works Card - Compact Professional Styling */
.how-it-works-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(45, 45, 45, 0.95) 100%);
    border: 1px solid rgba(192, 192, 192, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.how-it-works-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(192, 192, 192, 0.4);
}

.how-it-works-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
}

.how-it-works-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #C0C0C0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-layers-badge {
    background: linear-gradient(135deg, var(--accent) 0%, #5A5ACF 100%);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}

.how-it-works-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.tech-layers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tech-layer-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(192, 192, 192, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    transition: all 0.3s ease;
}

.tech-layer-compact:hover {
    background: rgba(192, 192, 192, 0.1);
    border-color: rgba(192, 192, 192, 0.3);
    transform: translateY(-2px);
}

.layer-icon-compact {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 192, 192, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.tech-layer-compact:hover .layer-icon-compact {
    background: rgba(192, 192, 192, 0.2);
    transform: scale(1.1);
}

.layer-content-compact {
    flex: 1;
    min-width: 0;
}

.layer-content-compact h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.3;
}

.layer-content-compact p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 400;
}

.how-it-works-footer {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(192, 192, 192, 0.2);
    text-align: center;
}

.how-it-works-footer p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    font-weight: 500;
}

/* Mobile responsiveness for How It Works */
@media (max-width: 768px) {
    .how-it-works-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .how-it-works-header h2 {
        font-size: 1.4rem;
    }
    
    .tech-layers-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .tech-layers-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .tech-layer-compact {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .layer-icon-compact {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .layer-content-compact h4 {
        font-size: 0.9rem;
    }
    
    .layer-content-compact p {
        font-size: 0.8rem;
    }
}