/* =========================================================
   Waitlist Page – Academy LMS (Cybersecurity)
   Color Scheme: Deep Blue #362FD9, Teal #1aacac, Ocean #2e97a7
   ========================================================= */

/* --- Fonts ----------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Custom Properties ----------------------------------- */
:root {
    --wl-bg: #0a0e17;
    --wl-card-bg: #111827;
    --wl-card-bg-alt: #0f1524;
    --wl-border: rgba(255,255,255,0.07);
    --wl-border-hover: rgba(54,47,217,0.4);
    --wl-white: #ffffff;
    --wl-grey: #94a3b8;
    --wl-primary: #362FD9;
    --wl-teal: #1aacac;
    --wl-ocean: #2e97a7;
    --wl-radius: 0.75rem;
    --wl-radius-lg: 1.5rem;
    --wl-font-heading: 'Figtree', sans-serif;
    --wl-font-body: 'Inter', sans-serif;
    --wl-max-w: 72.5rem;
    --wl-section-px: 2rem;
    --wl-gradient: linear-gradient(135deg, var(--wl-primary) 0%, var(--wl-teal) 100%);
    --wl-gradient-btn: linear-gradient(135deg, var(--wl-primary) 0%, var(--wl-ocean) 50%, var(--wl-teal) 100%);
    --wl-gradient-text: linear-gradient(135deg, #362FD9 0%, var(--wl-teal) 100%);
    --wl-glow: rgba(26,172,172,0.15);
    --wl-glow-strong: rgba(54,47,217,0.35);
}

/* --- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.waitlist-page {
    font-family: var(--wl-font-body);
    background-color: var(--wl-bg);
    color: var(--wl-white);
    line-height: 1.6;
    font-size: 1rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
input, select, textarea, button { font: inherit; }

/* --- Utility --------------------------------------------- */
.wl-container {
    width: 100%;
    max-width: var(--wl-max-w);
    margin: 0 auto;
    padding: 0 var(--wl-section-px);
}

/* --- Navbar ---------------------------------------------- */
.wl-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10,14,23,0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--wl-border);
    transition: background 0.3s;
}

.wl-navbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wl-navbar__logo img {
    height: 2.5rem;
    width: auto;
}

.wl-navbar__links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.wl-navbar__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--wl-grey);
    transition: color 0.25s;
}

.wl-navbar__link:hover { color: var(--wl-white); }

.wl-navbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: url(/assets/images/academy-gradient.png);
    background-size: 150% 150%;
    background-position: center center;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--wl-radius);
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.2s;
}

.wl-navbar__cta:hover {
    box-shadow: 0 0 24px var(--wl-glow-strong), 0 0 48px var(--wl-glow);
    transform: translateY(-1px);
}

/* --- Hero Section ---------------------------------------- */
.wl-hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* Radial glow behind hero */
.wl-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 65%;
    height: 130%;
    background: radial-gradient(ellipse at 60% 40%, rgba(54,47,217,0.1) 0%, rgba(26,172,172,0.06) 40%, transparent 70%);
    pointer-events: none;
}

/* Subtle grid pattern */
.wl-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}

.wl-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Left content */
.wl-hero__content { display: flex; flex-direction: column; gap: 1.5rem; }

.wl-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: url(/assets/images/academy-gradient.png);
    background-size: 150% 150%;
    background-position: center center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    width: fit-content;
    box-shadow: 0 2px 12px var(--wl-glow);
}

.wl-hero__title {
    font-family: var(--wl-font-heading);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.wl-hero__title em {
    font-style: italic;
    font-weight: 400;
    background: url(/assets/images/academy-gradient.png);
    background-size: cover;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wl-hero__subtitle {
    color: var(--wl-grey);
    font-size: 1.05rem;
    font-weight: 400;
    max-width: 520px;
    line-height: 1.65;
}

/* Value props */
.wl-hero__features {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.wl-hero__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--wl-grey);
    font-size: 0.925rem;
    line-height: 1.5;
}

.wl-hero__feature-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 2px;
    color: var(--wl-teal);
}

.wl-hero__trusted {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--wl-grey);
}

.wl-hero__trusted strong { color: var(--wl-white); font-weight: 600; }

/* --- Form Card ------------------------------------------- */
.wl-form-card {
    background: var(--wl-card-bg);
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius-lg);
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 80px rgba(54,47,217,0.06);
}

/* Decorative top accent line */
.wl-form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--wl-gradient);
}

.wl-form-card__title {
    font-family: var(--wl-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.wl-form-card__desc {
    color: var(--wl-grey);
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.wl-form { display: flex; flex-direction: column; gap: 0; }

.wl-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.wl-form__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.wl-form__group--full { grid-column: 1 / -1; }

.wl-form__label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--wl-grey);
    margin-bottom: 0.35rem;
}

.wl-form__label .required {
    color: var(--wl-teal);
    margin-left: 2px;
}

.wl-form__input,
.wl-form__select,
.wl-form__textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius);
    color: var(--wl-white);
    padding: 0.7rem 0.85rem;
    font-size: 0.875rem;
    transition: border-color 0.25s, box-shadow 0.25s;
    width: 100%;
    outline: none;
}

.wl-form__input::placeholder,
.wl-form__textarea::placeholder {
    color: rgba(255,255,255,0.25);
}

.wl-form__input:focus,
.wl-form__select:focus,
.wl-form__textarea:focus {
    border-color: var(--wl-teal);
    box-shadow: 0 0 0 3px rgba(26,172,172,0.15);
}

.wl-form__select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 12px;
    padding-right: 2.25rem;
    cursor: pointer;
}

.wl-form__select option {
    background: var(--wl-card-bg);
    color: var(--wl-white);
}

.wl-form__textarea {
    resize: vertical;
    min-height: 5rem;
}

.wl-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1.5rem;
    margin-top: 0.5rem;
    background: url(/assets/images/academy-gradient.png);
    background-size: 150% 150%;
    background-position: center center;
    color: #fff;
    font-family: var(--wl-font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--wl-radius);
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.wl-form__submit:hover {
    box-shadow: 0 4px 24px var(--wl-glow-strong), 0 0 48px var(--wl-glow);
    transform: translateY(-1px);
}

.wl-form__submit::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0; bottom: 0;
    transition: left 0.5s;
}

.wl-form__submit:hover::after { left: 100%; }

.wl-form__submit svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.25s;
}

.wl-form__submit:hover svg { transform: translateX(3px); }

/* Success state */
.wl-form__success {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem;
}

.wl-form__success.is-visible { display: block; }

.wl-form__success-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    color: var(--wl-teal);
}

.wl-form__success h3 {
    font-family: var(--wl-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wl-form__success p {
    color: var(--wl-grey);
    font-size: 0.925rem;
}

/* --- Logo Marquee ---------------------------------------- */
.wl-logos {
    padding: 4rem 0;
    border-top: 1px solid var(--wl-border);
    border-bottom: 1px solid var(--wl-border);
    overflow: hidden;
    position: relative;
}

.wl-logos__title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--wl-grey);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.wl-logos__track {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.wl-logos__item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    opacity: 0.4;
    transition: opacity 0.3s;
    font-family: var(--wl-font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--wl-white);
    white-space: nowrap;
}

.wl-logos__item:hover { opacity: 0.8; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Edge fades */
.wl-logos::before,
.wl-logos::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 8rem;
    z-index: 2;
    pointer-events: none;
}

.wl-logos::before {
    left: 0;
    background: linear-gradient(90deg, var(--wl-bg), transparent);
}

.wl-logos::after {
    right: 0;
    background: linear-gradient(270deg, var(--wl-bg), transparent);
}

/* --- Stats ----------------------------------------------- */
.wl-stats { padding: 5rem 0; }

.wl-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.wl-stats__item {
    padding: 2rem 1rem;
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius-lg);
    background: var(--wl-card-bg);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.wl-stats__item:hover {
    border-color: var(--wl-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(54,47,217,0.1);
}

.wl-stats__number {
    font-family: var(--wl-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--wl-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.wl-stats__label {
    color: var(--wl-grey);
    font-size: 0.875rem;
    font-weight: 500;
}

/* --- CTA Section ----------------------------------------- */
.wl-cta { padding: 5rem 0; position: relative; }

.wl-cta__card {
    position: relative;
    background: var(--wl-card-bg);
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius-lg);
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    overflow: hidden;
}

/* Background glow */
.wl-cta__card::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(26,172,172,0.06) 0%, rgba(54,47,217,0.04) 40%, transparent 70%);
    pointer-events: none;
}

.wl-cta__title {
    font-family: var(--wl-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1rem;
    position: relative;
}

.wl-cta__title strong {
    font-weight: 700;
    background: url(/assets/images/academy-gradient.png);
    background-size: cover;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wl-cta__text {
    color: var(--wl-grey);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}

.wl-cta__form-wrap { position: relative; z-index: 1; }

.wl-cta__form {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius-lg);
    padding: 2rem;
}

.wl-cta__form-title {
    font-family: var(--wl-font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.wl-cta__email-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.wl-cta__email-input {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius);
    color: var(--wl-white);
    padding: 0.7rem 0.85rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.25s;
}

.wl-cta__email-input:focus { border-color: var(--wl-teal); }
.wl-cta__email-input::placeholder { color: rgba(255,255,255,0.25); }

.wl-cta__email-btn {
    background: url(/assets/images/academy-gradient.png);
    background-size: 150% 150%;
    background-position: center center;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.7rem 1.25rem;
    border: none;
    border-radius: var(--wl-radius);
    cursor: pointer;
    white-space: nowrap;
    transition: box-shadow 0.3s;
}

.wl-cta__email-btn:hover {
    box-shadow: 0 0 20px var(--wl-glow-strong);
}

.wl-cta__or {
    text-align: center;
    color: var(--wl-grey);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.wl-cta__socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.wl-cta__social {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--wl-border);
    border-radius: 0.5rem;
    color: var(--wl-grey);
    transition: border-color 0.25s, color 0.25s;
}

.wl-cta__social:hover {
    border-color: var(--wl-teal);
    color: var(--wl-white);
}

.wl-cta__social svg { width: 1.1rem; height: 1.1rem; }

/* --- Footer ---------------------------------------------- */
.wl-footer {
    border-top: 1px solid var(--wl-border);
    padding: 3rem 0 2rem;
}

.wl-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.wl-footer__logo img { height: 2rem; width: auto; }

.wl-footer__socials { display: flex; gap: 0.75rem; }

.wl-footer__social {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wl-card-bg);
    border: 1px solid var(--wl-border);
    border-radius: 50%;
    color: var(--wl-grey);
    transition: border-color 0.25s, color 0.25s;
}

.wl-footer__social:hover {
    border-color: var(--wl-teal);
    color: var(--wl-white);
}

.wl-footer__social svg { width: 1rem; height: 1rem; }

.wl-footer__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--wl-border);
    border-bottom: 1px solid var(--wl-border);
}

.wl-footer__col-title {
    font-family: var(--wl-font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.wl-footer__col-link {
    display: block;
    color: var(--wl-grey);
    font-size: 0.85rem;
    padding: 0.3rem 0;
    transition: color 0.25s;
}

.wl-footer__col-link:hover { color: var(--wl-white); }

.wl-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--wl-grey);
}

.wl-footer__legal { display: flex; gap: 1.5rem; }

.wl-footer__legal a {
    color: var(--wl-grey);
    transition: color 0.25s;
}

.wl-footer__legal a:hover { color: var(--wl-white); }

/* --- Responsive ------------------------------------------ */
@media (max-width: 991px) {
    .wl-hero__grid { grid-template-columns: 1fr; gap: 3rem; }
    .wl-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .wl-cta__card { grid-template-columns: 1fr; padding: 3rem 2rem; }
    .wl-footer__links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    :root { --wl-section-px: 1.25rem; }
    .wl-hero { padding-top: 7rem; }
    .wl-form-card { padding: 1.75rem 1.25rem; }
    .wl-form__row { grid-template-columns: 1fr; }
    .wl-stats__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .wl-cta__card { padding: 2rem 1.25rem; }
    .wl-cta__email-row { flex-direction: column; }
    .wl-footer__top { flex-direction: column; gap: 1rem; }
    .wl-footer__links { grid-template-columns: 1fr 1fr; }
    .wl-footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .wl-footer__legal { justify-content: center; }
    .wl-navbar__links { display: none; }
}

@media (max-width: 479px) {
    .wl-stats__grid { grid-template-columns: 1fr; }
    .wl-footer__links { grid-template-columns: 1fr; }
    .wl-logos__item { font-size: 1.1rem; }
}
