/* ==========================================
   MOMENTUM PROPERTY GROUP - Landing Page
   Premium Frosted Glass Aesthetic
   ========================================== */

/* CSS Variables */
:root {
    /* Brand Colors - Extracted from Momentum Logo */
    --momentum-navy: #2d3e50;
    --momentum-blue: #4eb8d4;
    --momentum-light-blue: #7ec4dd;
    --momentum-text: #1a2634;

    /* Frosted Glass System */
    --glass-background: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 24px;
    --glass-radius: 24px;

    /* Glow Effects */
    --glow-primary: rgba(78, 184, 212, 0.4);
    --glow-secondary: rgba(45, 62, 80, 0.3);
    --glow-size: 200px;

    /* Shadows */
    --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-deep: 0 16px 64px rgba(0, 0, 0, 0.2);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-primary);
    background: #0a0f14;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
}

/* Fixed Blurred Background Image */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/background.jpg') center center / cover no-repeat;
    filter: blur(6px) brightness(0.35);
    transform: scale(1.1);
    z-index: -2;
}

/* Dark Overlay for Depth */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(10, 15, 20, 0.7) 0%,
            rgba(15, 25, 35, 0.5) 50%,
            rgba(10, 15, 20, 0.7) 100%);
    z-index: -1;
}

/* ==========================================
   ANIMATED BACKGROUND
   ========================================== */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(78, 184, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(45, 62, 80, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 70% 40% at 20% 80%, rgba(78, 184, 212, 0.08) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes gradientShift {

    0%,
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    50% {
        transform: scale(1.05) translateY(-2%);
        opacity: 0.9;
    }
}

.background-noise {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* ==========================================
   LANDING CONTAINER
   ========================================== */
.landing-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 24px;
}

/* ==========================================
   LOGO WITH FROSTED GLOW
   ========================================== */
.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Frosted Glow Effect Behind Logo */
.logo-glow {
    position: absolute;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(78, 184, 212, 0.2) 25%,
            rgba(45, 62, 80, 0.1) 50%,
            transparent 70%);
    filter: blur(80px);
    animation: glowPulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

/* Frosted Glass Card Behind Logo */
.logo-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(245, 248, 250, 0.88) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 48px 64px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 24px 80px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.logo {
    position: relative;
    width: 800px;
    max-width: 80vw;
    height: auto;
    display: block;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================
   ENTER BUTTON - Apple Liquid Glass Style
   ========================================== */
.enter-button {
    position: relative;
    padding: 20px 72px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.15) inset,
        0 -1px 0 0 rgba(0, 0, 0, 0.05) inset,
        0 4px 16px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Inner highlight layer - Apple's signature top edge glow */
.enter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.5) 50%,
            transparent 100%);
    pointer-events: none;
}

/* Specular highlight - 3D depth illusion */
.enter-button::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 15%;
    right: 15%;
    height: 40%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.12) 0%,
            transparent 100%);
    border-radius: 100px 100px 50% 50%;
    pointer-events: none;
}

.enter-button:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.24) 0%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.2) inset,
        0 -1px 0 0 rgba(0, 0, 0, 0.05) inset,
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 16px 48px rgba(78, 184, 212, 0.15);
}

.enter-button:active {
    transform: translateY(-1px) scale(0.99);
    transition-duration: 0.1s;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0.03) 100%);
}

.button-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Animated Glow on Button */
.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center,
            rgba(255, 255, 255, 0.15) 0%,
            transparent 50%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

.enter-button:hover .button-glow {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* ==========================================
   PARTNER CARD - Harvey Bowes Link
   ========================================== */
.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 800px;
    max-width: 90vw;
    padding: 24px 48px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.1) inset,
        0 4px 16px rgba(0, 0, 0, 0.15);
}

.partner-card:hover {
    transform: translateY(-3px) scale(1.01);
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.15) inset,
        0 8px 32px rgba(0, 0, 0, 0.2);
}

.partner-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.partner-card:hover .partner-logo {
    opacity: 1;
}

/* ==========================================
   MODAL - Coming Soon
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.modal-content {
    position: relative;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 48px 56px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 24px 80px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

/* Modal Glow */
.modal-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,
            rgba(78, 184, 212, 0.2) 0%,
            transparent 60%);
    filter: blur(40px);
    pointer-events: none;
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #b4d4de 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content p {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    line-height: 1.6;
}

.modal-email {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--momentum-blue);
    text-decoration: none;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.modal-email:hover {
    color: var(--momentum-light-blue);
    text-shadow: 0 0 12px rgba(78, 184, 212, 0.5);
}

.modal-close {
    position: relative;
    padding: 14px 40px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.15) inset,
        0 -1px 0 0 rgba(0, 0, 0, 0.05) inset,
        0 4px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.5) 50%,
            transparent 100%);
    pointer-events: none;
}

.modal-close:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.24) 0%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.2) inset,
        0 6px 24px rgba(0, 0, 0, 0.2);
}

.modal-close:active {
    transform: translateY(-1px) scale(0.99);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
    .logo {
        width: 500px;
    }

    .logo-card {
        padding: 32px 40px;
        border-radius: 24px;
    }

    .logo-glow {
        width: 600px;
        height: 600px;
    }
}

@media (max-width: 640px) {
    .landing-container {
        gap: 32px;
        padding: 16px;
    }

    .logo {
        width: 85vw;
        max-width: 400px;
    }

    .logo-card {
        padding: 16px 20px;
        border-radius: 16px;
    }

    .logo-glow {
        width: 400px;
        height: 400px;
    }

    .enter-button {
        padding: 16px 48px;
        font-size: 14px;
    }

    .modal-content {
        padding: 36px 32px;
    }

    .modal-content h2 {
        font-size: 24px;
    }

    .modal-content p {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .logo {
        width: 90vw;
    }

    .logo-card {
        padding: 12px 16px;
        border-radius: 14px;
    }

    .logo-glow {
        width: 320px;
        height: 320px;
    }
}