/* SeaDigital Services - Shared Styles */

/* Glass Morphism Effects - Made more opaque for better text readability */
.glass {
    background: rgba(255, 255, 255, 0.15); /* Increased opacity from 0.1 to 0.15 */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15); /* Slightly more visible border */
    transition: all 0.3s ease; /* Smoother, less intense transition */
}

.glass:hover {
    transform: translateY(-4px) scale(1.01); /* Less dramatic hover effect */
    box-shadow: 
        0 15px 25px -5px rgba(100, 100, 100, 0.15), /* Toned down purple to gray */
        0 10px 10px -5px rgba(100, 100, 100, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(200, 200, 200, 0.3); /* Less colorful border */
    background: rgba(255, 255, 255, 0.2); /* More opaque on hover */
}

.glass-dark {
    background: rgba(11, 13, 16, 0.85); /* More opaque */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-darker {
    background: rgba(11, 13, 16, 0.9); /* Even more opaque for pricing cards */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.glass-darker:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 15px 25px -5px rgba(100, 100, 100, 0.2),
        0 10px 10px -5px rgba(100, 100, 100, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(200, 200, 200, 0.3);
    background: rgba(11, 13, 16, 0.95);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

/* Navbar Hover Effects - Smooth and subtle */
.nav-link {
    position: relative;
    transition: all 0.2s ease;
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Services Dropdown - Less laggy animations */
.services-dropdown {
    transition: all 0.15s ease; /* Faster transition for less lag */
}

.services-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    transition: all 0.15s ease;
    transform: translateY(-5px);
}

.dropdown-menu.show {
    transform: translateY(0);
}

/* Clean Background - Inspired by XRPL minimal approach */
.static-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}


/* Minimal dot pattern for subtle texture */
.static-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.015;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 60px 60px;
    mask: radial-gradient(ellipse 80% 100% at 50% 50%, black 0%, transparent 90%);
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: rgba(30, 17, 41, 0.95);
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #94A3B8;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close:hover {
    color: #D1D5DB;
}


/* Pricing Cards - Shorter height */
.pricing-card {
    min-height: auto; /* Remove fixed height */
}

.pricing-card .card-content {
    padding-bottom: 1rem; /* Reduce bottom padding */
}

/* Scroll-triggered animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for cards/items */
.fade-in-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered effects */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Slide in from left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .glass, .glass-darker {
        background: rgba(255, 255, 255, 0.2); /* Even more opaque on mobile */
    }
    
    /* Reduce animation intensity on mobile for better performance */
    .fade-in-section, .fade-in-item, .slide-in-left, .slide-in-right {
        transform: translateY(15px);
    }
    
    .slide-in-left { transform: translateX(-25px); }
    .slide-in-right { transform: translateX(25px); }
}