:root {
    --brand-red: #EF3E42;
    --brand-blue: #1FA2DF;
    --btn-bg: rgba(15, 23, 42, 0.65);
    --btn-border: rgba(255, 255, 255, 0.8);
    --page-gutter: clamp(16px, 5vw, 28px);
    --content-width: 520px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    min-width: 320px;
    background: #0b1120;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
    background-color: #0b1120;
    background-image: 
        radial-gradient(circle at 50% 20%, rgba(31, 162, 223, 0.15), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(239, 62, 66, 0.1), transparent 40%),
        linear-gradient(135deg, #0b0f19 0%, #111827 50%, #080c14 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: max(28px, env(safe-area-inset-top)) var(--page-gutter) max(20px, env(safe-area-inset-bottom));
}

.container {
    width: min(100%, var(--content-width));
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Top Header & Logo */
.logo-container {
    margin-bottom: 8px;
    text-align: center;
}

.logo-image {
    display: block;
    width: auto;
    max-width: min(100%, 220px);
    height: auto;
    max-height: 64px;
    object-fit: contain;
}

.subtitle {
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-blue);
    letter-spacing: 0.5px;
    text-transform: capitalize;
    margin-bottom: 25px;
    text-align: center;
}

.company-name {
    max-width: 100%;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
    line-height: 1.35;
    text-wrap: balance;
}

/* Menu Link Buttons */
.links-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 35px;
}

.link-btn {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    padding: 14px 18px;
    background: var(--btn-bg);
    border: 1.5px solid var(--btn-border);
    border-radius: 18px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    backdrop-filter: blur(8px);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.link-btn i {
    flex: 0 0 35px;
    font-size: 20px;
    width: 35px;
    text-align: center;
    color: #ffffff;
}

.link-btn span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.link-btn:hover,
.link-btn:focus-visible {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(31, 162, 223, 0.3);
}

.link-btn:focus-visible,
.social-btn:focus-visible,
.back-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.95);
    outline-offset: 3px;
}

/* Social Follow Icons */
.follow-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #0b1120;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--brand-red);
    color: #ffffff;
    transform: scale(1.1);
}

/* Footer Section */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

footer strong {
    color: #ffffff;
}

footer .footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 14px;
    margin-top: 6px;
}

footer .footer-contact a {
    color: #ffffff;
    text-decoration: none;
}

footer .footer-contact a:hover,
footer .footer-contact a:focus-visible {
    color: var(--brand-blue);
    text-decoration: underline;
}

footer .powered-by {
    font-style: italic;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
    body {
        padding-inline: 16px;
    }

    .logo-image {
        max-width: min(100%, 190px);
        max-height: 54px;
    }

    .company-name {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .links-wrapper {
        gap: 12px;
    }

    .link-btn {
        min-height: 58px;
        padding: 13px 14px;
        font-size: 14px;
    }

    .link-btn span {
        line-height: 1.35;
    }
}

@media (hover: none) {
    .link-btn:hover,
    .social-btn:hover {
        transform: none;
    }
}