
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 25%, #1a1a0a 50%, #0a1a1a 75%, #0a0a0a 100%),
        radial-gradient(circle at 20% 30%, rgba(255, 100, 50, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(50, 255, 150, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Subtle tech grid */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 100, 50, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 100, 50, 0.25) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
}

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

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #ff6432;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 100, 50, 0.3);
    letter-spacing: 2px;
}

.subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: #32ff96;
    margin-bottom: 15px;
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
}

.description {
    font-size: 1rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 100, 50, 0.2);
    border-radius: 12px;
    padding: 35px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6432, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 100, 50, 0.4);
    box-shadow: 0 10px 30px rgba(255, 100, 50, 0.1);
}

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

.card-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6432, #ff8c32);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 100, 50, 0.3);
}

.card p {
    color: #c0c0c0;
    line-height: 1.5;
    margin-bottom: 20px;
}

.file-drop-zone {
    border: 2px dashed rgba(50, 255, 150, 0.3);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    margin: 20px 0;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(50, 255, 150, 0.02);
}

.file-drop-zone:hover,
.file-drop-zone.drag-over {
    border-color: rgba(50, 255, 150, 0.6);
    background: rgba(50, 255, 150, 0.05);
    transform: translateY(-2px);
}

.file-drop-zone .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #32ff96;
}

.file-drop-zone strong {
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.file-drop-zone .subtitle-text {
    color: #888;
    margin-top: 8px;
    font-size: 0.85rem;
}

.file-input {
    display: none;
}

.btn {
    background: linear-gradient(135deg, #ff6432, #ff8c32);
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    width: 100%;
    margin-top: 20px;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 100, 50, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 100, 50, 0.4);
    background: linear-gradient(135deg, #ff7040, #ff9640);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 12px rgba(255, 100, 50, 0.1);
}

.progress-container {
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    height: 6px;
    display: none;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #32ff96, #64ffb4);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 6px;
}

.result-area {
    margin-top: 20px;
    padding: 20px;
    background: rgba(50, 255, 150, 0.05);
    border: 1px solid rgba(50, 255, 150, 0.2);
    border-radius: 8px;
    min-height: 100px;
    display: none;
}

.status-message {
    text-align: center;
    margin: 10px 0;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #32ff96;
}

.download-link {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #32ff96, #64ffb4);
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(50, 255, 150, 0.3);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 100, 50, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ff6432;
}

.feature h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature p {
    color: #a0a0a0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Subtle animated elements */
.tech-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 100, 50, 0.3), transparent);
    height: 1px;
    animation: moveLine 8s linear infinite;
}

@keyframes moveLine {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100vw); opacity: 0; }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .card {
        padding: 25px;
    }
}

/* Terminal-style text */
.terminal-text {
    font-family: 'JetBrains Mono', monospace;
    color: #32ff96;
    font-size: 0.85rem;
}
