/* Reset and Base Styles */
:root {
    --purple: #4A0374;
    --yellow: #F9A620;
    --white: #F4F4F9;
    --max: 1280px;
    --padX: clamp(1rem, 2.2vw, 2rem);
    --text: rgba(244, 244, 249, 0.95);
}

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

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

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--white);
    overflow-x: hidden;
}

.background-wrapper {
    background: linear-gradient(135deg, var(--purple) 0%, #2d2357 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Navigation */
.main-nav {
    padding: 0.25rem 0;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(25, 6, 51, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav .nav-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--padX);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.main-nav .logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.main-nav .logo a {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.main-nav .brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    flex: 0 0 auto;
}

.main-nav .brand-lockup__parent {
    opacity: 0.86;
    font-size: 0.9rem;
    line-height: 1;
}

.main-nav .brand-lockup__divider {
    opacity: 0.5;
    line-height: 1;
}

.main-nav .brand-lockup__product {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin-left: 0.02rem;
}

/* Crop oversized exported SVG canvas to a nav-sized wordmark viewport */
.main-nav .brand-lockup__product,
.product-nav .brand-lockup__product {
    position: relative;
    display: inline-block;
    width: 7.15rem;
    height: 2.2rem;
    overflow: hidden;
    vertical-align: middle;
}

.main-nav .brand-lockup__product-logo,
.product-nav .brand-lockup__product-logo {
    position: absolute;
    left: -10.0rem;
    top: -5.9rem;
    width: 27rem;
    height: 14.5rem;
    max-width: none;
}

.brand-lockup__product-logo-svg {
    display: block;
    height: 0.95rem;
    width: 5.9rem;
    overflow: visible;
}

.brand-lockup__product-logo-svg text {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-lockup__product-logo-svg .logo-engage {
    fill: #ffffff;
}

.brand-lockup__product-logo-svg .logo-base {
    fill: #E3AA2B;
}
.brand-lockup__product-text {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.01em;
}

.brand-lockup__engage {
    color: #ffffff;
}

.brand-lockup__base {
    color: #E3AA2B;
}

.main-nav .logo a:hover {
    opacity: 0.8;
}

.main-nav .nav-logo { height: clamp(120px, 16vw, 220px); width: auto; margin: clamp(-72px, -7vw, -34px) 0; }

.main-nav .nav-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
}

.main-nav .nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.2px;
    opacity: 0.9;
    transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav .nav-links a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

#logoutBtn {
    color: #000000 !important;
}

.main-nav .nav-links a.cta-button {
    background-color: var(--yellow);
    color: #1b0632;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-weight: 800;
}

/* Hero Section */
.hero {
    padding: 4rem 6rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-text {
    padding-right: 2rem;
}

.hero-text h1 {
    font-family: 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.highlight-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    margin: 2rem 0;
    max-width: 600px;
    opacity: 0.9;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin: 3rem 0;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

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

.secondary-button {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial {
    margin-top: 4rem;
    font-family: 'Calibri Light', 'Segoe UI', sans-serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--white);
    text-align: center;
    opacity: 0.9;
    font-weight: 500;
}

.hero-image {
    position: relative;
    padding: 1rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Background Dots */
.background-dots .dot {
    position: absolute;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
}

.dot-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    left: -5%;
    opacity: 0.1;
}

.dot-2 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: -5%;
    opacity: 0.15;
}

.dot-3 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 20%;
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 1400px) {

    .hero-text h1,
    .highlight-text h2 {
        font-size: 4rem;
    }
}

@media (max-width: 1200px) {

    .hero-text h1,
    .highlight-text h2 {
        font-size: 3.5rem;
    }

    .hero-content {
        gap: 4rem;
    }
}

@media (max-width: 980px) {
    .main-nav {
        padding: 0.4rem 0;
    }

    .main-nav .nav-container {
        padding: 0 1rem;
        gap: 0.7rem;
    }

    .main-nav .nav-logo {
        height: 112px;
        margin: -34px 0;
    }

    .main-nav .nav-links {
        gap: 0.8rem;
    }

    .main-nav .nav-links a {
        font-size: 0.92rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .main-nav {
        position: static;
    }

    .main-nav .nav-container {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 1rem 0.8rem;
        gap: 0.35rem;
    }

    .main-nav .nav-logo {
        height: 94px;
        margin: -16px 0 -10px;
    }

    .main-nav .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0.55rem 0.9rem;
    }

    .main-nav .nav-links a {
        font-size: 0.88rem;
        line-height: 1.1;
    }

    .main-nav .nav-links a.cta-button {
        padding: 0.5rem 0.9rem;
        font-size: 0.86rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-text h1,
    .highlight-text h2 {
        font-size: 3rem;
    }
}

/* ========== Desktop Hover & Interactive Enhancements ========== */
/* Global button and link hover states for mouse users */

a:not([class*="nav"]):not(.primary-button):not(.secondary-button) {
    transition: color 0.2s ease;
}

a:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
    border-radius: 3px;
}

button, 
[role="button"],
input[type="button"],
input[type="submit"],
a[role="button"] {
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

button:hover:not(:disabled),
[role="button"]:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
a[role="button"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

button:focus-visible:not(:disabled),
[role="button"]:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.primary-button:focus-visible,
.secondary-button:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}

