/* Base Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--btn-bg);
    color: #FFFFFF;
    border: 1px solid var(--btn-bg);
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #000000;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-dark);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-text:hover {
    text-decoration: underline;
}

/* 1. Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(230, 230, 230, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.navbar--hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), font-weight 0.1s ease;
    display: inline-flex;
    align-items: center;
}

.nav-links li:hover a {
    transform: translateY(-4px);
    font-weight: 700;
}

.nav-links a.active {
    font-weight: 700;
}

.nav-container .btn-subscribe-navbar {
    justify-self: end;
}

/* --- Navbar Subscribe Button (Uiverse.io by Creatlydev) --- */
.btn-subscribe-navbar {
    --clr: #1E1E1E;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--clr);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    padding: 0.6rem 1rem;
    white-space: nowrap;
    transition: background-color 0.3s;
    font-family: inherit;
    width: fit-content;
    flex-shrink: 0;
}

.btn-subscribe-navbar .button__icon-wrapper {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    position: relative;
    color: var(--clr);
    background-color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.btn-subscribe-navbar:hover {
    background-color: #000000;
}

.btn-subscribe-navbar:hover .button__icon-wrapper {
    color: #000;
}

.btn-subscribe-navbar .button__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.btn-subscribe-navbar:hover .button__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.btn-subscribe-navbar:hover .button__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}

/* CTA and Footer Section */
.footer-section {
    background-color: #000000;
    color: #ffffff;
    padding: clamp(40px, 5vw, 80px) 0 0;
    position: relative;
    overflow: hidden;
}

.footer-watermark {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    letter-spacing: 0.1em;
    line-height: 0.8;
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 1) 100%);
}

.footer-container {
    max-width: clamp(800px, 65vw, 1200px);
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: clamp(30px, 4vw, 60px);
}

.footer-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: clamp(120px, 16vw, 240px);
    justify-content: space-between;
}

.footer-col--brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.45;
    margin: 0;
}

.footer-col-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.4;
    margin: 0 0 20px 0;
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-links a {
    align-self: flex-start;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-col-links a:hover {
    opacity: 1;
    color: #ffffff;
    transform: translateX(4px);
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

/* Expanded Social Media Grid */
.expanded-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.expanded-social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expanded-social-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.esc-info {
    display: flex;
    flex-direction: column;
}

.esc-title {
    font-size: 15px;
    font-weight: 700;
}

.footer-col--nav,
.footer-col--social,
.footer-col--legal {
    padding-top: 4px;
}





/* Background glyphs used across sections */

/* Responsive Footer Components */
@media (max-width: 1024px) {
    .footer-section {
        padding-top: clamp(60px, 10vw, 100px);
    }
    .footer-divider {
        margin-bottom: 30px;
    }
    .footer-nav-centered {
        gap: 20px;
        margin-bottom: 40px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-credits {
        flex-direction: column;
        gap: 10px;
    }
    .footer-legal {
        justify-content: center;
    }
    .footer-logo {
        font-size: 1.6rem;
    }
    .footer-cols {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding-bottom: 120px;
    }
    .footer-col-links a {
        align-self: center;
    }
    .footer-social-link {
        justify-content: center;
    }
    .expanded-social-grid {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    .expanded-social-card {
        padding: 12px;
        border-radius: 50%;
        justify-content: center;
        width: 50px;
        height: 50px;
    }
    .expanded-social-card svg {
        margin: 0;
    }
    .esc-info {
        display: none !important;
    }
    .footer-col--brand {
        flex: 1 1 100% !important;
    }
    .footer-col--social {
        flex: 1 1 100% !important;
        text-align: center;
    }

    /* Navbar Responsive */
    .logo {
        font-size: 18px;
    }
    .btn-subscribe-navbar .button__text {
        font-size: 11px;
        display: inline-block !important;
    }
    .btn-subscribe-navbar {
        padding: 0.4rem 0.6rem;
    }
    .btn-subscribe-navbar .button__icon-wrapper {
        width: 18px;
        height: 18px;
    }

    /* Disable All Component Hovers on Touch Devices */
    .btn-subscribe-navbar:hover {
        padding: 0.4rem 0.6rem !important; /* Keep original padding */
    }
    .btn-subscribe-navbar:hover .button__text {
        opacity: 1 !important;
        width: auto !important;
        margin-left: 8px !important;
    }
    .expanded-social-card:hover {
        transform: none !important;
        background: rgba(255, 255, 255, 0.04) !important;
        box-shadow: none !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }

    .footer-col-links a:hover {
        transform: none !important;
        opacity: 0.7 !important;
    }
}
