:root {
    --bg-blue: #001a41;
    /* Deep Blue Background */
    --card-bg: rgba(0, 0, 0, 0.45);
    /* Blackish Glass Cards */
    --primary-blue: #0066ff;
    --secondary-blue: #00ccff;
    --text-white: #ffffff;
    --text-muted: #88aadd;
    --glass-border: rgba(0, 0, 0, 0.3);
    /* Black borders/details */
    --blue-glow: rgba(0, 102, 255, 0.4);
    --grid-color: rgba(0, 0, 0, 0.3);
    /* Black grid details */
    --whatsapp-green: #25D366;
    --whatsapp-glow: rgba(37, 211, 102, 0.4);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-blue);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Technological Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    perspective: 1000px;
    transform: rotateX(20deg);
    transform-origin: top;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--primary-blue), transparent 70%);
    filter: blur(120px);
    opacity: 0.2;
    border-radius: 50%;
    animation: move 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    right: -5%;
}

.blob-2 {
    bottom: -10%;
    left: -5%;
    background: radial-gradient(circle, #001133, transparent 70%);
    /* Darker blob for contrast */
    animation-delay: -7s;
}

@keyframes move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 150px) scale(1.3);
    }
}

/* Floating WhatsApp Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-elements i {
    position: absolute;
    color: var(--whatsapp-green);
    opacity: 0.12;
    filter: drop-shadow(0 0 10px var(--whatsapp-glow));
    animation: floatAround 18s infinite ease-in-out;
}

.float-1 {
    top: 15%;
    left: 8%;
    font-size: 3.5rem;
    animation-delay: 0s;
}

.float-2 {
    top: 70%;
    left: 12%;
    font-size: 2.5rem;
    animation-delay: -4s;
}

.float-3 {
    top: 20%;
    right: 10%;
    font-size: 4.5rem;
    animation-delay: -8s;
}

.float-4 {
    top: 75%;
    right: 15%;
    font-size: 2rem;
    animation-delay: -12s;
}

@keyframes floatAround {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.12;
    }

    33% {
        transform: translate(40px, -60px) rotate(15deg);
        opacity: 0.18;
    }

    66% {
        transform: translate(-30px, 50px) rotate(-15deg);
        opacity: 0.1;
    }
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 420px;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
}

/* Profile Section */
.profile {
    margin-bottom: 48px;
    animation: slideDown 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: center;
}

.avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
}

.avatar {
    width: 100%;
    height: 100%;
    background: #000;
    /* Black Detail */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 44px;
    border: 2.5px solid var(--secondary-blue);
    box-shadow: 0 0 25px var(--blue-glow);
    z-index: 2;
    position: relative;
}

.avatar i {
    color: var(--secondary-blue);
}

.avatar-rings {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--secondary-blue);
    border-radius: 50%;
    opacity: 0.15;
    animation: pulse 4s infinite linear;
}

.avatar-rings::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid #000;
    /* Black Ring Detail */
    border-radius: 50%;
    animation: pulse 4s infinite linear reverse;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, var(--secondary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    /* Black Detail */
    color: var(--secondary-blue);
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 100, 255, 0.3);
}

.status-dot {
    width: 5px;
    height: 5px;
    background: var(--secondary-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary-blue);
    animation: blink 1.5s infinite;
}

/* Links Section */
.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.link-card {
    text-decoration: none;
    color: var(--text-white);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 20px 24px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
}

.link-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--secondary-blue);
    background: rgba(0, 0, 0, 0.6);
    /* Darken on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 15px var(--blue-glow);
}

.link-card:hover::before {
    left: 100%;
}

.link-icon {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    /* Black Detail */
    border-radius: 12px;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    color: var(--secondary-blue);
}

.link-card:hover .link-icon {
    background: var(--secondary-blue);
    color: #000;
    /* Invert on hover */
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 0 15px var(--secondary-blue);
}

.link-info {
    flex: 1;
    text-align: left;
}

.link-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.link-title {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

.arrow {
    font-size: 14px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.link-card:hover .arrow {
    opacity: 1;
    transform: translateX(5px);
    color: var(--secondary-blue);
}

/* Animations Stagger */
.link-card:nth-child(1) {
    animation-delay: 0.2s;
}

.link-card:nth-child(2) {
    animation-delay: 0.3s;
}

.link-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Socials Section */
.socials {
    display: flex;
    justify-content: center;
    gap: 32px;
    animation: fadeIn 1s ease 0.8s both;
}

.social-link {
    color: var(--text-muted);
    font-size: 1.6rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-link:hover {
    color: var(--secondary-blue);
    transform: translateY(-8px) scale(1.2);
    filter: drop-shadow(0 0 10px var(--secondary-blue));
}

/* Keyframes */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }

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

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 1.7rem;
    }

    .link-card {
        padding: 18px 20px;
    }
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 26, 65, 0.4);
    /* Fundo sutil para manter o site visível */
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 32px;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15), 0 0 40px rgba(0, 102, 255, 0.1);
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #001a41, var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-modal {
    background: none;
    border: none;
    color: #666;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal:hover {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

#form-reuniao {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.85rem;
    color: #444;
    font-weight: 600;
}

.input-group input,
.input-group select {
    background: #f8faff;
    border: 1.5px solid #e1e8f5;
    padding: 12px 16px;
    border-radius: 12px;
    color: #001a41;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.input-group input::placeholder {
    color: #999;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.1);
}

.input-group select option {
    background: #fff;
    color: #001a41;
}

.submit-btn {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

.submit-btn:hover {
    background: #0052cc;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.35);
}

.submit-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(4px) translateY(-2px);
}