/* Custom styles for InstantGate */
* {
    transition: all 0.3s ease;
}

.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.animate-on-scroll:nth-child(n+1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(n+2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(n+3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(n+4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(n+5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(n+6) { transition-delay: 0.6s; }

/* Hero animation */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover::before {
    left: 100%;
}

@media (max-width: 1199px) {
    .header-brand {
        display: none !important;
    }
}
@media (max-width: 799px) {
    .main-nav-links {
        display: none !important;
    }
    #mobile-menu-toggle {
        display: flex !important;
    }
}
@media (min-width: 800px) {
    #mobile-menu {
        display: none !important;
    }
}

/* Accordion styles */
.accordion-item {
    overflow: hidden;
}

.accordion-header {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.accordion-header:hover {
    opacity: 0.8;
}

.accordion-icon {
    transition: transform 0.3s ease;
    margin-left: 12px;
    flex-shrink: 0;
}

.accordion-icon.open {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px 0 24px;
}

.accordion-content.open {
    max-height: 500px;
    padding: 0 24px 24px 24px;
    margin-top: 12px;
}
