/* --- VARIABLES & RESET --- */
:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --primary: #38bdf8; /* Light Blue */
    --primary-hover: #0ea5e9; /* Darker Blue */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --gradient: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- HEADER --- */
header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* --- TOOL SECTION --- */
.tool-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    text-align: center;
}

.drop-zone {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--primary);
    background: rgba(56, 189, 248, 0.05);
}

.file-info {
    margin: 15px 0;
    font-weight: 600;
    color: var(--primary);
}

.password-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
}

.password-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: white;
    font-family: inherit;
}

.status-msg {
    margin-top: 15px;
    font-size: 0.9rem;
    min-height: 24px;
}

/* --- FEATURES & CONTENT --- */
.section { padding: 80px 0; }
.bg-offset { background-color: rgba(255,255,255,0.02); }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card h3 { margin-bottom: 15px; color: var(--primary); }

/* --- FAQ --- */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.faq-item h3 { margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p { color: var(--text-muted); }

/* --- FOOTER --- */
footer {
    background: #020617;
    padding: 80px 0 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--primary); }

.social-icons { display: flex; gap: 15px; margin-top: 15px; }
.social-icons i { font-size: 1.2rem; transition: 0.3s; }
.social-icons i:hover { color: var(--primary); transform: scale(1.1); }

.copyright {
    text-align: center;
    color: var(--text-muted);
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Mobile menu implementation omitted for brevity */
}