:root {
    --links-ads-red: #DC2626;
    --links-ads-red-dark: #B91C1C;
    --links-ads-red-light: #FEE2E2;
    --green-100: #D1FAE5;
    --green-700: #047857;
    --red-100: #FEE2E2;
    --red-700: #B91C1C;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.5;
}

.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    height: 80px;
    width: auto;
    margin-right: 2rem;
}

.header__nav {
    display: none;
}

.header__nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header__nav-link {
    color: var(--gray-600);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: color 0.2s;
    font-size: 0.9rem;
    white-space: nowrap;
}

#admin-logout-button {
    border: 1px solid var(--links-ads-red);
    border-radius: 5px;
    color: var(--links-ads-red);
}

#admin-logout-button:hover {
    background-color: var(--links-ads-red);
    color: white;
}

.header__nav-link:hover,
.header__nav-link.active {
    color: var(--links-ads-red);
}

.header__menu-btn {
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.hero {
    padding: 6rem 1rem 3rem;
    background: linear-gradient(to bottom right, var(--gray-50), white);
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    min-height: 35vh;
}

.hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    font-size: 2.7rem;
    font-weight: bold;
    color: var(--links-ads-red);
    padding: 2rem 1rem 1rem 1rem;
    line-height: 40px;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin: 1rem 0 2rem 0;
    line-height: 27px;
}

.hero__image {
    display: none;
}

.stats {
    padding: 3rem 1rem;
    background: white;
}

.stats__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.stats__card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats__icon {
    font-size: 2rem;
    color: var(--links-ads-red);
}

.stats__number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stats__label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.btn {
    background-color: var(--links-ads-red);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--links-ads-red-dark);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn--primary {
    background-color: var(--links-ads-red);
    color: white;
}

.btn--primary:hover {
    background-color: var(--links-ads-red-dark);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.modal__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input-wrapper {
    position: relative;
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--links-ads-red);
    box-shadow: 0 0 0 3px var(--links-ads-red-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.footer {
    background: white;
    border-top: 1px solid var(--gray-200);
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer__links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__link {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__link:hover {
    color: var(--links-ads-red);
}

.features {
    padding: 3rem 1rem;
    background: white;
}

.features__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.features__card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.2s;
}

.features__card:hover {
    transform: translateY(-2px);
}

.features__icon {
    font-size: 2.5rem;
    color: var(--links-ads-red);
    margin-bottom: 1rem;
}

.features__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.features__description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* media queries */
@media (min-width: 800px) {
    .header__menu-btn {
        display: none;
    }

    .header__nav {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .header__nav.active {
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
    }

    .hero__content {
        text-align: left;
    }

    .stats__container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .features__container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.5rem;
    }
} 