/* ===== Dialplate Custom Styles ===== */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome/Safari/Edge */
 scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Body background gradient */
body {
    background: linear-gradient(165deg, #0f172a 0%, #0f172a 45%, #1e293b 100%);
}

/* Custom scrollbar for tables */
table::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

table::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 4px;
}

table::-webkit-scrollbar-thumb {
    background: #38bdf8;
    border-radius: 4px;
}

table::-webkit-scrollbar-thumb:hover {
    background: #0ea5e9;
}

/* Nav link hover effects */
.nav-link, .mobile-nav-link {
    position: relative;
}

.nav-link::after, .mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #38bdf8, #0ea5e9);
    transition: width 0.3s ease;
}

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

/* Active section highlight in nav */
.nav-link.active, .mobile-nav-link.active {
    color: #38bdf8 !important;
}

/* Button hover enhancements */
a[href] {
    transition: all 0.2s ease;
}

/* Toast notification styles (for form submission feedback) */
#toast {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text {
        text-align: center;
    }
}

/* Focus outline for accessibility */
*:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

/* Gradient text animation */
.gradient-text {
    background: linear-gradient(90deg, #38bdf8, #0ea5e9, #38bdf8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Feature card hover */
.feature-card:hover {
    transform: translateY(-5px);
}

/* Pricing card pulse for popular */
.popular-badge {
    animation: pulse 2s ease-in-out infinite;
}
