﻿:root {
    --bg-dark: #050505;
    --primary-glow: #0ea5e9;
    --secondary-glow: #6366f1;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-bright: #f8fafc;
    --text-dim: #94a3b8;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-bright);
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

.custom-navbar {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 15px 0;
    z-index: 10000;
}

.nav-capsule {
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 10px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

@media (min-width: 768px) {
    .nav-capsule {
        padding: 10px 30px;
    }
}

.navbar-scrolled {
    padding: 10px 0;
}

.navbar-scrolled .nav-capsule {
    background: rgba(5, 5, 5, 0.9);
    border-color: var(--primary-glow);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
    border-radius: 20px;
}

@media (min-width: 768px) {
    .navbar-scrolled .nav-capsule {
        width: 95%;
    }
}

.nav-link {
    color: var(--text-bright) !important;
    font-weight: 500;
    margin: 0 5px;
    position: relative;
    opacity: 0.8;
    transition: 0.3s;
    font-size: 0.9rem;
    padding: 8px 12px !important;
}

@media (min-width: 768px) {
    .nav-link {
        margin: 0 10px;
        font-size: 1rem;
        padding: 8px 0 !important;
    }
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--primary-glow) !important;
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-glow);
    transition: 0.3s;
    box-shadow: 0 0 10px var(--primary-glow);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav-cta {
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
    border: none;
    color: white;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
    transition: 0.3s;
}

.btn-nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.7);
}

.mega-footer {
    background: #020202;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: var(--primary-glow);
    box-shadow: 0 0 10px var(--primary-glow);
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-link:hover {
    color: var(--primary-glow);
    padding-left: 10px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: 0.4s;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-glow);
    bottom: -100%;
    left: 0;
    transition: 0.4s;
    z-index: 0;
}

.social-btn i {
    position: relative;
    z-index: 1;
}

.social-btn:hover::before {
    bottom: 0;
}

.social-btn:hover {
    border-color: var(--primary-glow);
    box-shadow: 0 0 20px var(--primary-glow);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-glow);
    border-radius: 50%;
    animation: spin 1s infinite;
}

.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.whatsapp-widget-container {
    position: fixed;
    bottom: 80px;
    right: 15px;
    width: 280px;
    max-width: calc(100vw - 30px);
    z-index: 1050;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

@media (max-width: 575.98px) {
    .whatsapp-widget-container {
        width: 260px;
        right: 15px;
        bottom: 90px;
        font-size: 0.85rem;
    }
}

@media (min-width: 576px) {
    .whatsapp-widget-container {
        width: 320px;
    }
}

.whatsapp-widget-container.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.whatsapp-widget-header {
    background: linear-gradient(135deg, #25d366, #128c7e, #075e54, #25d366) !important;
    background-size: 400% 400% !important;
    animation: bg-animation 15s ease infinite !important;
    color: white !important;
    padding: 12px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 575.98px) {
    .whatsapp-widget-header {
        padding: 10px;
    }
}

.whatsapp-widget-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

@media (max-width: 575.98px) {
    .whatsapp-widget-avatar {
        width: 30px;
        height: 30px;
    }
}

.whatsapp-widget-header h5 {
    margin: 0;
    font-weight: bold;
    font-size: 0.9rem;
}

@media (max-width: 575.98px) {
    .whatsapp-widget-header h5 {
        font-size: 0.8rem;
    }
}

.whatsapp-widget-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    opacity: 0.8;
    transition: 0.2s;
    padding: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 575.98px) {
    .whatsapp-widget-close {
        width: 36px;
        height: 36px;
        padding: 8px;
    }
}

.whatsapp-widget-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.whatsapp-widget-body {
    padding: 15px;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .whatsapp-widget-body {
        padding: 12px;
        font-size: 0.85rem;
    }
}

.whatsapp-widget-body p {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

@media (max-width: 575.98px) {
    .whatsapp-widget-body p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
}

.whatsapp-widget-button {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    background-color: #25d366;
    color: white !important;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

@media (max-width: 575.98px) {
    .whatsapp-widget-button {
        padding: 8px;
        font-size: 0.8rem;
    }
}

.whatsapp-widget-button:hover {
    background-color: #128c7e;
    transform: scale(1.02);
}

.whatsapp-trigger-button {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1040;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    transform: scale(0);
    opacity: 0;
    touch-action: manipulation;
}

@media (min-width: 768px) {
    .whatsapp-trigger-button {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }
}

.whatsapp-trigger-button.show {
    transform: scale(1);
    opacity: 1;
    animation: pulse 2s infinite;
}

.whatsapp-trigger-button:hover {
    transform: scale(1.1);
}

@media (max-width: 575.98px) {
    .whatsapp-trigger-button:hover {
        transform: scale(1.05);
    }
}

.modal-backdrop {
    backdrop-filter: blur(10px) !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.modal-content {
    background-color: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--glass-border);
    color: var(--text-bright);
}

#loginModal .form-control:focus,
#registerModal .form-control:focus {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.5) !important;
    color: white !important;
}

#loginModal .form-control::placeholder,
#registerModal .form-control::placeholder {
    color: #6b7280 !important;
}

#loginModal .form-check-input:checked,
#registerModal .form-check-input:checked {
    background-color: #0ea5e9 !important;
    border-color: #0ea5e9 !important;
}

#loginModal .modal-content,
#registerModal .modal-content {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

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

.form-control-dark {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    color: white;
}

.form-control-dark:focus {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border-color: var(--primary-glow);
    box-shadow: 0 0 10px var(--primary-glow);
}

@media (max-width: 767.98px) {
    #hero h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    #hero h2 {
        font-size: 1rem !important;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    .navbar-brand {
        font-size: 1.25rem !important;
    }

    .mega-footer {
        padding-top: 40px !important;
    }

    .glass-card {
        padding: 1rem !important;
    }

    .display-1 {
        font-size: 2.5rem !important;
    }

    .display-2 {
        font-size: 2rem !important;
    }

    .display-3 {
        font-size: 1.75rem !important;
    }

    .display-4 {
        font-size: 1.5rem !important;
    }

    .display-5 {
        font-size: 1.25rem !important;
    }

    .display-6 {
        font-size: 1.1rem !important;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

img {
    loading: lazy;
    decoding: async;
}

button,
a,
.btn {
    touch-action: manipulation;
}

/* Missing Button Classes */
.btn-supersonic {
    background-color: #0ea5e9;
    /* Fallback */
    background: linear-gradient(135deg, #0ea5e9, #6366f1) !important;
    border: none;
    color: white !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
}

.btn-supersonic:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.6);
    color: white !important;
}

.btn-outline-supersonic {
    background: transparent;
    border: 2px solid #0ea5e9;
    color: white !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
    transition: all 0.3s ease;
}

.btn-outline-supersonic:hover {
    background: linear-gradient(135deg, #0ea5e9, #6366f1) !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.6);
    color: white !important;
}

.btn-info {
    color: white !important;
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.btn-info:hover {
    color: white !important;
    background-color: #31d2f2;
    border-color: #25cff2;
}

.text-gradient {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-text-bright {
    color: var(--text-bright);
    opacity: 0.9;
}

/* Animations & Utilities */
.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}