@font-face {
    font-family: 'Varela Round';
    src: url('/static/fonts/VarelaRound-Regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Varela Round', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: #6366f1 #1e293b;
}

body {
    background: #1e293b;
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(99, 102, 241, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: #7c7ff5;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
}


.hero {
    min-height: auto;
    padding: 2rem 1rem;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 10px;
}

.color-title {
    color: royalblue;
}


.create-card {
    background: rgba(42, 52, 71, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.input-wrapper {
    margin-bottom: 1.5rem;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
    width: 100%;
    padding: 12px 16px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus,
.input-wrapper select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.input-wrapper textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #64748b;
}

.input-wrapper small {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.trust-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #94a3b8;
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #1e293b;
    border-radius: 24px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.modal-header p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.875rem;
}

.modal-body {
    margin-bottom: 1.5rem;
}

.modal-body input {
    width: 100%;
    padding: 12px 16px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.modal-body input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.password-error {
    color: #f87171;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
}

.modal-footer {
    text-align: center;
    display: flex;
    gap: 15px;
}

.modal-footer .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .create-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .trust-features {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .feature {
        font-size: 0.85rem;
    }

    .stat-badge {
        padding: 6px 16px;
    }
}

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

.create-card {
    animation: fadeInUp 0.5s ease;
}