:root {
    --bg-dark: #0f172a;
    --accent-color: #d946ef; /* Fuchsia for creativity */
    --accent-hover: #c026d3;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

.background-mesh {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(at 10% 20%, hsla(292,100%,74%,0.15) 0px, transparent 50%),
        radial-gradient(at 90% 90%, hsla(199,100%,50%,0.15) 0px, transparent 50%);
    filter: blur(60px);
}

.container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.text-left { text-align: left; }

.header { text-align: center; margin-bottom: 50px; margin-top: 40px; }
.logo { font-size: 3.5rem; font-weight: 700; letter-spacing: -1px; }
.highlight { color: var(--accent-color); }
.subtitle { font-size: 1.2rem; color: #94a3b8; max-width: 650px; margin: 15px auto; line-height: 1.6;}

.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.report-panel { background: rgba(15, 23, 42, 0.85); }

.drop-zone {
    border: 2px dashed rgba(217, 70, 239, 0.4);
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--accent-color);
    background: rgba(217, 70, 239, 0.05);
}

.hidden { display: none !important; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-color);
}

/* Scanner Animation */
.preview-container {
    position: relative;
    margin-top: 30px;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#preview-img { width: 100%; height: auto; border-radius: 15px; display: block; }

.scanner {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.scanner-line {
    width: 100%; height: 4px;
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    position: absolute;
    top: 0;
    animation: scan 2.5s infinite ease-in-out;
}

@keyframes scan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

.scanning-text {
    color: white; margin-top: 20px; font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.5);
    padding: 10px 20px;
    border-radius: 20px;
}

.results-section { margin-top: 60px; }
.results-title { text-align: center; margin-bottom: 40px; font-size: 2.5rem; }

.step-list {
    line-height: 1.8;
    margin-left: 20px;
    font-size: 1.05rem;
    padding-top: 10px;
}

.tools-grid {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-chip {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(217, 70, 239, 0.15);
    border: 1px solid rgba(217, 70, 239, 0.4);
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s;
}

.tool-chip:hover {
    background: rgba(217, 70, 239, 0.3);
    transform: scale(1.05);
}

.tool-chip a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
