:root {
    --bg: #0b0d12;
    --bg-alt: #12151c;
    --card-bg: #161a23;
    --border: #232733;
    --text: #f3f4f7;
    --text-dim: #a1a6b3;
    --accent: #0088ff;
    --accent2: #00b8ff;
    --accent-hover: #2ed9ff;
    --gradient: linear-gradient(90deg, var(--accent), var(--accent2));
    --success: #27d896;
    --danger: #ff5c5c;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Roboto', system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    color: #fff;
    font-weight: 600;
    margin-top: 0;
}

a {
    color: var(--accent2);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

header {
    background: rgba(18, 21, 28, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin: 0;
    color: var(--accent2);
}

nav a {
    margin-left: 30px;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.3px;
}

nav a:hover {
    color: var(--accent2);
}

button,
.btn {
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 180, 255, 0.2);
}

button:hover,
.btn:hover {
    box-shadow: 0 6px 25px rgba(0, 210, 255, 0.35);
    transform: translateY(-1px);
}

main {
    max-width: 1100px;
    margin: 70px auto;
    padding: 0 25px;
}

section {
    margin-bottom: 80px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, border 0.3s, filter 0.3s;
}

.card:hover {
    border-color: var(--accent2);
    transform: translateY(-3px);
    filter: brightness(1.05);
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-dim);
}

input[type=text],
input[type=file],
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-alt);
    color: var(--text);
    padding: 10px 12px;
    font-size: 0.95rem;
    margin-bottom: 14px;
    transition: border 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input::file-selector-button {
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    margin-right: 10px;
    cursor: pointer;
    transition: background 0.25s;
}

input::file-selector-button:hover {
    filter: brightness(1.1);
}

pre {
    background: #151921;
    border-radius: 8px;
    padding: 12px;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #00ffc8;
    border: 1px solid #20252f;
}

.hero {
    text-align: center;
    padding: 120px 20px 80px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 180, 255, 0.1), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(0, 180, 255, 0.05), transparent 60%);
    border-bottom: 1px solid var(--border);
}

.hero h2 {
    font-size: 2.4rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
}

.hero p {
    color: var(--text-dim);
    max-width: 740px;
    margin: 0 auto 30px;
    font-size: 1.08rem;
    line-height: 1.7;
}

.highlight {
    color: var(--accent2);
    font-weight: 600;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.feature {
    background: var(--card-bg);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.25s, border 0.25s, filter 0.25s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature:hover {
    border-color: var(--accent2);
    transform: translateY(-4px);
    filter: brightness(1.08);
}

.feature h4 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.step {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: border 0.3s, transform 0.3s, filter 0.3s;
}

.step:hover {
    border-color: var(--accent2);
    transform: translateY(-3px);
    filter: brightness(1.05);
}

.step h4 {
    color: var(--accent2);
    margin-bottom: 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0, 180, 255, 0.3);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: var(--accent2);
}

footer {
    margin-top: 100px;
    padding: 50px 25px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dim);
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

footer a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent2);
}

.center {
    text-align: center;
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 50px 0;
}

ul,
ol {
    color: var(--text-dim);
}

@media (max-width: 800px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    nav a {
        margin: 10px;
        display: inline-block;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .modal-content {
        max-width: 95%;
    }
}

select#projectCategory {
    background-color: #111;
    color: #eee;
    border: 1px solid #333;
    padding: 10px;
    font-size: 1rem;
    border-radius: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    width: 100%;
    appearance: none;
    font-family: Inter, sans-serif;
}