/* Hero Nexus - Premium Adaptation for Restaurants */
.hero-nexus {
    position: relative;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #020617;
    text-align: center;
    padding: 120px 1.5rem 80px;
}

/* Simulated God Rays & Mesh Gradient */
.hero-nexus::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% -10%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 110%, rgba(30, 58, 138, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.nexus-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease forwards;
}

.nexus-badge .dot {
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    margin-right: 0.75rem;
    box-shadow: 0 0 10px #3b82f6;
}

.hero-nexus h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.05;
    color: white;
    max-width: 1000px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-nexus .highlight {
    background: linear-gradient(to bottom right, #60a5fa, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-nexus p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #94a3b8;
    max-width: 700px;
    margin-bottom: 3.5rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* The Expandable Button Trigger */
.cta-expand-trigger {
    position: relative;
    height: 64px;
    padding: 0 3rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.cta-expand-trigger:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
    box-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.5);
}

.cta-expand-trigger i {
    width: 20px;
    height: 20px;
}

/* Fullscreen Modal */
.nexus-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #1d4ed8;
    display: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
}

.nexus-modal.active {
    display: flex;
    opacity: 1;
}

.modal-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, #1e40af 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, #172554 0%, transparent 40%),
        #1d4ed8;
    z-index: 1;
}

.modal-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1300px;
    height: 90vh;
    margin: 2rem;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-info {
    flex: 1.2;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-form-container {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.05);
}

.modal-input {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    transition: 0.3s;
}

.modal-input:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(15, 23, 42, 0.6);
}

.modal-submit {
    width: 100%;
    padding: 1.1rem;
    background: white;
    color: #1d4ed8;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
}

.modal-submit:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .modal-container {
        flex-direction: column;
        height: auto;
        max-height: 95vh;
        overflow-y: auto;
        border-radius: 0;
        margin: 0;
    }

    .modal-info {
        padding: 3rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .modal-form-container {
        padding: 3rem 2rem;
    }
}