/* =============================================
   GLOBAL STYLES
   ============================================= */
body {
    background-color: #101415;
    color: #e0e3e5;
    overflow-x: hidden;
}

/* =============================================
   GLASS PANEL & EFFECTS
   ============================================= */
.glass-panel {
    background: rgba(16, 20, 21, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-panel:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
    transform: translateY(-5px);
}

.cyan-glow {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.cyan-glow-text {
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.glow-cyan {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
}

/* =============================================
   NETWORK ANIMATIONS
   ============================================= */
.network-line {
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    height: 1px;
    width: 100%;
    opacity: 0.3;
}

.running-light {
    position: absolute;
    width: 40px;
    height: 1px;
    background: #00d4ff;
    filter: blur(1px);
    animation: moveLight 3s linear infinite;
}

.running-light-effect::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
    animation: running-light 3s infinite linear;
}

@keyframes moveLight {
    0% { 
        left: -10%; 
        opacity: 0; 
    }
    50% { 
        opacity: 1; 
    }
    100% { 
        left: 110%; 
        opacity: 0; 
    }
}

@keyframes running-light {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse-cyan {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.animate-pulse-cyan {
    animation: pulse-cyan 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* =============================================
   MATERIAL ICONS
   ============================================= */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-bg {
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 70%),
        linear-gradient(to bottom, #101415, #0b0f10);
}

/* =============================================
   HOVER & INTERACTION EFFECTS
   ============================================= */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Section visibility transitions */
.section-content {
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    opacity: 1;
    visibility: visible;
}

.section-content.hidden {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    pointer-events: none;
}

/* =============================================
   BUTTONS
   ============================================= */
.cta-button,
.cta-main {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button:hover,
.cta-main:hover {
    background-color: #00d4ff;
    color: #003642;
}

.nav-link {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.nav-link:focus {
    outline: none;
}

/* =============================================
   FORM ELEMENTS
   ============================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    background-color: #0b0f10;
    border: 1px solid #3c494e;
    color: #e0e3e5;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #00d4ff;
    background-color: #101415;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: #859398;
}

.submit-btn {
    background-color: #00d4ff;
    color: #003642;
    font-weight: bold;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    transform: scale(1.02);
}

.submit-btn:active {
    transform: scale(0.98);
}

#formMessage {
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
}

#formMessage.success {
    background-color: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    display: block;
}

#formMessage.error {
    background-color: rgba(255, 180, 171, 0.2);
    color: #ffb4ab;
    display: block;
}

/* =============================================
   RESPONSIVE ADJUSTMENTS
   ============================================= */
@media (max-width: 768px) {
    .px-margin-desktop {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hidden {
        display: none !important;
    }
}

/* =============================================
   SCROLLBAR STYLING
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #101415;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3cd7ff;
}

/* =============================================
   SMOOTH SCROLLING
   ============================================= */
html {
    scroll-behavior: smooth;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-95 {
    transform: scale(0.95);
}

.scale-90 {
    transform: scale(0.90);
}

.active\:scale-90:active {
    transform: scale(0.90);
}

/* Animations for page loads */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content {
    animation: fadeInUp 0.5s ease-out;
}
