@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
    --background: #07111f;
    --card-background: rgba(12, 27, 47, 0.78);
    --card-border: rgba(255, 255, 255, 0.1);

    --primary: #408dc4;
    --primary-light: #74b8e8;
    --accent: #c06214;

    --heading: #ffffff;
    --body-text: #b9c6d6;
    --muted-text: #8191a5;

    --button-text: #ffffff;
    --warning: #c06214;

    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-family: "Manrope", sans-serif;
    color: var(--body-text);

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(64, 141, 196, 0.17),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(192, 98, 20, 0.12),
            transparent 35%
        ),
        var(--background);
}

a {
    color: inherit;
    text-decoration: none;
}

.background-decoration {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
    opacity: 0.45;
}

.decoration-one {
    width: 320px;
    height: 320px;
    top: -130px;
    right: -100px;
    background: rgba(64, 141, 196, 0.22);
}

.decoration-two {
    width: 260px;
    height: 260px;
    bottom: -110px;
    left: -90px;
    background: rgba(192, 98, 20, 0.16);
}

.down-page {
    width: 100%;
    min-height: calc(100vh - 110px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 30px;
}

.down-card {
    width: 100%;
    max-width: 820px;
    padding: 55px;
    text-align: center;
    border: 1px solid var(--card-border);
    border-radius: 30px;
    background: var(--card-background);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    animation: cardEntrance 0.9s ease both;
}

.status-badge {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 auto 32px;
    padding: 9px 15px;
    border: 1px solid rgba(192, 98, 20, 0.3);
    border-radius: 100px;
    color: #fdba74;
    background: rgba(192, 98, 20, 0.1);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warning);
    box-shadow: 0 0 0 rgba(192, 98, 20, 0.5);
    animation: pulse 2s infinite;
}

.logo-container {
    min-height: 95px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.business-logo {
    display: block;
    max-width: 210px;
    max-height: 95px;
    object-fit: contain;
}

h1 {
    max-width: 670px;
    margin: 0 auto 22px;
    color: var(--heading);
    font-size: clamp(2.5rem, 7vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

h1 span {
    display: block;
    color: var(--primary-light);
}

.description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--muted-text);
}

.action-section {
    margin-top: 42px;
}

.contact-button {
    min-height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 13px 21px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 0.87rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.contact-button:hover {
    transform: translateY(-3px);
}

.primary-button {
    color: var(--button-text);
    background: var(--primary);
}

.primary-button:hover {
    background: #347daf;
}

.developer-button {
    color: var(--heading);
    background: var(--accent);
    border-color: transparent;
    padding: 16px 28px;
    font-size: 0.95rem;
}

.developer-button:hover {
    background: #a05010;
    border-color: transparent;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(7, 17, 31, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    border: 1px solid var(--card-border);
    border-radius: 24px;
    background: var(--card-background);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted-text);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--heading);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-icon {
    font-size: 2.2rem;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.modal-header h2 {
    color: var(--heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.developer-info {
    margin-bottom: 28px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(64, 141, 196, 0.1);
    border: 1px solid rgba(64, 141, 196, 0.2);
    text-align: center;
}

.dev-tagline {
    color: var(--heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.dev-tagline strong {
    color: var(--primary-light);
}

.dev-motto {
    color: var(--primary-light);
    font-size: 0.85rem;
    font-style: italic;
}

.dev-form {
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--heading);
    font-size: 0.82rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--heading);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.25s ease, background 0.25s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-text);
}

.form-submit {
    width: 100%;
    margin-top: 6px;
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-success {
    display: none;
    text-align: center;
    padding: 30px 20px;
    animation: cardEntrance 0.5s ease both;
}

.form-success i {
    font-size: 3rem;
    color: #34d399;
    margin-bottom: 15px;
}

.form-success h3 {
    color: var(--heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--body-text);
    font-size: 0.9rem;
}

.developer-contacts {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.dev-contact-heading {
    margin-bottom: 14px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.dev-contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.dev-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--body-text);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.dev-contact-link:hover {
    border-color: var(--primary);
    background: rgba(64, 141, 196, 0.1);
    color: var(--heading);
    transform: translateY(-2px);
}

.site-footer {
    width: 100%;
    padding: 0 20px 28px;
    text-align: center;
    color: var(--muted-text);
    font-size: 0.76rem;
    line-height: 1.8;
}

.developer-credit a {
    color: var(--primary-light);
    font-weight: 800;
}

.developer-credit a:hover {
    text-decoration: underline;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(192, 98, 20, 0.5);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(192, 98, 20, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(192, 98, 20, 0);
    }
}

@media (max-width: 700px) {
    .down-page {
        padding-top: 25px;
    }

    .down-card {
        padding: 38px 22px;
        border-radius: 22px;
    }

    .status-badge {
        font-size: 0.68rem;
    }

    .business-logo {
        max-width: 175px;
    }

    .description {
        font-size: 0.92rem;
    }

    .developer-button {
        width: 100%;
    }

    .modal-card {
        padding: 32px 20px;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .dev-contact-links {
        flex-direction: column;
    }

    .dev-contact-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 2.5rem;
    }

    .down-card {
        padding: 32px 18px;
    }

    .modal-card {
        padding: 28px 16px;
    }
}