/* Dark Modern Theme - Kalon Explorer Style */

:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0e11;
    --bg-secondary: #1a1d24;
    --bg-tertiary: #232529;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-tertiary: #718096;
    --accent-blue: #4299e1;
    --accent-blue-hover: #63b3ed;
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Explorer Blue */
    --explorer-blue: #3b82f6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: radial-gradient(ellipse at center, #0f1419 0%, #0a0e11 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 100;
}

@media (max-width: 768px) {
    .navbar {
        backdrop-filter: none !important;
    }
}

.navbar .container {
    padding: 1.25rem 2rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10000 !important;
    position: relative;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle:hover span {
    background: var(--explorer-blue);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar .container {
        padding: 1rem 1rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Overlay für Mobile-Menü - nur links vom Menü */
    .nav-links::before {
        content: '' !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: calc(100vw - 75%) !important;
        max-width: calc(100vw - 280px) !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.9) !important;
        backdrop-filter: none !important;
        filter: none !important;
        z-index: 9998 !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
        pointer-events: none !important;
    }
    
    .nav-links.active::before {
        opacity: 1 !important;
        pointer-events: all !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 75% !important;
        max-width: 280px !important;
        height: 100vh !important;
        background: #2a2d35 !important;
        background-image: linear-gradient(to bottom, #2f3238 0%, #2a2d35 50%, #25282d 100%) !important;
        flex-direction: column !important;
        padding: 3.5rem 1.25rem 1.5rem !important;
        border-left: 2px solid var(--explorer-blue) !important;
        transition: right 0.3s ease !important;
        z-index: 9999 !important;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.9), inset -2px 0 10px rgba(0, 0, 0, 0.3) !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
        pointer-events: all !important;
    }
    
    .nav-links.active {
        right: 0 !important;
    }
    
    .nav-links a {
        padding: 1rem 0.75rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
        width: 100% !important;
        color: #ffffff !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        text-align: left !important;
        transition: all 0.2s ease !important;
        display: block !important;
        opacity: 1 !important;
        text-shadow: none !important;
        background: transparent !important;
        filter: none !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
        pointer-events: all !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 10000 !important;
    }
    
    .nav-links a:hover,
    .nav-links a:focus {
        color: #60a5fa !important;
        padding-left: 1rem !important;
        background: rgba(59, 130, 246, 0.25) !important;
        text-shadow: none !important;
    }
    
    .nav-links a:last-child {
        border-bottom: none !important;
        margin-top: 0.75rem !important;
        padding: 0.875rem 1rem !important;
        background: var(--explorer-blue) !important;
        color: white !important;
        border-radius: 0.5rem !important;
        text-align: center !important;
        font-weight: 600 !important;
        font-size: 0.9375rem !important;
        pointer-events: all !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 10001 !important;
    }
    
    .nav-links a:last-child:hover {
        background: var(--accent-blue-hover) !important;
        padding-left: 1rem !important;
        transform: scale(1.02) !important;
    }
    
    /* Sicherstellen, dass alle Menü-Elemente klickbar sind */
    .nav-links * {
        pointer-events: auto !important;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Extra kleine Bildschirme */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .navbar .container {
        padding: 0.75rem 0.75rem;
    }
    
    .logo-image {
        max-height: 40px;
    }
    
    .hero {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .nav-links {
        width: 75%;
        max-width: 260px;
        padding: 3rem 1rem 1.25rem;
    }
    
    .nav-links a {
        font-size: 0.9375rem;
        padding: 0.875rem 0.5rem;
    }
    
    .nav-links a:last-child {
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.25rem;
        min-height: 260px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.logo-image {
    height: auto;
    width: auto;
    max-height: 60px;
    filter: brightness(1.2);
    transition: all 0.3s ease;
    animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
    0%, 100% {
        filter: brightness(1.2) drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
    }
    50% {
        filter: brightness(1.4) drop-shadow(0 0 15px rgba(59, 130, 246, 0.8));
    }
}

.logo:hover .logo-image {
    filter: brightness(1.5) drop-shadow(0 0 20px rgba(59, 130, 246, 1));
}

/* Desktop Nav-Links Styles */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        gap: 2.5rem;
        align-items: center;
        position: static !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        background: transparent !important;
        background-image: none !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    
    .nav-links a:last-child::after {
        display: none;
    }
    
    .nav-links a {
        color: var(--text-primary) !important;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
        padding: 0 !important;
        border: none !important;
        width: auto !important;
        text-align: left !important;
        opacity: 1 !important;
        text-shadow: none !important;
        background: transparent !important;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--explorer-blue) !important;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.9375rem;
}

.btn-primary {
    background: transparent;
    color: var(--explorer-blue);
    border: none;
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--explorer-blue);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--explorer-blue);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--explorer-blue);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--explorer-blue);
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    background: var(--explorer-blue);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

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

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
    outline: 2px solid var(--explorer-blue);
    outline-offset: 2px;
}

/* Smooth scrolling for entire page */
html {
    scroll-behavior: smooth;
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.blockchain-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--explorer-blue);
    border-radius: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--explorer-blue);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--explorer-blue);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title span {
    white-space: nowrap;
}

.hero-title .gradient-text {
    display: inline-block;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    overflow: visible;
    animation: text-slide-reveal 1.2s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

@keyframes text-slide-reveal {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Text mit Glow-Effekt der von links nach rechts wandert - nur einmal beim Laden */
.hero-title .gradient-text {
    position: relative;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.hero-title .gradient-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        transparent 15%,
        rgba(147, 197, 253, 0.4) 25%,
        rgba(96, 165, 250, 0.7) 35%,
        rgba(59, 130, 246, 1) 50%,
        rgba(96, 165, 250, 0.7) 65%,
        rgba(147, 197, 253, 0.4) 75%,
        transparent 85%,
        transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 100%;
    animation: glow-sweep-once 5s ease-in-out forwards;
    animation-delay: 1.2s;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.8)) drop-shadow(0 0 30px rgba(96, 165, 250, 0.6)) drop-shadow(0 0 45px rgba(59, 130, 246, 0.4));
}

@keyframes glow-sweep-once {
    0% {
        background-position: -300% 0;
        opacity: 0;
        filter: drop-shadow(0 0 0px rgba(59, 130, 246, 0));
    }
    10% {
        opacity: 0.7;
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.9)) drop-shadow(0 0 40px rgba(96, 165, 250, 0.7)) drop-shadow(0 0 60px rgba(59, 130, 246, 0.5));
    }
    20% {
        opacity: 1;
        filter: drop-shadow(0 0 30px rgba(59, 130, 246, 1)) drop-shadow(0 0 60px rgba(96, 165, 250, 0.9)) drop-shadow(0 0 90px rgba(59, 130, 246, 0.7)) drop-shadow(0 0 120px rgba(59, 130, 246, 0.5));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 40px rgba(59, 130, 246, 1)) drop-shadow(0 0 80px rgba(96, 165, 250, 1)) drop-shadow(0 0 120px rgba(59, 130, 246, 0.9)) drop-shadow(0 0 160px rgba(59, 130, 246, 0.7));
    }
    80% {
        opacity: 1;
        filter: drop-shadow(0 0 30px rgba(59, 130, 246, 1)) drop-shadow(0 0 60px rgba(96, 165, 250, 0.9)) drop-shadow(0 0 90px rgba(59, 130, 246, 0.7)) drop-shadow(0 0 120px rgba(59, 130, 246, 0.5));
    }
    90% {
        opacity: 0.7;
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.9)) drop-shadow(0 0 40px rgba(96, 165, 250, 0.7)) drop-shadow(0 0 60px rgba(59, 130, 246, 0.5));
    }
    100% {
        background-position: 300% 0;
        opacity: 0;
        filter: drop-shadow(0 0 0px rgba(59, 130, 246, 0));
    }
}

.hero-title br {
    display: block;
    margin: 0.5rem 0;
}

.title-second-line {
    display: inline-block;
    white-space: nowrap;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-primary);
    opacity: 0.9;
    max-width: 650px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 700px;
}

.stat-card {
    background: linear-gradient(to bottom, #2a2d35 0%, #1a1d24 100%);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.stat-card:hover {
    border-color: var(--explorer-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--explorer-blue);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(to bottom, rgba(42, 45, 53, 0.5) 0%, rgba(26, 29, 36, 0.5) 100%);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--explorer-blue);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.7;
    animation: fade-in-up 1s ease-out 2s forwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 0.7;
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--explorer-blue);
    border-radius: 15px;
    position: relative;
    margin: 0 auto;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--explorer-blue);
    border-radius: 2px;
    animation: scroll-mouse-animation 2s infinite;
}

@keyframes scroll-mouse-animation {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Features Section */
.features {
    background: linear-gradient(to bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 5rem 0;
    position: relative;
}

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

.section-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: var(--explorer-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    animation: badge-glow 3s ease-in-out infinite;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: badge-shine 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 30px rgba(139, 92, 246, 0.4);
    }
}

@keyframes badge-shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    overflow: visible;
    z-index: 1;
}

/* Node animation visible through text */
.section-title::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.5) 0%, transparent 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: node-glow 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes node-glow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1) translateX(0);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05) translateX(10px);
    }
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: linear-gradient(to bottom, #2a2d35 0%, #1a1d24 100%);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    height: 340px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--explorer-blue);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.feature-card:active {
    transform: translateY(-4px) scale(1.01);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--explorer-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--explorer-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    animation: float-subtle 6s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-primary);
    opacity: 0.8;
    font-size: 0.9375rem;
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

/* Technology Section */
.technology {
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, var(--bg-primary) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: tech-bg-pulse 8s ease-in-out infinite;
}

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

.technology .container {
    position: relative;
    z-index: 1;
}

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

.section-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

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

.tech-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.tech-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--explorer-blue), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tech-item:hover::before {
    transform: scaleX(1);
}

.tech-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 20px 40px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.1),
        inset 0 0 30px rgba(59, 130, 246, 0.05);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.tech-item:hover::after {
    opacity: 1;
}

.tech-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 70px;
    line-height: 1;
    position: relative;
    animation: number-pulse 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

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

.tech-item:hover .tech-number {
    animation: number-glow 0.6s ease-in-out;
}

@keyframes number-glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.8));
    }
}

.tech-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
}

.tech-item:hover .tech-info h3 {
    color: var(--explorer-blue);
    transform: translateX(5px);
}

.tech-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--explorer-blue), transparent);
    transition: width 0.4s ease;
}

.tech-item:hover .tech-info h3::after {
    width: 50px;
}

.tech-info p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.code-window {
    background: linear-gradient(135deg, #1a1d24 0%, #0f1419 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.1),
        inset 0 0 30px rgba(59, 130, 246, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.code-window.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.code-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.code-window:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(59, 130, 246, 0.3),
        inset 0 0 40px rgba(59, 130, 246, 0.1);
}

.code-window:hover::before {
    opacity: 1;
}

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

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(to bottom, #2a2d35 0%, #1a1d24 100%);
}

.code-title {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    overflow-x: auto;
    background: #0f1419;
}

.code-content pre {
    margin: 0;
    color: #e2e8f0;
}

.code-content .comment {
    color: #64748b;
    font-style: italic;
}

.code-content .keyword {
    color: #60a5fa;
    font-weight: 600;
}

.code-content .type {
    color: #34d399;
}

.code-content .function {
    color: #fbbf24;
}

.code-content .property {
    color: #a78bfa;
}

.code-content code {
    display: block;
    line-height: 1.6;
}

/* Roadmap */
.roadmap {
    background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.roadmap::before {
    content: '';
    position: absolute;
    right: 10%;
    top: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.roadmap::after {
    content: '';
    position: absolute;
    left: 10%;
    bottom: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

@keyframes float-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.roadmap-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%,
        rgba(59, 130, 246, 0.3) 10%,
        rgba(59, 130, 246, 0.5) 50%,
        rgba(59, 130, 246, 0.3) 90%,
        transparent 100%
    );
    z-index: 0;
    animation: timeline-glow 3s ease-in-out infinite;
}

@keyframes timeline-glow {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-marker {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 3px solid var(--explorer-blue);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.5);
    background: var(--explorer-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.3);
}

.timeline-item.current .timeline-marker {
    background: var(--explorer-blue);
    border-color: var(--explorer-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
    animation: marker-pulse 2s ease-in-out infinite;
}

@keyframes marker-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 60px rgba(59, 130, 246, 0.6);
    }
}

.timeline-content {
    flex: 1;
    background: linear-gradient(to bottom, rgba(42, 45, 53, 0.5) 0%, rgba(26, 29, 36, 0.5) 100%);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--explorer-blue), transparent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    border-color: var(--explorer-blue);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.timeline-item:hover .timeline-content::before {
    transform: scaleX(1);
}

.timeline-date {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--explorer-blue);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-date {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    border-color: var(--explorer-blue);
    transform: scale(1.05);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--explorer-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content h3 {
    background: linear-gradient(135deg, var(--explorer-blue) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-content p {
    color: var(--text-primary);
}

/* Download */
.download {
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, var(--bg-primary) 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.download::after {
    content: '';
    position: absolute;
    left: 20%;
    top: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.download-content {
    text-align: center;
}

.download-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.download-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Community */
.community {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.community-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.community-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(to bottom, #2a2d35 0%, #1a1d24 100%);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.community-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.community-link:hover {
    transform: translateY(-4px);
    border-color: var(--explorer-blue);
}

.community-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
    color: var(--explorer-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.community-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.community-info p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    text-align: center;
}

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

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--explorer-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-image {
        max-height: 45px;
    }
    
    /* Hero Section Mobile Optimierung */
    .hero {
        min-height: auto;
        padding: 4rem 0 3rem;
        z-index: 1 !important;
        position: relative !important;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }
    
    .hero-title span {
        white-space: normal;
        display: block;
    }
    
    .hero-title .title-second-line {
        white-space: normal;
        display: block;
    }
    
    .hero-title br + span {
        padding-left: 0;
        margin-top: 0.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        opacity: 0.95;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 3rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        height: auto;
        min-height: 280px;
    }
    
    .feature-card h3 {
        font-size: 1.125rem;
    }
    
    .feature-card p {
        font-size: 0.875rem;
    }
    
    /* Tech Grid */
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tech-number {
        font-size: 2.5rem;
        min-width: 60px;
    }
    
    .tech-info h3 {
        font-size: 1.25rem;
    }
    
    /* Section Headers */
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Container Padding */
    .container {
        padding: 0 1rem;
    }
    
    /* Download Buttons */
    .download-buttons {
        flex-direction: column;
    }
    
    .download-buttons .btn {
        width: 100%;
    }
    
    /* Community Links */
    .community-links {
        grid-template-columns: 1fr;
    }
}
