:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg: #0f172a;
    --surface: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 20px;
}

.pro-badge {
    background: var(--gradient);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-outline:hover {
    background: var(--glass);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Hero */
.hero {
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.users-count {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
}

.avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -12px;
}

.avatar:first-child {
    margin-left: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
}

.main-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 300px;
    height: 350px;
    position: relative;
    z-index: 10;
    margin: 0 auto;
    box-shadow: 0 40px 60px -15px rgba(0, 0, 0, 0.5);
    padding: 24px;
}

.card-header .dots {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glass-border);
}

.skeleton {
    height: 12px;
    background: var(--glass);
    border-radius: 4px;
    margin-bottom: 16px;
}

.line-1 {
    width: 80%;
}

.line-2 {
    width: 100%;
}

.line-3 {
    width: 90%;
}

.line-4 {
    width: 60%;
}

.floating-doc {
    position: absolute;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-weight: 600;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.doc-1 {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.doc-2 {
    bottom: 20%;
    right: 0;
    animation-delay: 2s;
}

.doc-3 {
    top: 10%;
    right: 10%;
    animation-delay: 4s;
}

/* Upload Section */
.upload-section {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.5);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
}

.upload-box-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.drop-zone {
    border: 2px dashed var(--glass-border);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.drop-zone:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.main-text {
    font-weight: 600;
    font-size: 18px;
}

.sub-text {
    color: var(--text-muted);
    font-size: 14px;
}

.file-preview {
    margin-top: 24px;
    background: var(--glass);
    padding: 16px;
    border-radius: 12px;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#removeFile {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 20px;
}

/* Lint Fix */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
}

.slug-container {
    margin: 32px 0;
}

.slug-container label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.input-group {
    display: flex;
    background: var(--bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
}

.prefix {
    padding: 12px 16px;
    background: var(--glass);
    color: var(--text-muted);
    font-size: 14px;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px;
    color: white;
    font-family: inherit;
    outline: none;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }

    .hero-visual {
        display: none;
    }

    .nav-links {
        display: none;
    }
}

/* Result Box */
.result-box {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.link-output {
    display: flex;
    gap: 12px;
    margin: 24px 0;
}

.link-output input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px;
    color: white;
    outline: none;
}

#copyBtn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    cursor: pointer;
    font-weight: 600;
}

.result-actions {
    margin-top: 24px;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--surface);
    margin: 10% auto;
    padding: 32px;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--text-muted);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.auth-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.auth-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    position: relative;
}

.auth-tab.active {
    color: white;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-family: inherit;
    outline: none;
}