/* 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);
}

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

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

.mobile-toggle {
    position: absolute;
    right: 0;
    visibility: visible;
}

@media (min-width: 769px) {
    .mobile-toggle {
        display: none;
    }
}

.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));
}

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

.nav-links a:last-child::after {
    display: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--explorer-blue);
}

.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:hover {
    background: var(--explorer-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary:hover {
    background: var(--explorer-blue);
    color: white;
}

.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;
}

.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: 1000px;
}

.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;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.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);
}

/* 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 {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--bg-tertiary);
    color: var(--explorer-blue);
    border-radius: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.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.3s;
    position: relative;
    overflow: hidden;
}

.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);
}

.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;
}

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

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

.tech-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tech-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--explorer-blue);
    min-width: 60px;
    line-height: 1;
}

.tech-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

.code-window {
    background: var(--bg-tertiary);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.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;
}

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

.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;
}

.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-number {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--explorer-blue);
    flex-shrink: 0;
}

.timeline-item.current .timeline-number {
    background: var(--explorer-blue);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.timeline-content {
    flex: 1;
}

.timeline-date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

/* 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;
}

.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: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.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: 50px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
}
