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

:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #242424;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-orange: #ff9500;
    --accent-yellow: #ffd000;
    --gradient: linear-gradient(135deg, #ff9500 0%, #ffd000 100%);
    --shadow: 0 4px 20px rgba(255, 149, 0, 0.15);
    --shadow-hover: 0 8px 30px rgba(255, 149, 0, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    background-color: var(--bg-secondary);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 149, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 149, 0, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient);
    color: var(--bg-primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-orange);
}

.btn-secondary:hover {
    background: var(--bg-card);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 149, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-orange);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(100%) brightness(1.5);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--accent-orange);
    position: relative;
    box-shadow: var(--shadow-hover);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--bg-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 149, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.contact-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    background-color: var(--bg-card);
    border: 2px solid rgba(255, 149, 0, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: var(--shadow);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 149, 0, 0.1);
}

/* Auth Buttons */
.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.auth-buttons,
.user-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

#userName {
    color: var(--accent-orange);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    padding: 20px 0;
}

.modal.modal-active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: linear-gradient(135deg, #242424 0%, #1a1a1a 100%);
    margin: 50px auto;
    padding: 3rem;
    border: 2px solid var(--accent-orange);
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    position: relative;
    animation: slideDown 0.4s ease;
    box-shadow: 0 20px 60px rgba(255, 149, 0, 0.3), 0 0 0 1px rgba(255, 149, 0, 0.1);
}

.modal-large {
    max-width: 900px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close {
    color: var(--text-secondary);
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 149, 0, 0.1);
}

.close:hover,
.close:focus {
    color: var(--accent-orange);
    background: rgba(255, 149, 0, 0.2);
    transform: rotate(90deg);
}

.modal-content h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
    font-size: 2rem;
    font-weight: 800;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    padding: 1.2rem;
    background-color: var(--bg-primary);
    border: 2px solid rgba(255, 149, 0, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    width: 100%;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 4px rgba(255, 149, 0, 0.15);
    transform: translateY(-2px);
}

.modal-content label {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: -0.8rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-content .btn {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
}

.modal-content .btn-primary {
    background: var(--gradient);
    border: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modal-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.4);
}

.modal-footer {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 149, 0, 0.2);
}

.modal-footer a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-footer a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.info-box {
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.1) 0%, rgba(255, 208, 0, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-orange);
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.info-box p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-box strong {
    color: var(--accent-orange);
}

/* Dashboard */
.request-card {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 149, 0, 0.2);
    transition: all 0.3s ease;
}

.request-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.request-header h4 {
    color: var(--accent-orange);
    margin: 0;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: rgba(255, 208, 0, 0.2);
    color: var(--accent-yellow);
}

.status-approved {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.status-rejected {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.request-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 30px auto;
        padding: 2rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .request-details {
        grid-template-columns: 1fr;
    }

    .close {
        right: 15px;
        top: 15px;
        font-size: 2rem;
        width: 35px;
        height: 35px;
    }
}
