/* ============================================================
   HOSTBABYNA - Premium Web Hosting Custom Stylesheet
   Theme: Mint Green & Midnight Slate Premium Aesthetic
   ============================================================ */

/* Global Theme Overrides */
body {
    background-color: #f8fafc;
    color: #334155;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #1e293b;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Float animations for infrastructure icons */
.floating-icon {
    position: absolute;
    color: #00b894;
    opacity: 0.07;
    pointer-events: none;
    z-index: 1;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(8deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-10deg); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(6deg); }
}

/* Combined floating + slow spin */
@keyframes float-spin-slow {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Combined floating + slow opacity pulse */
@keyframes float-pulse-slow {
    0%, 100% { transform: translateY(0); opacity: 0.05; }
    50% { transform: translateY(-18px); opacity: 0.12; }
}

.icon-float-1 { top: 12%; left: 6%; font-size: 3rem; animation: float-spin-slow 20s linear infinite; }
.icon-float-2 { top: 18%; right: 6%; font-size: 2.5rem; animation: float-pulse-slow 9s ease-in-out infinite; }
.icon-float-3 { bottom: 15%; left: 8%; font-size: 3.5rem; animation: float-slow 10s ease-in-out infinite; }
.icon-float-4 { bottom: 12%; right: 10%; font-size: 2.8rem; animation: float-spin-slow 25s linear infinite; }
.icon-float-5 { top: 45%; left: 5%; font-size: 2.2rem; animation: float-medium 7s ease-in-out infinite; }
.icon-float-6 { top: 48%; right: 5%; font-size: 2rem; animation: float-pulse-slow 8s ease-in-out infinite; }
.icon-float-7 { top: 10%; right: 26%; font-size: 1.8rem; animation: float-spin-slow 18s linear infinite; }
.icon-float-8 { bottom: 32%; left: 26%; font-size: 2rem; animation: float-slow 9s ease-in-out infinite; }


/* Custom Scrollbars */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glassmorphism Cards */
.plan-card {
    background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-card:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: rgba(0, 184, 148, 0.35);
    box-shadow: 0 25px 45px -15px rgba(0, 184, 148, 0.12), 0 0 0 1px rgba(0, 184, 148, 0.15);
}

/* Glowing primary button */
.glowing-btn {
    box-shadow: 0 10px 20px -8px rgba(0, 184, 148, 0.35);
    background: linear-gradient(135deg, #00b894 0%, #059669 100%);
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glowing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -8px rgba(0, 184, 148, 0.5);
    opacity: 0.95;
}

/* Glowing outline button */
.glowing-btn-outline {
    border: 2px solid #00b894;
    color: #00b894;
    transition: all 0.3s ease;
}

.glowing-btn-outline:hover {
    background: rgba(0, 184, 148, 0.05);
    transform: translateY(-1px);
}

/* Hero Section Gradient */
.hero-gradient {
    background: linear-gradient(180deg, #edfcf9 0%, #ffffff 100%);
}

.hero-gradient-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Navigation Custom CSS */
.main-nav {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.nav-link-item {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link-item:hover, .nav-link-item.active {
    color: #00b894;
    background: rgba(0, 184, 148, 0.05);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-width: 220px;
    padding: 8px 0;
    z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    transition: all 0.15s ease;
    text-decoration: none;
}

.nav-dropdown-item:hover {
    background: rgba(0, 184, 148, 0.06);
    color: #00b894;
    padding-left: 24px;
}

.nav-divider {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 300;
    align-self: center;
}

/* Mobile Nav Drawer styles */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.show {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 290px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 5px 0 25px rgba(0,0,0,0.15);
    z-index: 100;
    transition: left 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 24px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.mobile-drawer.show {
    left: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: #00b894;
    background: rgba(0, 184, 148, 0.05);
}

/* FAQ item animation */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Services Modals */
.modal-overlay {
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

/* ============================================================
   HOSTBABYNA - Live Speed Test Terminal & Modern Grid Styles
   ============================================================ */

/* Terminal Window Styles */
.terminal-window {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    font-family: 'Courier New', Courier, monospace;
}

.terminal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-dot.red { background-color: #ef4444; }
.terminal-dot.yellow { background-color: #f59e0b; }
.terminal-dot.green { background-color: #10b981; }

.terminal-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.terminal-body::-webkit-scrollbar {
    width: 6px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Caret blinking animation */
.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: #00b894;
    animation: cursor-blink-anim 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes cursor-blink-anim {
    from, to { background-color: transparent }
    50% { background-color: #00b894 }
}

/* Glow Border & Hover Transitions */
.tech-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card:hover {
    border-color: rgba(0, 184, 148, 0.4);
    box-shadow: 0 12px 25px -10px rgba(0, 184, 148, 0.15);
    transform: translateY(-3px);
}

.glow-pulse-border {
    position: relative;
}

.glow-pulse-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #00b894, #059669, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    animation: glow-pulse-keyframes 4s linear infinite;
}

@keyframes glow-pulse-keyframes {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Request Route Path Animations */
.path-node {
    position: relative;
    z-index: 10;
}

.path-connector-line {
    position: relative;
}

.path-connector-line::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, #00b894, transparent);
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: line-flow 3s linear infinite;
}

@keyframes line-flow {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

/* Entry Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

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

/* Scale Up Animation */
.animate-scale-up {
    animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================
   HOSTBABYNA - Hero Interactive Server Configurator Styles
   ============================================================ */
.configurator-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 50px -15px rgba(0, 184, 148, 0.08), 0 0 0 1px rgba(0, 184, 148, 0.03);
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.configurator-card:hover {
    border-color: rgba(0, 184, 148, 0.25);
    box-shadow: 0 25px 60px -15px rgba(0, 184, 148, 0.12), 0 0 0 1px rgba(0, 184, 148, 0.08);
}

.config-btn-option {
    border: 1px solid rgba(226, 232, 240, 1);
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.config-btn-option:hover {
    border-color: rgba(0, 184, 148, 0.3);
    background: rgba(0, 184, 148, 0.03);
    color: #1e293b;
}

.config-btn-option.active {
    border-color: #00b894;
    background: linear-gradient(135deg, #00b894 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px -3px rgba(0, 184, 148, 0.4);
}


