@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #ffffff;
    --secondary-color: #000000;
    --accent-color: #404040;
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    --gradient-secondary: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --gradient-accent: linear-gradient(135deg, #2a2a2a 0%, #404040 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-light: rgba(255, 255, 255, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.language-switch {
    position: relative;
}


/* Language Switch Styles */
.language-switch {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: #b0b0b0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.lang-dropdown {
  position: absolute; top: 120%; right: 0;
  background: rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 100; display: flex; flex-direction: column;
  min-width: 140px; backdrop-filter: blur(20px);
}
.lang-option {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 10px 16px; background: transparent; border: none;
  color: #b0b0b0; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.lang-option:hover { background: rgba(255,255,255,0.1); color: #fff; }

.lang-dropdown.hidden {
    display: none;
}

.animated-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-orbs::before,
.floating-orbs::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float-orb 15s ease-in-out infinite;
}

.floating-orbs::before {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-orbs::after {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: 7s;
}

.nav-blur {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container {
    animation: logo-glow 3s ease-in-out infinite alternate;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(-45deg);
    animation: logo-shine 2s ease-in-out infinite;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-link {
    position: relative;
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #cccccc);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.mobile-btn {
    width: 32px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-btn span {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-btn.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.mobile-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-btn.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
}

.mobile-nav-link {
    font-size: 2rem;
    font-weight: 600;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mobile-nav-link:hover {
    color: white;
    transform: scale(1.1);
}

.hero-content {
    animation: hero-entrance 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: badge-float 3s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.hero-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shine 3s ease-in-out infinite;
}

.hero-text-accent {
    background: linear-gradient(135deg, #666666 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e0e0e0;
    animation: subtitle-fade 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.125rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: description-fade 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    animation: buttons-fade 1s ease-out 0.9s both;
}

.btn-modern-primary {
    position: relative;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.btn-modern-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 48px rgba(255, 255, 255, 0.2);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.btn-modern-primary:hover .btn-shine {
    left: 100%;
}

.btn-modern-secondary {
    position: relative;
    padding: 16px 32px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.btn-modern-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-modern-secondary:hover .btn-glow {
    opacity: 1;
}

.btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card-modern {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px);
}

.feature-card-modern.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card-inner {
    padding: 2rem;
}

.feature-icon-modern {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #000;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: icon-pulse 2s ease-in-out infinite;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.feature-text {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-stats {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.feature-stats span:first-child {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.feature-stats span:last-child {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.server-console {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-bottom: 1px solid #333;
}

.console-controls {
    display: flex;
    gap: 8px;
}

.console-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.console-dot.red { background: #ff5f57; }
.console-dot.yellow { background: #ffbd2e; }
.console-dot.green { background: #28ca42; }

.console-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.console-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28ca42;
    font-size: 12px;
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #28ca42;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.console-content {
    padding: 20px;
    background: #0a0a0a;
    max-height: 400px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.6;
}

.console-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: consoleFadeIn 0.5s ease forwards;
    opacity: 0;
}

.console-line:nth-child(1) { animation-delay: 0.5s; }
.console-line:nth-child(2) { animation-delay: 1s; }
.console-line:nth-child(3) { animation-delay: 1.5s; }
.console-line:nth-child(4) { animation-delay: 2s; }
.console-line:nth-child(5) { animation-delay: 2.5s; }
.console-line:nth-child(6) { animation-delay: 3s; }
.console-line:nth-child(7) { animation-delay: 3.5s; }
.console-line:nth-child(8) { animation-delay: 4s; }

.timestamp {
    color: #666;
    font-size: 11px;
    min-width: 80px;
}

.log-level {
    font-weight: 600;
    min-width: 80px;
}

.log-level.info { color: #5ac8fa; }
.log-level.success { color: #28ca42; }
.log-level.warn { color: #ffbd2e; }
.log-level.error { color: #ff5f57; }

.message {
    color: #e0e0e0;
}

.console-line.command {
    background: rgba(255, 255, 255, 0.02);
    padding: 8px;
    border-radius: 6px;
    border-left: 3px solid #5ac8fa;
    margin: 8px 0;
}

.console-line.success {
    color: #28ca42;
}

.prompt {
    color: #5ac8fa;
    font-weight: bold;
}

.cmd {
    color: #ffffff;
    font-weight: 600;
}

.arg {
    color: #ffbd2e;
}

.permission {
    color: #af52de;
}

.flag {
    color: #ff9f0a;
}

.value {
    color: #28ca42;
}

.console-cursor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    animation: consoleFadeIn 0.5s ease 4.5s forwards;
    opacity: 0;
}

.cursor-blink {
    color: #ffffff;
    animation: blink 1s infinite;
}

@keyframes consoleFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.console-content::-webkit-scrollbar {
    width: 6px;
}

.console-content::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.console-content::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.console-content::-webkit-scrollbar-thumb:hover {
    background: #444;
}

.code-showcase {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--glass-border);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28ca42; }

.code-title {
    font-size: 14px;
    color: #a0a0a0;
    font-weight: 500;
}

.code-content {
    padding: 2rem;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 0.5rem;
    animation: code-typing 3s ease-in-out infinite;
}

.code-prompt { color: #28ca42; }
.code-command { color: #ffffff; font-weight: 600; }
.code-arg { color: #ffbd2e; }
.code-perm { color: #5ac8fa; }
.code-value { color: #ff9f0a; }
.code-flag { color: #af52de; }
.code-output { color: #28ca42; }

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.download-card-modern {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.download-card-modern.recommended {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.1);
}

.recommended-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: #000;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.download-header {
    text-align: center;
    margin-bottom: 2rem;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #000;
    margin: 0 auto 1rem;
}

.download-icon.dev {
    background: linear-gradient(135deg, #ffbd2e 0%, #ff9f0a 100%);
}

.download-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.download-version {
    font-size: 2rem;
    font-weight: 800;
    color: #28ca42;
}

.download-version.dev {
    color: #ffbd2e;
}

.download-features {
    margin-bottom: 2rem;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.download-feature i {
    color: #28ca42;
    width: 16px;
}

.download-feature.warning i {
    color: #ffbd2e;
}

.src-primary {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    display: inline-block;
    text-decoration: none;
    text-align: center;
    line-height: 1;
    box-sizing: border-box;
    
    background: var(--gradient-primary);
    color: #000;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.src-primary:hover {
    transform: translateY(-2px);
}

.src-primary:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.src-primary:active {
    transform: translateY(0);
}

.src-primary:hover .btn-particles {
    opacity: 1;
    animation: particle-burst 0.6s ease;
}

.src-primary span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}



.download-btn-primary,
.download-btn-secondary {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    display: inline-block;
    text-decoration: none;
    text-align: center;
    line-height: 1;
    box-sizing: border-box;
    
    background: var(--gradient-primary);
    color: #000;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.download-btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.download-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.download-btn-primary:hover,
.download-btn-secondary:hover {
    transform: translateY(-2px);
}
.download-btn-primary span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-particles {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-btn-primary:hover .btn-particles {
    opacity: 1;
    animation: particle-burst 0.6s ease;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 1.125rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
}

/* Animations */
@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes logo-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(255,255,255,0.5)); }
}

@keyframes logo-shine {
    0% { transform: translateX(-100%) rotate(-45deg); }
    100% { transform: translateX(200%) rotate(-45deg); }
}

@keyframes hero-entrance {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes text-shine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes subtitle-fade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes description-fade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes buttons-fade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes icon-pulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes code-typing {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.7; }
}

@keyframes particle-burst {
    0% { 
        opacity: 0; 
        transform: scale(0.8); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.1); 
    }
    100% { 
        opacity: 0; 
        transform: scale(1.2); 
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ffffff, #666666);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ffffff, #999999);
}

::selection {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-modern-primary,
    .btn-modern-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card-modern {
        padding: 1.5rem;
    }
    
    .download-card-modern {
        padding: 1.5rem;
    }
}
